From 5710fe5e8d33dddc2eba1301662e080428c058b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E7=87=95?= <2080993215@qq.com> Date: Wed, 9 Jan 2019 20:03:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 代码库/mall-mbg/pom.xml | 34 + .../mall/mapper/CmsHelpCategoryMapper.java | 30 + .../com/sock/mall/mapper/CmsHelpMapper.java | 36 + .../mall/mapper/CmsPrefrenceAreaMapper.java | 36 + ...CmsPrefrenceAreaProductRelationMapper.java | 30 + .../mall/mapper/CmsSubjectCategoryMapper.java | 30 + .../mall/mapper/CmsSubjectCommentMapper.java | 30 + .../sock/mall/mapper/CmsSubjectMapper.java | 36 + .../CmsSubjectProductRelationMapper.java | 30 + .../mall/mapper/CmsTopicCategoryMapper.java | 30 + .../mall/mapper/CmsTopicCommentMapper.java | 30 + .../com/sock/mall/mapper/CmsTopicMapper.java | 36 + .../sock/mall/mapper/OmsCartItemMapper.java | 30 + .../mall/mapper/OmsCompanyAddressMapper.java | 30 + .../sock/mall/mapper/OmsOrderItemMapper.java | 30 + .../com/sock/mall/mapper/OmsOrderMapper.java | 30 + .../mapper/OmsOrderOperateHistoryMapper.java | 30 + .../mapper/OmsOrderReturnApplyMapper.java | 30 + .../mapper/OmsOrderReturnReasonMapper.java | 30 + .../mall/mapper/OmsOrderSettingMapper.java | 30 + .../com/sock/mall/mapper/PmsAlbumMapper.java | 30 + .../sock/mall/mapper/PmsAlbumPicMapper.java | 30 + .../com/sock/mall/mapper/PmsBrandMapper.java | 36 + .../sock/mall/mapper/PmsCommentMapper.java | 36 + .../mall/mapper/PmsCommentReplayMapper.java | 30 + .../mall/mapper/PmsFeightTemplateMapper.java | 30 + .../mall/mapper/PmsMemberPriceMapper.java | 30 + .../PmsProductAttributeCategoryMapper.java | 30 + .../mapper/PmsProductAttributeMapper.java | 30 + .../PmsProductAttributeValueMapper.java | 30 + ...roductCategoryAttributeRelationMapper.java | 30 + .../mall/mapper/PmsProductCategoryMapper.java | 36 + .../mapper/PmsProductFullReductionMapper.java | 30 + .../mall/mapper/PmsProductLadderMapper.java | 30 + .../sock/mall/mapper/PmsProductMapper.java | 36 + .../mapper/PmsProductOperateLogMapper.java | 30 + .../mapper/PmsProductVertifyRecordMapper.java | 30 + .../sock/mall/mapper/PmsSkuStockMapper.java | 30 + .../mall/mapper/SmsCouponHistoryMapper.java | 30 + .../com/sock/mall/mapper/SmsCouponMapper.java | 30 + ...msCouponProductCategoryRelationMapper.java | 30 + .../SmsCouponProductRelationMapper.java | 30 + .../mapper/SmsFlashPromotionLogMapper.java | 30 + .../mall/mapper/SmsFlashPromotionMapper.java | 30 + ...msFlashPromotionProductRelationMapper.java | 30 + .../SmsFlashPromotionSessionMapper.java | 30 + .../mall/mapper/SmsHomeAdvertiseMapper.java | 30 + .../sock/mall/mapper/SmsHomeBrandMapper.java | 30 + .../mall/mapper/SmsHomeNewProductMapper.java | 30 + .../mapper/SmsHomeRecommendProductMapper.java | 30 + .../mapper/SmsHomeRecommendSubjectMapper.java | 30 + .../mall/mapper/UmsAdminLoginLogMapper.java | 30 + .../com/sock/mall/mapper/UmsAdminMapper.java | 30 + .../UmsAdminPermissionRelationMapper.java | 30 + .../mapper/UmsAdminRoleRelationMapper.java | 30 + .../mapper/UmsGrowthChangeHistoryMapper.java | 30 + .../UmsIntegrationChangeHistoryMapper.java | 30 + .../UmsIntegrationConsumeSettingMapper.java | 30 + .../mall/mapper/UmsMemberLevelMapper.java | 30 + .../mall/mapper/UmsMemberLoginLogMapper.java | 30 + .../com/sock/mall/mapper/UmsMemberMapper.java | 30 + .../UmsMemberMemberTagRelationMapper.java | 30 + ...msMemberProductCategoryRelationMapper.java | 30 + .../mapper/UmsMemberReceiveAddressMapper.java | 30 + .../mapper/UmsMemberRuleSettingMapper.java | 30 + .../mapper/UmsMemberStatisticsInfoMapper.java | 30 + .../sock/mall/mapper/UmsMemberTagMapper.java | 30 + .../sock/mall/mapper/UmsMemberTaskMapper.java | 30 + .../sock/mall/mapper/UmsPermissionMapper.java | 30 + .../com/sock/mall/mapper/UmsRoleMapper.java | 30 + .../UmsRolePermissionRelationMapper.java | 30 + .../java/com/sock/mall/model/CmsHelp.java | 107 + .../com/sock/mall/model/CmsHelpCategory.java | 94 + .../mall/model/CmsHelpCategoryExample.java | 580 ++++ .../com/sock/mall/model/CmsHelpExample.java | 641 ++++ .../com/sock/mall/model/CmsPrefrenceArea.java | 89 + .../mall/model/CmsPrefrenceAreaExample.java | 520 +++ .../CmsPrefrenceAreaProductRelation.java | 51 + ...msPrefrenceAreaProductRelationExample.java | 380 +++ .../java/com/sock/mall/model/CmsSubject.java | 225 ++ .../sock/mall/model/CmsSubjectCategory.java | 94 + .../mall/model/CmsSubjectCategoryExample.java | 580 ++++ .../sock/mall/model/CmsSubjectComment.java | 96 + .../mall/model/CmsSubjectCommentExample.java | 651 ++++ .../sock/mall/model/CmsSubjectExample.java | 1151 +++++++ .../mall/model/CmsSubjectProductRelation.java | 51 + .../CmsSubjectProductRelationExample.java | 380 +++ .../java/com/sock/mall/model/CmsTopic.java | 176 + .../com/sock/mall/model/CmsTopicCategory.java | 94 + .../mall/model/CmsTopicCategoryExample.java | 580 ++++ .../com/sock/mall/model/CmsTopicComment.java | 96 + .../mall/model/CmsTopicCommentExample.java | 651 ++++ .../com/sock/mall/model/CmsTopicExample.java | 891 +++++ .../java/com/sock/mall/model/OmsCartItem.java | 326 ++ .../sock/mall/model/OmsCartItemExample.java | 1572 +++++++++ .../sock/mall/model/OmsCompanyAddress.java | 173 + .../mall/model/OmsCompanyAddressExample.java | 870 +++++ .../java/com/sock/mall/model/OmsOrder.java | 714 ++++ .../com/sock/mall/model/OmsOrderExample.java | 3012 +++++++++++++++++ .../com/sock/mall/model/OmsOrderItem.java | 353 ++ .../sock/mall/model/OmsOrderItemExample.java | 1751 ++++++++++ .../mall/model/OmsOrderOperateHistory.java | 110 + .../model/OmsOrderOperateHistoryExample.java | 581 ++++ .../sock/mall/model/OmsOrderReturnApply.java | 447 +++ .../model/OmsOrderReturnApplyExample.java | 1972 +++++++++++ .../sock/mall/model/OmsOrderReturnReason.java | 89 + .../model/OmsOrderReturnReasonExample.java | 511 +++ .../com/sock/mall/model/OmsOrderSetting.java | 109 + .../mall/model/OmsOrderSettingExample.java | 560 +++ .../java/com/sock/mall/model/PmsAlbum.java | 84 + .../com/sock/mall/model/PmsAlbumExample.java | 590 ++++ .../java/com/sock/mall/model/PmsAlbumPic.java | 51 + .../sock/mall/model/PmsAlbumPicExample.java | 390 +++ .../java/com/sock/mall/model/PmsBrand.java | 174 + .../com/sock/mall/model/PmsBrandExample.java | 840 +++++ .../java/com/sock/mall/model/PmsComment.java | 209 ++ .../sock/mall/model/PmsCommentExample.java | 1101 ++++++ .../com/sock/mall/model/PmsCommentReplay.java | 101 + .../mall/model/PmsCommentReplayExample.java | 651 ++++ .../sock/mall/model/PmsFeightTemplate.java | 127 + .../mall/model/PmsFeightTemplateExample.java | 701 ++++ .../com/sock/mall/model/PmsMemberPrice.java | 79 + .../mall/model/PmsMemberPriceExample.java | 511 +++ .../java/com/sock/mall/model/PmsProduct.java | 632 ++++ .../sock/mall/model/PmsProductAttribute.java | 195 ++ .../model/PmsProductAttributeCategory.java | 72 + .../PmsProductAttributeCategoryExample.java | 450 +++ .../model/PmsProductAttributeExample.java | 940 +++++ .../mall/model/PmsProductAttributeValue.java | 67 + .../PmsProductAttributeValueExample.java | 450 +++ .../sock/mall/model/PmsProductCategory.java | 180 + .../PmsProductCategoryAttributeRelation.java | 51 + ...oductCategoryAttributeRelationExample.java | 380 +++ .../mall/model/PmsProductCategoryExample.java | 900 +++++ .../sock/mall/model/PmsProductExample.java | 2602 ++++++++++++++ .../mall/model/PmsProductFullReduction.java | 63 + .../model/PmsProductFullReductionExample.java | 441 +++ .../com/sock/mall/model/PmsProductLadder.java | 89 + .../mall/model/PmsProductLadderExample.java | 501 +++ .../sock/mall/model/PmsProductOperateLog.java | 162 + .../model/PmsProductOperateLogExample.java | 932 +++++ .../mall/model/PmsProductVertifyRecord.java | 95 + .../model/PmsProductVertifyRecordExample.java | 581 ++++ .../java/com/sock/mall/model/PmsSkuStock.java | 202 ++ .../sock/mall/model/PmsSkuStockExample.java | 1031 ++++++ .../java/com/sock/mall/model/SmsCoupon.java | 288 ++ .../com/sock/mall/model/SmsCouponExample.java | 1312 +++++++ .../com/sock/mall/model/SmsCouponHistory.java | 170 + .../mall/model/SmsCouponHistoryExample.java | 891 +++++ .../SmsCouponProductCategoryRelation.java | 83 + ...sCouponProductCategoryRelationExample.java | 520 +++ .../mall/model/SmsCouponProductRelation.java | 83 + .../SmsCouponProductRelationExample.java | 520 +++ .../sock/mall/model/SmsFlashPromotion.java | 105 + .../mall/model/SmsFlashPromotionExample.java | 598 ++++ .../sock/mall/model/SmsFlashPromotionLog.java | 101 + .../model/SmsFlashPromotionLogExample.java | 641 ++++ .../SmsFlashPromotionProductRelation.java | 137 + ...sFlashPromotionProductRelationExample.java | 681 ++++ .../mall/model/SmsFlashPromotionSession.java | 115 + .../SmsFlashPromotionSessionExample.java | 598 ++++ .../com/sock/mall/model/SmsHomeAdvertise.java | 186 + .../mall/model/SmsHomeAdvertiseExample.java | 961 ++++++ .../com/sock/mall/model/SmsHomeBrand.java | 73 + .../sock/mall/model/SmsHomeBrandExample.java | 510 +++ .../sock/mall/model/SmsHomeNewProduct.java | 73 + .../mall/model/SmsHomeNewProductExample.java | 510 +++ .../mall/model/SmsHomeRecommendProduct.java | 73 + .../model/SmsHomeRecommendProductExample.java | 510 +++ .../mall/model/SmsHomeRecommendSubject.java | 73 + .../model/SmsHomeRecommendSubjectExample.java | 510 +++ .../java/com/sock/mall/model/UmsAdmin.java | 165 +- .../com/sock/mall/model/UmsAdminExample.java | 861 +++++ .../com/sock/mall/model/UmsAdminLoginLog.java | 90 + .../mall/model/UmsAdminLoginLogExample.java | 591 ++++ .../model/UmsAdminPermissionRelation.java | 62 + .../UmsAdminPermissionRelationExample.java | 440 +++ .../sock/mall/model/UmsAdminRoleRelation.java | 51 + .../model/UmsAdminRoleRelationExample.java | 380 +++ .../mall/model/UmsGrowthChangeHistory.java | 132 + .../model/UmsGrowthChangeHistoryExample.java | 701 ++++ .../model/UmsIntegrationChangeHistory.java | 132 + .../UmsIntegrationChangeHistoryExample.java | 701 ++++ .../model/UmsIntegrationConsumeSetting.java | 93 + .../UmsIntegrationConsumeSettingExample.java | 500 +++ .../java/com/sock/mall/model/UmsMember.java | 313 ++ .../com/sock/mall/model/UmsMemberExample.java | 1448 ++++++++ .../com/sock/mall/model/UmsMemberLevel.java | 207 ++ .../mall/model/UmsMemberLevelExample.java | 1001 ++++++ .../sock/mall/model/UmsMemberLoginLog.java | 101 + .../mall/model/UmsMemberLoginLogExample.java | 651 ++++ .../model/UmsMemberMemberTagRelation.java | 51 + .../UmsMemberMemberTagRelationExample.java | 380 +++ .../UmsMemberProductCategoryRelation.java | 51 + ...sMemberProductCategoryRelationExample.java | 380 +++ .../mall/model/UmsMemberReceiveAddress.java | 163 + .../model/UmsMemberReceiveAddressExample.java | 870 +++++ .../sock/mall/model/UmsMemberRuleSetting.java | 126 + .../model/UmsMemberRuleSettingExample.java | 621 ++++ .../mall/model/UmsMemberStatisticsInfo.java | 241 ++ .../model/UmsMemberStatisticsInfoExample.java | 1162 +++++++ .../com/sock/mall/model/UmsMemberTag.java | 73 + .../sock/mall/model/UmsMemberTagExample.java | 451 +++ .../com/sock/mall/model/UmsMemberTask.java | 88 + .../sock/mall/model/UmsMemberTaskExample.java | 510 +++ .../com/sock/mall/model/UmsPermission.java | 174 + .../sock/mall/model/UmsPermissionExample.java | 841 +++++ .../java/com/sock/mall/model/UmsRole.java | 121 + .../com/sock/mall/model/UmsRoleExample.java | 641 ++++ .../mall/model/UmsRolePermissionRelation.java | 51 + .../UmsRolePermissionRelationExample.java | 380 +++ .../mall/mapper/CmsHelpCategoryMapper.xml | 670 ++++ .../com/sock/mall/mapper/CmsHelpMapper.xml | 904 +++++ .../mall/mapper/CmsPrefrenceAreaMapper.xml | 796 +++++ .../CmsPrefrenceAreaProductRelationMapper.xml | 529 +++ .../mall/mapper/CmsSubjectCategoryMapper.xml | 670 ++++ .../mall/mapper/CmsSubjectCommentMapper.xml | 721 ++++ .../com/sock/mall/mapper/CmsSubjectMapper.xml | 1333 ++++++++ .../CmsSubjectProductRelationMapper.xml | 529 +++ .../mall/mapper/CmsTopicCategoryMapper.xml | 670 ++++ .../mall/mapper/CmsTopicCommentMapper.xml | 721 ++++ .../com/sock/mall/mapper/CmsTopicMapper.xml | 1117 ++++++ .../sock/mall/mapper/OmsCartItemMapper.xml | 1381 ++++++++ .../mall/mapper/OmsCompanyAddressMapper.xml | 865 +++++ .../sock/mall/mapper/OmsOrderItemMapper.xml | 1525 +++++++++ .../com/sock/mall/mapper/OmsOrderMapper.xml | 2476 ++++++++++++++ .../mapper/OmsOrderOperateHistoryMapper.xml | 670 ++++ .../mall/mapper/OmsOrderReturnApplyMapper.xml | 1666 +++++++++ .../mapper/OmsOrderReturnReasonMapper.xml | 625 ++++ .../mall/mapper/OmsOrderSettingMapper.xml | 679 ++++ .../com/sock/mall/mapper/PmsAlbumMapper.xml | 670 ++++ .../sock/mall/mapper/PmsAlbumPicMapper.xml | 529 +++ .../com/sock/mall/mapper/PmsBrandMapper.xml | 1066 ++++++ .../com/sock/mall/mapper/PmsCommentMapper.xml | 1276 +++++++ .../mall/mapper/PmsCommentReplayMapper.xml | 721 ++++ .../mall/mapper/PmsFeightTemplateMapper.xml | 766 +++++ .../sock/mall/mapper/PmsMemberPriceMapper.xml | 625 ++++ .../PmsProductAttributeCategoryMapper.xml | 580 ++++ .../mall/mapper/PmsProductAttributeMapper.xml | 961 ++++++ .../mapper/PmsProductAttributeValueMapper.xml | 580 ++++ ...ProductCategoryAttributeRelationMapper.xml | 535 +++ .../mall/mapper/PmsProductCategoryMapper.xml | 1117 ++++++ .../mapper/PmsProductFullReductionMapper.xml | 580 ++++ .../mall/mapper/PmsProductLadderMapper.xml | 625 ++++ .../com/sock/mall/mapper/PmsProductMapper.xml | 2701 +++++++++++++++ .../mapper/PmsProductOperateLogMapper.xml | 955 ++++++ .../mapper/PmsProductVertifyRecordMapper.xml | 670 ++++ .../sock/mall/mapper/PmsSkuStockMapper.xml | 1000 ++++++ .../mall/mapper/SmsCouponHistoryMapper.xml | 910 +++++ .../com/sock/mall/mapper/SmsCouponMapper.xml | 1237 +++++++ ...SmsCouponProductCategoryRelationMapper.xml | 625 ++++ .../mapper/SmsCouponProductRelationMapper.xml | 625 ++++ .../mapper/SmsFlashPromotionLogMapper.xml | 721 ++++ .../mall/mapper/SmsFlashPromotionMapper.xml | 670 ++++ ...SmsFlashPromotionProductRelationMapper.xml | 769 +++++ .../mapper/SmsFlashPromotionSessionMapper.xml | 670 ++++ .../mall/mapper/SmsHomeAdvertiseMapper.xml | 955 ++++++ .../sock/mall/mapper/SmsHomeBrandMapper.xml | 625 ++++ .../mall/mapper/SmsHomeNewProductMapper.xml | 625 ++++ .../mapper/SmsHomeRecommendProductMapper.xml | 625 ++++ .../mapper/SmsHomeRecommendSubjectMapper.xml | 625 ++++ .../mall/mapper/UmsAdminLoginLogMapper.xml | 670 ++++ .../com/sock/mall/mapper/UmsAdminMapper.xml | 862 +++++ .../UmsAdminPermissionRelationMapper.xml | 580 ++++ .../mapper/UmsAdminRoleRelationMapper.xml | 529 +++ .../mapper/UmsGrowthChangeHistoryMapper.xml | 769 +++++ .../UmsIntegrationChangeHistoryMapper.xml | 769 +++++ .../UmsIntegrationConsumeSettingMapper.xml | 625 ++++ .../sock/mall/mapper/UmsMemberLevelMapper.xml | 1009 ++++++ .../mall/mapper/UmsMemberLoginLogMapper.xml | 721 ++++ .../com/sock/mall/mapper/UmsMemberMapper.xml | 1285 +++++++ .../UmsMemberMemberTagRelationMapper.xml | 529 +++ ...UmsMemberProductCategoryRelationMapper.xml | 529 +++ .../mapper/UmsMemberReceiveAddressMapper.xml | 865 +++++ .../mapper/UmsMemberRuleSettingMapper.xml | 724 ++++ .../mapper/UmsMemberStatisticsInfoMapper.xml | 1150 +++++++ .../sock/mall/mapper/UmsMemberTagMapper.xml | 580 ++++ .../sock/mall/mapper/UmsMemberTaskMapper.xml | 625 ++++ .../sock/mall/mapper/UmsPermissionMapper.xml | 856 +++++ .../com/sock/mall/mapper/UmsRoleMapper.xml | 721 ++++ .../UmsRolePermissionRelationMapper.xml | 529 +++ .../src/main/resources/generatorConfig.xml | 6 +- 282 files changed, 125567 insertions(+), 4 deletions(-) create mode 100644 代码库/mall-mbg/pom.xml create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsHelpCategoryMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsHelpMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsPrefrenceAreaMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectCategoryMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectCommentMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectProductRelationMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsTopicCategoryMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsTopicCommentMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsTopicMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsCartItemMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsCompanyAddressMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderItemMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderOperateHistoryMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderReturnApplyMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderReturnReasonMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderSettingMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsAlbumMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsAlbumPicMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsBrandMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsCommentMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsCommentReplayMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsFeightTemplateMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsMemberPriceMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductAttributeCategoryMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductAttributeMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductAttributeValueMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductCategoryAttributeRelationMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductCategoryMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductFullReductionMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductLadderMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductOperateLogMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductVertifyRecordMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsSkuStockMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponHistoryMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponProductCategoryRelationMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponProductRelationMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionLogMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionProductRelationMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionSessionMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeAdvertiseMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeBrandMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeNewProductMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeRecommendProductMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeRecommendSubjectMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminLoginLogMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminPermissionRelationMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminRoleRelationMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsGrowthChangeHistoryMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsIntegrationChangeHistoryMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsIntegrationConsumeSettingMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberLevelMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberLoginLogMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberMemberTagRelationMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberProductCategoryRelationMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberReceiveAddressMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberRuleSettingMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberStatisticsInfoMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberTagMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberTaskMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsPermissionMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsRoleMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsRolePermissionRelationMapper.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelp.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelpCategory.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelpCategoryExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelpExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceArea.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceAreaExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceAreaProductRelation.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceAreaProductRelationExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubject.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectCategory.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectCategoryExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectComment.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectCommentExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectProductRelation.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectProductRelationExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopic.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicCategory.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicCategoryExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicComment.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicCommentExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCartItem.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCartItemExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCompanyAddress.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCompanyAddressExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrder.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderItem.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderItemExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderOperateHistory.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderOperateHistoryExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnApply.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnApplyExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnReason.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnReasonExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderSetting.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderSettingExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbum.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbumExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbumPic.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbumPicExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsBrand.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsBrandExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsComment.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsCommentExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsCommentReplay.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsCommentReplayExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsFeightTemplate.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsFeightTemplateExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsMemberPrice.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsMemberPriceExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProduct.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttribute.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeCategory.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeCategoryExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeValue.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeValueExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategory.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategoryAttributeRelation.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategoryAttributeRelationExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategoryExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductFullReduction.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductFullReductionExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductLadder.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductLadderExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductOperateLog.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductOperateLogExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductVertifyRecord.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductVertifyRecordExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsSkuStock.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsSkuStockExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCoupon.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponHistory.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponHistoryExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductCategoryRelation.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductCategoryRelationExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductRelation.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductRelationExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotion.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionLog.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionLogExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionProductRelation.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionProductRelationExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionSession.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionSessionExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeAdvertise.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeAdvertiseExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeBrand.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeBrandExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeNewProduct.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeNewProductExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendProduct.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendProductExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendSubject.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendSubjectExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminLoginLog.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminLoginLogExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminPermissionRelation.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminPermissionRelationExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminRoleRelation.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminRoleRelationExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsGrowthChangeHistory.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsGrowthChangeHistoryExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationChangeHistory.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationChangeHistoryExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationConsumeSetting.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationConsumeSettingExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMember.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLevel.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLevelExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLoginLog.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLoginLogExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberMemberTagRelation.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberMemberTagRelationExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberProductCategoryRelation.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberProductCategoryRelationExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberReceiveAddress.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberReceiveAddressExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberRuleSetting.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberRuleSettingExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberStatisticsInfo.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberStatisticsInfoExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTag.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTagExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTask.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTaskExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsPermission.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsPermissionExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRole.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRoleExample.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRolePermissionRelation.java create mode 100644 代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRolePermissionRelationExample.java create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsHelpCategoryMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsHelpMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsPrefrenceAreaMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectCategoryMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectCommentMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectProductRelationMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsTopicCategoryMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsTopicCommentMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsTopicMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsCartItemMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsCompanyAddressMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderItemMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderOperateHistoryMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderReturnApplyMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderReturnReasonMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderSettingMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsAlbumMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsAlbumPicMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsBrandMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsCommentMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsCommentReplayMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsFeightTemplateMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsMemberPriceMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductAttributeCategoryMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductAttributeMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductAttributeValueMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductCategoryMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductFullReductionMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductLadderMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductOperateLogMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductVertifyRecordMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsSkuStockMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponHistoryMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponProductCategoryRelationMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponProductRelationMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionLogMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionProductRelationMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionSessionMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeAdvertiseMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeBrandMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeNewProductMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeRecommendProductMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeRecommendSubjectMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminLoginLogMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminPermissionRelationMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminRoleRelationMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsGrowthChangeHistoryMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsIntegrationChangeHistoryMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsIntegrationConsumeSettingMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberLevelMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberLoginLogMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberMemberTagRelationMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberProductCategoryRelationMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberReceiveAddressMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberRuleSettingMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberStatisticsInfoMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberTagMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberTaskMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsPermissionMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsRoleMapper.xml create mode 100644 代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsRolePermissionRelationMapper.xml diff --git a/代码库/mall-mbg/pom.xml b/代码库/mall-mbg/pom.xml new file mode 100644 index 0000000..7115023 --- /dev/null +++ b/代码库/mall-mbg/pom.xml @@ -0,0 +1,34 @@ + + 4.0.0 + + com.sock.mall + mall-mbg + 0.0.1-SNAPSHOT + jar + + mall-mbg + + + + + + org.mybatis.generator + mybatis-generator-core + 1.3.3 + + + + org.mybatis + mybatis + 3.4.2 + + + + mysql + mysql-connector-java + 5.1.46 + + + + diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsHelpCategoryMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsHelpCategoryMapper.java new file mode 100644 index 0000000..831c4dd --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsHelpCategoryMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.CmsHelpCategory; +import com.sock.mall.model.CmsHelpCategoryExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface CmsHelpCategoryMapper { + int countByExample(CmsHelpCategoryExample example); + + int deleteByExample(CmsHelpCategoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsHelpCategory record); + + int insertSelective(CmsHelpCategory record); + + List selectByExample(CmsHelpCategoryExample example); + + CmsHelpCategory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsHelpCategory record, @Param("example") CmsHelpCategoryExample example); + + int updateByExample(@Param("record") CmsHelpCategory record, @Param("example") CmsHelpCategoryExample example); + + int updateByPrimaryKeySelective(CmsHelpCategory record); + + int updateByPrimaryKey(CmsHelpCategory record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsHelpMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsHelpMapper.java new file mode 100644 index 0000000..aa99341 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsHelpMapper.java @@ -0,0 +1,36 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.CmsHelp; +import com.sock.mall.model.CmsHelpExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface CmsHelpMapper { + int countByExample(CmsHelpExample example); + + int deleteByExample(CmsHelpExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsHelp record); + + int insertSelective(CmsHelp record); + + List selectByExampleWithBLOBs(CmsHelpExample example); + + List selectByExample(CmsHelpExample example); + + CmsHelp selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example); + + int updateByExampleWithBLOBs(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example); + + int updateByExample(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example); + + int updateByPrimaryKeySelective(CmsHelp record); + + int updateByPrimaryKeyWithBLOBs(CmsHelp record); + + int updateByPrimaryKey(CmsHelp record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsPrefrenceAreaMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsPrefrenceAreaMapper.java new file mode 100644 index 0000000..d7adce8 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsPrefrenceAreaMapper.java @@ -0,0 +1,36 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.CmsPrefrenceArea; +import com.sock.mall.model.CmsPrefrenceAreaExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface CmsPrefrenceAreaMapper { + int countByExample(CmsPrefrenceAreaExample example); + + int deleteByExample(CmsPrefrenceAreaExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsPrefrenceArea record); + + int insertSelective(CmsPrefrenceArea record); + + List selectByExampleWithBLOBs(CmsPrefrenceAreaExample example); + + List selectByExample(CmsPrefrenceAreaExample example); + + CmsPrefrenceArea selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example); + + int updateByExampleWithBLOBs(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example); + + int updateByExample(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example); + + int updateByPrimaryKeySelective(CmsPrefrenceArea record); + + int updateByPrimaryKeyWithBLOBs(CmsPrefrenceArea record); + + int updateByPrimaryKey(CmsPrefrenceArea record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java new file mode 100644 index 0000000..4843076 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.CmsPrefrenceAreaProductRelation; +import com.sock.mall.model.CmsPrefrenceAreaProductRelationExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface CmsPrefrenceAreaProductRelationMapper { + int countByExample(CmsPrefrenceAreaProductRelationExample example); + + int deleteByExample(CmsPrefrenceAreaProductRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsPrefrenceAreaProductRelation record); + + int insertSelective(CmsPrefrenceAreaProductRelation record); + + List selectByExample(CmsPrefrenceAreaProductRelationExample example); + + CmsPrefrenceAreaProductRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsPrefrenceAreaProductRelation record, @Param("example") CmsPrefrenceAreaProductRelationExample example); + + int updateByExample(@Param("record") CmsPrefrenceAreaProductRelation record, @Param("example") CmsPrefrenceAreaProductRelationExample example); + + int updateByPrimaryKeySelective(CmsPrefrenceAreaProductRelation record); + + int updateByPrimaryKey(CmsPrefrenceAreaProductRelation record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectCategoryMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectCategoryMapper.java new file mode 100644 index 0000000..4566815 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectCategoryMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.CmsSubjectCategory; +import com.sock.mall.model.CmsSubjectCategoryExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface CmsSubjectCategoryMapper { + int countByExample(CmsSubjectCategoryExample example); + + int deleteByExample(CmsSubjectCategoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsSubjectCategory record); + + int insertSelective(CmsSubjectCategory record); + + List selectByExample(CmsSubjectCategoryExample example); + + CmsSubjectCategory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsSubjectCategory record, @Param("example") CmsSubjectCategoryExample example); + + int updateByExample(@Param("record") CmsSubjectCategory record, @Param("example") CmsSubjectCategoryExample example); + + int updateByPrimaryKeySelective(CmsSubjectCategory record); + + int updateByPrimaryKey(CmsSubjectCategory record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectCommentMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectCommentMapper.java new file mode 100644 index 0000000..ffd5bad --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectCommentMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.CmsSubjectComment; +import com.sock.mall.model.CmsSubjectCommentExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface CmsSubjectCommentMapper { + int countByExample(CmsSubjectCommentExample example); + + int deleteByExample(CmsSubjectCommentExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsSubjectComment record); + + int insertSelective(CmsSubjectComment record); + + List selectByExample(CmsSubjectCommentExample example); + + CmsSubjectComment selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsSubjectComment record, @Param("example") CmsSubjectCommentExample example); + + int updateByExample(@Param("record") CmsSubjectComment record, @Param("example") CmsSubjectCommentExample example); + + int updateByPrimaryKeySelective(CmsSubjectComment record); + + int updateByPrimaryKey(CmsSubjectComment record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectMapper.java new file mode 100644 index 0000000..f8ad93a --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectMapper.java @@ -0,0 +1,36 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.CmsSubject; +import com.sock.mall.model.CmsSubjectExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface CmsSubjectMapper { + int countByExample(CmsSubjectExample example); + + int deleteByExample(CmsSubjectExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsSubject record); + + int insertSelective(CmsSubject record); + + List selectByExampleWithBLOBs(CmsSubjectExample example); + + List selectByExample(CmsSubjectExample example); + + CmsSubject selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); + + int updateByExampleWithBLOBs(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); + + int updateByExample(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); + + int updateByPrimaryKeySelective(CmsSubject record); + + int updateByPrimaryKeyWithBLOBs(CmsSubject record); + + int updateByPrimaryKey(CmsSubject record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectProductRelationMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectProductRelationMapper.java new file mode 100644 index 0000000..5ec5dad --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsSubjectProductRelationMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.CmsSubjectProductRelation; +import com.sock.mall.model.CmsSubjectProductRelationExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface CmsSubjectProductRelationMapper { + int countByExample(CmsSubjectProductRelationExample example); + + int deleteByExample(CmsSubjectProductRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsSubjectProductRelation record); + + int insertSelective(CmsSubjectProductRelation record); + + List selectByExample(CmsSubjectProductRelationExample example); + + CmsSubjectProductRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsSubjectProductRelation record, @Param("example") CmsSubjectProductRelationExample example); + + int updateByExample(@Param("record") CmsSubjectProductRelation record, @Param("example") CmsSubjectProductRelationExample example); + + int updateByPrimaryKeySelective(CmsSubjectProductRelation record); + + int updateByPrimaryKey(CmsSubjectProductRelation record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsTopicCategoryMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsTopicCategoryMapper.java new file mode 100644 index 0000000..a42d309 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsTopicCategoryMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.CmsTopicCategory; +import com.sock.mall.model.CmsTopicCategoryExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface CmsTopicCategoryMapper { + int countByExample(CmsTopicCategoryExample example); + + int deleteByExample(CmsTopicCategoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsTopicCategory record); + + int insertSelective(CmsTopicCategory record); + + List selectByExample(CmsTopicCategoryExample example); + + CmsTopicCategory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsTopicCategory record, @Param("example") CmsTopicCategoryExample example); + + int updateByExample(@Param("record") CmsTopicCategory record, @Param("example") CmsTopicCategoryExample example); + + int updateByPrimaryKeySelective(CmsTopicCategory record); + + int updateByPrimaryKey(CmsTopicCategory record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsTopicCommentMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsTopicCommentMapper.java new file mode 100644 index 0000000..38c4044 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsTopicCommentMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.CmsTopicComment; +import com.sock.mall.model.CmsTopicCommentExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface CmsTopicCommentMapper { + int countByExample(CmsTopicCommentExample example); + + int deleteByExample(CmsTopicCommentExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsTopicComment record); + + int insertSelective(CmsTopicComment record); + + List selectByExample(CmsTopicCommentExample example); + + CmsTopicComment selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsTopicComment record, @Param("example") CmsTopicCommentExample example); + + int updateByExample(@Param("record") CmsTopicComment record, @Param("example") CmsTopicCommentExample example); + + int updateByPrimaryKeySelective(CmsTopicComment record); + + int updateByPrimaryKey(CmsTopicComment record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsTopicMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsTopicMapper.java new file mode 100644 index 0000000..a5bf288 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/CmsTopicMapper.java @@ -0,0 +1,36 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.CmsTopic; +import com.sock.mall.model.CmsTopicExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface CmsTopicMapper { + int countByExample(CmsTopicExample example); + + int deleteByExample(CmsTopicExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsTopic record); + + int insertSelective(CmsTopic record); + + List selectByExampleWithBLOBs(CmsTopicExample example); + + List selectByExample(CmsTopicExample example); + + CmsTopic selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example); + + int updateByExampleWithBLOBs(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example); + + int updateByExample(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example); + + int updateByPrimaryKeySelective(CmsTopic record); + + int updateByPrimaryKeyWithBLOBs(CmsTopic record); + + int updateByPrimaryKey(CmsTopic record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsCartItemMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsCartItemMapper.java new file mode 100644 index 0000000..21b0d58 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsCartItemMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.OmsCartItem; +import com.sock.mall.model.OmsCartItemExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface OmsCartItemMapper { + int countByExample(OmsCartItemExample example); + + int deleteByExample(OmsCartItemExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsCartItem record); + + int insertSelective(OmsCartItem record); + + List selectByExample(OmsCartItemExample example); + + OmsCartItem selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsCartItem record, @Param("example") OmsCartItemExample example); + + int updateByExample(@Param("record") OmsCartItem record, @Param("example") OmsCartItemExample example); + + int updateByPrimaryKeySelective(OmsCartItem record); + + int updateByPrimaryKey(OmsCartItem record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsCompanyAddressMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsCompanyAddressMapper.java new file mode 100644 index 0000000..f7b2cab --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsCompanyAddressMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.OmsCompanyAddress; +import com.sock.mall.model.OmsCompanyAddressExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface OmsCompanyAddressMapper { + int countByExample(OmsCompanyAddressExample example); + + int deleteByExample(OmsCompanyAddressExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsCompanyAddress record); + + int insertSelective(OmsCompanyAddress record); + + List selectByExample(OmsCompanyAddressExample example); + + OmsCompanyAddress selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsCompanyAddress record, @Param("example") OmsCompanyAddressExample example); + + int updateByExample(@Param("record") OmsCompanyAddress record, @Param("example") OmsCompanyAddressExample example); + + int updateByPrimaryKeySelective(OmsCompanyAddress record); + + int updateByPrimaryKey(OmsCompanyAddress record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderItemMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderItemMapper.java new file mode 100644 index 0000000..f35bc64 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderItemMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.OmsOrderItem; +import com.sock.mall.model.OmsOrderItemExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface OmsOrderItemMapper { + int countByExample(OmsOrderItemExample example); + + int deleteByExample(OmsOrderItemExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsOrderItem record); + + int insertSelective(OmsOrderItem record); + + List selectByExample(OmsOrderItemExample example); + + OmsOrderItem selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsOrderItem record, @Param("example") OmsOrderItemExample example); + + int updateByExample(@Param("record") OmsOrderItem record, @Param("example") OmsOrderItemExample example); + + int updateByPrimaryKeySelective(OmsOrderItem record); + + int updateByPrimaryKey(OmsOrderItem record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderMapper.java new file mode 100644 index 0000000..568b597 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.OmsOrder; +import com.sock.mall.model.OmsOrderExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface OmsOrderMapper { + int countByExample(OmsOrderExample example); + + int deleteByExample(OmsOrderExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsOrder record); + + int insertSelective(OmsOrder record); + + List selectByExample(OmsOrderExample example); + + OmsOrder selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsOrder record, @Param("example") OmsOrderExample example); + + int updateByExample(@Param("record") OmsOrder record, @Param("example") OmsOrderExample example); + + int updateByPrimaryKeySelective(OmsOrder record); + + int updateByPrimaryKey(OmsOrder record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderOperateHistoryMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderOperateHistoryMapper.java new file mode 100644 index 0000000..82e4fa7 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderOperateHistoryMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.OmsOrderOperateHistory; +import com.sock.mall.model.OmsOrderOperateHistoryExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface OmsOrderOperateHistoryMapper { + int countByExample(OmsOrderOperateHistoryExample example); + + int deleteByExample(OmsOrderOperateHistoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsOrderOperateHistory record); + + int insertSelective(OmsOrderOperateHistory record); + + List selectByExample(OmsOrderOperateHistoryExample example); + + OmsOrderOperateHistory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsOrderOperateHistory record, @Param("example") OmsOrderOperateHistoryExample example); + + int updateByExample(@Param("record") OmsOrderOperateHistory record, @Param("example") OmsOrderOperateHistoryExample example); + + int updateByPrimaryKeySelective(OmsOrderOperateHistory record); + + int updateByPrimaryKey(OmsOrderOperateHistory record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderReturnApplyMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderReturnApplyMapper.java new file mode 100644 index 0000000..289181f --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderReturnApplyMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.OmsOrderReturnApply; +import com.sock.mall.model.OmsOrderReturnApplyExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface OmsOrderReturnApplyMapper { + int countByExample(OmsOrderReturnApplyExample example); + + int deleteByExample(OmsOrderReturnApplyExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsOrderReturnApply record); + + int insertSelective(OmsOrderReturnApply record); + + List selectByExample(OmsOrderReturnApplyExample example); + + OmsOrderReturnApply selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsOrderReturnApply record, @Param("example") OmsOrderReturnApplyExample example); + + int updateByExample(@Param("record") OmsOrderReturnApply record, @Param("example") OmsOrderReturnApplyExample example); + + int updateByPrimaryKeySelective(OmsOrderReturnApply record); + + int updateByPrimaryKey(OmsOrderReturnApply record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderReturnReasonMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderReturnReasonMapper.java new file mode 100644 index 0000000..8cd40bb --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderReturnReasonMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.OmsOrderReturnReason; +import com.sock.mall.model.OmsOrderReturnReasonExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface OmsOrderReturnReasonMapper { + int countByExample(OmsOrderReturnReasonExample example); + + int deleteByExample(OmsOrderReturnReasonExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsOrderReturnReason record); + + int insertSelective(OmsOrderReturnReason record); + + List selectByExample(OmsOrderReturnReasonExample example); + + OmsOrderReturnReason selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); + + int updateByExample(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); + + int updateByPrimaryKeySelective(OmsOrderReturnReason record); + + int updateByPrimaryKey(OmsOrderReturnReason record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderSettingMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderSettingMapper.java new file mode 100644 index 0000000..e820e55 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/OmsOrderSettingMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.OmsOrderSetting; +import com.sock.mall.model.OmsOrderSettingExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface OmsOrderSettingMapper { + int countByExample(OmsOrderSettingExample example); + + int deleteByExample(OmsOrderSettingExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsOrderSetting record); + + int insertSelective(OmsOrderSetting record); + + List selectByExample(OmsOrderSettingExample example); + + OmsOrderSetting selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsOrderSetting record, @Param("example") OmsOrderSettingExample example); + + int updateByExample(@Param("record") OmsOrderSetting record, @Param("example") OmsOrderSettingExample example); + + int updateByPrimaryKeySelective(OmsOrderSetting record); + + int updateByPrimaryKey(OmsOrderSetting record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsAlbumMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsAlbumMapper.java new file mode 100644 index 0000000..0205258 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsAlbumMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsAlbum; +import com.sock.mall.model.PmsAlbumExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsAlbumMapper { + int countByExample(PmsAlbumExample example); + + int deleteByExample(PmsAlbumExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsAlbum record); + + int insertSelective(PmsAlbum record); + + List selectByExample(PmsAlbumExample example); + + PmsAlbum selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsAlbum record, @Param("example") PmsAlbumExample example); + + int updateByExample(@Param("record") PmsAlbum record, @Param("example") PmsAlbumExample example); + + int updateByPrimaryKeySelective(PmsAlbum record); + + int updateByPrimaryKey(PmsAlbum record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsAlbumPicMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsAlbumPicMapper.java new file mode 100644 index 0000000..5479878 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsAlbumPicMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsAlbumPic; +import com.sock.mall.model.PmsAlbumPicExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsAlbumPicMapper { + int countByExample(PmsAlbumPicExample example); + + int deleteByExample(PmsAlbumPicExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsAlbumPic record); + + int insertSelective(PmsAlbumPic record); + + List selectByExample(PmsAlbumPicExample example); + + PmsAlbumPic selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsAlbumPic record, @Param("example") PmsAlbumPicExample example); + + int updateByExample(@Param("record") PmsAlbumPic record, @Param("example") PmsAlbumPicExample example); + + int updateByPrimaryKeySelective(PmsAlbumPic record); + + int updateByPrimaryKey(PmsAlbumPic record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsBrandMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsBrandMapper.java new file mode 100644 index 0000000..c8214f5 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsBrandMapper.java @@ -0,0 +1,36 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsBrand; +import com.sock.mall.model.PmsBrandExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsBrandMapper { + int countByExample(PmsBrandExample example); + + int deleteByExample(PmsBrandExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsBrand record); + + int insertSelective(PmsBrand record); + + List selectByExampleWithBLOBs(PmsBrandExample example); + + List selectByExample(PmsBrandExample example); + + PmsBrand selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example); + + int updateByExampleWithBLOBs(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example); + + int updateByExample(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example); + + int updateByPrimaryKeySelective(PmsBrand record); + + int updateByPrimaryKeyWithBLOBs(PmsBrand record); + + int updateByPrimaryKey(PmsBrand record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsCommentMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsCommentMapper.java new file mode 100644 index 0000000..8108d2b --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsCommentMapper.java @@ -0,0 +1,36 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsComment; +import com.sock.mall.model.PmsCommentExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsCommentMapper { + int countByExample(PmsCommentExample example); + + int deleteByExample(PmsCommentExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsComment record); + + int insertSelective(PmsComment record); + + List selectByExampleWithBLOBs(PmsCommentExample example); + + List selectByExample(PmsCommentExample example); + + PmsComment selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsComment record, @Param("example") PmsCommentExample example); + + int updateByExampleWithBLOBs(@Param("record") PmsComment record, @Param("example") PmsCommentExample example); + + int updateByExample(@Param("record") PmsComment record, @Param("example") PmsCommentExample example); + + int updateByPrimaryKeySelective(PmsComment record); + + int updateByPrimaryKeyWithBLOBs(PmsComment record); + + int updateByPrimaryKey(PmsComment record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsCommentReplayMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsCommentReplayMapper.java new file mode 100644 index 0000000..1c33204 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsCommentReplayMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsCommentReplay; +import com.sock.mall.model.PmsCommentReplayExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsCommentReplayMapper { + int countByExample(PmsCommentReplayExample example); + + int deleteByExample(PmsCommentReplayExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsCommentReplay record); + + int insertSelective(PmsCommentReplay record); + + List selectByExample(PmsCommentReplayExample example); + + PmsCommentReplay selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsCommentReplay record, @Param("example") PmsCommentReplayExample example); + + int updateByExample(@Param("record") PmsCommentReplay record, @Param("example") PmsCommentReplayExample example); + + int updateByPrimaryKeySelective(PmsCommentReplay record); + + int updateByPrimaryKey(PmsCommentReplay record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsFeightTemplateMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsFeightTemplateMapper.java new file mode 100644 index 0000000..0093a59 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsFeightTemplateMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsFeightTemplate; +import com.sock.mall.model.PmsFeightTemplateExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsFeightTemplateMapper { + int countByExample(PmsFeightTemplateExample example); + + int deleteByExample(PmsFeightTemplateExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsFeightTemplate record); + + int insertSelective(PmsFeightTemplate record); + + List selectByExample(PmsFeightTemplateExample example); + + PmsFeightTemplate selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsFeightTemplate record, @Param("example") PmsFeightTemplateExample example); + + int updateByExample(@Param("record") PmsFeightTemplate record, @Param("example") PmsFeightTemplateExample example); + + int updateByPrimaryKeySelective(PmsFeightTemplate record); + + int updateByPrimaryKey(PmsFeightTemplate record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsMemberPriceMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsMemberPriceMapper.java new file mode 100644 index 0000000..2f7217a --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsMemberPriceMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsMemberPrice; +import com.sock.mall.model.PmsMemberPriceExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsMemberPriceMapper { + int countByExample(PmsMemberPriceExample example); + + int deleteByExample(PmsMemberPriceExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsMemberPrice record); + + int insertSelective(PmsMemberPrice record); + + List selectByExample(PmsMemberPriceExample example); + + PmsMemberPrice selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); + + int updateByExample(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); + + int updateByPrimaryKeySelective(PmsMemberPrice record); + + int updateByPrimaryKey(PmsMemberPrice record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductAttributeCategoryMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductAttributeCategoryMapper.java new file mode 100644 index 0000000..1dfa8ac --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductAttributeCategoryMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsProductAttributeCategory; +import com.sock.mall.model.PmsProductAttributeCategoryExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsProductAttributeCategoryMapper { + int countByExample(PmsProductAttributeCategoryExample example); + + int deleteByExample(PmsProductAttributeCategoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductAttributeCategory record); + + int insertSelective(PmsProductAttributeCategory record); + + List selectByExample(PmsProductAttributeCategoryExample example); + + PmsProductAttributeCategory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductAttributeCategory record, @Param("example") PmsProductAttributeCategoryExample example); + + int updateByExample(@Param("record") PmsProductAttributeCategory record, @Param("example") PmsProductAttributeCategoryExample example); + + int updateByPrimaryKeySelective(PmsProductAttributeCategory record); + + int updateByPrimaryKey(PmsProductAttributeCategory record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductAttributeMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductAttributeMapper.java new file mode 100644 index 0000000..ca72073 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductAttributeMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsProductAttribute; +import com.sock.mall.model.PmsProductAttributeExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsProductAttributeMapper { + int countByExample(PmsProductAttributeExample example); + + int deleteByExample(PmsProductAttributeExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductAttribute record); + + int insertSelective(PmsProductAttribute record); + + List selectByExample(PmsProductAttributeExample example); + + PmsProductAttribute selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductAttribute record, @Param("example") PmsProductAttributeExample example); + + int updateByExample(@Param("record") PmsProductAttribute record, @Param("example") PmsProductAttributeExample example); + + int updateByPrimaryKeySelective(PmsProductAttribute record); + + int updateByPrimaryKey(PmsProductAttribute record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductAttributeValueMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductAttributeValueMapper.java new file mode 100644 index 0000000..ac50554 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductAttributeValueMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsProductAttributeValue; +import com.sock.mall.model.PmsProductAttributeValueExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsProductAttributeValueMapper { + int countByExample(PmsProductAttributeValueExample example); + + int deleteByExample(PmsProductAttributeValueExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductAttributeValue record); + + int insertSelective(PmsProductAttributeValue record); + + List selectByExample(PmsProductAttributeValueExample example); + + PmsProductAttributeValue selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductAttributeValue record, @Param("example") PmsProductAttributeValueExample example); + + int updateByExample(@Param("record") PmsProductAttributeValue record, @Param("example") PmsProductAttributeValueExample example); + + int updateByPrimaryKeySelective(PmsProductAttributeValue record); + + int updateByPrimaryKey(PmsProductAttributeValue record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductCategoryAttributeRelationMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductCategoryAttributeRelationMapper.java new file mode 100644 index 0000000..686b88d --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductCategoryAttributeRelationMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsProductCategoryAttributeRelation; +import com.sock.mall.model.PmsProductCategoryAttributeRelationExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsProductCategoryAttributeRelationMapper { + int countByExample(PmsProductCategoryAttributeRelationExample example); + + int deleteByExample(PmsProductCategoryAttributeRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductCategoryAttributeRelation record); + + int insertSelective(PmsProductCategoryAttributeRelation record); + + List selectByExample(PmsProductCategoryAttributeRelationExample example); + + PmsProductCategoryAttributeRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductCategoryAttributeRelation record, @Param("example") PmsProductCategoryAttributeRelationExample example); + + int updateByExample(@Param("record") PmsProductCategoryAttributeRelation record, @Param("example") PmsProductCategoryAttributeRelationExample example); + + int updateByPrimaryKeySelective(PmsProductCategoryAttributeRelation record); + + int updateByPrimaryKey(PmsProductCategoryAttributeRelation record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductCategoryMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductCategoryMapper.java new file mode 100644 index 0000000..611897e --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductCategoryMapper.java @@ -0,0 +1,36 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsProductCategory; +import com.sock.mall.model.PmsProductCategoryExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsProductCategoryMapper { + int countByExample(PmsProductCategoryExample example); + + int deleteByExample(PmsProductCategoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductCategory record); + + int insertSelective(PmsProductCategory record); + + List selectByExampleWithBLOBs(PmsProductCategoryExample example); + + List selectByExample(PmsProductCategoryExample example); + + PmsProductCategory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example); + + int updateByExampleWithBLOBs(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example); + + int updateByExample(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example); + + int updateByPrimaryKeySelective(PmsProductCategory record); + + int updateByPrimaryKeyWithBLOBs(PmsProductCategory record); + + int updateByPrimaryKey(PmsProductCategory record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductFullReductionMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductFullReductionMapper.java new file mode 100644 index 0000000..49c708f --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductFullReductionMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsProductFullReduction; +import com.sock.mall.model.PmsProductFullReductionExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsProductFullReductionMapper { + int countByExample(PmsProductFullReductionExample example); + + int deleteByExample(PmsProductFullReductionExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductFullReduction record); + + int insertSelective(PmsProductFullReduction record); + + List selectByExample(PmsProductFullReductionExample example); + + PmsProductFullReduction selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example); + + int updateByExample(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example); + + int updateByPrimaryKeySelective(PmsProductFullReduction record); + + int updateByPrimaryKey(PmsProductFullReduction record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductLadderMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductLadderMapper.java new file mode 100644 index 0000000..726831d --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductLadderMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsProductLadder; +import com.sock.mall.model.PmsProductLadderExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsProductLadderMapper { + int countByExample(PmsProductLadderExample example); + + int deleteByExample(PmsProductLadderExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductLadder record); + + int insertSelective(PmsProductLadder record); + + List selectByExample(PmsProductLadderExample example); + + PmsProductLadder selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example); + + int updateByExample(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example); + + int updateByPrimaryKeySelective(PmsProductLadder record); + + int updateByPrimaryKey(PmsProductLadder record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductMapper.java new file mode 100644 index 0000000..76d8c7a --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductMapper.java @@ -0,0 +1,36 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsProduct; +import com.sock.mall.model.PmsProductExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsProductMapper { + int countByExample(PmsProductExample example); + + int deleteByExample(PmsProductExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProduct record); + + int insertSelective(PmsProduct record); + + List selectByExampleWithBLOBs(PmsProductExample example); + + List selectByExample(PmsProductExample example); + + PmsProduct selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); + + int updateByExampleWithBLOBs(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); + + int updateByExample(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); + + int updateByPrimaryKeySelective(PmsProduct record); + + int updateByPrimaryKeyWithBLOBs(PmsProduct record); + + int updateByPrimaryKey(PmsProduct record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductOperateLogMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductOperateLogMapper.java new file mode 100644 index 0000000..f296b26 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductOperateLogMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsProductOperateLog; +import com.sock.mall.model.PmsProductOperateLogExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsProductOperateLogMapper { + int countByExample(PmsProductOperateLogExample example); + + int deleteByExample(PmsProductOperateLogExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductOperateLog record); + + int insertSelective(PmsProductOperateLog record); + + List selectByExample(PmsProductOperateLogExample example); + + PmsProductOperateLog selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example); + + int updateByExample(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example); + + int updateByPrimaryKeySelective(PmsProductOperateLog record); + + int updateByPrimaryKey(PmsProductOperateLog record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductVertifyRecordMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductVertifyRecordMapper.java new file mode 100644 index 0000000..2367939 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsProductVertifyRecordMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsProductVertifyRecord; +import com.sock.mall.model.PmsProductVertifyRecordExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsProductVertifyRecordMapper { + int countByExample(PmsProductVertifyRecordExample example); + + int deleteByExample(PmsProductVertifyRecordExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductVertifyRecord record); + + int insertSelective(PmsProductVertifyRecord record); + + List selectByExample(PmsProductVertifyRecordExample example); + + PmsProductVertifyRecord selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example); + + int updateByExample(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example); + + int updateByPrimaryKeySelective(PmsProductVertifyRecord record); + + int updateByPrimaryKey(PmsProductVertifyRecord record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsSkuStockMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsSkuStockMapper.java new file mode 100644 index 0000000..0b43d77 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/PmsSkuStockMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.PmsSkuStock; +import com.sock.mall.model.PmsSkuStockExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PmsSkuStockMapper { + int countByExample(PmsSkuStockExample example); + + int deleteByExample(PmsSkuStockExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsSkuStock record); + + int insertSelective(PmsSkuStock record); + + List selectByExample(PmsSkuStockExample example); + + PmsSkuStock selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); + + int updateByExample(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); + + int updateByPrimaryKeySelective(PmsSkuStock record); + + int updateByPrimaryKey(PmsSkuStock record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponHistoryMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponHistoryMapper.java new file mode 100644 index 0000000..126c550 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponHistoryMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.SmsCouponHistory; +import com.sock.mall.model.SmsCouponHistoryExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SmsCouponHistoryMapper { + int countByExample(SmsCouponHistoryExample example); + + int deleteByExample(SmsCouponHistoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsCouponHistory record); + + int insertSelective(SmsCouponHistory record); + + List selectByExample(SmsCouponHistoryExample example); + + SmsCouponHistory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsCouponHistory record, @Param("example") SmsCouponHistoryExample example); + + int updateByExample(@Param("record") SmsCouponHistory record, @Param("example") SmsCouponHistoryExample example); + + int updateByPrimaryKeySelective(SmsCouponHistory record); + + int updateByPrimaryKey(SmsCouponHistory record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponMapper.java new file mode 100644 index 0000000..2f267d2 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.SmsCoupon; +import com.sock.mall.model.SmsCouponExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SmsCouponMapper { + int countByExample(SmsCouponExample example); + + int deleteByExample(SmsCouponExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsCoupon record); + + int insertSelective(SmsCoupon record); + + List selectByExample(SmsCouponExample example); + + SmsCoupon selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsCoupon record, @Param("example") SmsCouponExample example); + + int updateByExample(@Param("record") SmsCoupon record, @Param("example") SmsCouponExample example); + + int updateByPrimaryKeySelective(SmsCoupon record); + + int updateByPrimaryKey(SmsCoupon record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponProductCategoryRelationMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponProductCategoryRelationMapper.java new file mode 100644 index 0000000..99cea36 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponProductCategoryRelationMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.SmsCouponProductCategoryRelation; +import com.sock.mall.model.SmsCouponProductCategoryRelationExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SmsCouponProductCategoryRelationMapper { + int countByExample(SmsCouponProductCategoryRelationExample example); + + int deleteByExample(SmsCouponProductCategoryRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsCouponProductCategoryRelation record); + + int insertSelective(SmsCouponProductCategoryRelation record); + + List selectByExample(SmsCouponProductCategoryRelationExample example); + + SmsCouponProductCategoryRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsCouponProductCategoryRelation record, @Param("example") SmsCouponProductCategoryRelationExample example); + + int updateByExample(@Param("record") SmsCouponProductCategoryRelation record, @Param("example") SmsCouponProductCategoryRelationExample example); + + int updateByPrimaryKeySelective(SmsCouponProductCategoryRelation record); + + int updateByPrimaryKey(SmsCouponProductCategoryRelation record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponProductRelationMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponProductRelationMapper.java new file mode 100644 index 0000000..c501a71 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsCouponProductRelationMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.SmsCouponProductRelation; +import com.sock.mall.model.SmsCouponProductRelationExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SmsCouponProductRelationMapper { + int countByExample(SmsCouponProductRelationExample example); + + int deleteByExample(SmsCouponProductRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsCouponProductRelation record); + + int insertSelective(SmsCouponProductRelation record); + + List selectByExample(SmsCouponProductRelationExample example); + + SmsCouponProductRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsCouponProductRelation record, @Param("example") SmsCouponProductRelationExample example); + + int updateByExample(@Param("record") SmsCouponProductRelation record, @Param("example") SmsCouponProductRelationExample example); + + int updateByPrimaryKeySelective(SmsCouponProductRelation record); + + int updateByPrimaryKey(SmsCouponProductRelation record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionLogMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionLogMapper.java new file mode 100644 index 0000000..5f4462b --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionLogMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.SmsFlashPromotionLog; +import com.sock.mall.model.SmsFlashPromotionLogExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SmsFlashPromotionLogMapper { + int countByExample(SmsFlashPromotionLogExample example); + + int deleteByExample(SmsFlashPromotionLogExample example); + + int deleteByPrimaryKey(Integer id); + + int insert(SmsFlashPromotionLog record); + + int insertSelective(SmsFlashPromotionLog record); + + List selectByExample(SmsFlashPromotionLogExample example); + + SmsFlashPromotionLog selectByPrimaryKey(Integer id); + + int updateByExampleSelective(@Param("record") SmsFlashPromotionLog record, @Param("example") SmsFlashPromotionLogExample example); + + int updateByExample(@Param("record") SmsFlashPromotionLog record, @Param("example") SmsFlashPromotionLogExample example); + + int updateByPrimaryKeySelective(SmsFlashPromotionLog record); + + int updateByPrimaryKey(SmsFlashPromotionLog record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionMapper.java new file mode 100644 index 0000000..76fc08f --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.SmsFlashPromotion; +import com.sock.mall.model.SmsFlashPromotionExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SmsFlashPromotionMapper { + int countByExample(SmsFlashPromotionExample example); + + int deleteByExample(SmsFlashPromotionExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsFlashPromotion record); + + int insertSelective(SmsFlashPromotion record); + + List selectByExample(SmsFlashPromotionExample example); + + SmsFlashPromotion selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); + + int updateByExample(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); + + int updateByPrimaryKeySelective(SmsFlashPromotion record); + + int updateByPrimaryKey(SmsFlashPromotion record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionProductRelationMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionProductRelationMapper.java new file mode 100644 index 0000000..5b8b3cf --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionProductRelationMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.SmsFlashPromotionProductRelation; +import com.sock.mall.model.SmsFlashPromotionProductRelationExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SmsFlashPromotionProductRelationMapper { + int countByExample(SmsFlashPromotionProductRelationExample example); + + int deleteByExample(SmsFlashPromotionProductRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsFlashPromotionProductRelation record); + + int insertSelective(SmsFlashPromotionProductRelation record); + + List selectByExample(SmsFlashPromotionProductRelationExample example); + + SmsFlashPromotionProductRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsFlashPromotionProductRelation record, @Param("example") SmsFlashPromotionProductRelationExample example); + + int updateByExample(@Param("record") SmsFlashPromotionProductRelation record, @Param("example") SmsFlashPromotionProductRelationExample example); + + int updateByPrimaryKeySelective(SmsFlashPromotionProductRelation record); + + int updateByPrimaryKey(SmsFlashPromotionProductRelation record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionSessionMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionSessionMapper.java new file mode 100644 index 0000000..1df307a --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsFlashPromotionSessionMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.SmsFlashPromotionSession; +import com.sock.mall.model.SmsFlashPromotionSessionExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SmsFlashPromotionSessionMapper { + int countByExample(SmsFlashPromotionSessionExample example); + + int deleteByExample(SmsFlashPromotionSessionExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsFlashPromotionSession record); + + int insertSelective(SmsFlashPromotionSession record); + + List selectByExample(SmsFlashPromotionSessionExample example); + + SmsFlashPromotionSession selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example); + + int updateByExample(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example); + + int updateByPrimaryKeySelective(SmsFlashPromotionSession record); + + int updateByPrimaryKey(SmsFlashPromotionSession record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeAdvertiseMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeAdvertiseMapper.java new file mode 100644 index 0000000..df6bb5b --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeAdvertiseMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.SmsHomeAdvertise; +import com.sock.mall.model.SmsHomeAdvertiseExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SmsHomeAdvertiseMapper { + int countByExample(SmsHomeAdvertiseExample example); + + int deleteByExample(SmsHomeAdvertiseExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsHomeAdvertise record); + + int insertSelective(SmsHomeAdvertise record); + + List selectByExample(SmsHomeAdvertiseExample example); + + SmsHomeAdvertise selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsHomeAdvertise record, @Param("example") SmsHomeAdvertiseExample example); + + int updateByExample(@Param("record") SmsHomeAdvertise record, @Param("example") SmsHomeAdvertiseExample example); + + int updateByPrimaryKeySelective(SmsHomeAdvertise record); + + int updateByPrimaryKey(SmsHomeAdvertise record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeBrandMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeBrandMapper.java new file mode 100644 index 0000000..7286e2a --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeBrandMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.SmsHomeBrand; +import com.sock.mall.model.SmsHomeBrandExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SmsHomeBrandMapper { + int countByExample(SmsHomeBrandExample example); + + int deleteByExample(SmsHomeBrandExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsHomeBrand record); + + int insertSelective(SmsHomeBrand record); + + List selectByExample(SmsHomeBrandExample example); + + SmsHomeBrand selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsHomeBrand record, @Param("example") SmsHomeBrandExample example); + + int updateByExample(@Param("record") SmsHomeBrand record, @Param("example") SmsHomeBrandExample example); + + int updateByPrimaryKeySelective(SmsHomeBrand record); + + int updateByPrimaryKey(SmsHomeBrand record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeNewProductMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeNewProductMapper.java new file mode 100644 index 0000000..f606471 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeNewProductMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.SmsHomeNewProduct; +import com.sock.mall.model.SmsHomeNewProductExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SmsHomeNewProductMapper { + int countByExample(SmsHomeNewProductExample example); + + int deleteByExample(SmsHomeNewProductExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsHomeNewProduct record); + + int insertSelective(SmsHomeNewProduct record); + + List selectByExample(SmsHomeNewProductExample example); + + SmsHomeNewProduct selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsHomeNewProduct record, @Param("example") SmsHomeNewProductExample example); + + int updateByExample(@Param("record") SmsHomeNewProduct record, @Param("example") SmsHomeNewProductExample example); + + int updateByPrimaryKeySelective(SmsHomeNewProduct record); + + int updateByPrimaryKey(SmsHomeNewProduct record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeRecommendProductMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeRecommendProductMapper.java new file mode 100644 index 0000000..f689290 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeRecommendProductMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.SmsHomeRecommendProduct; +import com.sock.mall.model.SmsHomeRecommendProductExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SmsHomeRecommendProductMapper { + int countByExample(SmsHomeRecommendProductExample example); + + int deleteByExample(SmsHomeRecommendProductExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsHomeRecommendProduct record); + + int insertSelective(SmsHomeRecommendProduct record); + + List selectByExample(SmsHomeRecommendProductExample example); + + SmsHomeRecommendProduct selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsHomeRecommendProduct record, @Param("example") SmsHomeRecommendProductExample example); + + int updateByExample(@Param("record") SmsHomeRecommendProduct record, @Param("example") SmsHomeRecommendProductExample example); + + int updateByPrimaryKeySelective(SmsHomeRecommendProduct record); + + int updateByPrimaryKey(SmsHomeRecommendProduct record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeRecommendSubjectMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeRecommendSubjectMapper.java new file mode 100644 index 0000000..62a8a1c --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/SmsHomeRecommendSubjectMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.SmsHomeRecommendSubject; +import com.sock.mall.model.SmsHomeRecommendSubjectExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SmsHomeRecommendSubjectMapper { + int countByExample(SmsHomeRecommendSubjectExample example); + + int deleteByExample(SmsHomeRecommendSubjectExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsHomeRecommendSubject record); + + int insertSelective(SmsHomeRecommendSubject record); + + List selectByExample(SmsHomeRecommendSubjectExample example); + + SmsHomeRecommendSubject selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsHomeRecommendSubject record, @Param("example") SmsHomeRecommendSubjectExample example); + + int updateByExample(@Param("record") SmsHomeRecommendSubject record, @Param("example") SmsHomeRecommendSubjectExample example); + + int updateByPrimaryKeySelective(SmsHomeRecommendSubject record); + + int updateByPrimaryKey(SmsHomeRecommendSubject record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminLoginLogMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminLoginLogMapper.java new file mode 100644 index 0000000..e05fd3b --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminLoginLogMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsAdminLoginLog; +import com.sock.mall.model.UmsAdminLoginLogExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsAdminLoginLogMapper { + int countByExample(UmsAdminLoginLogExample example); + + int deleteByExample(UmsAdminLoginLogExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsAdminLoginLog record); + + int insertSelective(UmsAdminLoginLog record); + + List selectByExample(UmsAdminLoginLogExample example); + + UmsAdminLoginLog selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsAdminLoginLog record, @Param("example") UmsAdminLoginLogExample example); + + int updateByExample(@Param("record") UmsAdminLoginLog record, @Param("example") UmsAdminLoginLogExample example); + + int updateByPrimaryKeySelective(UmsAdminLoginLog record); + + int updateByPrimaryKey(UmsAdminLoginLog record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminMapper.java new file mode 100644 index 0000000..d7795f6 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsAdmin; +import com.sock.mall.model.UmsAdminExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsAdminMapper { + int countByExample(UmsAdminExample example); + + int deleteByExample(UmsAdminExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsAdmin record); + + int insertSelective(UmsAdmin record); + + List selectByExample(UmsAdminExample example); + + UmsAdmin selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsAdmin record, @Param("example") UmsAdminExample example); + + int updateByExample(@Param("record") UmsAdmin record, @Param("example") UmsAdminExample example); + + int updateByPrimaryKeySelective(UmsAdmin record); + + int updateByPrimaryKey(UmsAdmin record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminPermissionRelationMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminPermissionRelationMapper.java new file mode 100644 index 0000000..a40c5c1 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminPermissionRelationMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsAdminPermissionRelation; +import com.sock.mall.model.UmsAdminPermissionRelationExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsAdminPermissionRelationMapper { + int countByExample(UmsAdminPermissionRelationExample example); + + int deleteByExample(UmsAdminPermissionRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsAdminPermissionRelation record); + + int insertSelective(UmsAdminPermissionRelation record); + + List selectByExample(UmsAdminPermissionRelationExample example); + + UmsAdminPermissionRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsAdminPermissionRelation record, @Param("example") UmsAdminPermissionRelationExample example); + + int updateByExample(@Param("record") UmsAdminPermissionRelation record, @Param("example") UmsAdminPermissionRelationExample example); + + int updateByPrimaryKeySelective(UmsAdminPermissionRelation record); + + int updateByPrimaryKey(UmsAdminPermissionRelation record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminRoleRelationMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminRoleRelationMapper.java new file mode 100644 index 0000000..c3c17cd --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsAdminRoleRelationMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsAdminRoleRelation; +import com.sock.mall.model.UmsAdminRoleRelationExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsAdminRoleRelationMapper { + int countByExample(UmsAdminRoleRelationExample example); + + int deleteByExample(UmsAdminRoleRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsAdminRoleRelation record); + + int insertSelective(UmsAdminRoleRelation record); + + List selectByExample(UmsAdminRoleRelationExample example); + + UmsAdminRoleRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example); + + int updateByExample(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example); + + int updateByPrimaryKeySelective(UmsAdminRoleRelation record); + + int updateByPrimaryKey(UmsAdminRoleRelation record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsGrowthChangeHistoryMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsGrowthChangeHistoryMapper.java new file mode 100644 index 0000000..7f4e48f --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsGrowthChangeHistoryMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsGrowthChangeHistory; +import com.sock.mall.model.UmsGrowthChangeHistoryExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsGrowthChangeHistoryMapper { + int countByExample(UmsGrowthChangeHistoryExample example); + + int deleteByExample(UmsGrowthChangeHistoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsGrowthChangeHistory record); + + int insertSelective(UmsGrowthChangeHistory record); + + List selectByExample(UmsGrowthChangeHistoryExample example); + + UmsGrowthChangeHistory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsGrowthChangeHistory record, @Param("example") UmsGrowthChangeHistoryExample example); + + int updateByExample(@Param("record") UmsGrowthChangeHistory record, @Param("example") UmsGrowthChangeHistoryExample example); + + int updateByPrimaryKeySelective(UmsGrowthChangeHistory record); + + int updateByPrimaryKey(UmsGrowthChangeHistory record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsIntegrationChangeHistoryMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsIntegrationChangeHistoryMapper.java new file mode 100644 index 0000000..e52eaa1 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsIntegrationChangeHistoryMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsIntegrationChangeHistory; +import com.sock.mall.model.UmsIntegrationChangeHistoryExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsIntegrationChangeHistoryMapper { + int countByExample(UmsIntegrationChangeHistoryExample example); + + int deleteByExample(UmsIntegrationChangeHistoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsIntegrationChangeHistory record); + + int insertSelective(UmsIntegrationChangeHistory record); + + List selectByExample(UmsIntegrationChangeHistoryExample example); + + UmsIntegrationChangeHistory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsIntegrationChangeHistory record, @Param("example") UmsIntegrationChangeHistoryExample example); + + int updateByExample(@Param("record") UmsIntegrationChangeHistory record, @Param("example") UmsIntegrationChangeHistoryExample example); + + int updateByPrimaryKeySelective(UmsIntegrationChangeHistory record); + + int updateByPrimaryKey(UmsIntegrationChangeHistory record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsIntegrationConsumeSettingMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsIntegrationConsumeSettingMapper.java new file mode 100644 index 0000000..bffaf26 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsIntegrationConsumeSettingMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsIntegrationConsumeSetting; +import com.sock.mall.model.UmsIntegrationConsumeSettingExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsIntegrationConsumeSettingMapper { + int countByExample(UmsIntegrationConsumeSettingExample example); + + int deleteByExample(UmsIntegrationConsumeSettingExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsIntegrationConsumeSetting record); + + int insertSelective(UmsIntegrationConsumeSetting record); + + List selectByExample(UmsIntegrationConsumeSettingExample example); + + UmsIntegrationConsumeSetting selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsIntegrationConsumeSetting record, @Param("example") UmsIntegrationConsumeSettingExample example); + + int updateByExample(@Param("record") UmsIntegrationConsumeSetting record, @Param("example") UmsIntegrationConsumeSettingExample example); + + int updateByPrimaryKeySelective(UmsIntegrationConsumeSetting record); + + int updateByPrimaryKey(UmsIntegrationConsumeSetting record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberLevelMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberLevelMapper.java new file mode 100644 index 0000000..976c267 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberLevelMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsMemberLevel; +import com.sock.mall.model.UmsMemberLevelExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsMemberLevelMapper { + int countByExample(UmsMemberLevelExample example); + + int deleteByExample(UmsMemberLevelExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberLevel record); + + int insertSelective(UmsMemberLevel record); + + List selectByExample(UmsMemberLevelExample example); + + UmsMemberLevel selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberLevel record, @Param("example") UmsMemberLevelExample example); + + int updateByExample(@Param("record") UmsMemberLevel record, @Param("example") UmsMemberLevelExample example); + + int updateByPrimaryKeySelective(UmsMemberLevel record); + + int updateByPrimaryKey(UmsMemberLevel record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberLoginLogMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberLoginLogMapper.java new file mode 100644 index 0000000..b8c78fc --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberLoginLogMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsMemberLoginLog; +import com.sock.mall.model.UmsMemberLoginLogExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsMemberLoginLogMapper { + int countByExample(UmsMemberLoginLogExample example); + + int deleteByExample(UmsMemberLoginLogExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberLoginLog record); + + int insertSelective(UmsMemberLoginLog record); + + List selectByExample(UmsMemberLoginLogExample example); + + UmsMemberLoginLog selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberLoginLog record, @Param("example") UmsMemberLoginLogExample example); + + int updateByExample(@Param("record") UmsMemberLoginLog record, @Param("example") UmsMemberLoginLogExample example); + + int updateByPrimaryKeySelective(UmsMemberLoginLog record); + + int updateByPrimaryKey(UmsMemberLoginLog record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberMapper.java new file mode 100644 index 0000000..3ea558f --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsMember; +import com.sock.mall.model.UmsMemberExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsMemberMapper { + int countByExample(UmsMemberExample example); + + int deleteByExample(UmsMemberExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMember record); + + int insertSelective(UmsMember record); + + List selectByExample(UmsMemberExample example); + + UmsMember selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMember record, @Param("example") UmsMemberExample example); + + int updateByExample(@Param("record") UmsMember record, @Param("example") UmsMemberExample example); + + int updateByPrimaryKeySelective(UmsMember record); + + int updateByPrimaryKey(UmsMember record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberMemberTagRelationMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberMemberTagRelationMapper.java new file mode 100644 index 0000000..4d7bcf1 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberMemberTagRelationMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsMemberMemberTagRelation; +import com.sock.mall.model.UmsMemberMemberTagRelationExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsMemberMemberTagRelationMapper { + int countByExample(UmsMemberMemberTagRelationExample example); + + int deleteByExample(UmsMemberMemberTagRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberMemberTagRelation record); + + int insertSelective(UmsMemberMemberTagRelation record); + + List selectByExample(UmsMemberMemberTagRelationExample example); + + UmsMemberMemberTagRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberMemberTagRelation record, @Param("example") UmsMemberMemberTagRelationExample example); + + int updateByExample(@Param("record") UmsMemberMemberTagRelation record, @Param("example") UmsMemberMemberTagRelationExample example); + + int updateByPrimaryKeySelective(UmsMemberMemberTagRelation record); + + int updateByPrimaryKey(UmsMemberMemberTagRelation record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberProductCategoryRelationMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberProductCategoryRelationMapper.java new file mode 100644 index 0000000..6288424 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberProductCategoryRelationMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsMemberProductCategoryRelation; +import com.sock.mall.model.UmsMemberProductCategoryRelationExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsMemberProductCategoryRelationMapper { + int countByExample(UmsMemberProductCategoryRelationExample example); + + int deleteByExample(UmsMemberProductCategoryRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberProductCategoryRelation record); + + int insertSelective(UmsMemberProductCategoryRelation record); + + List selectByExample(UmsMemberProductCategoryRelationExample example); + + UmsMemberProductCategoryRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberProductCategoryRelation record, @Param("example") UmsMemberProductCategoryRelationExample example); + + int updateByExample(@Param("record") UmsMemberProductCategoryRelation record, @Param("example") UmsMemberProductCategoryRelationExample example); + + int updateByPrimaryKeySelective(UmsMemberProductCategoryRelation record); + + int updateByPrimaryKey(UmsMemberProductCategoryRelation record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberReceiveAddressMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberReceiveAddressMapper.java new file mode 100644 index 0000000..c836618 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberReceiveAddressMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsMemberReceiveAddress; +import com.sock.mall.model.UmsMemberReceiveAddressExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsMemberReceiveAddressMapper { + int countByExample(UmsMemberReceiveAddressExample example); + + int deleteByExample(UmsMemberReceiveAddressExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberReceiveAddress record); + + int insertSelective(UmsMemberReceiveAddress record); + + List selectByExample(UmsMemberReceiveAddressExample example); + + UmsMemberReceiveAddress selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberReceiveAddress record, @Param("example") UmsMemberReceiveAddressExample example); + + int updateByExample(@Param("record") UmsMemberReceiveAddress record, @Param("example") UmsMemberReceiveAddressExample example); + + int updateByPrimaryKeySelective(UmsMemberReceiveAddress record); + + int updateByPrimaryKey(UmsMemberReceiveAddress record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberRuleSettingMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberRuleSettingMapper.java new file mode 100644 index 0000000..83f03c1 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberRuleSettingMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsMemberRuleSetting; +import com.sock.mall.model.UmsMemberRuleSettingExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsMemberRuleSettingMapper { + int countByExample(UmsMemberRuleSettingExample example); + + int deleteByExample(UmsMemberRuleSettingExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberRuleSetting record); + + int insertSelective(UmsMemberRuleSetting record); + + List selectByExample(UmsMemberRuleSettingExample example); + + UmsMemberRuleSetting selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberRuleSetting record, @Param("example") UmsMemberRuleSettingExample example); + + int updateByExample(@Param("record") UmsMemberRuleSetting record, @Param("example") UmsMemberRuleSettingExample example); + + int updateByPrimaryKeySelective(UmsMemberRuleSetting record); + + int updateByPrimaryKey(UmsMemberRuleSetting record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberStatisticsInfoMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberStatisticsInfoMapper.java new file mode 100644 index 0000000..56b6b74 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberStatisticsInfoMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsMemberStatisticsInfo; +import com.sock.mall.model.UmsMemberStatisticsInfoExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsMemberStatisticsInfoMapper { + int countByExample(UmsMemberStatisticsInfoExample example); + + int deleteByExample(UmsMemberStatisticsInfoExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberStatisticsInfo record); + + int insertSelective(UmsMemberStatisticsInfo record); + + List selectByExample(UmsMemberStatisticsInfoExample example); + + UmsMemberStatisticsInfo selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberStatisticsInfo record, @Param("example") UmsMemberStatisticsInfoExample example); + + int updateByExample(@Param("record") UmsMemberStatisticsInfo record, @Param("example") UmsMemberStatisticsInfoExample example); + + int updateByPrimaryKeySelective(UmsMemberStatisticsInfo record); + + int updateByPrimaryKey(UmsMemberStatisticsInfo record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberTagMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberTagMapper.java new file mode 100644 index 0000000..a73e058 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberTagMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsMemberTag; +import com.sock.mall.model.UmsMemberTagExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsMemberTagMapper { + int countByExample(UmsMemberTagExample example); + + int deleteByExample(UmsMemberTagExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberTag record); + + int insertSelective(UmsMemberTag record); + + List selectByExample(UmsMemberTagExample example); + + UmsMemberTag selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberTag record, @Param("example") UmsMemberTagExample example); + + int updateByExample(@Param("record") UmsMemberTag record, @Param("example") UmsMemberTagExample example); + + int updateByPrimaryKeySelective(UmsMemberTag record); + + int updateByPrimaryKey(UmsMemberTag record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberTaskMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberTaskMapper.java new file mode 100644 index 0000000..0490b26 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsMemberTaskMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsMemberTask; +import com.sock.mall.model.UmsMemberTaskExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsMemberTaskMapper { + int countByExample(UmsMemberTaskExample example); + + int deleteByExample(UmsMemberTaskExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberTask record); + + int insertSelective(UmsMemberTask record); + + List selectByExample(UmsMemberTaskExample example); + + UmsMemberTask selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberTask record, @Param("example") UmsMemberTaskExample example); + + int updateByExample(@Param("record") UmsMemberTask record, @Param("example") UmsMemberTaskExample example); + + int updateByPrimaryKeySelective(UmsMemberTask record); + + int updateByPrimaryKey(UmsMemberTask record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsPermissionMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsPermissionMapper.java new file mode 100644 index 0000000..19a2f31 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsPermissionMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsPermission; +import com.sock.mall.model.UmsPermissionExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsPermissionMapper { + int countByExample(UmsPermissionExample example); + + int deleteByExample(UmsPermissionExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsPermission record); + + int insertSelective(UmsPermission record); + + List selectByExample(UmsPermissionExample example); + + UmsPermission selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsPermission record, @Param("example") UmsPermissionExample example); + + int updateByExample(@Param("record") UmsPermission record, @Param("example") UmsPermissionExample example); + + int updateByPrimaryKeySelective(UmsPermission record); + + int updateByPrimaryKey(UmsPermission record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsRoleMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsRoleMapper.java new file mode 100644 index 0000000..f9d6472 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsRoleMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsRole; +import com.sock.mall.model.UmsRoleExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsRoleMapper { + int countByExample(UmsRoleExample example); + + int deleteByExample(UmsRoleExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsRole record); + + int insertSelective(UmsRole record); + + List selectByExample(UmsRoleExample example); + + UmsRole selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsRole record, @Param("example") UmsRoleExample example); + + int updateByExample(@Param("record") UmsRole record, @Param("example") UmsRoleExample example); + + int updateByPrimaryKeySelective(UmsRole record); + + int updateByPrimaryKey(UmsRole record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsRolePermissionRelationMapper.java b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsRolePermissionRelationMapper.java new file mode 100644 index 0000000..c464076 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/mapper/UmsRolePermissionRelationMapper.java @@ -0,0 +1,30 @@ +package com.sock.mall.mapper; + +import com.sock.mall.model.UmsRolePermissionRelation; +import com.sock.mall.model.UmsRolePermissionRelationExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsRolePermissionRelationMapper { + int countByExample(UmsRolePermissionRelationExample example); + + int deleteByExample(UmsRolePermissionRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsRolePermissionRelation record); + + int insertSelective(UmsRolePermissionRelation record); + + List selectByExample(UmsRolePermissionRelationExample example); + + UmsRolePermissionRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsRolePermissionRelation record, @Param("example") UmsRolePermissionRelationExample example); + + int updateByExample(@Param("record") UmsRolePermissionRelation record, @Param("example") UmsRolePermissionRelationExample example); + + int updateByPrimaryKeySelective(UmsRolePermissionRelation record); + + int updateByPrimaryKey(UmsRolePermissionRelation record); +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelp.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelp.java new file mode 100644 index 0000000..9464050 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelp.java @@ -0,0 +1,107 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class CmsHelp implements Serializable { + private Long id; + + private Long categoryId; + + private String icon; + + private String title; + + private Integer showStatus; + + private Date createTime; + + private Integer readCount; + + private String content; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getCategoryId() { + return categoryId; + } + + public void setCategoryId(Long categoryId) { + this.categoryId = categoryId; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getReadCount() { + return readCount; + } + + public void setReadCount(Integer readCount) { + this.readCount = readCount; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", categoryId=").append(categoryId); + sb.append(", icon=").append(icon); + sb.append(", title=").append(title); + sb.append(", showStatus=").append(showStatus); + sb.append(", createTime=").append(createTime); + sb.append(", readCount=").append(readCount); + sb.append(", content=").append(content); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelpCategory.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelpCategory.java new file mode 100644 index 0000000..105cd25 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelpCategory.java @@ -0,0 +1,94 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class CmsHelpCategory implements Serializable { + private Long id; + + private String name; + + /** + * 分类图标 + * + * @mbggenerated + */ + private String icon; + + /** + * 专题数量 + * + * @mbggenerated + */ + private Integer helpCount; + + private Integer showStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public Integer getHelpCount() { + return helpCount; + } + + public void setHelpCount(Integer helpCount) { + this.helpCount = helpCount; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", icon=").append(icon); + sb.append(", helpCount=").append(helpCount); + sb.append(", showStatus=").append(showStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelpCategoryExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelpCategoryExample.java new file mode 100644 index 0000000..ed433e4 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelpCategoryExample.java @@ -0,0 +1,580 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class CmsHelpCategoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsHelpCategoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andHelpCountIsNull() { + addCriterion("help_count is null"); + return (Criteria) this; + } + + public Criteria andHelpCountIsNotNull() { + addCriterion("help_count is not null"); + return (Criteria) this; + } + + public Criteria andHelpCountEqualTo(Integer value) { + addCriterion("help_count =", value, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountNotEqualTo(Integer value) { + addCriterion("help_count <>", value, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountGreaterThan(Integer value) { + addCriterion("help_count >", value, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountGreaterThanOrEqualTo(Integer value) { + addCriterion("help_count >=", value, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountLessThan(Integer value) { + addCriterion("help_count <", value, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountLessThanOrEqualTo(Integer value) { + addCriterion("help_count <=", value, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountIn(List values) { + addCriterion("help_count in", values, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountNotIn(List values) { + addCriterion("help_count not in", values, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountBetween(Integer value1, Integer value2) { + addCriterion("help_count between", value1, value2, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountNotBetween(Integer value1, Integer value2) { + addCriterion("help_count not between", value1, value2, "helpCount"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelpExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelpExample.java new file mode 100644 index 0000000..58b71d9 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsHelpExample.java @@ -0,0 +1,641 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class CmsHelpExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsHelpExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andCategoryIdIsNull() { + addCriterion("category_id is null"); + return (Criteria) this; + } + + public Criteria andCategoryIdIsNotNull() { + addCriterion("category_id is not null"); + return (Criteria) this; + } + + public Criteria andCategoryIdEqualTo(Long value) { + addCriterion("category_id =", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotEqualTo(Long value) { + addCriterion("category_id <>", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdGreaterThan(Long value) { + addCriterion("category_id >", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("category_id >=", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdLessThan(Long value) { + addCriterion("category_id <", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("category_id <=", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdIn(List values) { + addCriterion("category_id in", values, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotIn(List values) { + addCriterion("category_id not in", values, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdBetween(Long value1, Long value2) { + addCriterion("category_id between", value1, value2, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("category_id not between", value1, value2, "categoryId"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andTitleIsNull() { + addCriterion("title is null"); + return (Criteria) this; + } + + public Criteria andTitleIsNotNull() { + addCriterion("title is not null"); + return (Criteria) this; + } + + public Criteria andTitleEqualTo(String value) { + addCriterion("title =", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotEqualTo(String value) { + addCriterion("title <>", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleGreaterThan(String value) { + addCriterion("title >", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleGreaterThanOrEqualTo(String value) { + addCriterion("title >=", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleLessThan(String value) { + addCriterion("title <", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleLessThanOrEqualTo(String value) { + addCriterion("title <=", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleLike(String value) { + addCriterion("title like", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotLike(String value) { + addCriterion("title not like", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleIn(List values) { + addCriterion("title in", values, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotIn(List values) { + addCriterion("title not in", values, "title"); + return (Criteria) this; + } + + public Criteria andTitleBetween(String value1, String value2) { + addCriterion("title between", value1, value2, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotBetween(String value1, String value2) { + addCriterion("title not between", value1, value2, "title"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andReadCountIsNull() { + addCriterion("read_count is null"); + return (Criteria) this; + } + + public Criteria andReadCountIsNotNull() { + addCriterion("read_count is not null"); + return (Criteria) this; + } + + public Criteria andReadCountEqualTo(Integer value) { + addCriterion("read_count =", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotEqualTo(Integer value) { + addCriterion("read_count <>", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThan(Integer value) { + addCriterion("read_count >", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThanOrEqualTo(Integer value) { + addCriterion("read_count >=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThan(Integer value) { + addCriterion("read_count <", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThanOrEqualTo(Integer value) { + addCriterion("read_count <=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountIn(List values) { + addCriterion("read_count in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotIn(List values) { + addCriterion("read_count not in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountBetween(Integer value1, Integer value2) { + addCriterion("read_count between", value1, value2, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotBetween(Integer value1, Integer value2) { + addCriterion("read_count not between", value1, value2, "readCount"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceArea.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceArea.java new file mode 100644 index 0000000..eac7cc3 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceArea.java @@ -0,0 +1,89 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class CmsPrefrenceArea implements Serializable { + private Long id; + + private String name; + + private String subTitle; + + private Integer sort; + + private Integer showStatus; + + /** + * 展示图片 + * + * @mbggenerated + */ + private byte[] pic; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getSubTitle() { + return subTitle; + } + + public void setSubTitle(String subTitle) { + this.subTitle = subTitle; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public byte[] getPic() { + return pic; + } + + public void setPic(byte[] pic) { + this.pic = pic; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", subTitle=").append(subTitle); + sb.append(", sort=").append(sort); + sb.append(", showStatus=").append(showStatus); + sb.append(", pic=").append(pic); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceAreaExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceAreaExample.java new file mode 100644 index 0000000..ad084c4 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceAreaExample.java @@ -0,0 +1,520 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class CmsPrefrenceAreaExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsPrefrenceAreaExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andSubTitleIsNull() { + addCriterion("sub_title is null"); + return (Criteria) this; + } + + public Criteria andSubTitleIsNotNull() { + addCriterion("sub_title is not null"); + return (Criteria) this; + } + + public Criteria andSubTitleEqualTo(String value) { + addCriterion("sub_title =", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleNotEqualTo(String value) { + addCriterion("sub_title <>", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleGreaterThan(String value) { + addCriterion("sub_title >", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleGreaterThanOrEqualTo(String value) { + addCriterion("sub_title >=", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleLessThan(String value) { + addCriterion("sub_title <", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleLessThanOrEqualTo(String value) { + addCriterion("sub_title <=", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleLike(String value) { + addCriterion("sub_title like", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleNotLike(String value) { + addCriterion("sub_title not like", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleIn(List values) { + addCriterion("sub_title in", values, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleNotIn(List values) { + addCriterion("sub_title not in", values, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleBetween(String value1, String value2) { + addCriterion("sub_title between", value1, value2, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleNotBetween(String value1, String value2) { + addCriterion("sub_title not between", value1, value2, "subTitle"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceAreaProductRelation.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceAreaProductRelation.java new file mode 100644 index 0000000..fc73a70 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceAreaProductRelation.java @@ -0,0 +1,51 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class CmsPrefrenceAreaProductRelation implements Serializable { + private Long id; + + private Long prefrenceAreaId; + + private Long productId; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getPrefrenceAreaId() { + return prefrenceAreaId; + } + + public void setPrefrenceAreaId(Long prefrenceAreaId) { + this.prefrenceAreaId = prefrenceAreaId; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", prefrenceAreaId=").append(prefrenceAreaId); + sb.append(", productId=").append(productId); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceAreaProductRelationExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceAreaProductRelationExample.java new file mode 100644 index 0000000..846b801 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsPrefrenceAreaProductRelationExample.java @@ -0,0 +1,380 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class CmsPrefrenceAreaProductRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsPrefrenceAreaProductRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdIsNull() { + addCriterion("prefrence_area_id is null"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdIsNotNull() { + addCriterion("prefrence_area_id is not null"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdEqualTo(Long value) { + addCriterion("prefrence_area_id =", value, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdNotEqualTo(Long value) { + addCriterion("prefrence_area_id <>", value, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdGreaterThan(Long value) { + addCriterion("prefrence_area_id >", value, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdGreaterThanOrEqualTo(Long value) { + addCriterion("prefrence_area_id >=", value, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdLessThan(Long value) { + addCriterion("prefrence_area_id <", value, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdLessThanOrEqualTo(Long value) { + addCriterion("prefrence_area_id <=", value, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdIn(List values) { + addCriterion("prefrence_area_id in", values, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdNotIn(List values) { + addCriterion("prefrence_area_id not in", values, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdBetween(Long value1, Long value2) { + addCriterion("prefrence_area_id between", value1, value2, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdNotBetween(Long value1, Long value2) { + addCriterion("prefrence_area_id not between", value1, value2, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubject.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubject.java new file mode 100644 index 0000000..c22dae8 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubject.java @@ -0,0 +1,225 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class CmsSubject implements Serializable { + private Long id; + + private Long categoryId; + + private String title; + + /** + * 专题主图 + * + * @mbggenerated + */ + private String pic; + + /** + * 关联产品数量 + * + * @mbggenerated + */ + private Integer productCount; + + private Integer recommendStatus; + + private Date createTime; + + private Integer collectCount; + + private Integer readCount; + + private Integer commentCount; + + /** + * 画册图片用逗号分割 + * + * @mbggenerated + */ + private String albumPics; + + private String description; + + /** + * 显示状态:0->不显示;1->显示 + * + * @mbggenerated + */ + private Integer showStatus; + + /** + * 转发数 + * + * @mbggenerated + */ + private Integer forwardCount; + + /** + * 专题分类名称 + * + * @mbggenerated + */ + private String categoryName; + + private String content; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getCategoryId() { + return categoryId; + } + + public void setCategoryId(Long categoryId) { + this.categoryId = categoryId; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public String getPic() { + return pic; + } + + public void setPic(String pic) { + this.pic = pic; + } + + public Integer getProductCount() { + return productCount; + } + + public void setProductCount(Integer productCount) { + this.productCount = productCount; + } + + public Integer getRecommendStatus() { + return recommendStatus; + } + + public void setRecommendStatus(Integer recommendStatus) { + this.recommendStatus = recommendStatus; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getCollectCount() { + return collectCount; + } + + public void setCollectCount(Integer collectCount) { + this.collectCount = collectCount; + } + + public Integer getReadCount() { + return readCount; + } + + public void setReadCount(Integer readCount) { + this.readCount = readCount; + } + + public Integer getCommentCount() { + return commentCount; + } + + public void setCommentCount(Integer commentCount) { + this.commentCount = commentCount; + } + + public String getAlbumPics() { + return albumPics; + } + + public void setAlbumPics(String albumPics) { + this.albumPics = albumPics; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public Integer getForwardCount() { + return forwardCount; + } + + public void setForwardCount(Integer forwardCount) { + this.forwardCount = forwardCount; + } + + public String getCategoryName() { + return categoryName; + } + + public void setCategoryName(String categoryName) { + this.categoryName = categoryName; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", categoryId=").append(categoryId); + sb.append(", title=").append(title); + sb.append(", pic=").append(pic); + sb.append(", productCount=").append(productCount); + sb.append(", recommendStatus=").append(recommendStatus); + sb.append(", createTime=").append(createTime); + sb.append(", collectCount=").append(collectCount); + sb.append(", readCount=").append(readCount); + sb.append(", commentCount=").append(commentCount); + sb.append(", albumPics=").append(albumPics); + sb.append(", description=").append(description); + sb.append(", showStatus=").append(showStatus); + sb.append(", forwardCount=").append(forwardCount); + sb.append(", categoryName=").append(categoryName); + sb.append(", content=").append(content); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectCategory.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectCategory.java new file mode 100644 index 0000000..7390687 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectCategory.java @@ -0,0 +1,94 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class CmsSubjectCategory implements Serializable { + private Long id; + + private String name; + + /** + * 分类图标 + * + * @mbggenerated + */ + private String icon; + + /** + * 专题数量 + * + * @mbggenerated + */ + private Integer subjectCount; + + private Integer showStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public Integer getSubjectCount() { + return subjectCount; + } + + public void setSubjectCount(Integer subjectCount) { + this.subjectCount = subjectCount; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", icon=").append(icon); + sb.append(", subjectCount=").append(subjectCount); + sb.append(", showStatus=").append(showStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectCategoryExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectCategoryExample.java new file mode 100644 index 0000000..6ebc81d --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectCategoryExample.java @@ -0,0 +1,580 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class CmsSubjectCategoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsSubjectCategoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andSubjectCountIsNull() { + addCriterion("subject_count is null"); + return (Criteria) this; + } + + public Criteria andSubjectCountIsNotNull() { + addCriterion("subject_count is not null"); + return (Criteria) this; + } + + public Criteria andSubjectCountEqualTo(Integer value) { + addCriterion("subject_count =", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountNotEqualTo(Integer value) { + addCriterion("subject_count <>", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountGreaterThan(Integer value) { + addCriterion("subject_count >", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountGreaterThanOrEqualTo(Integer value) { + addCriterion("subject_count >=", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountLessThan(Integer value) { + addCriterion("subject_count <", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountLessThanOrEqualTo(Integer value) { + addCriterion("subject_count <=", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountIn(List values) { + addCriterion("subject_count in", values, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountNotIn(List values) { + addCriterion("subject_count not in", values, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountBetween(Integer value1, Integer value2) { + addCriterion("subject_count between", value1, value2, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountNotBetween(Integer value1, Integer value2) { + addCriterion("subject_count not between", value1, value2, "subjectCount"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectComment.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectComment.java new file mode 100644 index 0000000..6041c21 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectComment.java @@ -0,0 +1,96 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class CmsSubjectComment implements Serializable { + private Long id; + + private Long subjectId; + + private String memberNickName; + + private String memberIcon; + + private String content; + + private Date createTime; + + private Integer showStatus; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getSubjectId() { + return subjectId; + } + + public void setSubjectId(Long subjectId) { + this.subjectId = subjectId; + } + + public String getMemberNickName() { + return memberNickName; + } + + public void setMemberNickName(String memberNickName) { + this.memberNickName = memberNickName; + } + + public String getMemberIcon() { + return memberIcon; + } + + public void setMemberIcon(String memberIcon) { + this.memberIcon = memberIcon; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", subjectId=").append(subjectId); + sb.append(", memberNickName=").append(memberNickName); + sb.append(", memberIcon=").append(memberIcon); + sb.append(", content=").append(content); + sb.append(", createTime=").append(createTime); + sb.append(", showStatus=").append(showStatus); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectCommentExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectCommentExample.java new file mode 100644 index 0000000..7ffa142 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectCommentExample.java @@ -0,0 +1,651 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class CmsSubjectCommentExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsSubjectCommentExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andSubjectIdIsNull() { + addCriterion("subject_id is null"); + return (Criteria) this; + } + + public Criteria andSubjectIdIsNotNull() { + addCriterion("subject_id is not null"); + return (Criteria) this; + } + + public Criteria andSubjectIdEqualTo(Long value) { + addCriterion("subject_id =", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotEqualTo(Long value) { + addCriterion("subject_id <>", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdGreaterThan(Long value) { + addCriterion("subject_id >", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdGreaterThanOrEqualTo(Long value) { + addCriterion("subject_id >=", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdLessThan(Long value) { + addCriterion("subject_id <", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdLessThanOrEqualTo(Long value) { + addCriterion("subject_id <=", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdIn(List values) { + addCriterion("subject_id in", values, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotIn(List values) { + addCriterion("subject_id not in", values, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdBetween(Long value1, Long value2) { + addCriterion("subject_id between", value1, value2, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotBetween(Long value1, Long value2) { + addCriterion("subject_id not between", value1, value2, "subjectId"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNull() { + addCriterion("member_nick_name is null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNotNull() { + addCriterion("member_nick_name is not null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameEqualTo(String value) { + addCriterion("member_nick_name =", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotEqualTo(String value) { + addCriterion("member_nick_name <>", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThan(String value) { + addCriterion("member_nick_name >", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) { + addCriterion("member_nick_name >=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThan(String value) { + addCriterion("member_nick_name <", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThanOrEqualTo(String value) { + addCriterion("member_nick_name <=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLike(String value) { + addCriterion("member_nick_name like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotLike(String value) { + addCriterion("member_nick_name not like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIn(List values) { + addCriterion("member_nick_name in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotIn(List values) { + addCriterion("member_nick_name not in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameBetween(String value1, String value2) { + addCriterion("member_nick_name between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotBetween(String value1, String value2) { + addCriterion("member_nick_name not between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNull() { + addCriterion("member_icon is null"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNotNull() { + addCriterion("member_icon is not null"); + return (Criteria) this; + } + + public Criteria andMemberIconEqualTo(String value) { + addCriterion("member_icon =", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotEqualTo(String value) { + addCriterion("member_icon <>", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThan(String value) { + addCriterion("member_icon >", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThanOrEqualTo(String value) { + addCriterion("member_icon >=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThan(String value) { + addCriterion("member_icon <", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThanOrEqualTo(String value) { + addCriterion("member_icon <=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLike(String value) { + addCriterion("member_icon like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotLike(String value) { + addCriterion("member_icon not like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconIn(List values) { + addCriterion("member_icon in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotIn(List values) { + addCriterion("member_icon not in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconBetween(String value1, String value2) { + addCriterion("member_icon between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotBetween(String value1, String value2) { + addCriterion("member_icon not between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andContentIsNull() { + addCriterion("content is null"); + return (Criteria) this; + } + + public Criteria andContentIsNotNull() { + addCriterion("content is not null"); + return (Criteria) this; + } + + public Criteria andContentEqualTo(String value) { + addCriterion("content =", value, "content"); + return (Criteria) this; + } + + public Criteria andContentNotEqualTo(String value) { + addCriterion("content <>", value, "content"); + return (Criteria) this; + } + + public Criteria andContentGreaterThan(String value) { + addCriterion("content >", value, "content"); + return (Criteria) this; + } + + public Criteria andContentGreaterThanOrEqualTo(String value) { + addCriterion("content >=", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLessThan(String value) { + addCriterion("content <", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLessThanOrEqualTo(String value) { + addCriterion("content <=", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLike(String value) { + addCriterion("content like", value, "content"); + return (Criteria) this; + } + + public Criteria andContentNotLike(String value) { + addCriterion("content not like", value, "content"); + return (Criteria) this; + } + + public Criteria andContentIn(List values) { + addCriterion("content in", values, "content"); + return (Criteria) this; + } + + public Criteria andContentNotIn(List values) { + addCriterion("content not in", values, "content"); + return (Criteria) this; + } + + public Criteria andContentBetween(String value1, String value2) { + addCriterion("content between", value1, value2, "content"); + return (Criteria) this; + } + + public Criteria andContentNotBetween(String value1, String value2) { + addCriterion("content not between", value1, value2, "content"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectExample.java new file mode 100644 index 0000000..7fe8d40 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectExample.java @@ -0,0 +1,1151 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class CmsSubjectExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsSubjectExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andCategoryIdIsNull() { + addCriterion("category_id is null"); + return (Criteria) this; + } + + public Criteria andCategoryIdIsNotNull() { + addCriterion("category_id is not null"); + return (Criteria) this; + } + + public Criteria andCategoryIdEqualTo(Long value) { + addCriterion("category_id =", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotEqualTo(Long value) { + addCriterion("category_id <>", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdGreaterThan(Long value) { + addCriterion("category_id >", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("category_id >=", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdLessThan(Long value) { + addCriterion("category_id <", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("category_id <=", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdIn(List values) { + addCriterion("category_id in", values, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotIn(List values) { + addCriterion("category_id not in", values, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdBetween(Long value1, Long value2) { + addCriterion("category_id between", value1, value2, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("category_id not between", value1, value2, "categoryId"); + return (Criteria) this; + } + + public Criteria andTitleIsNull() { + addCriterion("title is null"); + return (Criteria) this; + } + + public Criteria andTitleIsNotNull() { + addCriterion("title is not null"); + return (Criteria) this; + } + + public Criteria andTitleEqualTo(String value) { + addCriterion("title =", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotEqualTo(String value) { + addCriterion("title <>", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleGreaterThan(String value) { + addCriterion("title >", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleGreaterThanOrEqualTo(String value) { + addCriterion("title >=", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleLessThan(String value) { + addCriterion("title <", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleLessThanOrEqualTo(String value) { + addCriterion("title <=", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleLike(String value) { + addCriterion("title like", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotLike(String value) { + addCriterion("title not like", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleIn(List values) { + addCriterion("title in", values, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotIn(List values) { + addCriterion("title not in", values, "title"); + return (Criteria) this; + } + + public Criteria andTitleBetween(String value1, String value2) { + addCriterion("title between", value1, value2, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotBetween(String value1, String value2) { + addCriterion("title not between", value1, value2, "title"); + return (Criteria) this; + } + + public Criteria andPicIsNull() { + addCriterion("pic is null"); + return (Criteria) this; + } + + public Criteria andPicIsNotNull() { + addCriterion("pic is not null"); + return (Criteria) this; + } + + public Criteria andPicEqualTo(String value) { + addCriterion("pic =", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotEqualTo(String value) { + addCriterion("pic <>", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThan(String value) { + addCriterion("pic >", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThanOrEqualTo(String value) { + addCriterion("pic >=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThan(String value) { + addCriterion("pic <", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThanOrEqualTo(String value) { + addCriterion("pic <=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLike(String value) { + addCriterion("pic like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotLike(String value) { + addCriterion("pic not like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicIn(List values) { + addCriterion("pic in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotIn(List values) { + addCriterion("pic not in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicBetween(String value1, String value2) { + addCriterion("pic between", value1, value2, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotBetween(String value1, String value2) { + addCriterion("pic not between", value1, value2, "pic"); + return (Criteria) this; + } + + public Criteria andProductCountIsNull() { + addCriterion("product_count is null"); + return (Criteria) this; + } + + public Criteria andProductCountIsNotNull() { + addCriterion("product_count is not null"); + return (Criteria) this; + } + + public Criteria andProductCountEqualTo(Integer value) { + addCriterion("product_count =", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotEqualTo(Integer value) { + addCriterion("product_count <>", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountGreaterThan(Integer value) { + addCriterion("product_count >", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountGreaterThanOrEqualTo(Integer value) { + addCriterion("product_count >=", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountLessThan(Integer value) { + addCriterion("product_count <", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountLessThanOrEqualTo(Integer value) { + addCriterion("product_count <=", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountIn(List values) { + addCriterion("product_count in", values, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotIn(List values) { + addCriterion("product_count not in", values, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountBetween(Integer value1, Integer value2) { + addCriterion("product_count between", value1, value2, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotBetween(Integer value1, Integer value2) { + addCriterion("product_count not between", value1, value2, "productCount"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNull() { + addCriterion("recommend_status is null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNotNull() { + addCriterion("recommend_status is not null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusEqualTo(Integer value) { + addCriterion("recommend_status =", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotEqualTo(Integer value) { + addCriterion("recommend_status <>", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThan(Integer value) { + addCriterion("recommend_status >", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("recommend_status >=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThan(Integer value) { + addCriterion("recommend_status <", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { + addCriterion("recommend_status <=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIn(List values) { + addCriterion("recommend_status in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotIn(List values) { + addCriterion("recommend_status not in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { + addCriterion("recommend_status between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { + addCriterion("recommend_status not between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCollectCountIsNull() { + addCriterion("collect_count is null"); + return (Criteria) this; + } + + public Criteria andCollectCountIsNotNull() { + addCriterion("collect_count is not null"); + return (Criteria) this; + } + + public Criteria andCollectCountEqualTo(Integer value) { + addCriterion("collect_count =", value, "collectCount"); + return (Criteria) this; + } + + public Criteria andCollectCountNotEqualTo(Integer value) { + addCriterion("collect_count <>", value, "collectCount"); + return (Criteria) this; + } + + public Criteria andCollectCountGreaterThan(Integer value) { + addCriterion("collect_count >", value, "collectCount"); + return (Criteria) this; + } + + public Criteria andCollectCountGreaterThanOrEqualTo(Integer value) { + addCriterion("collect_count >=", value, "collectCount"); + return (Criteria) this; + } + + public Criteria andCollectCountLessThan(Integer value) { + addCriterion("collect_count <", value, "collectCount"); + return (Criteria) this; + } + + public Criteria andCollectCountLessThanOrEqualTo(Integer value) { + addCriterion("collect_count <=", value, "collectCount"); + return (Criteria) this; + } + + public Criteria andCollectCountIn(List values) { + addCriterion("collect_count in", values, "collectCount"); + return (Criteria) this; + } + + public Criteria andCollectCountNotIn(List values) { + addCriterion("collect_count not in", values, "collectCount"); + return (Criteria) this; + } + + public Criteria andCollectCountBetween(Integer value1, Integer value2) { + addCriterion("collect_count between", value1, value2, "collectCount"); + return (Criteria) this; + } + + public Criteria andCollectCountNotBetween(Integer value1, Integer value2) { + addCriterion("collect_count not between", value1, value2, "collectCount"); + return (Criteria) this; + } + + public Criteria andReadCountIsNull() { + addCriterion("read_count is null"); + return (Criteria) this; + } + + public Criteria andReadCountIsNotNull() { + addCriterion("read_count is not null"); + return (Criteria) this; + } + + public Criteria andReadCountEqualTo(Integer value) { + addCriterion("read_count =", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotEqualTo(Integer value) { + addCriterion("read_count <>", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThan(Integer value) { + addCriterion("read_count >", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThanOrEqualTo(Integer value) { + addCriterion("read_count >=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThan(Integer value) { + addCriterion("read_count <", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThanOrEqualTo(Integer value) { + addCriterion("read_count <=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountIn(List values) { + addCriterion("read_count in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotIn(List values) { + addCriterion("read_count not in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountBetween(Integer value1, Integer value2) { + addCriterion("read_count between", value1, value2, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotBetween(Integer value1, Integer value2) { + addCriterion("read_count not between", value1, value2, "readCount"); + return (Criteria) this; + } + + public Criteria andCommentCountIsNull() { + addCriterion("comment_count is null"); + return (Criteria) this; + } + + public Criteria andCommentCountIsNotNull() { + addCriterion("comment_count is not null"); + return (Criteria) this; + } + + public Criteria andCommentCountEqualTo(Integer value) { + addCriterion("comment_count =", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountNotEqualTo(Integer value) { + addCriterion("comment_count <>", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountGreaterThan(Integer value) { + addCriterion("comment_count >", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountGreaterThanOrEqualTo(Integer value) { + addCriterion("comment_count >=", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountLessThan(Integer value) { + addCriterion("comment_count <", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountLessThanOrEqualTo(Integer value) { + addCriterion("comment_count <=", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountIn(List values) { + addCriterion("comment_count in", values, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountNotIn(List values) { + addCriterion("comment_count not in", values, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountBetween(Integer value1, Integer value2) { + addCriterion("comment_count between", value1, value2, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountNotBetween(Integer value1, Integer value2) { + addCriterion("comment_count not between", value1, value2, "commentCount"); + return (Criteria) this; + } + + public Criteria andAlbumPicsIsNull() { + addCriterion("album_pics is null"); + return (Criteria) this; + } + + public Criteria andAlbumPicsIsNotNull() { + addCriterion("album_pics is not null"); + return (Criteria) this; + } + + public Criteria andAlbumPicsEqualTo(String value) { + addCriterion("album_pics =", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsNotEqualTo(String value) { + addCriterion("album_pics <>", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsGreaterThan(String value) { + addCriterion("album_pics >", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsGreaterThanOrEqualTo(String value) { + addCriterion("album_pics >=", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsLessThan(String value) { + addCriterion("album_pics <", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsLessThanOrEqualTo(String value) { + addCriterion("album_pics <=", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsLike(String value) { + addCriterion("album_pics like", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsNotLike(String value) { + addCriterion("album_pics not like", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsIn(List values) { + addCriterion("album_pics in", values, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsNotIn(List values) { + addCriterion("album_pics not in", values, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsBetween(String value1, String value2) { + addCriterion("album_pics between", value1, value2, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsNotBetween(String value1, String value2) { + addCriterion("album_pics not between", value1, value2, "albumPics"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNull() { + addCriterion("description is null"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNotNull() { + addCriterion("description is not null"); + return (Criteria) this; + } + + public Criteria andDescriptionEqualTo(String value) { + addCriterion("description =", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotEqualTo(String value) { + addCriterion("description <>", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThan(String value) { + addCriterion("description >", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThanOrEqualTo(String value) { + addCriterion("description >=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThan(String value) { + addCriterion("description <", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThanOrEqualTo(String value) { + addCriterion("description <=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLike(String value) { + addCriterion("description like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotLike(String value) { + addCriterion("description not like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionIn(List values) { + addCriterion("description in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotIn(List values) { + addCriterion("description not in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionBetween(String value1, String value2) { + addCriterion("description between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotBetween(String value1, String value2) { + addCriterion("description not between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andForwardCountIsNull() { + addCriterion("forward_count is null"); + return (Criteria) this; + } + + public Criteria andForwardCountIsNotNull() { + addCriterion("forward_count is not null"); + return (Criteria) this; + } + + public Criteria andForwardCountEqualTo(Integer value) { + addCriterion("forward_count =", value, "forwardCount"); + return (Criteria) this; + } + + public Criteria andForwardCountNotEqualTo(Integer value) { + addCriterion("forward_count <>", value, "forwardCount"); + return (Criteria) this; + } + + public Criteria andForwardCountGreaterThan(Integer value) { + addCriterion("forward_count >", value, "forwardCount"); + return (Criteria) this; + } + + public Criteria andForwardCountGreaterThanOrEqualTo(Integer value) { + addCriterion("forward_count >=", value, "forwardCount"); + return (Criteria) this; + } + + public Criteria andForwardCountLessThan(Integer value) { + addCriterion("forward_count <", value, "forwardCount"); + return (Criteria) this; + } + + public Criteria andForwardCountLessThanOrEqualTo(Integer value) { + addCriterion("forward_count <=", value, "forwardCount"); + return (Criteria) this; + } + + public Criteria andForwardCountIn(List values) { + addCriterion("forward_count in", values, "forwardCount"); + return (Criteria) this; + } + + public Criteria andForwardCountNotIn(List values) { + addCriterion("forward_count not in", values, "forwardCount"); + return (Criteria) this; + } + + public Criteria andForwardCountBetween(Integer value1, Integer value2) { + addCriterion("forward_count between", value1, value2, "forwardCount"); + return (Criteria) this; + } + + public Criteria andForwardCountNotBetween(Integer value1, Integer value2) { + addCriterion("forward_count not between", value1, value2, "forwardCount"); + return (Criteria) this; + } + + public Criteria andCategoryNameIsNull() { + addCriterion("category_name is null"); + return (Criteria) this; + } + + public Criteria andCategoryNameIsNotNull() { + addCriterion("category_name is not null"); + return (Criteria) this; + } + + public Criteria andCategoryNameEqualTo(String value) { + addCriterion("category_name =", value, "categoryName"); + return (Criteria) this; + } + + public Criteria andCategoryNameNotEqualTo(String value) { + addCriterion("category_name <>", value, "categoryName"); + return (Criteria) this; + } + + public Criteria andCategoryNameGreaterThan(String value) { + addCriterion("category_name >", value, "categoryName"); + return (Criteria) this; + } + + public Criteria andCategoryNameGreaterThanOrEqualTo(String value) { + addCriterion("category_name >=", value, "categoryName"); + return (Criteria) this; + } + + public Criteria andCategoryNameLessThan(String value) { + addCriterion("category_name <", value, "categoryName"); + return (Criteria) this; + } + + public Criteria andCategoryNameLessThanOrEqualTo(String value) { + addCriterion("category_name <=", value, "categoryName"); + return (Criteria) this; + } + + public Criteria andCategoryNameLike(String value) { + addCriterion("category_name like", value, "categoryName"); + return (Criteria) this; + } + + public Criteria andCategoryNameNotLike(String value) { + addCriterion("category_name not like", value, "categoryName"); + return (Criteria) this; + } + + public Criteria andCategoryNameIn(List values) { + addCriterion("category_name in", values, "categoryName"); + return (Criteria) this; + } + + public Criteria andCategoryNameNotIn(List values) { + addCriterion("category_name not in", values, "categoryName"); + return (Criteria) this; + } + + public Criteria andCategoryNameBetween(String value1, String value2) { + addCriterion("category_name between", value1, value2, "categoryName"); + return (Criteria) this; + } + + public Criteria andCategoryNameNotBetween(String value1, String value2) { + addCriterion("category_name not between", value1, value2, "categoryName"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectProductRelation.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectProductRelation.java new file mode 100644 index 0000000..c19f66c --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectProductRelation.java @@ -0,0 +1,51 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class CmsSubjectProductRelation implements Serializable { + private Long id; + + private Long subjectId; + + private Long productId; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getSubjectId() { + return subjectId; + } + + public void setSubjectId(Long subjectId) { + this.subjectId = subjectId; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", subjectId=").append(subjectId); + sb.append(", productId=").append(productId); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectProductRelationExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectProductRelationExample.java new file mode 100644 index 0000000..8d8be8e --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsSubjectProductRelationExample.java @@ -0,0 +1,380 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class CmsSubjectProductRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsSubjectProductRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andSubjectIdIsNull() { + addCriterion("subject_id is null"); + return (Criteria) this; + } + + public Criteria andSubjectIdIsNotNull() { + addCriterion("subject_id is not null"); + return (Criteria) this; + } + + public Criteria andSubjectIdEqualTo(Long value) { + addCriterion("subject_id =", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotEqualTo(Long value) { + addCriterion("subject_id <>", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdGreaterThan(Long value) { + addCriterion("subject_id >", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdGreaterThanOrEqualTo(Long value) { + addCriterion("subject_id >=", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdLessThan(Long value) { + addCriterion("subject_id <", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdLessThanOrEqualTo(Long value) { + addCriterion("subject_id <=", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdIn(List values) { + addCriterion("subject_id in", values, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotIn(List values) { + addCriterion("subject_id not in", values, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdBetween(Long value1, Long value2) { + addCriterion("subject_id between", value1, value2, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotBetween(Long value1, Long value2) { + addCriterion("subject_id not between", value1, value2, "subjectId"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopic.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopic.java new file mode 100644 index 0000000..d7babb9 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopic.java @@ -0,0 +1,176 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class CmsTopic implements Serializable { + private Long id; + + private Long categoryId; + + private String name; + + private Date createTime; + + private Date startTime; + + private Date endTime; + + /** + * 参与人数 + * + * @mbggenerated + */ + private Integer attendCount; + + /** + * 关注人数 + * + * @mbggenerated + */ + private Integer attentionCount; + + private Integer readCount; + + /** + * 奖品名称 + * + * @mbggenerated + */ + private String awardName; + + /** + * 参与方式 + * + * @mbggenerated + */ + private String attendType; + + /** + * 话题内容 + * + * @mbggenerated + */ + private String content; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getCategoryId() { + return categoryId; + } + + public void setCategoryId(Long categoryId) { + this.categoryId = categoryId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Date getStartTime() { + return startTime; + } + + public void setStartTime(Date startTime) { + this.startTime = startTime; + } + + public Date getEndTime() { + return endTime; + } + + public void setEndTime(Date endTime) { + this.endTime = endTime; + } + + public Integer getAttendCount() { + return attendCount; + } + + public void setAttendCount(Integer attendCount) { + this.attendCount = attendCount; + } + + public Integer getAttentionCount() { + return attentionCount; + } + + public void setAttentionCount(Integer attentionCount) { + this.attentionCount = attentionCount; + } + + public Integer getReadCount() { + return readCount; + } + + public void setReadCount(Integer readCount) { + this.readCount = readCount; + } + + public String getAwardName() { + return awardName; + } + + public void setAwardName(String awardName) { + this.awardName = awardName; + } + + public String getAttendType() { + return attendType; + } + + public void setAttendType(String attendType) { + this.attendType = attendType; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", categoryId=").append(categoryId); + sb.append(", name=").append(name); + sb.append(", createTime=").append(createTime); + sb.append(", startTime=").append(startTime); + sb.append(", endTime=").append(endTime); + sb.append(", attendCount=").append(attendCount); + sb.append(", attentionCount=").append(attentionCount); + sb.append(", readCount=").append(readCount); + sb.append(", awardName=").append(awardName); + sb.append(", attendType=").append(attendType); + sb.append(", content=").append(content); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicCategory.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicCategory.java new file mode 100644 index 0000000..f33ccd0 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicCategory.java @@ -0,0 +1,94 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class CmsTopicCategory implements Serializable { + private Long id; + + private String name; + + /** + * 分类图标 + * + * @mbggenerated + */ + private String icon; + + /** + * 专题数量 + * + * @mbggenerated + */ + private Integer subjectCount; + + private Integer showStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public Integer getSubjectCount() { + return subjectCount; + } + + public void setSubjectCount(Integer subjectCount) { + this.subjectCount = subjectCount; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", icon=").append(icon); + sb.append(", subjectCount=").append(subjectCount); + sb.append(", showStatus=").append(showStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicCategoryExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicCategoryExample.java new file mode 100644 index 0000000..0f61a85 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicCategoryExample.java @@ -0,0 +1,580 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class CmsTopicCategoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsTopicCategoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andSubjectCountIsNull() { + addCriterion("subject_count is null"); + return (Criteria) this; + } + + public Criteria andSubjectCountIsNotNull() { + addCriterion("subject_count is not null"); + return (Criteria) this; + } + + public Criteria andSubjectCountEqualTo(Integer value) { + addCriterion("subject_count =", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountNotEqualTo(Integer value) { + addCriterion("subject_count <>", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountGreaterThan(Integer value) { + addCriterion("subject_count >", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountGreaterThanOrEqualTo(Integer value) { + addCriterion("subject_count >=", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountLessThan(Integer value) { + addCriterion("subject_count <", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountLessThanOrEqualTo(Integer value) { + addCriterion("subject_count <=", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountIn(List values) { + addCriterion("subject_count in", values, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountNotIn(List values) { + addCriterion("subject_count not in", values, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountBetween(Integer value1, Integer value2) { + addCriterion("subject_count between", value1, value2, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountNotBetween(Integer value1, Integer value2) { + addCriterion("subject_count not between", value1, value2, "subjectCount"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicComment.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicComment.java new file mode 100644 index 0000000..e938a9c --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicComment.java @@ -0,0 +1,96 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class CmsTopicComment implements Serializable { + private Long id; + + private String memberNickName; + + private Long topicId; + + private String memberIcon; + + private String content; + + private Date createTime; + + private Integer showStatus; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getMemberNickName() { + return memberNickName; + } + + public void setMemberNickName(String memberNickName) { + this.memberNickName = memberNickName; + } + + public Long getTopicId() { + return topicId; + } + + public void setTopicId(Long topicId) { + this.topicId = topicId; + } + + public String getMemberIcon() { + return memberIcon; + } + + public void setMemberIcon(String memberIcon) { + this.memberIcon = memberIcon; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberNickName=").append(memberNickName); + sb.append(", topicId=").append(topicId); + sb.append(", memberIcon=").append(memberIcon); + sb.append(", content=").append(content); + sb.append(", createTime=").append(createTime); + sb.append(", showStatus=").append(showStatus); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicCommentExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicCommentExample.java new file mode 100644 index 0000000..2cea1fb --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicCommentExample.java @@ -0,0 +1,651 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class CmsTopicCommentExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsTopicCommentExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNull() { + addCriterion("member_nick_name is null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNotNull() { + addCriterion("member_nick_name is not null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameEqualTo(String value) { + addCriterion("member_nick_name =", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotEqualTo(String value) { + addCriterion("member_nick_name <>", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThan(String value) { + addCriterion("member_nick_name >", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) { + addCriterion("member_nick_name >=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThan(String value) { + addCriterion("member_nick_name <", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThanOrEqualTo(String value) { + addCriterion("member_nick_name <=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLike(String value) { + addCriterion("member_nick_name like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotLike(String value) { + addCriterion("member_nick_name not like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIn(List values) { + addCriterion("member_nick_name in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotIn(List values) { + addCriterion("member_nick_name not in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameBetween(String value1, String value2) { + addCriterion("member_nick_name between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotBetween(String value1, String value2) { + addCriterion("member_nick_name not between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andTopicIdIsNull() { + addCriterion("topic_id is null"); + return (Criteria) this; + } + + public Criteria andTopicIdIsNotNull() { + addCriterion("topic_id is not null"); + return (Criteria) this; + } + + public Criteria andTopicIdEqualTo(Long value) { + addCriterion("topic_id =", value, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdNotEqualTo(Long value) { + addCriterion("topic_id <>", value, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdGreaterThan(Long value) { + addCriterion("topic_id >", value, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdGreaterThanOrEqualTo(Long value) { + addCriterion("topic_id >=", value, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdLessThan(Long value) { + addCriterion("topic_id <", value, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdLessThanOrEqualTo(Long value) { + addCriterion("topic_id <=", value, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdIn(List values) { + addCriterion("topic_id in", values, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdNotIn(List values) { + addCriterion("topic_id not in", values, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdBetween(Long value1, Long value2) { + addCriterion("topic_id between", value1, value2, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdNotBetween(Long value1, Long value2) { + addCriterion("topic_id not between", value1, value2, "topicId"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNull() { + addCriterion("member_icon is null"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNotNull() { + addCriterion("member_icon is not null"); + return (Criteria) this; + } + + public Criteria andMemberIconEqualTo(String value) { + addCriterion("member_icon =", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotEqualTo(String value) { + addCriterion("member_icon <>", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThan(String value) { + addCriterion("member_icon >", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThanOrEqualTo(String value) { + addCriterion("member_icon >=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThan(String value) { + addCriterion("member_icon <", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThanOrEqualTo(String value) { + addCriterion("member_icon <=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLike(String value) { + addCriterion("member_icon like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotLike(String value) { + addCriterion("member_icon not like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconIn(List values) { + addCriterion("member_icon in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotIn(List values) { + addCriterion("member_icon not in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconBetween(String value1, String value2) { + addCriterion("member_icon between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotBetween(String value1, String value2) { + addCriterion("member_icon not between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andContentIsNull() { + addCriterion("content is null"); + return (Criteria) this; + } + + public Criteria andContentIsNotNull() { + addCriterion("content is not null"); + return (Criteria) this; + } + + public Criteria andContentEqualTo(String value) { + addCriterion("content =", value, "content"); + return (Criteria) this; + } + + public Criteria andContentNotEqualTo(String value) { + addCriterion("content <>", value, "content"); + return (Criteria) this; + } + + public Criteria andContentGreaterThan(String value) { + addCriterion("content >", value, "content"); + return (Criteria) this; + } + + public Criteria andContentGreaterThanOrEqualTo(String value) { + addCriterion("content >=", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLessThan(String value) { + addCriterion("content <", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLessThanOrEqualTo(String value) { + addCriterion("content <=", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLike(String value) { + addCriterion("content like", value, "content"); + return (Criteria) this; + } + + public Criteria andContentNotLike(String value) { + addCriterion("content not like", value, "content"); + return (Criteria) this; + } + + public Criteria andContentIn(List values) { + addCriterion("content in", values, "content"); + return (Criteria) this; + } + + public Criteria andContentNotIn(List values) { + addCriterion("content not in", values, "content"); + return (Criteria) this; + } + + public Criteria andContentBetween(String value1, String value2) { + addCriterion("content between", value1, value2, "content"); + return (Criteria) this; + } + + public Criteria andContentNotBetween(String value1, String value2) { + addCriterion("content not between", value1, value2, "content"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicExample.java new file mode 100644 index 0000000..78bb454 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/CmsTopicExample.java @@ -0,0 +1,891 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class CmsTopicExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsTopicExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andCategoryIdIsNull() { + addCriterion("category_id is null"); + return (Criteria) this; + } + + public Criteria andCategoryIdIsNotNull() { + addCriterion("category_id is not null"); + return (Criteria) this; + } + + public Criteria andCategoryIdEqualTo(Long value) { + addCriterion("category_id =", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotEqualTo(Long value) { + addCriterion("category_id <>", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdGreaterThan(Long value) { + addCriterion("category_id >", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("category_id >=", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdLessThan(Long value) { + addCriterion("category_id <", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("category_id <=", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdIn(List values) { + addCriterion("category_id in", values, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotIn(List values) { + addCriterion("category_id not in", values, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdBetween(Long value1, Long value2) { + addCriterion("category_id between", value1, value2, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("category_id not between", value1, value2, "categoryId"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andStartTimeIsNull() { + addCriterion("start_time is null"); + return (Criteria) this; + } + + public Criteria andStartTimeIsNotNull() { + addCriterion("start_time is not null"); + return (Criteria) this; + } + + public Criteria andStartTimeEqualTo(Date value) { + addCriterion("start_time =", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotEqualTo(Date value) { + addCriterion("start_time <>", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThan(Date value) { + addCriterion("start_time >", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThanOrEqualTo(Date value) { + addCriterion("start_time >=", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThan(Date value) { + addCriterion("start_time <", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThanOrEqualTo(Date value) { + addCriterion("start_time <=", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeIn(List values) { + addCriterion("start_time in", values, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotIn(List values) { + addCriterion("start_time not in", values, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeBetween(Date value1, Date value2) { + addCriterion("start_time between", value1, value2, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotBetween(Date value1, Date value2) { + addCriterion("start_time not between", value1, value2, "startTime"); + return (Criteria) this; + } + + public Criteria andEndTimeIsNull() { + addCriterion("end_time is null"); + return (Criteria) this; + } + + public Criteria andEndTimeIsNotNull() { + addCriterion("end_time is not null"); + return (Criteria) this; + } + + public Criteria andEndTimeEqualTo(Date value) { + addCriterion("end_time =", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotEqualTo(Date value) { + addCriterion("end_time <>", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThan(Date value) { + addCriterion("end_time >", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThanOrEqualTo(Date value) { + addCriterion("end_time >=", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThan(Date value) { + addCriterion("end_time <", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThanOrEqualTo(Date value) { + addCriterion("end_time <=", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeIn(List values) { + addCriterion("end_time in", values, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotIn(List values) { + addCriterion("end_time not in", values, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeBetween(Date value1, Date value2) { + addCriterion("end_time between", value1, value2, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotBetween(Date value1, Date value2) { + addCriterion("end_time not between", value1, value2, "endTime"); + return (Criteria) this; + } + + public Criteria andAttendCountIsNull() { + addCriterion("attend_count is null"); + return (Criteria) this; + } + + public Criteria andAttendCountIsNotNull() { + addCriterion("attend_count is not null"); + return (Criteria) this; + } + + public Criteria andAttendCountEqualTo(Integer value) { + addCriterion("attend_count =", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountNotEqualTo(Integer value) { + addCriterion("attend_count <>", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountGreaterThan(Integer value) { + addCriterion("attend_count >", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountGreaterThanOrEqualTo(Integer value) { + addCriterion("attend_count >=", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountLessThan(Integer value) { + addCriterion("attend_count <", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountLessThanOrEqualTo(Integer value) { + addCriterion("attend_count <=", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountIn(List values) { + addCriterion("attend_count in", values, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountNotIn(List values) { + addCriterion("attend_count not in", values, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountBetween(Integer value1, Integer value2) { + addCriterion("attend_count between", value1, value2, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountNotBetween(Integer value1, Integer value2) { + addCriterion("attend_count not between", value1, value2, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountIsNull() { + addCriterion("attention_count is null"); + return (Criteria) this; + } + + public Criteria andAttentionCountIsNotNull() { + addCriterion("attention_count is not null"); + return (Criteria) this; + } + + public Criteria andAttentionCountEqualTo(Integer value) { + addCriterion("attention_count =", value, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountNotEqualTo(Integer value) { + addCriterion("attention_count <>", value, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountGreaterThan(Integer value) { + addCriterion("attention_count >", value, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountGreaterThanOrEqualTo(Integer value) { + addCriterion("attention_count >=", value, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountLessThan(Integer value) { + addCriterion("attention_count <", value, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountLessThanOrEqualTo(Integer value) { + addCriterion("attention_count <=", value, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountIn(List values) { + addCriterion("attention_count in", values, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountNotIn(List values) { + addCriterion("attention_count not in", values, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountBetween(Integer value1, Integer value2) { + addCriterion("attention_count between", value1, value2, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountNotBetween(Integer value1, Integer value2) { + addCriterion("attention_count not between", value1, value2, "attentionCount"); + return (Criteria) this; + } + + public Criteria andReadCountIsNull() { + addCriterion("read_count is null"); + return (Criteria) this; + } + + public Criteria andReadCountIsNotNull() { + addCriterion("read_count is not null"); + return (Criteria) this; + } + + public Criteria andReadCountEqualTo(Integer value) { + addCriterion("read_count =", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotEqualTo(Integer value) { + addCriterion("read_count <>", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThan(Integer value) { + addCriterion("read_count >", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThanOrEqualTo(Integer value) { + addCriterion("read_count >=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThan(Integer value) { + addCriterion("read_count <", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThanOrEqualTo(Integer value) { + addCriterion("read_count <=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountIn(List values) { + addCriterion("read_count in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotIn(List values) { + addCriterion("read_count not in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountBetween(Integer value1, Integer value2) { + addCriterion("read_count between", value1, value2, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotBetween(Integer value1, Integer value2) { + addCriterion("read_count not between", value1, value2, "readCount"); + return (Criteria) this; + } + + public Criteria andAwardNameIsNull() { + addCriterion("award_name is null"); + return (Criteria) this; + } + + public Criteria andAwardNameIsNotNull() { + addCriterion("award_name is not null"); + return (Criteria) this; + } + + public Criteria andAwardNameEqualTo(String value) { + addCriterion("award_name =", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameNotEqualTo(String value) { + addCriterion("award_name <>", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameGreaterThan(String value) { + addCriterion("award_name >", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameGreaterThanOrEqualTo(String value) { + addCriterion("award_name >=", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameLessThan(String value) { + addCriterion("award_name <", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameLessThanOrEqualTo(String value) { + addCriterion("award_name <=", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameLike(String value) { + addCriterion("award_name like", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameNotLike(String value) { + addCriterion("award_name not like", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameIn(List values) { + addCriterion("award_name in", values, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameNotIn(List values) { + addCriterion("award_name not in", values, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameBetween(String value1, String value2) { + addCriterion("award_name between", value1, value2, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameNotBetween(String value1, String value2) { + addCriterion("award_name not between", value1, value2, "awardName"); + return (Criteria) this; + } + + public Criteria andAttendTypeIsNull() { + addCriterion("attend_type is null"); + return (Criteria) this; + } + + public Criteria andAttendTypeIsNotNull() { + addCriterion("attend_type is not null"); + return (Criteria) this; + } + + public Criteria andAttendTypeEqualTo(String value) { + addCriterion("attend_type =", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeNotEqualTo(String value) { + addCriterion("attend_type <>", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeGreaterThan(String value) { + addCriterion("attend_type >", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeGreaterThanOrEqualTo(String value) { + addCriterion("attend_type >=", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeLessThan(String value) { + addCriterion("attend_type <", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeLessThanOrEqualTo(String value) { + addCriterion("attend_type <=", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeLike(String value) { + addCriterion("attend_type like", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeNotLike(String value) { + addCriterion("attend_type not like", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeIn(List values) { + addCriterion("attend_type in", values, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeNotIn(List values) { + addCriterion("attend_type not in", values, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeBetween(String value1, String value2) { + addCriterion("attend_type between", value1, value2, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeNotBetween(String value1, String value2) { + addCriterion("attend_type not between", value1, value2, "attendType"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCartItem.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCartItem.java new file mode 100644 index 0000000..913b2cd --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCartItem.java @@ -0,0 +1,326 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class OmsCartItem implements Serializable { + private Long id; + + private Long productId; + + private Long productSkuId; + + private Long memberId; + + /** + * 购买数量 + * + * @mbggenerated + */ + private Integer quantity; + + /** + * 添加到购物车的价格 + * + * @mbggenerated + */ + private BigDecimal price; + + /** + * 销售属性1 + * + * @mbggenerated + */ + private String sp1; + + /** + * 销售属性2 + * + * @mbggenerated + */ + private String sp2; + + /** + * 销售属性3 + * + * @mbggenerated + */ + private String sp3; + + /** + * 商品主图 + * + * @mbggenerated + */ + private String productPic; + + /** + * 商品名称 + * + * @mbggenerated + */ + private String productName; + + /** + * 商品副标题(卖点) + * + * @mbggenerated + */ + private String productSubTitle; + + /** + * 商品sku条码 + * + * @mbggenerated + */ + private String productSkuCode; + + /** + * 会员昵称 + * + * @mbggenerated + */ + private String memberNickname; + + /** + * 创建时间 + * + * @mbggenerated + */ + private Date createDate; + + /** + * 修改时间 + * + * @mbggenerated + */ + private Date modifyDate; + + /** + * 是否删除 + * + * @mbggenerated + */ + private Integer deleteStatus; + + /** + * 商品分类 + * + * @mbggenerated + */ + private Long productCategoryId; + + private String productBrand; + + private String productSn; + + /** + * 商品销售属性:[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}] + * + * @mbggenerated + */ + private String productAttr; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public Long getProductSkuId() { + return productSkuId; + } + + public void setProductSkuId(Long productSkuId) { + this.productSkuId = productSkuId; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public Integer getQuantity() { + return quantity; + } + + public void setQuantity(Integer quantity) { + this.quantity = quantity; + } + + public BigDecimal getPrice() { + return price; + } + + public void setPrice(BigDecimal price) { + this.price = price; + } + + public String getSp1() { + return sp1; + } + + public void setSp1(String sp1) { + this.sp1 = sp1; + } + + public String getSp2() { + return sp2; + } + + public void setSp2(String sp2) { + this.sp2 = sp2; + } + + public String getSp3() { + return sp3; + } + + public void setSp3(String sp3) { + this.sp3 = sp3; + } + + public String getProductPic() { + return productPic; + } + + public void setProductPic(String productPic) { + this.productPic = productPic; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public String getProductSubTitle() { + return productSubTitle; + } + + public void setProductSubTitle(String productSubTitle) { + this.productSubTitle = productSubTitle; + } + + public String getProductSkuCode() { + return productSkuCode; + } + + public void setProductSkuCode(String productSkuCode) { + this.productSkuCode = productSkuCode; + } + + public String getMemberNickname() { + return memberNickname; + } + + public void setMemberNickname(String memberNickname) { + this.memberNickname = memberNickname; + } + + public Date getCreateDate() { + return createDate; + } + + public void setCreateDate(Date createDate) { + this.createDate = createDate; + } + + public Date getModifyDate() { + return modifyDate; + } + + public void setModifyDate(Date modifyDate) { + this.modifyDate = modifyDate; + } + + public Integer getDeleteStatus() { + return deleteStatus; + } + + public void setDeleteStatus(Integer deleteStatus) { + this.deleteStatus = deleteStatus; + } + + public Long getProductCategoryId() { + return productCategoryId; + } + + public void setProductCategoryId(Long productCategoryId) { + this.productCategoryId = productCategoryId; + } + + public String getProductBrand() { + return productBrand; + } + + public void setProductBrand(String productBrand) { + this.productBrand = productBrand; + } + + public String getProductSn() { + return productSn; + } + + public void setProductSn(String productSn) { + this.productSn = productSn; + } + + public String getProductAttr() { + return productAttr; + } + + public void setProductAttr(String productAttr) { + this.productAttr = productAttr; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", productSkuId=").append(productSkuId); + sb.append(", memberId=").append(memberId); + sb.append(", quantity=").append(quantity); + sb.append(", price=").append(price); + sb.append(", sp1=").append(sp1); + sb.append(", sp2=").append(sp2); + sb.append(", sp3=").append(sp3); + sb.append(", productPic=").append(productPic); + sb.append(", productName=").append(productName); + sb.append(", productSubTitle=").append(productSubTitle); + sb.append(", productSkuCode=").append(productSkuCode); + sb.append(", memberNickname=").append(memberNickname); + sb.append(", createDate=").append(createDate); + sb.append(", modifyDate=").append(modifyDate); + sb.append(", deleteStatus=").append(deleteStatus); + sb.append(", productCategoryId=").append(productCategoryId); + sb.append(", productBrand=").append(productBrand); + sb.append(", productSn=").append(productSn); + sb.append(", productAttr=").append(productAttr); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCartItemExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCartItemExample.java new file mode 100644 index 0000000..87633fa --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCartItemExample.java @@ -0,0 +1,1572 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class OmsCartItemExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public OmsCartItemExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdIsNull() { + addCriterion("product_sku_id is null"); + return (Criteria) this; + } + + public Criteria andProductSkuIdIsNotNull() { + addCriterion("product_sku_id is not null"); + return (Criteria) this; + } + + public Criteria andProductSkuIdEqualTo(Long value) { + addCriterion("product_sku_id =", value, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdNotEqualTo(Long value) { + addCriterion("product_sku_id <>", value, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdGreaterThan(Long value) { + addCriterion("product_sku_id >", value, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_sku_id >=", value, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdLessThan(Long value) { + addCriterion("product_sku_id <", value, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdLessThanOrEqualTo(Long value) { + addCriterion("product_sku_id <=", value, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdIn(List values) { + addCriterion("product_sku_id in", values, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdNotIn(List values) { + addCriterion("product_sku_id not in", values, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdBetween(Long value1, Long value2) { + addCriterion("product_sku_id between", value1, value2, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdNotBetween(Long value1, Long value2) { + addCriterion("product_sku_id not between", value1, value2, "productSkuId"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andQuantityIsNull() { + addCriterion("quantity is null"); + return (Criteria) this; + } + + public Criteria andQuantityIsNotNull() { + addCriterion("quantity is not null"); + return (Criteria) this; + } + + public Criteria andQuantityEqualTo(Integer value) { + addCriterion("quantity =", value, "quantity"); + return (Criteria) this; + } + + public Criteria andQuantityNotEqualTo(Integer value) { + addCriterion("quantity <>", value, "quantity"); + return (Criteria) this; + } + + public Criteria andQuantityGreaterThan(Integer value) { + addCriterion("quantity >", value, "quantity"); + return (Criteria) this; + } + + public Criteria andQuantityGreaterThanOrEqualTo(Integer value) { + addCriterion("quantity >=", value, "quantity"); + return (Criteria) this; + } + + public Criteria andQuantityLessThan(Integer value) { + addCriterion("quantity <", value, "quantity"); + return (Criteria) this; + } + + public Criteria andQuantityLessThanOrEqualTo(Integer value) { + addCriterion("quantity <=", value, "quantity"); + return (Criteria) this; + } + + public Criteria andQuantityIn(List values) { + addCriterion("quantity in", values, "quantity"); + return (Criteria) this; + } + + public Criteria andQuantityNotIn(List values) { + addCriterion("quantity not in", values, "quantity"); + return (Criteria) this; + } + + public Criteria andQuantityBetween(Integer value1, Integer value2) { + addCriterion("quantity between", value1, value2, "quantity"); + return (Criteria) this; + } + + public Criteria andQuantityNotBetween(Integer value1, Integer value2) { + addCriterion("quantity not between", value1, value2, "quantity"); + return (Criteria) this; + } + + public Criteria andPriceIsNull() { + addCriterion("price is null"); + return (Criteria) this; + } + + public Criteria andPriceIsNotNull() { + addCriterion("price is not null"); + return (Criteria) this; + } + + public Criteria andPriceEqualTo(BigDecimal value) { + addCriterion("price =", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotEqualTo(BigDecimal value) { + addCriterion("price <>", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThan(BigDecimal value) { + addCriterion("price >", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("price >=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThan(BigDecimal value) { + addCriterion("price <", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("price <=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceIn(List values) { + addCriterion("price in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotIn(List values) { + addCriterion("price not in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price not between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andSp1IsNull() { + addCriterion("sp1 is null"); + return (Criteria) this; + } + + public Criteria andSp1IsNotNull() { + addCriterion("sp1 is not null"); + return (Criteria) this; + } + + public Criteria andSp1EqualTo(String value) { + addCriterion("sp1 =", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotEqualTo(String value) { + addCriterion("sp1 <>", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1GreaterThan(String value) { + addCriterion("sp1 >", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1GreaterThanOrEqualTo(String value) { + addCriterion("sp1 >=", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1LessThan(String value) { + addCriterion("sp1 <", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1LessThanOrEqualTo(String value) { + addCriterion("sp1 <=", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1Like(String value) { + addCriterion("sp1 like", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotLike(String value) { + addCriterion("sp1 not like", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1In(List values) { + addCriterion("sp1 in", values, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotIn(List values) { + addCriterion("sp1 not in", values, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1Between(String value1, String value2) { + addCriterion("sp1 between", value1, value2, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotBetween(String value1, String value2) { + addCriterion("sp1 not between", value1, value2, "sp1"); + return (Criteria) this; + } + + public Criteria andSp2IsNull() { + addCriterion("sp2 is null"); + return (Criteria) this; + } + + public Criteria andSp2IsNotNull() { + addCriterion("sp2 is not null"); + return (Criteria) this; + } + + public Criteria andSp2EqualTo(String value) { + addCriterion("sp2 =", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotEqualTo(String value) { + addCriterion("sp2 <>", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2GreaterThan(String value) { + addCriterion("sp2 >", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2GreaterThanOrEqualTo(String value) { + addCriterion("sp2 >=", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2LessThan(String value) { + addCriterion("sp2 <", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2LessThanOrEqualTo(String value) { + addCriterion("sp2 <=", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2Like(String value) { + addCriterion("sp2 like", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotLike(String value) { + addCriterion("sp2 not like", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2In(List values) { + addCriterion("sp2 in", values, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotIn(List values) { + addCriterion("sp2 not in", values, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2Between(String value1, String value2) { + addCriterion("sp2 between", value1, value2, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotBetween(String value1, String value2) { + addCriterion("sp2 not between", value1, value2, "sp2"); + return (Criteria) this; + } + + public Criteria andSp3IsNull() { + addCriterion("sp3 is null"); + return (Criteria) this; + } + + public Criteria andSp3IsNotNull() { + addCriterion("sp3 is not null"); + return (Criteria) this; + } + + public Criteria andSp3EqualTo(String value) { + addCriterion("sp3 =", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotEqualTo(String value) { + addCriterion("sp3 <>", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3GreaterThan(String value) { + addCriterion("sp3 >", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3GreaterThanOrEqualTo(String value) { + addCriterion("sp3 >=", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3LessThan(String value) { + addCriterion("sp3 <", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3LessThanOrEqualTo(String value) { + addCriterion("sp3 <=", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3Like(String value) { + addCriterion("sp3 like", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotLike(String value) { + addCriterion("sp3 not like", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3In(List values) { + addCriterion("sp3 in", values, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotIn(List values) { + addCriterion("sp3 not in", values, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3Between(String value1, String value2) { + addCriterion("sp3 between", value1, value2, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotBetween(String value1, String value2) { + addCriterion("sp3 not between", value1, value2, "sp3"); + return (Criteria) this; + } + + public Criteria andProductPicIsNull() { + addCriterion("product_pic is null"); + return (Criteria) this; + } + + public Criteria andProductPicIsNotNull() { + addCriterion("product_pic is not null"); + return (Criteria) this; + } + + public Criteria andProductPicEqualTo(String value) { + addCriterion("product_pic =", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicNotEqualTo(String value) { + addCriterion("product_pic <>", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicGreaterThan(String value) { + addCriterion("product_pic >", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicGreaterThanOrEqualTo(String value) { + addCriterion("product_pic >=", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicLessThan(String value) { + addCriterion("product_pic <", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicLessThanOrEqualTo(String value) { + addCriterion("product_pic <=", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicLike(String value) { + addCriterion("product_pic like", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicNotLike(String value) { + addCriterion("product_pic not like", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicIn(List values) { + addCriterion("product_pic in", values, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicNotIn(List values) { + addCriterion("product_pic not in", values, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicBetween(String value1, String value2) { + addCriterion("product_pic between", value1, value2, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicNotBetween(String value1, String value2) { + addCriterion("product_pic not between", value1, value2, "productPic"); + return (Criteria) this; + } + + public Criteria andProductNameIsNull() { + addCriterion("product_name is null"); + return (Criteria) this; + } + + public Criteria andProductNameIsNotNull() { + addCriterion("product_name is not null"); + return (Criteria) this; + } + + public Criteria andProductNameEqualTo(String value) { + addCriterion("product_name =", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotEqualTo(String value) { + addCriterion("product_name <>", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThan(String value) { + addCriterion("product_name >", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThanOrEqualTo(String value) { + addCriterion("product_name >=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThan(String value) { + addCriterion("product_name <", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThanOrEqualTo(String value) { + addCriterion("product_name <=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLike(String value) { + addCriterion("product_name like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotLike(String value) { + addCriterion("product_name not like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameIn(List values) { + addCriterion("product_name in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotIn(List values) { + addCriterion("product_name not in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameBetween(String value1, String value2) { + addCriterion("product_name between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotBetween(String value1, String value2) { + addCriterion("product_name not between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductSubTitleIsNull() { + addCriterion("product_sub_title is null"); + return (Criteria) this; + } + + public Criteria andProductSubTitleIsNotNull() { + addCriterion("product_sub_title is not null"); + return (Criteria) this; + } + + public Criteria andProductSubTitleEqualTo(String value) { + addCriterion("product_sub_title =", value, "productSubTitle"); + return (Criteria) this; + } + + public Criteria andProductSubTitleNotEqualTo(String value) { + addCriterion("product_sub_title <>", value, "productSubTitle"); + return (Criteria) this; + } + + public Criteria andProductSubTitleGreaterThan(String value) { + addCriterion("product_sub_title >", value, "productSubTitle"); + return (Criteria) this; + } + + public Criteria andProductSubTitleGreaterThanOrEqualTo(String value) { + addCriterion("product_sub_title >=", value, "productSubTitle"); + return (Criteria) this; + } + + public Criteria andProductSubTitleLessThan(String value) { + addCriterion("product_sub_title <", value, "productSubTitle"); + return (Criteria) this; + } + + public Criteria andProductSubTitleLessThanOrEqualTo(String value) { + addCriterion("product_sub_title <=", value, "productSubTitle"); + return (Criteria) this; + } + + public Criteria andProductSubTitleLike(String value) { + addCriterion("product_sub_title like", value, "productSubTitle"); + return (Criteria) this; + } + + public Criteria andProductSubTitleNotLike(String value) { + addCriterion("product_sub_title not like", value, "productSubTitle"); + return (Criteria) this; + } + + public Criteria andProductSubTitleIn(List values) { + addCriterion("product_sub_title in", values, "productSubTitle"); + return (Criteria) this; + } + + public Criteria andProductSubTitleNotIn(List values) { + addCriterion("product_sub_title not in", values, "productSubTitle"); + return (Criteria) this; + } + + public Criteria andProductSubTitleBetween(String value1, String value2) { + addCriterion("product_sub_title between", value1, value2, "productSubTitle"); + return (Criteria) this; + } + + public Criteria andProductSubTitleNotBetween(String value1, String value2) { + addCriterion("product_sub_title not between", value1, value2, "productSubTitle"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeIsNull() { + addCriterion("product_sku_code is null"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeIsNotNull() { + addCriterion("product_sku_code is not null"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeEqualTo(String value) { + addCriterion("product_sku_code =", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeNotEqualTo(String value) { + addCriterion("product_sku_code <>", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeGreaterThan(String value) { + addCriterion("product_sku_code >", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeGreaterThanOrEqualTo(String value) { + addCriterion("product_sku_code >=", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeLessThan(String value) { + addCriterion("product_sku_code <", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeLessThanOrEqualTo(String value) { + addCriterion("product_sku_code <=", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeLike(String value) { + addCriterion("product_sku_code like", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeNotLike(String value) { + addCriterion("product_sku_code not like", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeIn(List values) { + addCriterion("product_sku_code in", values, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeNotIn(List values) { + addCriterion("product_sku_code not in", values, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeBetween(String value1, String value2) { + addCriterion("product_sku_code between", value1, value2, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeNotBetween(String value1, String value2) { + addCriterion("product_sku_code not between", value1, value2, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andMemberNicknameIsNull() { + addCriterion("member_nickname is null"); + return (Criteria) this; + } + + public Criteria andMemberNicknameIsNotNull() { + addCriterion("member_nickname is not null"); + return (Criteria) this; + } + + public Criteria andMemberNicknameEqualTo(String value) { + addCriterion("member_nickname =", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameNotEqualTo(String value) { + addCriterion("member_nickname <>", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameGreaterThan(String value) { + addCriterion("member_nickname >", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameGreaterThanOrEqualTo(String value) { + addCriterion("member_nickname >=", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameLessThan(String value) { + addCriterion("member_nickname <", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameLessThanOrEqualTo(String value) { + addCriterion("member_nickname <=", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameLike(String value) { + addCriterion("member_nickname like", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameNotLike(String value) { + addCriterion("member_nickname not like", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameIn(List values) { + addCriterion("member_nickname in", values, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameNotIn(List values) { + addCriterion("member_nickname not in", values, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameBetween(String value1, String value2) { + addCriterion("member_nickname between", value1, value2, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameNotBetween(String value1, String value2) { + addCriterion("member_nickname not between", value1, value2, "memberNickname"); + return (Criteria) this; + } + + public Criteria andCreateDateIsNull() { + addCriterion("create_date is null"); + return (Criteria) this; + } + + public Criteria andCreateDateIsNotNull() { + addCriterion("create_date is not null"); + return (Criteria) this; + } + + public Criteria andCreateDateEqualTo(Date value) { + addCriterion("create_date =", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateNotEqualTo(Date value) { + addCriterion("create_date <>", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateGreaterThan(Date value) { + addCriterion("create_date >", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateGreaterThanOrEqualTo(Date value) { + addCriterion("create_date >=", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateLessThan(Date value) { + addCriterion("create_date <", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateLessThanOrEqualTo(Date value) { + addCriterion("create_date <=", value, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateIn(List values) { + addCriterion("create_date in", values, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateNotIn(List values) { + addCriterion("create_date not in", values, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateBetween(Date value1, Date value2) { + addCriterion("create_date between", value1, value2, "createDate"); + return (Criteria) this; + } + + public Criteria andCreateDateNotBetween(Date value1, Date value2) { + addCriterion("create_date not between", value1, value2, "createDate"); + return (Criteria) this; + } + + public Criteria andModifyDateIsNull() { + addCriterion("modify_date is null"); + return (Criteria) this; + } + + public Criteria andModifyDateIsNotNull() { + addCriterion("modify_date is not null"); + return (Criteria) this; + } + + public Criteria andModifyDateEqualTo(Date value) { + addCriterion("modify_date =", value, "modifyDate"); + return (Criteria) this; + } + + public Criteria andModifyDateNotEqualTo(Date value) { + addCriterion("modify_date <>", value, "modifyDate"); + return (Criteria) this; + } + + public Criteria andModifyDateGreaterThan(Date value) { + addCriterion("modify_date >", value, "modifyDate"); + return (Criteria) this; + } + + public Criteria andModifyDateGreaterThanOrEqualTo(Date value) { + addCriterion("modify_date >=", value, "modifyDate"); + return (Criteria) this; + } + + public Criteria andModifyDateLessThan(Date value) { + addCriterion("modify_date <", value, "modifyDate"); + return (Criteria) this; + } + + public Criteria andModifyDateLessThanOrEqualTo(Date value) { + addCriterion("modify_date <=", value, "modifyDate"); + return (Criteria) this; + } + + public Criteria andModifyDateIn(List values) { + addCriterion("modify_date in", values, "modifyDate"); + return (Criteria) this; + } + + public Criteria andModifyDateNotIn(List values) { + addCriterion("modify_date not in", values, "modifyDate"); + return (Criteria) this; + } + + public Criteria andModifyDateBetween(Date value1, Date value2) { + addCriterion("modify_date between", value1, value2, "modifyDate"); + return (Criteria) this; + } + + public Criteria andModifyDateNotBetween(Date value1, Date value2) { + addCriterion("modify_date not between", value1, value2, "modifyDate"); + return (Criteria) this; + } + + public Criteria andDeleteStatusIsNull() { + addCriterion("delete_status is null"); + return (Criteria) this; + } + + public Criteria andDeleteStatusIsNotNull() { + addCriterion("delete_status is not null"); + return (Criteria) this; + } + + public Criteria andDeleteStatusEqualTo(Integer value) { + addCriterion("delete_status =", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusNotEqualTo(Integer value) { + addCriterion("delete_status <>", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusGreaterThan(Integer value) { + addCriterion("delete_status >", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("delete_status >=", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusLessThan(Integer value) { + addCriterion("delete_status <", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) { + addCriterion("delete_status <=", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusIn(List values) { + addCriterion("delete_status in", values, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusNotIn(List values) { + addCriterion("delete_status not in", values, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusBetween(Integer value1, Integer value2) { + addCriterion("delete_status between", value1, value2, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) { + addCriterion("delete_status not between", value1, value2, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNull() { + addCriterion("product_category_id is null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNotNull() { + addCriterion("product_category_id is not null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdEqualTo(Long value) { + addCriterion("product_category_id =", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotEqualTo(Long value) { + addCriterion("product_category_id <>", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThan(Long value) { + addCriterion("product_category_id >", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_category_id >=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThan(Long value) { + addCriterion("product_category_id <", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("product_category_id <=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIn(List values) { + addCriterion("product_category_id in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotIn(List values) { + addCriterion("product_category_id not in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdBetween(Long value1, Long value2) { + addCriterion("product_category_id between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("product_category_id not between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductBrandIsNull() { + addCriterion("product_brand is null"); + return (Criteria) this; + } + + public Criteria andProductBrandIsNotNull() { + addCriterion("product_brand is not null"); + return (Criteria) this; + } + + public Criteria andProductBrandEqualTo(String value) { + addCriterion("product_brand =", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandNotEqualTo(String value) { + addCriterion("product_brand <>", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandGreaterThan(String value) { + addCriterion("product_brand >", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandGreaterThanOrEqualTo(String value) { + addCriterion("product_brand >=", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandLessThan(String value) { + addCriterion("product_brand <", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandLessThanOrEqualTo(String value) { + addCriterion("product_brand <=", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandLike(String value) { + addCriterion("product_brand like", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandNotLike(String value) { + addCriterion("product_brand not like", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandIn(List values) { + addCriterion("product_brand in", values, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandNotIn(List values) { + addCriterion("product_brand not in", values, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandBetween(String value1, String value2) { + addCriterion("product_brand between", value1, value2, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandNotBetween(String value1, String value2) { + addCriterion("product_brand not between", value1, value2, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductSnIsNull() { + addCriterion("product_sn is null"); + return (Criteria) this; + } + + public Criteria andProductSnIsNotNull() { + addCriterion("product_sn is not null"); + return (Criteria) this; + } + + public Criteria andProductSnEqualTo(String value) { + addCriterion("product_sn =", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotEqualTo(String value) { + addCriterion("product_sn <>", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnGreaterThan(String value) { + addCriterion("product_sn >", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnGreaterThanOrEqualTo(String value) { + addCriterion("product_sn >=", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnLessThan(String value) { + addCriterion("product_sn <", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnLessThanOrEqualTo(String value) { + addCriterion("product_sn <=", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnLike(String value) { + addCriterion("product_sn like", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotLike(String value) { + addCriterion("product_sn not like", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnIn(List values) { + addCriterion("product_sn in", values, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotIn(List values) { + addCriterion("product_sn not in", values, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnBetween(String value1, String value2) { + addCriterion("product_sn between", value1, value2, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotBetween(String value1, String value2) { + addCriterion("product_sn not between", value1, value2, "productSn"); + return (Criteria) this; + } + + public Criteria andProductAttrIsNull() { + addCriterion("product_attr is null"); + return (Criteria) this; + } + + public Criteria andProductAttrIsNotNull() { + addCriterion("product_attr is not null"); + return (Criteria) this; + } + + public Criteria andProductAttrEqualTo(String value) { + addCriterion("product_attr =", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrNotEqualTo(String value) { + addCriterion("product_attr <>", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrGreaterThan(String value) { + addCriterion("product_attr >", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrGreaterThanOrEqualTo(String value) { + addCriterion("product_attr >=", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrLessThan(String value) { + addCriterion("product_attr <", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrLessThanOrEqualTo(String value) { + addCriterion("product_attr <=", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrLike(String value) { + addCriterion("product_attr like", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrNotLike(String value) { + addCriterion("product_attr not like", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrIn(List values) { + addCriterion("product_attr in", values, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrNotIn(List values) { + addCriterion("product_attr not in", values, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrBetween(String value1, String value2) { + addCriterion("product_attr between", value1, value2, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrNotBetween(String value1, String value2) { + addCriterion("product_attr not between", value1, value2, "productAttr"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCompanyAddress.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCompanyAddress.java new file mode 100644 index 0000000..febe8b9 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCompanyAddress.java @@ -0,0 +1,173 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class OmsCompanyAddress implements Serializable { + private Long id; + + /** + * 地址名称 + * + * @mbggenerated + */ + private String addressName; + + /** + * 默认发货地址:0->否;1->是 + * + * @mbggenerated + */ + private Integer sendStatus; + + /** + * 是否默认收货地址:0->否;1->是 + * + * @mbggenerated + */ + private Integer receiveStatus; + + /** + * 收发货人姓名 + * + * @mbggenerated + */ + private String name; + + /** + * 收货人电话 + * + * @mbggenerated + */ + private String phone; + + /** + * 省/直辖市 + * + * @mbggenerated + */ + private String province; + + /** + * 市 + * + * @mbggenerated + */ + private String city; + + /** + * 区 + * + * @mbggenerated + */ + private String region; + + /** + * 详细地址 + * + * @mbggenerated + */ + private String detailAddress; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getAddressName() { + return addressName; + } + + public void setAddressName(String addressName) { + this.addressName = addressName; + } + + public Integer getSendStatus() { + return sendStatus; + } + + public void setSendStatus(Integer sendStatus) { + this.sendStatus = sendStatus; + } + + public Integer getReceiveStatus() { + return receiveStatus; + } + + public void setReceiveStatus(Integer receiveStatus) { + this.receiveStatus = receiveStatus; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public String getProvince() { + return province; + } + + public void setProvince(String province) { + this.province = province; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getDetailAddress() { + return detailAddress; + } + + public void setDetailAddress(String detailAddress) { + this.detailAddress = detailAddress; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", addressName=").append(addressName); + sb.append(", sendStatus=").append(sendStatus); + sb.append(", receiveStatus=").append(receiveStatus); + sb.append(", name=").append(name); + sb.append(", phone=").append(phone); + sb.append(", province=").append(province); + sb.append(", city=").append(city); + sb.append(", region=").append(region); + sb.append(", detailAddress=").append(detailAddress); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCompanyAddressExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCompanyAddressExample.java new file mode 100644 index 0000000..ea23dfc --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsCompanyAddressExample.java @@ -0,0 +1,870 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class OmsCompanyAddressExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public OmsCompanyAddressExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andAddressNameIsNull() { + addCriterion("address_name is null"); + return (Criteria) this; + } + + public Criteria andAddressNameIsNotNull() { + addCriterion("address_name is not null"); + return (Criteria) this; + } + + public Criteria andAddressNameEqualTo(String value) { + addCriterion("address_name =", value, "addressName"); + return (Criteria) this; + } + + public Criteria andAddressNameNotEqualTo(String value) { + addCriterion("address_name <>", value, "addressName"); + return (Criteria) this; + } + + public Criteria andAddressNameGreaterThan(String value) { + addCriterion("address_name >", value, "addressName"); + return (Criteria) this; + } + + public Criteria andAddressNameGreaterThanOrEqualTo(String value) { + addCriterion("address_name >=", value, "addressName"); + return (Criteria) this; + } + + public Criteria andAddressNameLessThan(String value) { + addCriterion("address_name <", value, "addressName"); + return (Criteria) this; + } + + public Criteria andAddressNameLessThanOrEqualTo(String value) { + addCriterion("address_name <=", value, "addressName"); + return (Criteria) this; + } + + public Criteria andAddressNameLike(String value) { + addCriterion("address_name like", value, "addressName"); + return (Criteria) this; + } + + public Criteria andAddressNameNotLike(String value) { + addCriterion("address_name not like", value, "addressName"); + return (Criteria) this; + } + + public Criteria andAddressNameIn(List values) { + addCriterion("address_name in", values, "addressName"); + return (Criteria) this; + } + + public Criteria andAddressNameNotIn(List values) { + addCriterion("address_name not in", values, "addressName"); + return (Criteria) this; + } + + public Criteria andAddressNameBetween(String value1, String value2) { + addCriterion("address_name between", value1, value2, "addressName"); + return (Criteria) this; + } + + public Criteria andAddressNameNotBetween(String value1, String value2) { + addCriterion("address_name not between", value1, value2, "addressName"); + return (Criteria) this; + } + + public Criteria andSendStatusIsNull() { + addCriterion("send_status is null"); + return (Criteria) this; + } + + public Criteria andSendStatusIsNotNull() { + addCriterion("send_status is not null"); + return (Criteria) this; + } + + public Criteria andSendStatusEqualTo(Integer value) { + addCriterion("send_status =", value, "sendStatus"); + return (Criteria) this; + } + + public Criteria andSendStatusNotEqualTo(Integer value) { + addCriterion("send_status <>", value, "sendStatus"); + return (Criteria) this; + } + + public Criteria andSendStatusGreaterThan(Integer value) { + addCriterion("send_status >", value, "sendStatus"); + return (Criteria) this; + } + + public Criteria andSendStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("send_status >=", value, "sendStatus"); + return (Criteria) this; + } + + public Criteria andSendStatusLessThan(Integer value) { + addCriterion("send_status <", value, "sendStatus"); + return (Criteria) this; + } + + public Criteria andSendStatusLessThanOrEqualTo(Integer value) { + addCriterion("send_status <=", value, "sendStatus"); + return (Criteria) this; + } + + public Criteria andSendStatusIn(List values) { + addCriterion("send_status in", values, "sendStatus"); + return (Criteria) this; + } + + public Criteria andSendStatusNotIn(List values) { + addCriterion("send_status not in", values, "sendStatus"); + return (Criteria) this; + } + + public Criteria andSendStatusBetween(Integer value1, Integer value2) { + addCriterion("send_status between", value1, value2, "sendStatus"); + return (Criteria) this; + } + + public Criteria andSendStatusNotBetween(Integer value1, Integer value2) { + addCriterion("send_status not between", value1, value2, "sendStatus"); + return (Criteria) this; + } + + public Criteria andReceiveStatusIsNull() { + addCriterion("receive_status is null"); + return (Criteria) this; + } + + public Criteria andReceiveStatusIsNotNull() { + addCriterion("receive_status is not null"); + return (Criteria) this; + } + + public Criteria andReceiveStatusEqualTo(Integer value) { + addCriterion("receive_status =", value, "receiveStatus"); + return (Criteria) this; + } + + public Criteria andReceiveStatusNotEqualTo(Integer value) { + addCriterion("receive_status <>", value, "receiveStatus"); + return (Criteria) this; + } + + public Criteria andReceiveStatusGreaterThan(Integer value) { + addCriterion("receive_status >", value, "receiveStatus"); + return (Criteria) this; + } + + public Criteria andReceiveStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("receive_status >=", value, "receiveStatus"); + return (Criteria) this; + } + + public Criteria andReceiveStatusLessThan(Integer value) { + addCriterion("receive_status <", value, "receiveStatus"); + return (Criteria) this; + } + + public Criteria andReceiveStatusLessThanOrEqualTo(Integer value) { + addCriterion("receive_status <=", value, "receiveStatus"); + return (Criteria) this; + } + + public Criteria andReceiveStatusIn(List values) { + addCriterion("receive_status in", values, "receiveStatus"); + return (Criteria) this; + } + + public Criteria andReceiveStatusNotIn(List values) { + addCriterion("receive_status not in", values, "receiveStatus"); + return (Criteria) this; + } + + public Criteria andReceiveStatusBetween(Integer value1, Integer value2) { + addCriterion("receive_status between", value1, value2, "receiveStatus"); + return (Criteria) this; + } + + public Criteria andReceiveStatusNotBetween(Integer value1, Integer value2) { + addCriterion("receive_status not between", value1, value2, "receiveStatus"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andPhoneIsNull() { + addCriterion("phone is null"); + return (Criteria) this; + } + + public Criteria andPhoneIsNotNull() { + addCriterion("phone is not null"); + return (Criteria) this; + } + + public Criteria andPhoneEqualTo(String value) { + addCriterion("phone =", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotEqualTo(String value) { + addCriterion("phone <>", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneGreaterThan(String value) { + addCriterion("phone >", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneGreaterThanOrEqualTo(String value) { + addCriterion("phone >=", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneLessThan(String value) { + addCriterion("phone <", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneLessThanOrEqualTo(String value) { + addCriterion("phone <=", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneLike(String value) { + addCriterion("phone like", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotLike(String value) { + addCriterion("phone not like", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneIn(List values) { + addCriterion("phone in", values, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotIn(List values) { + addCriterion("phone not in", values, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneBetween(String value1, String value2) { + addCriterion("phone between", value1, value2, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotBetween(String value1, String value2) { + addCriterion("phone not between", value1, value2, "phone"); + return (Criteria) this; + } + + public Criteria andProvinceIsNull() { + addCriterion("province is null"); + return (Criteria) this; + } + + public Criteria andProvinceIsNotNull() { + addCriterion("province is not null"); + return (Criteria) this; + } + + public Criteria andProvinceEqualTo(String value) { + addCriterion("province =", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotEqualTo(String value) { + addCriterion("province <>", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceGreaterThan(String value) { + addCriterion("province >", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceGreaterThanOrEqualTo(String value) { + addCriterion("province >=", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceLessThan(String value) { + addCriterion("province <", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceLessThanOrEqualTo(String value) { + addCriterion("province <=", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceLike(String value) { + addCriterion("province like", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotLike(String value) { + addCriterion("province not like", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceIn(List values) { + addCriterion("province in", values, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotIn(List values) { + addCriterion("province not in", values, "province"); + return (Criteria) this; + } + + public Criteria andProvinceBetween(String value1, String value2) { + addCriterion("province between", value1, value2, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotBetween(String value1, String value2) { + addCriterion("province not between", value1, value2, "province"); + return (Criteria) this; + } + + public Criteria andCityIsNull() { + addCriterion("city is null"); + return (Criteria) this; + } + + public Criteria andCityIsNotNull() { + addCriterion("city is not null"); + return (Criteria) this; + } + + public Criteria andCityEqualTo(String value) { + addCriterion("city =", value, "city"); + return (Criteria) this; + } + + public Criteria andCityNotEqualTo(String value) { + addCriterion("city <>", value, "city"); + return (Criteria) this; + } + + public Criteria andCityGreaterThan(String value) { + addCriterion("city >", value, "city"); + return (Criteria) this; + } + + public Criteria andCityGreaterThanOrEqualTo(String value) { + addCriterion("city >=", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLessThan(String value) { + addCriterion("city <", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLessThanOrEqualTo(String value) { + addCriterion("city <=", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLike(String value) { + addCriterion("city like", value, "city"); + return (Criteria) this; + } + + public Criteria andCityNotLike(String value) { + addCriterion("city not like", value, "city"); + return (Criteria) this; + } + + public Criteria andCityIn(List values) { + addCriterion("city in", values, "city"); + return (Criteria) this; + } + + public Criteria andCityNotIn(List values) { + addCriterion("city not in", values, "city"); + return (Criteria) this; + } + + public Criteria andCityBetween(String value1, String value2) { + addCriterion("city between", value1, value2, "city"); + return (Criteria) this; + } + + public Criteria andCityNotBetween(String value1, String value2) { + addCriterion("city not between", value1, value2, "city"); + return (Criteria) this; + } + + public Criteria andRegionIsNull() { + addCriterion("region is null"); + return (Criteria) this; + } + + public Criteria andRegionIsNotNull() { + addCriterion("region is not null"); + return (Criteria) this; + } + + public Criteria andRegionEqualTo(String value) { + addCriterion("region =", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionNotEqualTo(String value) { + addCriterion("region <>", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionGreaterThan(String value) { + addCriterion("region >", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionGreaterThanOrEqualTo(String value) { + addCriterion("region >=", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionLessThan(String value) { + addCriterion("region <", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionLessThanOrEqualTo(String value) { + addCriterion("region <=", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionLike(String value) { + addCriterion("region like", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionNotLike(String value) { + addCriterion("region not like", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionIn(List values) { + addCriterion("region in", values, "region"); + return (Criteria) this; + } + + public Criteria andRegionNotIn(List values) { + addCriterion("region not in", values, "region"); + return (Criteria) this; + } + + public Criteria andRegionBetween(String value1, String value2) { + addCriterion("region between", value1, value2, "region"); + return (Criteria) this; + } + + public Criteria andRegionNotBetween(String value1, String value2) { + addCriterion("region not between", value1, value2, "region"); + return (Criteria) this; + } + + public Criteria andDetailAddressIsNull() { + addCriterion("detail_address is null"); + return (Criteria) this; + } + + public Criteria andDetailAddressIsNotNull() { + addCriterion("detail_address is not null"); + return (Criteria) this; + } + + public Criteria andDetailAddressEqualTo(String value) { + addCriterion("detail_address =", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressNotEqualTo(String value) { + addCriterion("detail_address <>", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressGreaterThan(String value) { + addCriterion("detail_address >", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressGreaterThanOrEqualTo(String value) { + addCriterion("detail_address >=", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressLessThan(String value) { + addCriterion("detail_address <", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressLessThanOrEqualTo(String value) { + addCriterion("detail_address <=", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressLike(String value) { + addCriterion("detail_address like", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressNotLike(String value) { + addCriterion("detail_address not like", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressIn(List values) { + addCriterion("detail_address in", values, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressNotIn(List values) { + addCriterion("detail_address not in", values, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressBetween(String value1, String value2) { + addCriterion("detail_address between", value1, value2, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressNotBetween(String value1, String value2) { + addCriterion("detail_address not between", value1, value2, "detailAddress"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrder.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrder.java new file mode 100644 index 0000000..1c2d811 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrder.java @@ -0,0 +1,714 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class OmsOrder implements Serializable { + /** + * 订单id + * + * @mbggenerated + */ + private Long id; + + private Long memberId; + + private Long couponId; + + /** + * 订单编号 + * + * @mbggenerated + */ + private String orderSn; + + /** + * 提交时间 + * + * @mbggenerated + */ + private Date createTime; + + /** + * 用户帐号 + * + * @mbggenerated + */ + private String memberUsername; + + /** + * 订单总金额 + * + * @mbggenerated + */ + private BigDecimal totalAmount; + + /** + * 应付金额(实际支付金额) + * + * @mbggenerated + */ + private BigDecimal payAmount; + + /** + * 运费金额 + * + * @mbggenerated + */ + private BigDecimal freightAmount; + + /** + * 促销优化金额(促销价、满减、阶梯价) + * + * @mbggenerated + */ + private BigDecimal promotionAmount; + + /** + * 积分抵扣金额 + * + * @mbggenerated + */ + private BigDecimal integrationAmount; + + /** + * 优惠券抵扣金额 + * + * @mbggenerated + */ + private BigDecimal couponAmount; + + /** + * 管理员后台调整订单使用的折扣金额 + * + * @mbggenerated + */ + private BigDecimal discountAmount; + + /** + * 支付方式:0->未支付;1->支付宝;2->微信 + * + * @mbggenerated + */ + private Integer payType; + + /** + * 订单来源:0->PC订单;1->app订单 + * + * @mbggenerated + */ + private Integer sourceType; + + /** + * 订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单 + * + * @mbggenerated + */ + private Integer status; + + /** + * 订单类型:0->正常订单;1->秒杀订单 + * + * @mbggenerated + */ + private Integer orderType; + + /** + * 物流公司(配送方式) + * + * @mbggenerated + */ + private String deliveryCompany; + + /** + * 物流单号 + * + * @mbggenerated + */ + private String deliverySn; + + /** + * 自动确认时间(天) + * + * @mbggenerated + */ + private Integer autoConfirmDay; + + /** + * 可以获得的积分 + * + * @mbggenerated + */ + private Integer integration; + + /** + * 可以活动的成长值 + * + * @mbggenerated + */ + private Integer growth; + + /** + * 活动信息 + * + * @mbggenerated + */ + private String promotionInfo; + + /** + * 发票类型:0->不开发票;1->电子发票;2->纸质发票 + * + * @mbggenerated + */ + private Integer billType; + + /** + * 发票抬头 + * + * @mbggenerated + */ + private String billHeader; + + /** + * 发票内容 + * + * @mbggenerated + */ + private String billContent; + + /** + * 收票人电话 + * + * @mbggenerated + */ + private String billReceiverPhone; + + /** + * 收票人邮箱 + * + * @mbggenerated + */ + private String billReceiverEmail; + + /** + * 收货人姓名 + * + * @mbggenerated + */ + private String receiverName; + + /** + * 收货人电话 + * + * @mbggenerated + */ + private String receiverPhone; + + /** + * 收货人邮编 + * + * @mbggenerated + */ + private String receiverPostCode; + + /** + * 省份/直辖市 + * + * @mbggenerated + */ + private String receiverProvince; + + /** + * 城市 + * + * @mbggenerated + */ + private String receiverCity; + + /** + * 区 + * + * @mbggenerated + */ + private String receiverRegion; + + /** + * 详细地址 + * + * @mbggenerated + */ + private String receiverDetailAddress; + + /** + * 订单备注 + * + * @mbggenerated + */ + private String note; + + /** + * 确认收货状态:0->未确认;1->已确认 + * + * @mbggenerated + */ + private Integer confirmStatus; + + /** + * 删除状态:0->未删除;1->已删除 + * + * @mbggenerated + */ + private Integer deleteStatus; + + /** + * 下单时使用的积分 + * + * @mbggenerated + */ + private Integer useIntegration; + + /** + * 支付时间 + * + * @mbggenerated + */ + private Date paymentTime; + + /** + * 发货时间 + * + * @mbggenerated + */ + private Date deliveryTime; + + /** + * 确认收货时间 + * + * @mbggenerated + */ + private Date receiveTime; + + /** + * 评价时间 + * + * @mbggenerated + */ + private Date commentTime; + + /** + * 修改时间 + * + * @mbggenerated + */ + private Date modifyTime; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public Long getCouponId() { + return couponId; + } + + public void setCouponId(Long couponId) { + this.couponId = couponId; + } + + public String getOrderSn() { + return orderSn; + } + + public void setOrderSn(String orderSn) { + this.orderSn = orderSn; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getMemberUsername() { + return memberUsername; + } + + public void setMemberUsername(String memberUsername) { + this.memberUsername = memberUsername; + } + + public BigDecimal getTotalAmount() { + return totalAmount; + } + + public void setTotalAmount(BigDecimal totalAmount) { + this.totalAmount = totalAmount; + } + + public BigDecimal getPayAmount() { + return payAmount; + } + + public void setPayAmount(BigDecimal payAmount) { + this.payAmount = payAmount; + } + + public BigDecimal getFreightAmount() { + return freightAmount; + } + + public void setFreightAmount(BigDecimal freightAmount) { + this.freightAmount = freightAmount; + } + + public BigDecimal getPromotionAmount() { + return promotionAmount; + } + + public void setPromotionAmount(BigDecimal promotionAmount) { + this.promotionAmount = promotionAmount; + } + + public BigDecimal getIntegrationAmount() { + return integrationAmount; + } + + public void setIntegrationAmount(BigDecimal integrationAmount) { + this.integrationAmount = integrationAmount; + } + + public BigDecimal getCouponAmount() { + return couponAmount; + } + + public void setCouponAmount(BigDecimal couponAmount) { + this.couponAmount = couponAmount; + } + + public BigDecimal getDiscountAmount() { + return discountAmount; + } + + public void setDiscountAmount(BigDecimal discountAmount) { + this.discountAmount = discountAmount; + } + + public Integer getPayType() { + return payType; + } + + public void setPayType(Integer payType) { + this.payType = payType; + } + + public Integer getSourceType() { + return sourceType; + } + + public void setSourceType(Integer sourceType) { + this.sourceType = sourceType; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Integer getOrderType() { + return orderType; + } + + public void setOrderType(Integer orderType) { + this.orderType = orderType; + } + + public String getDeliveryCompany() { + return deliveryCompany; + } + + public void setDeliveryCompany(String deliveryCompany) { + this.deliveryCompany = deliveryCompany; + } + + public String getDeliverySn() { + return deliverySn; + } + + public void setDeliverySn(String deliverySn) { + this.deliverySn = deliverySn; + } + + public Integer getAutoConfirmDay() { + return autoConfirmDay; + } + + public void setAutoConfirmDay(Integer autoConfirmDay) { + this.autoConfirmDay = autoConfirmDay; + } + + public Integer getIntegration() { + return integration; + } + + public void setIntegration(Integer integration) { + this.integration = integration; + } + + public Integer getGrowth() { + return growth; + } + + public void setGrowth(Integer growth) { + this.growth = growth; + } + + public String getPromotionInfo() { + return promotionInfo; + } + + public void setPromotionInfo(String promotionInfo) { + this.promotionInfo = promotionInfo; + } + + public Integer getBillType() { + return billType; + } + + public void setBillType(Integer billType) { + this.billType = billType; + } + + public String getBillHeader() { + return billHeader; + } + + public void setBillHeader(String billHeader) { + this.billHeader = billHeader; + } + + public String getBillContent() { + return billContent; + } + + public void setBillContent(String billContent) { + this.billContent = billContent; + } + + public String getBillReceiverPhone() { + return billReceiverPhone; + } + + public void setBillReceiverPhone(String billReceiverPhone) { + this.billReceiverPhone = billReceiverPhone; + } + + public String getBillReceiverEmail() { + return billReceiverEmail; + } + + public void setBillReceiverEmail(String billReceiverEmail) { + this.billReceiverEmail = billReceiverEmail; + } + + public String getReceiverName() { + return receiverName; + } + + public void setReceiverName(String receiverName) { + this.receiverName = receiverName; + } + + public String getReceiverPhone() { + return receiverPhone; + } + + public void setReceiverPhone(String receiverPhone) { + this.receiverPhone = receiverPhone; + } + + public String getReceiverPostCode() { + return receiverPostCode; + } + + public void setReceiverPostCode(String receiverPostCode) { + this.receiverPostCode = receiverPostCode; + } + + public String getReceiverProvince() { + return receiverProvince; + } + + public void setReceiverProvince(String receiverProvince) { + this.receiverProvince = receiverProvince; + } + + public String getReceiverCity() { + return receiverCity; + } + + public void setReceiverCity(String receiverCity) { + this.receiverCity = receiverCity; + } + + public String getReceiverRegion() { + return receiverRegion; + } + + public void setReceiverRegion(String receiverRegion) { + this.receiverRegion = receiverRegion; + } + + public String getReceiverDetailAddress() { + return receiverDetailAddress; + } + + public void setReceiverDetailAddress(String receiverDetailAddress) { + this.receiverDetailAddress = receiverDetailAddress; + } + + public String getNote() { + return note; + } + + public void setNote(String note) { + this.note = note; + } + + public Integer getConfirmStatus() { + return confirmStatus; + } + + public void setConfirmStatus(Integer confirmStatus) { + this.confirmStatus = confirmStatus; + } + + public Integer getDeleteStatus() { + return deleteStatus; + } + + public void setDeleteStatus(Integer deleteStatus) { + this.deleteStatus = deleteStatus; + } + + public Integer getUseIntegration() { + return useIntegration; + } + + public void setUseIntegration(Integer useIntegration) { + this.useIntegration = useIntegration; + } + + public Date getPaymentTime() { + return paymentTime; + } + + public void setPaymentTime(Date paymentTime) { + this.paymentTime = paymentTime; + } + + public Date getDeliveryTime() { + return deliveryTime; + } + + public void setDeliveryTime(Date deliveryTime) { + this.deliveryTime = deliveryTime; + } + + public Date getReceiveTime() { + return receiveTime; + } + + public void setReceiveTime(Date receiveTime) { + this.receiveTime = receiveTime; + } + + public Date getCommentTime() { + return commentTime; + } + + public void setCommentTime(Date commentTime) { + this.commentTime = commentTime; + } + + public Date getModifyTime() { + return modifyTime; + } + + public void setModifyTime(Date modifyTime) { + this.modifyTime = modifyTime; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", couponId=").append(couponId); + sb.append(", orderSn=").append(orderSn); + sb.append(", createTime=").append(createTime); + sb.append(", memberUsername=").append(memberUsername); + sb.append(", totalAmount=").append(totalAmount); + sb.append(", payAmount=").append(payAmount); + sb.append(", freightAmount=").append(freightAmount); + sb.append(", promotionAmount=").append(promotionAmount); + sb.append(", integrationAmount=").append(integrationAmount); + sb.append(", couponAmount=").append(couponAmount); + sb.append(", discountAmount=").append(discountAmount); + sb.append(", payType=").append(payType); + sb.append(", sourceType=").append(sourceType); + sb.append(", status=").append(status); + sb.append(", orderType=").append(orderType); + sb.append(", deliveryCompany=").append(deliveryCompany); + sb.append(", deliverySn=").append(deliverySn); + sb.append(", autoConfirmDay=").append(autoConfirmDay); + sb.append(", integration=").append(integration); + sb.append(", growth=").append(growth); + sb.append(", promotionInfo=").append(promotionInfo); + sb.append(", billType=").append(billType); + sb.append(", billHeader=").append(billHeader); + sb.append(", billContent=").append(billContent); + sb.append(", billReceiverPhone=").append(billReceiverPhone); + sb.append(", billReceiverEmail=").append(billReceiverEmail); + sb.append(", receiverName=").append(receiverName); + sb.append(", receiverPhone=").append(receiverPhone); + sb.append(", receiverPostCode=").append(receiverPostCode); + sb.append(", receiverProvince=").append(receiverProvince); + sb.append(", receiverCity=").append(receiverCity); + sb.append(", receiverRegion=").append(receiverRegion); + sb.append(", receiverDetailAddress=").append(receiverDetailAddress); + sb.append(", note=").append(note); + sb.append(", confirmStatus=").append(confirmStatus); + sb.append(", deleteStatus=").append(deleteStatus); + sb.append(", useIntegration=").append(useIntegration); + sb.append(", paymentTime=").append(paymentTime); + sb.append(", deliveryTime=").append(deliveryTime); + sb.append(", receiveTime=").append(receiveTime); + sb.append(", commentTime=").append(commentTime); + sb.append(", modifyTime=").append(modifyTime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderExample.java new file mode 100644 index 0000000..8e5e848 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderExample.java @@ -0,0 +1,3012 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class OmsOrderExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public OmsOrderExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andCouponIdIsNull() { + addCriterion("coupon_id is null"); + return (Criteria) this; + } + + public Criteria andCouponIdIsNotNull() { + addCriterion("coupon_id is not null"); + return (Criteria) this; + } + + public Criteria andCouponIdEqualTo(Long value) { + addCriterion("coupon_id =", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotEqualTo(Long value) { + addCriterion("coupon_id <>", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdGreaterThan(Long value) { + addCriterion("coupon_id >", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdGreaterThanOrEqualTo(Long value) { + addCriterion("coupon_id >=", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdLessThan(Long value) { + addCriterion("coupon_id <", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdLessThanOrEqualTo(Long value) { + addCriterion("coupon_id <=", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdIn(List values) { + addCriterion("coupon_id in", values, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotIn(List values) { + addCriterion("coupon_id not in", values, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdBetween(Long value1, Long value2) { + addCriterion("coupon_id between", value1, value2, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotBetween(Long value1, Long value2) { + addCriterion("coupon_id not between", value1, value2, "couponId"); + return (Criteria) this; + } + + public Criteria andOrderSnIsNull() { + addCriterion("order_sn is null"); + return (Criteria) this; + } + + public Criteria andOrderSnIsNotNull() { + addCriterion("order_sn is not null"); + return (Criteria) this; + } + + public Criteria andOrderSnEqualTo(String value) { + addCriterion("order_sn =", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotEqualTo(String value) { + addCriterion("order_sn <>", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnGreaterThan(String value) { + addCriterion("order_sn >", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnGreaterThanOrEqualTo(String value) { + addCriterion("order_sn >=", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnLessThan(String value) { + addCriterion("order_sn <", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnLessThanOrEqualTo(String value) { + addCriterion("order_sn <=", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnLike(String value) { + addCriterion("order_sn like", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotLike(String value) { + addCriterion("order_sn not like", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnIn(List values) { + addCriterion("order_sn in", values, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotIn(List values) { + addCriterion("order_sn not in", values, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnBetween(String value1, String value2) { + addCriterion("order_sn between", value1, value2, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotBetween(String value1, String value2) { + addCriterion("order_sn not between", value1, value2, "orderSn"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andMemberUsernameIsNull() { + addCriterion("member_username is null"); + return (Criteria) this; + } + + public Criteria andMemberUsernameIsNotNull() { + addCriterion("member_username is not null"); + return (Criteria) this; + } + + public Criteria andMemberUsernameEqualTo(String value) { + addCriterion("member_username =", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameNotEqualTo(String value) { + addCriterion("member_username <>", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameGreaterThan(String value) { + addCriterion("member_username >", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameGreaterThanOrEqualTo(String value) { + addCriterion("member_username >=", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameLessThan(String value) { + addCriterion("member_username <", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameLessThanOrEqualTo(String value) { + addCriterion("member_username <=", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameLike(String value) { + addCriterion("member_username like", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameNotLike(String value) { + addCriterion("member_username not like", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameIn(List values) { + addCriterion("member_username in", values, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameNotIn(List values) { + addCriterion("member_username not in", values, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameBetween(String value1, String value2) { + addCriterion("member_username between", value1, value2, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameNotBetween(String value1, String value2) { + addCriterion("member_username not between", value1, value2, "memberUsername"); + return (Criteria) this; + } + + public Criteria andTotalAmountIsNull() { + addCriterion("total_amount is null"); + return (Criteria) this; + } + + public Criteria andTotalAmountIsNotNull() { + addCriterion("total_amount is not null"); + return (Criteria) this; + } + + public Criteria andTotalAmountEqualTo(BigDecimal value) { + addCriterion("total_amount =", value, "totalAmount"); + return (Criteria) this; + } + + public Criteria andTotalAmountNotEqualTo(BigDecimal value) { + addCriterion("total_amount <>", value, "totalAmount"); + return (Criteria) this; + } + + public Criteria andTotalAmountGreaterThan(BigDecimal value) { + addCriterion("total_amount >", value, "totalAmount"); + return (Criteria) this; + } + + public Criteria andTotalAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("total_amount >=", value, "totalAmount"); + return (Criteria) this; + } + + public Criteria andTotalAmountLessThan(BigDecimal value) { + addCriterion("total_amount <", value, "totalAmount"); + return (Criteria) this; + } + + public Criteria andTotalAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("total_amount <=", value, "totalAmount"); + return (Criteria) this; + } + + public Criteria andTotalAmountIn(List values) { + addCriterion("total_amount in", values, "totalAmount"); + return (Criteria) this; + } + + public Criteria andTotalAmountNotIn(List values) { + addCriterion("total_amount not in", values, "totalAmount"); + return (Criteria) this; + } + + public Criteria andTotalAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("total_amount between", value1, value2, "totalAmount"); + return (Criteria) this; + } + + public Criteria andTotalAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("total_amount not between", value1, value2, "totalAmount"); + return (Criteria) this; + } + + public Criteria andPayAmountIsNull() { + addCriterion("pay_amount is null"); + return (Criteria) this; + } + + public Criteria andPayAmountIsNotNull() { + addCriterion("pay_amount is not null"); + return (Criteria) this; + } + + public Criteria andPayAmountEqualTo(BigDecimal value) { + addCriterion("pay_amount =", value, "payAmount"); + return (Criteria) this; + } + + public Criteria andPayAmountNotEqualTo(BigDecimal value) { + addCriterion("pay_amount <>", value, "payAmount"); + return (Criteria) this; + } + + public Criteria andPayAmountGreaterThan(BigDecimal value) { + addCriterion("pay_amount >", value, "payAmount"); + return (Criteria) this; + } + + public Criteria andPayAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("pay_amount >=", value, "payAmount"); + return (Criteria) this; + } + + public Criteria andPayAmountLessThan(BigDecimal value) { + addCriterion("pay_amount <", value, "payAmount"); + return (Criteria) this; + } + + public Criteria andPayAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("pay_amount <=", value, "payAmount"); + return (Criteria) this; + } + + public Criteria andPayAmountIn(List values) { + addCriterion("pay_amount in", values, "payAmount"); + return (Criteria) this; + } + + public Criteria andPayAmountNotIn(List values) { + addCriterion("pay_amount not in", values, "payAmount"); + return (Criteria) this; + } + + public Criteria andPayAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("pay_amount between", value1, value2, "payAmount"); + return (Criteria) this; + } + + public Criteria andPayAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("pay_amount not between", value1, value2, "payAmount"); + return (Criteria) this; + } + + public Criteria andFreightAmountIsNull() { + addCriterion("freight_amount is null"); + return (Criteria) this; + } + + public Criteria andFreightAmountIsNotNull() { + addCriterion("freight_amount is not null"); + return (Criteria) this; + } + + public Criteria andFreightAmountEqualTo(BigDecimal value) { + addCriterion("freight_amount =", value, "freightAmount"); + return (Criteria) this; + } + + public Criteria andFreightAmountNotEqualTo(BigDecimal value) { + addCriterion("freight_amount <>", value, "freightAmount"); + return (Criteria) this; + } + + public Criteria andFreightAmountGreaterThan(BigDecimal value) { + addCriterion("freight_amount >", value, "freightAmount"); + return (Criteria) this; + } + + public Criteria andFreightAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("freight_amount >=", value, "freightAmount"); + return (Criteria) this; + } + + public Criteria andFreightAmountLessThan(BigDecimal value) { + addCriterion("freight_amount <", value, "freightAmount"); + return (Criteria) this; + } + + public Criteria andFreightAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("freight_amount <=", value, "freightAmount"); + return (Criteria) this; + } + + public Criteria andFreightAmountIn(List values) { + addCriterion("freight_amount in", values, "freightAmount"); + return (Criteria) this; + } + + public Criteria andFreightAmountNotIn(List values) { + addCriterion("freight_amount not in", values, "freightAmount"); + return (Criteria) this; + } + + public Criteria andFreightAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("freight_amount between", value1, value2, "freightAmount"); + return (Criteria) this; + } + + public Criteria andFreightAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("freight_amount not between", value1, value2, "freightAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountIsNull() { + addCriterion("promotion_amount is null"); + return (Criteria) this; + } + + public Criteria andPromotionAmountIsNotNull() { + addCriterion("promotion_amount is not null"); + return (Criteria) this; + } + + public Criteria andPromotionAmountEqualTo(BigDecimal value) { + addCriterion("promotion_amount =", value, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountNotEqualTo(BigDecimal value) { + addCriterion("promotion_amount <>", value, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountGreaterThan(BigDecimal value) { + addCriterion("promotion_amount >", value, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("promotion_amount >=", value, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountLessThan(BigDecimal value) { + addCriterion("promotion_amount <", value, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("promotion_amount <=", value, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountIn(List values) { + addCriterion("promotion_amount in", values, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountNotIn(List values) { + addCriterion("promotion_amount not in", values, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("promotion_amount between", value1, value2, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("promotion_amount not between", value1, value2, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountIsNull() { + addCriterion("integration_amount is null"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountIsNotNull() { + addCriterion("integration_amount is not null"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountEqualTo(BigDecimal value) { + addCriterion("integration_amount =", value, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountNotEqualTo(BigDecimal value) { + addCriterion("integration_amount <>", value, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountGreaterThan(BigDecimal value) { + addCriterion("integration_amount >", value, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("integration_amount >=", value, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountLessThan(BigDecimal value) { + addCriterion("integration_amount <", value, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("integration_amount <=", value, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountIn(List values) { + addCriterion("integration_amount in", values, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountNotIn(List values) { + addCriterion("integration_amount not in", values, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("integration_amount between", value1, value2, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("integration_amount not between", value1, value2, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountIsNull() { + addCriterion("coupon_amount is null"); + return (Criteria) this; + } + + public Criteria andCouponAmountIsNotNull() { + addCriterion("coupon_amount is not null"); + return (Criteria) this; + } + + public Criteria andCouponAmountEqualTo(BigDecimal value) { + addCriterion("coupon_amount =", value, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountNotEqualTo(BigDecimal value) { + addCriterion("coupon_amount <>", value, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountGreaterThan(BigDecimal value) { + addCriterion("coupon_amount >", value, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("coupon_amount >=", value, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountLessThan(BigDecimal value) { + addCriterion("coupon_amount <", value, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("coupon_amount <=", value, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountIn(List values) { + addCriterion("coupon_amount in", values, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountNotIn(List values) { + addCriterion("coupon_amount not in", values, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("coupon_amount between", value1, value2, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("coupon_amount not between", value1, value2, "couponAmount"); + return (Criteria) this; + } + + public Criteria andDiscountAmountIsNull() { + addCriterion("discount_amount is null"); + return (Criteria) this; + } + + public Criteria andDiscountAmountIsNotNull() { + addCriterion("discount_amount is not null"); + return (Criteria) this; + } + + public Criteria andDiscountAmountEqualTo(BigDecimal value) { + addCriterion("discount_amount =", value, "discountAmount"); + return (Criteria) this; + } + + public Criteria andDiscountAmountNotEqualTo(BigDecimal value) { + addCriterion("discount_amount <>", value, "discountAmount"); + return (Criteria) this; + } + + public Criteria andDiscountAmountGreaterThan(BigDecimal value) { + addCriterion("discount_amount >", value, "discountAmount"); + return (Criteria) this; + } + + public Criteria andDiscountAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("discount_amount >=", value, "discountAmount"); + return (Criteria) this; + } + + public Criteria andDiscountAmountLessThan(BigDecimal value) { + addCriterion("discount_amount <", value, "discountAmount"); + return (Criteria) this; + } + + public Criteria andDiscountAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("discount_amount <=", value, "discountAmount"); + return (Criteria) this; + } + + public Criteria andDiscountAmountIn(List values) { + addCriterion("discount_amount in", values, "discountAmount"); + return (Criteria) this; + } + + public Criteria andDiscountAmountNotIn(List values) { + addCriterion("discount_amount not in", values, "discountAmount"); + return (Criteria) this; + } + + public Criteria andDiscountAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("discount_amount between", value1, value2, "discountAmount"); + return (Criteria) this; + } + + public Criteria andDiscountAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("discount_amount not between", value1, value2, "discountAmount"); + return (Criteria) this; + } + + public Criteria andPayTypeIsNull() { + addCriterion("pay_type is null"); + return (Criteria) this; + } + + public Criteria andPayTypeIsNotNull() { + addCriterion("pay_type is not null"); + return (Criteria) this; + } + + public Criteria andPayTypeEqualTo(Integer value) { + addCriterion("pay_type =", value, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeNotEqualTo(Integer value) { + addCriterion("pay_type <>", value, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeGreaterThan(Integer value) { + addCriterion("pay_type >", value, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("pay_type >=", value, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeLessThan(Integer value) { + addCriterion("pay_type <", value, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeLessThanOrEqualTo(Integer value) { + addCriterion("pay_type <=", value, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeIn(List values) { + addCriterion("pay_type in", values, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeNotIn(List values) { + addCriterion("pay_type not in", values, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeBetween(Integer value1, Integer value2) { + addCriterion("pay_type between", value1, value2, "payType"); + return (Criteria) this; + } + + public Criteria andPayTypeNotBetween(Integer value1, Integer value2) { + addCriterion("pay_type not between", value1, value2, "payType"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNull() { + addCriterion("source_type is null"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNotNull() { + addCriterion("source_type is not null"); + return (Criteria) this; + } + + public Criteria andSourceTypeEqualTo(Integer value) { + addCriterion("source_type =", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotEqualTo(Integer value) { + addCriterion("source_type <>", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThan(Integer value) { + addCriterion("source_type >", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("source_type >=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThan(Integer value) { + addCriterion("source_type <", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThanOrEqualTo(Integer value) { + addCriterion("source_type <=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeIn(List values) { + addCriterion("source_type in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotIn(List values) { + addCriterion("source_type not in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeBetween(Integer value1, Integer value2) { + addCriterion("source_type between", value1, value2, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotBetween(Integer value1, Integer value2) { + addCriterion("source_type not between", value1, value2, "sourceType"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andOrderTypeIsNull() { + addCriterion("order_type is null"); + return (Criteria) this; + } + + public Criteria andOrderTypeIsNotNull() { + addCriterion("order_type is not null"); + return (Criteria) this; + } + + public Criteria andOrderTypeEqualTo(Integer value) { + addCriterion("order_type =", value, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeNotEqualTo(Integer value) { + addCriterion("order_type <>", value, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeGreaterThan(Integer value) { + addCriterion("order_type >", value, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("order_type >=", value, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeLessThan(Integer value) { + addCriterion("order_type <", value, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeLessThanOrEqualTo(Integer value) { + addCriterion("order_type <=", value, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeIn(List values) { + addCriterion("order_type in", values, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeNotIn(List values) { + addCriterion("order_type not in", values, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeBetween(Integer value1, Integer value2) { + addCriterion("order_type between", value1, value2, "orderType"); + return (Criteria) this; + } + + public Criteria andOrderTypeNotBetween(Integer value1, Integer value2) { + addCriterion("order_type not between", value1, value2, "orderType"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyIsNull() { + addCriterion("delivery_company is null"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyIsNotNull() { + addCriterion("delivery_company is not null"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyEqualTo(String value) { + addCriterion("delivery_company =", value, "deliveryCompany"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyNotEqualTo(String value) { + addCriterion("delivery_company <>", value, "deliveryCompany"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyGreaterThan(String value) { + addCriterion("delivery_company >", value, "deliveryCompany"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyGreaterThanOrEqualTo(String value) { + addCriterion("delivery_company >=", value, "deliveryCompany"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyLessThan(String value) { + addCriterion("delivery_company <", value, "deliveryCompany"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyLessThanOrEqualTo(String value) { + addCriterion("delivery_company <=", value, "deliveryCompany"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyLike(String value) { + addCriterion("delivery_company like", value, "deliveryCompany"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyNotLike(String value) { + addCriterion("delivery_company not like", value, "deliveryCompany"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyIn(List values) { + addCriterion("delivery_company in", values, "deliveryCompany"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyNotIn(List values) { + addCriterion("delivery_company not in", values, "deliveryCompany"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyBetween(String value1, String value2) { + addCriterion("delivery_company between", value1, value2, "deliveryCompany"); + return (Criteria) this; + } + + public Criteria andDeliveryCompanyNotBetween(String value1, String value2) { + addCriterion("delivery_company not between", value1, value2, "deliveryCompany"); + return (Criteria) this; + } + + public Criteria andDeliverySnIsNull() { + addCriterion("delivery_sn is null"); + return (Criteria) this; + } + + public Criteria andDeliverySnIsNotNull() { + addCriterion("delivery_sn is not null"); + return (Criteria) this; + } + + public Criteria andDeliverySnEqualTo(String value) { + addCriterion("delivery_sn =", value, "deliverySn"); + return (Criteria) this; + } + + public Criteria andDeliverySnNotEqualTo(String value) { + addCriterion("delivery_sn <>", value, "deliverySn"); + return (Criteria) this; + } + + public Criteria andDeliverySnGreaterThan(String value) { + addCriterion("delivery_sn >", value, "deliverySn"); + return (Criteria) this; + } + + public Criteria andDeliverySnGreaterThanOrEqualTo(String value) { + addCriterion("delivery_sn >=", value, "deliverySn"); + return (Criteria) this; + } + + public Criteria andDeliverySnLessThan(String value) { + addCriterion("delivery_sn <", value, "deliverySn"); + return (Criteria) this; + } + + public Criteria andDeliverySnLessThanOrEqualTo(String value) { + addCriterion("delivery_sn <=", value, "deliverySn"); + return (Criteria) this; + } + + public Criteria andDeliverySnLike(String value) { + addCriterion("delivery_sn like", value, "deliverySn"); + return (Criteria) this; + } + + public Criteria andDeliverySnNotLike(String value) { + addCriterion("delivery_sn not like", value, "deliverySn"); + return (Criteria) this; + } + + public Criteria andDeliverySnIn(List values) { + addCriterion("delivery_sn in", values, "deliverySn"); + return (Criteria) this; + } + + public Criteria andDeliverySnNotIn(List values) { + addCriterion("delivery_sn not in", values, "deliverySn"); + return (Criteria) this; + } + + public Criteria andDeliverySnBetween(String value1, String value2) { + addCriterion("delivery_sn between", value1, value2, "deliverySn"); + return (Criteria) this; + } + + public Criteria andDeliverySnNotBetween(String value1, String value2) { + addCriterion("delivery_sn not between", value1, value2, "deliverySn"); + return (Criteria) this; + } + + public Criteria andAutoConfirmDayIsNull() { + addCriterion("auto_confirm_day is null"); + return (Criteria) this; + } + + public Criteria andAutoConfirmDayIsNotNull() { + addCriterion("auto_confirm_day is not null"); + return (Criteria) this; + } + + public Criteria andAutoConfirmDayEqualTo(Integer value) { + addCriterion("auto_confirm_day =", value, "autoConfirmDay"); + return (Criteria) this; + } + + public Criteria andAutoConfirmDayNotEqualTo(Integer value) { + addCriterion("auto_confirm_day <>", value, "autoConfirmDay"); + return (Criteria) this; + } + + public Criteria andAutoConfirmDayGreaterThan(Integer value) { + addCriterion("auto_confirm_day >", value, "autoConfirmDay"); + return (Criteria) this; + } + + public Criteria andAutoConfirmDayGreaterThanOrEqualTo(Integer value) { + addCriterion("auto_confirm_day >=", value, "autoConfirmDay"); + return (Criteria) this; + } + + public Criteria andAutoConfirmDayLessThan(Integer value) { + addCriterion("auto_confirm_day <", value, "autoConfirmDay"); + return (Criteria) this; + } + + public Criteria andAutoConfirmDayLessThanOrEqualTo(Integer value) { + addCriterion("auto_confirm_day <=", value, "autoConfirmDay"); + return (Criteria) this; + } + + public Criteria andAutoConfirmDayIn(List values) { + addCriterion("auto_confirm_day in", values, "autoConfirmDay"); + return (Criteria) this; + } + + public Criteria andAutoConfirmDayNotIn(List values) { + addCriterion("auto_confirm_day not in", values, "autoConfirmDay"); + return (Criteria) this; + } + + public Criteria andAutoConfirmDayBetween(Integer value1, Integer value2) { + addCriterion("auto_confirm_day between", value1, value2, "autoConfirmDay"); + return (Criteria) this; + } + + public Criteria andAutoConfirmDayNotBetween(Integer value1, Integer value2) { + addCriterion("auto_confirm_day not between", value1, value2, "autoConfirmDay"); + return (Criteria) this; + } + + public Criteria andIntegrationIsNull() { + addCriterion("integration is null"); + return (Criteria) this; + } + + public Criteria andIntegrationIsNotNull() { + addCriterion("integration is not null"); + return (Criteria) this; + } + + public Criteria andIntegrationEqualTo(Integer value) { + addCriterion("integration =", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationNotEqualTo(Integer value) { + addCriterion("integration <>", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationGreaterThan(Integer value) { + addCriterion("integration >", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationGreaterThanOrEqualTo(Integer value) { + addCriterion("integration >=", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationLessThan(Integer value) { + addCriterion("integration <", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationLessThanOrEqualTo(Integer value) { + addCriterion("integration <=", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationIn(List values) { + addCriterion("integration in", values, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationNotIn(List values) { + addCriterion("integration not in", values, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationBetween(Integer value1, Integer value2) { + addCriterion("integration between", value1, value2, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationNotBetween(Integer value1, Integer value2) { + addCriterion("integration not between", value1, value2, "integration"); + return (Criteria) this; + } + + public Criteria andGrowthIsNull() { + addCriterion("growth is null"); + return (Criteria) this; + } + + public Criteria andGrowthIsNotNull() { + addCriterion("growth is not null"); + return (Criteria) this; + } + + public Criteria andGrowthEqualTo(Integer value) { + addCriterion("growth =", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotEqualTo(Integer value) { + addCriterion("growth <>", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthGreaterThan(Integer value) { + addCriterion("growth >", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthGreaterThanOrEqualTo(Integer value) { + addCriterion("growth >=", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthLessThan(Integer value) { + addCriterion("growth <", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthLessThanOrEqualTo(Integer value) { + addCriterion("growth <=", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthIn(List values) { + addCriterion("growth in", values, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotIn(List values) { + addCriterion("growth not in", values, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthBetween(Integer value1, Integer value2) { + addCriterion("growth between", value1, value2, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotBetween(Integer value1, Integer value2) { + addCriterion("growth not between", value1, value2, "growth"); + return (Criteria) this; + } + + public Criteria andPromotionInfoIsNull() { + addCriterion("promotion_info is null"); + return (Criteria) this; + } + + public Criteria andPromotionInfoIsNotNull() { + addCriterion("promotion_info is not null"); + return (Criteria) this; + } + + public Criteria andPromotionInfoEqualTo(String value) { + addCriterion("promotion_info =", value, "promotionInfo"); + return (Criteria) this; + } + + public Criteria andPromotionInfoNotEqualTo(String value) { + addCriterion("promotion_info <>", value, "promotionInfo"); + return (Criteria) this; + } + + public Criteria andPromotionInfoGreaterThan(String value) { + addCriterion("promotion_info >", value, "promotionInfo"); + return (Criteria) this; + } + + public Criteria andPromotionInfoGreaterThanOrEqualTo(String value) { + addCriterion("promotion_info >=", value, "promotionInfo"); + return (Criteria) this; + } + + public Criteria andPromotionInfoLessThan(String value) { + addCriterion("promotion_info <", value, "promotionInfo"); + return (Criteria) this; + } + + public Criteria andPromotionInfoLessThanOrEqualTo(String value) { + addCriterion("promotion_info <=", value, "promotionInfo"); + return (Criteria) this; + } + + public Criteria andPromotionInfoLike(String value) { + addCriterion("promotion_info like", value, "promotionInfo"); + return (Criteria) this; + } + + public Criteria andPromotionInfoNotLike(String value) { + addCriterion("promotion_info not like", value, "promotionInfo"); + return (Criteria) this; + } + + public Criteria andPromotionInfoIn(List values) { + addCriterion("promotion_info in", values, "promotionInfo"); + return (Criteria) this; + } + + public Criteria andPromotionInfoNotIn(List values) { + addCriterion("promotion_info not in", values, "promotionInfo"); + return (Criteria) this; + } + + public Criteria andPromotionInfoBetween(String value1, String value2) { + addCriterion("promotion_info between", value1, value2, "promotionInfo"); + return (Criteria) this; + } + + public Criteria andPromotionInfoNotBetween(String value1, String value2) { + addCriterion("promotion_info not between", value1, value2, "promotionInfo"); + return (Criteria) this; + } + + public Criteria andBillTypeIsNull() { + addCriterion("bill_type is null"); + return (Criteria) this; + } + + public Criteria andBillTypeIsNotNull() { + addCriterion("bill_type is not null"); + return (Criteria) this; + } + + public Criteria andBillTypeEqualTo(Integer value) { + addCriterion("bill_type =", value, "billType"); + return (Criteria) this; + } + + public Criteria andBillTypeNotEqualTo(Integer value) { + addCriterion("bill_type <>", value, "billType"); + return (Criteria) this; + } + + public Criteria andBillTypeGreaterThan(Integer value) { + addCriterion("bill_type >", value, "billType"); + return (Criteria) this; + } + + public Criteria andBillTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("bill_type >=", value, "billType"); + return (Criteria) this; + } + + public Criteria andBillTypeLessThan(Integer value) { + addCriterion("bill_type <", value, "billType"); + return (Criteria) this; + } + + public Criteria andBillTypeLessThanOrEqualTo(Integer value) { + addCriterion("bill_type <=", value, "billType"); + return (Criteria) this; + } + + public Criteria andBillTypeIn(List values) { + addCriterion("bill_type in", values, "billType"); + return (Criteria) this; + } + + public Criteria andBillTypeNotIn(List values) { + addCriterion("bill_type not in", values, "billType"); + return (Criteria) this; + } + + public Criteria andBillTypeBetween(Integer value1, Integer value2) { + addCriterion("bill_type between", value1, value2, "billType"); + return (Criteria) this; + } + + public Criteria andBillTypeNotBetween(Integer value1, Integer value2) { + addCriterion("bill_type not between", value1, value2, "billType"); + return (Criteria) this; + } + + public Criteria andBillHeaderIsNull() { + addCriterion("bill_header is null"); + return (Criteria) this; + } + + public Criteria andBillHeaderIsNotNull() { + addCriterion("bill_header is not null"); + return (Criteria) this; + } + + public Criteria andBillHeaderEqualTo(String value) { + addCriterion("bill_header =", value, "billHeader"); + return (Criteria) this; + } + + public Criteria andBillHeaderNotEqualTo(String value) { + addCriterion("bill_header <>", value, "billHeader"); + return (Criteria) this; + } + + public Criteria andBillHeaderGreaterThan(String value) { + addCriterion("bill_header >", value, "billHeader"); + return (Criteria) this; + } + + public Criteria andBillHeaderGreaterThanOrEqualTo(String value) { + addCriterion("bill_header >=", value, "billHeader"); + return (Criteria) this; + } + + public Criteria andBillHeaderLessThan(String value) { + addCriterion("bill_header <", value, "billHeader"); + return (Criteria) this; + } + + public Criteria andBillHeaderLessThanOrEqualTo(String value) { + addCriterion("bill_header <=", value, "billHeader"); + return (Criteria) this; + } + + public Criteria andBillHeaderLike(String value) { + addCriterion("bill_header like", value, "billHeader"); + return (Criteria) this; + } + + public Criteria andBillHeaderNotLike(String value) { + addCriterion("bill_header not like", value, "billHeader"); + return (Criteria) this; + } + + public Criteria andBillHeaderIn(List values) { + addCriterion("bill_header in", values, "billHeader"); + return (Criteria) this; + } + + public Criteria andBillHeaderNotIn(List values) { + addCriterion("bill_header not in", values, "billHeader"); + return (Criteria) this; + } + + public Criteria andBillHeaderBetween(String value1, String value2) { + addCriterion("bill_header between", value1, value2, "billHeader"); + return (Criteria) this; + } + + public Criteria andBillHeaderNotBetween(String value1, String value2) { + addCriterion("bill_header not between", value1, value2, "billHeader"); + return (Criteria) this; + } + + public Criteria andBillContentIsNull() { + addCriterion("bill_content is null"); + return (Criteria) this; + } + + public Criteria andBillContentIsNotNull() { + addCriterion("bill_content is not null"); + return (Criteria) this; + } + + public Criteria andBillContentEqualTo(String value) { + addCriterion("bill_content =", value, "billContent"); + return (Criteria) this; + } + + public Criteria andBillContentNotEqualTo(String value) { + addCriterion("bill_content <>", value, "billContent"); + return (Criteria) this; + } + + public Criteria andBillContentGreaterThan(String value) { + addCriterion("bill_content >", value, "billContent"); + return (Criteria) this; + } + + public Criteria andBillContentGreaterThanOrEqualTo(String value) { + addCriterion("bill_content >=", value, "billContent"); + return (Criteria) this; + } + + public Criteria andBillContentLessThan(String value) { + addCriterion("bill_content <", value, "billContent"); + return (Criteria) this; + } + + public Criteria andBillContentLessThanOrEqualTo(String value) { + addCriterion("bill_content <=", value, "billContent"); + return (Criteria) this; + } + + public Criteria andBillContentLike(String value) { + addCriterion("bill_content like", value, "billContent"); + return (Criteria) this; + } + + public Criteria andBillContentNotLike(String value) { + addCriterion("bill_content not like", value, "billContent"); + return (Criteria) this; + } + + public Criteria andBillContentIn(List values) { + addCriterion("bill_content in", values, "billContent"); + return (Criteria) this; + } + + public Criteria andBillContentNotIn(List values) { + addCriterion("bill_content not in", values, "billContent"); + return (Criteria) this; + } + + public Criteria andBillContentBetween(String value1, String value2) { + addCriterion("bill_content between", value1, value2, "billContent"); + return (Criteria) this; + } + + public Criteria andBillContentNotBetween(String value1, String value2) { + addCriterion("bill_content not between", value1, value2, "billContent"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneIsNull() { + addCriterion("bill_receiver_phone is null"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneIsNotNull() { + addCriterion("bill_receiver_phone is not null"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneEqualTo(String value) { + addCriterion("bill_receiver_phone =", value, "billReceiverPhone"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneNotEqualTo(String value) { + addCriterion("bill_receiver_phone <>", value, "billReceiverPhone"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneGreaterThan(String value) { + addCriterion("bill_receiver_phone >", value, "billReceiverPhone"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneGreaterThanOrEqualTo(String value) { + addCriterion("bill_receiver_phone >=", value, "billReceiverPhone"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneLessThan(String value) { + addCriterion("bill_receiver_phone <", value, "billReceiverPhone"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneLessThanOrEqualTo(String value) { + addCriterion("bill_receiver_phone <=", value, "billReceiverPhone"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneLike(String value) { + addCriterion("bill_receiver_phone like", value, "billReceiverPhone"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneNotLike(String value) { + addCriterion("bill_receiver_phone not like", value, "billReceiverPhone"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneIn(List values) { + addCriterion("bill_receiver_phone in", values, "billReceiverPhone"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneNotIn(List values) { + addCriterion("bill_receiver_phone not in", values, "billReceiverPhone"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneBetween(String value1, String value2) { + addCriterion("bill_receiver_phone between", value1, value2, "billReceiverPhone"); + return (Criteria) this; + } + + public Criteria andBillReceiverPhoneNotBetween(String value1, String value2) { + addCriterion("bill_receiver_phone not between", value1, value2, "billReceiverPhone"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailIsNull() { + addCriterion("bill_receiver_email is null"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailIsNotNull() { + addCriterion("bill_receiver_email is not null"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailEqualTo(String value) { + addCriterion("bill_receiver_email =", value, "billReceiverEmail"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailNotEqualTo(String value) { + addCriterion("bill_receiver_email <>", value, "billReceiverEmail"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailGreaterThan(String value) { + addCriterion("bill_receiver_email >", value, "billReceiverEmail"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailGreaterThanOrEqualTo(String value) { + addCriterion("bill_receiver_email >=", value, "billReceiverEmail"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailLessThan(String value) { + addCriterion("bill_receiver_email <", value, "billReceiverEmail"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailLessThanOrEqualTo(String value) { + addCriterion("bill_receiver_email <=", value, "billReceiverEmail"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailLike(String value) { + addCriterion("bill_receiver_email like", value, "billReceiverEmail"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailNotLike(String value) { + addCriterion("bill_receiver_email not like", value, "billReceiverEmail"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailIn(List values) { + addCriterion("bill_receiver_email in", values, "billReceiverEmail"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailNotIn(List values) { + addCriterion("bill_receiver_email not in", values, "billReceiverEmail"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailBetween(String value1, String value2) { + addCriterion("bill_receiver_email between", value1, value2, "billReceiverEmail"); + return (Criteria) this; + } + + public Criteria andBillReceiverEmailNotBetween(String value1, String value2) { + addCriterion("bill_receiver_email not between", value1, value2, "billReceiverEmail"); + return (Criteria) this; + } + + public Criteria andReceiverNameIsNull() { + addCriterion("receiver_name is null"); + return (Criteria) this; + } + + public Criteria andReceiverNameIsNotNull() { + addCriterion("receiver_name is not null"); + return (Criteria) this; + } + + public Criteria andReceiverNameEqualTo(String value) { + addCriterion("receiver_name =", value, "receiverName"); + return (Criteria) this; + } + + public Criteria andReceiverNameNotEqualTo(String value) { + addCriterion("receiver_name <>", value, "receiverName"); + return (Criteria) this; + } + + public Criteria andReceiverNameGreaterThan(String value) { + addCriterion("receiver_name >", value, "receiverName"); + return (Criteria) this; + } + + public Criteria andReceiverNameGreaterThanOrEqualTo(String value) { + addCriterion("receiver_name >=", value, "receiverName"); + return (Criteria) this; + } + + public Criteria andReceiverNameLessThan(String value) { + addCriterion("receiver_name <", value, "receiverName"); + return (Criteria) this; + } + + public Criteria andReceiverNameLessThanOrEqualTo(String value) { + addCriterion("receiver_name <=", value, "receiverName"); + return (Criteria) this; + } + + public Criteria andReceiverNameLike(String value) { + addCriterion("receiver_name like", value, "receiverName"); + return (Criteria) this; + } + + public Criteria andReceiverNameNotLike(String value) { + addCriterion("receiver_name not like", value, "receiverName"); + return (Criteria) this; + } + + public Criteria andReceiverNameIn(List values) { + addCriterion("receiver_name in", values, "receiverName"); + return (Criteria) this; + } + + public Criteria andReceiverNameNotIn(List values) { + addCriterion("receiver_name not in", values, "receiverName"); + return (Criteria) this; + } + + public Criteria andReceiverNameBetween(String value1, String value2) { + addCriterion("receiver_name between", value1, value2, "receiverName"); + return (Criteria) this; + } + + public Criteria andReceiverNameNotBetween(String value1, String value2) { + addCriterion("receiver_name not between", value1, value2, "receiverName"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneIsNull() { + addCriterion("receiver_phone is null"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneIsNotNull() { + addCriterion("receiver_phone is not null"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneEqualTo(String value) { + addCriterion("receiver_phone =", value, "receiverPhone"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneNotEqualTo(String value) { + addCriterion("receiver_phone <>", value, "receiverPhone"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneGreaterThan(String value) { + addCriterion("receiver_phone >", value, "receiverPhone"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneGreaterThanOrEqualTo(String value) { + addCriterion("receiver_phone >=", value, "receiverPhone"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneLessThan(String value) { + addCriterion("receiver_phone <", value, "receiverPhone"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneLessThanOrEqualTo(String value) { + addCriterion("receiver_phone <=", value, "receiverPhone"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneLike(String value) { + addCriterion("receiver_phone like", value, "receiverPhone"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneNotLike(String value) { + addCriterion("receiver_phone not like", value, "receiverPhone"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneIn(List values) { + addCriterion("receiver_phone in", values, "receiverPhone"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneNotIn(List values) { + addCriterion("receiver_phone not in", values, "receiverPhone"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneBetween(String value1, String value2) { + addCriterion("receiver_phone between", value1, value2, "receiverPhone"); + return (Criteria) this; + } + + public Criteria andReceiverPhoneNotBetween(String value1, String value2) { + addCriterion("receiver_phone not between", value1, value2, "receiverPhone"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeIsNull() { + addCriterion("receiver_post_code is null"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeIsNotNull() { + addCriterion("receiver_post_code is not null"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeEqualTo(String value) { + addCriterion("receiver_post_code =", value, "receiverPostCode"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeNotEqualTo(String value) { + addCriterion("receiver_post_code <>", value, "receiverPostCode"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeGreaterThan(String value) { + addCriterion("receiver_post_code >", value, "receiverPostCode"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeGreaterThanOrEqualTo(String value) { + addCriterion("receiver_post_code >=", value, "receiverPostCode"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeLessThan(String value) { + addCriterion("receiver_post_code <", value, "receiverPostCode"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeLessThanOrEqualTo(String value) { + addCriterion("receiver_post_code <=", value, "receiverPostCode"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeLike(String value) { + addCriterion("receiver_post_code like", value, "receiverPostCode"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeNotLike(String value) { + addCriterion("receiver_post_code not like", value, "receiverPostCode"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeIn(List values) { + addCriterion("receiver_post_code in", values, "receiverPostCode"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeNotIn(List values) { + addCriterion("receiver_post_code not in", values, "receiverPostCode"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeBetween(String value1, String value2) { + addCriterion("receiver_post_code between", value1, value2, "receiverPostCode"); + return (Criteria) this; + } + + public Criteria andReceiverPostCodeNotBetween(String value1, String value2) { + addCriterion("receiver_post_code not between", value1, value2, "receiverPostCode"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceIsNull() { + addCriterion("receiver_province is null"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceIsNotNull() { + addCriterion("receiver_province is not null"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceEqualTo(String value) { + addCriterion("receiver_province =", value, "receiverProvince"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceNotEqualTo(String value) { + addCriterion("receiver_province <>", value, "receiverProvince"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceGreaterThan(String value) { + addCriterion("receiver_province >", value, "receiverProvince"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceGreaterThanOrEqualTo(String value) { + addCriterion("receiver_province >=", value, "receiverProvince"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceLessThan(String value) { + addCriterion("receiver_province <", value, "receiverProvince"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceLessThanOrEqualTo(String value) { + addCriterion("receiver_province <=", value, "receiverProvince"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceLike(String value) { + addCriterion("receiver_province like", value, "receiverProvince"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceNotLike(String value) { + addCriterion("receiver_province not like", value, "receiverProvince"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceIn(List values) { + addCriterion("receiver_province in", values, "receiverProvince"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceNotIn(List values) { + addCriterion("receiver_province not in", values, "receiverProvince"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceBetween(String value1, String value2) { + addCriterion("receiver_province between", value1, value2, "receiverProvince"); + return (Criteria) this; + } + + public Criteria andReceiverProvinceNotBetween(String value1, String value2) { + addCriterion("receiver_province not between", value1, value2, "receiverProvince"); + return (Criteria) this; + } + + public Criteria andReceiverCityIsNull() { + addCriterion("receiver_city is null"); + return (Criteria) this; + } + + public Criteria andReceiverCityIsNotNull() { + addCriterion("receiver_city is not null"); + return (Criteria) this; + } + + public Criteria andReceiverCityEqualTo(String value) { + addCriterion("receiver_city =", value, "receiverCity"); + return (Criteria) this; + } + + public Criteria andReceiverCityNotEqualTo(String value) { + addCriterion("receiver_city <>", value, "receiverCity"); + return (Criteria) this; + } + + public Criteria andReceiverCityGreaterThan(String value) { + addCriterion("receiver_city >", value, "receiverCity"); + return (Criteria) this; + } + + public Criteria andReceiverCityGreaterThanOrEqualTo(String value) { + addCriterion("receiver_city >=", value, "receiverCity"); + return (Criteria) this; + } + + public Criteria andReceiverCityLessThan(String value) { + addCriterion("receiver_city <", value, "receiverCity"); + return (Criteria) this; + } + + public Criteria andReceiverCityLessThanOrEqualTo(String value) { + addCriterion("receiver_city <=", value, "receiverCity"); + return (Criteria) this; + } + + public Criteria andReceiverCityLike(String value) { + addCriterion("receiver_city like", value, "receiverCity"); + return (Criteria) this; + } + + public Criteria andReceiverCityNotLike(String value) { + addCriterion("receiver_city not like", value, "receiverCity"); + return (Criteria) this; + } + + public Criteria andReceiverCityIn(List values) { + addCriterion("receiver_city in", values, "receiverCity"); + return (Criteria) this; + } + + public Criteria andReceiverCityNotIn(List values) { + addCriterion("receiver_city not in", values, "receiverCity"); + return (Criteria) this; + } + + public Criteria andReceiverCityBetween(String value1, String value2) { + addCriterion("receiver_city between", value1, value2, "receiverCity"); + return (Criteria) this; + } + + public Criteria andReceiverCityNotBetween(String value1, String value2) { + addCriterion("receiver_city not between", value1, value2, "receiverCity"); + return (Criteria) this; + } + + public Criteria andReceiverRegionIsNull() { + addCriterion("receiver_region is null"); + return (Criteria) this; + } + + public Criteria andReceiverRegionIsNotNull() { + addCriterion("receiver_region is not null"); + return (Criteria) this; + } + + public Criteria andReceiverRegionEqualTo(String value) { + addCriterion("receiver_region =", value, "receiverRegion"); + return (Criteria) this; + } + + public Criteria andReceiverRegionNotEqualTo(String value) { + addCriterion("receiver_region <>", value, "receiverRegion"); + return (Criteria) this; + } + + public Criteria andReceiverRegionGreaterThan(String value) { + addCriterion("receiver_region >", value, "receiverRegion"); + return (Criteria) this; + } + + public Criteria andReceiverRegionGreaterThanOrEqualTo(String value) { + addCriterion("receiver_region >=", value, "receiverRegion"); + return (Criteria) this; + } + + public Criteria andReceiverRegionLessThan(String value) { + addCriterion("receiver_region <", value, "receiverRegion"); + return (Criteria) this; + } + + public Criteria andReceiverRegionLessThanOrEqualTo(String value) { + addCriterion("receiver_region <=", value, "receiverRegion"); + return (Criteria) this; + } + + public Criteria andReceiverRegionLike(String value) { + addCriterion("receiver_region like", value, "receiverRegion"); + return (Criteria) this; + } + + public Criteria andReceiverRegionNotLike(String value) { + addCriterion("receiver_region not like", value, "receiverRegion"); + return (Criteria) this; + } + + public Criteria andReceiverRegionIn(List values) { + addCriterion("receiver_region in", values, "receiverRegion"); + return (Criteria) this; + } + + public Criteria andReceiverRegionNotIn(List values) { + addCriterion("receiver_region not in", values, "receiverRegion"); + return (Criteria) this; + } + + public Criteria andReceiverRegionBetween(String value1, String value2) { + addCriterion("receiver_region between", value1, value2, "receiverRegion"); + return (Criteria) this; + } + + public Criteria andReceiverRegionNotBetween(String value1, String value2) { + addCriterion("receiver_region not between", value1, value2, "receiverRegion"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressIsNull() { + addCriterion("receiver_detail_address is null"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressIsNotNull() { + addCriterion("receiver_detail_address is not null"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressEqualTo(String value) { + addCriterion("receiver_detail_address =", value, "receiverDetailAddress"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressNotEqualTo(String value) { + addCriterion("receiver_detail_address <>", value, "receiverDetailAddress"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressGreaterThan(String value) { + addCriterion("receiver_detail_address >", value, "receiverDetailAddress"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressGreaterThanOrEqualTo(String value) { + addCriterion("receiver_detail_address >=", value, "receiverDetailAddress"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressLessThan(String value) { + addCriterion("receiver_detail_address <", value, "receiverDetailAddress"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressLessThanOrEqualTo(String value) { + addCriterion("receiver_detail_address <=", value, "receiverDetailAddress"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressLike(String value) { + addCriterion("receiver_detail_address like", value, "receiverDetailAddress"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressNotLike(String value) { + addCriterion("receiver_detail_address not like", value, "receiverDetailAddress"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressIn(List values) { + addCriterion("receiver_detail_address in", values, "receiverDetailAddress"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressNotIn(List values) { + addCriterion("receiver_detail_address not in", values, "receiverDetailAddress"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressBetween(String value1, String value2) { + addCriterion("receiver_detail_address between", value1, value2, "receiverDetailAddress"); + return (Criteria) this; + } + + public Criteria andReceiverDetailAddressNotBetween(String value1, String value2) { + addCriterion("receiver_detail_address not between", value1, value2, "receiverDetailAddress"); + return (Criteria) this; + } + + public Criteria andNoteIsNull() { + addCriterion("note is null"); + return (Criteria) this; + } + + public Criteria andNoteIsNotNull() { + addCriterion("note is not null"); + return (Criteria) this; + } + + public Criteria andNoteEqualTo(String value) { + addCriterion("note =", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotEqualTo(String value) { + addCriterion("note <>", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThan(String value) { + addCriterion("note >", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThanOrEqualTo(String value) { + addCriterion("note >=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThan(String value) { + addCriterion("note <", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThanOrEqualTo(String value) { + addCriterion("note <=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLike(String value) { + addCriterion("note like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotLike(String value) { + addCriterion("note not like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteIn(List values) { + addCriterion("note in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotIn(List values) { + addCriterion("note not in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteBetween(String value1, String value2) { + addCriterion("note between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotBetween(String value1, String value2) { + addCriterion("note not between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andConfirmStatusIsNull() { + addCriterion("confirm_status is null"); + return (Criteria) this; + } + + public Criteria andConfirmStatusIsNotNull() { + addCriterion("confirm_status is not null"); + return (Criteria) this; + } + + public Criteria andConfirmStatusEqualTo(Integer value) { + addCriterion("confirm_status =", value, "confirmStatus"); + return (Criteria) this; + } + + public Criteria andConfirmStatusNotEqualTo(Integer value) { + addCriterion("confirm_status <>", value, "confirmStatus"); + return (Criteria) this; + } + + public Criteria andConfirmStatusGreaterThan(Integer value) { + addCriterion("confirm_status >", value, "confirmStatus"); + return (Criteria) this; + } + + public Criteria andConfirmStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("confirm_status >=", value, "confirmStatus"); + return (Criteria) this; + } + + public Criteria andConfirmStatusLessThan(Integer value) { + addCriterion("confirm_status <", value, "confirmStatus"); + return (Criteria) this; + } + + public Criteria andConfirmStatusLessThanOrEqualTo(Integer value) { + addCriterion("confirm_status <=", value, "confirmStatus"); + return (Criteria) this; + } + + public Criteria andConfirmStatusIn(List values) { + addCriterion("confirm_status in", values, "confirmStatus"); + return (Criteria) this; + } + + public Criteria andConfirmStatusNotIn(List values) { + addCriterion("confirm_status not in", values, "confirmStatus"); + return (Criteria) this; + } + + public Criteria andConfirmStatusBetween(Integer value1, Integer value2) { + addCriterion("confirm_status between", value1, value2, "confirmStatus"); + return (Criteria) this; + } + + public Criteria andConfirmStatusNotBetween(Integer value1, Integer value2) { + addCriterion("confirm_status not between", value1, value2, "confirmStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusIsNull() { + addCriterion("delete_status is null"); + return (Criteria) this; + } + + public Criteria andDeleteStatusIsNotNull() { + addCriterion("delete_status is not null"); + return (Criteria) this; + } + + public Criteria andDeleteStatusEqualTo(Integer value) { + addCriterion("delete_status =", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusNotEqualTo(Integer value) { + addCriterion("delete_status <>", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusGreaterThan(Integer value) { + addCriterion("delete_status >", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("delete_status >=", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusLessThan(Integer value) { + addCriterion("delete_status <", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) { + addCriterion("delete_status <=", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusIn(List values) { + addCriterion("delete_status in", values, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusNotIn(List values) { + addCriterion("delete_status not in", values, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusBetween(Integer value1, Integer value2) { + addCriterion("delete_status between", value1, value2, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) { + addCriterion("delete_status not between", value1, value2, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andUseIntegrationIsNull() { + addCriterion("use_integration is null"); + return (Criteria) this; + } + + public Criteria andUseIntegrationIsNotNull() { + addCriterion("use_integration is not null"); + return (Criteria) this; + } + + public Criteria andUseIntegrationEqualTo(Integer value) { + addCriterion("use_integration =", value, "useIntegration"); + return (Criteria) this; + } + + public Criteria andUseIntegrationNotEqualTo(Integer value) { + addCriterion("use_integration <>", value, "useIntegration"); + return (Criteria) this; + } + + public Criteria andUseIntegrationGreaterThan(Integer value) { + addCriterion("use_integration >", value, "useIntegration"); + return (Criteria) this; + } + + public Criteria andUseIntegrationGreaterThanOrEqualTo(Integer value) { + addCriterion("use_integration >=", value, "useIntegration"); + return (Criteria) this; + } + + public Criteria andUseIntegrationLessThan(Integer value) { + addCriterion("use_integration <", value, "useIntegration"); + return (Criteria) this; + } + + public Criteria andUseIntegrationLessThanOrEqualTo(Integer value) { + addCriterion("use_integration <=", value, "useIntegration"); + return (Criteria) this; + } + + public Criteria andUseIntegrationIn(List values) { + addCriterion("use_integration in", values, "useIntegration"); + return (Criteria) this; + } + + public Criteria andUseIntegrationNotIn(List values) { + addCriterion("use_integration not in", values, "useIntegration"); + return (Criteria) this; + } + + public Criteria andUseIntegrationBetween(Integer value1, Integer value2) { + addCriterion("use_integration between", value1, value2, "useIntegration"); + return (Criteria) this; + } + + public Criteria andUseIntegrationNotBetween(Integer value1, Integer value2) { + addCriterion("use_integration not between", value1, value2, "useIntegration"); + return (Criteria) this; + } + + public Criteria andPaymentTimeIsNull() { + addCriterion("payment_time is null"); + return (Criteria) this; + } + + public Criteria andPaymentTimeIsNotNull() { + addCriterion("payment_time is not null"); + return (Criteria) this; + } + + public Criteria andPaymentTimeEqualTo(Date value) { + addCriterion("payment_time =", value, "paymentTime"); + return (Criteria) this; + } + + public Criteria andPaymentTimeNotEqualTo(Date value) { + addCriterion("payment_time <>", value, "paymentTime"); + return (Criteria) this; + } + + public Criteria andPaymentTimeGreaterThan(Date value) { + addCriterion("payment_time >", value, "paymentTime"); + return (Criteria) this; + } + + public Criteria andPaymentTimeGreaterThanOrEqualTo(Date value) { + addCriterion("payment_time >=", value, "paymentTime"); + return (Criteria) this; + } + + public Criteria andPaymentTimeLessThan(Date value) { + addCriterion("payment_time <", value, "paymentTime"); + return (Criteria) this; + } + + public Criteria andPaymentTimeLessThanOrEqualTo(Date value) { + addCriterion("payment_time <=", value, "paymentTime"); + return (Criteria) this; + } + + public Criteria andPaymentTimeIn(List values) { + addCriterion("payment_time in", values, "paymentTime"); + return (Criteria) this; + } + + public Criteria andPaymentTimeNotIn(List values) { + addCriterion("payment_time not in", values, "paymentTime"); + return (Criteria) this; + } + + public Criteria andPaymentTimeBetween(Date value1, Date value2) { + addCriterion("payment_time between", value1, value2, "paymentTime"); + return (Criteria) this; + } + + public Criteria andPaymentTimeNotBetween(Date value1, Date value2) { + addCriterion("payment_time not between", value1, value2, "paymentTime"); + return (Criteria) this; + } + + public Criteria andDeliveryTimeIsNull() { + addCriterion("delivery_time is null"); + return (Criteria) this; + } + + public Criteria andDeliveryTimeIsNotNull() { + addCriterion("delivery_time is not null"); + return (Criteria) this; + } + + public Criteria andDeliveryTimeEqualTo(Date value) { + addCriterion("delivery_time =", value, "deliveryTime"); + return (Criteria) this; + } + + public Criteria andDeliveryTimeNotEqualTo(Date value) { + addCriterion("delivery_time <>", value, "deliveryTime"); + return (Criteria) this; + } + + public Criteria andDeliveryTimeGreaterThan(Date value) { + addCriterion("delivery_time >", value, "deliveryTime"); + return (Criteria) this; + } + + public Criteria andDeliveryTimeGreaterThanOrEqualTo(Date value) { + addCriterion("delivery_time >=", value, "deliveryTime"); + return (Criteria) this; + } + + public Criteria andDeliveryTimeLessThan(Date value) { + addCriterion("delivery_time <", value, "deliveryTime"); + return (Criteria) this; + } + + public Criteria andDeliveryTimeLessThanOrEqualTo(Date value) { + addCriterion("delivery_time <=", value, "deliveryTime"); + return (Criteria) this; + } + + public Criteria andDeliveryTimeIn(List values) { + addCriterion("delivery_time in", values, "deliveryTime"); + return (Criteria) this; + } + + public Criteria andDeliveryTimeNotIn(List values) { + addCriterion("delivery_time not in", values, "deliveryTime"); + return (Criteria) this; + } + + public Criteria andDeliveryTimeBetween(Date value1, Date value2) { + addCriterion("delivery_time between", value1, value2, "deliveryTime"); + return (Criteria) this; + } + + public Criteria andDeliveryTimeNotBetween(Date value1, Date value2) { + addCriterion("delivery_time not between", value1, value2, "deliveryTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeIsNull() { + addCriterion("receive_time is null"); + return (Criteria) this; + } + + public Criteria andReceiveTimeIsNotNull() { + addCriterion("receive_time is not null"); + return (Criteria) this; + } + + public Criteria andReceiveTimeEqualTo(Date value) { + addCriterion("receive_time =", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeNotEqualTo(Date value) { + addCriterion("receive_time <>", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeGreaterThan(Date value) { + addCriterion("receive_time >", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeGreaterThanOrEqualTo(Date value) { + addCriterion("receive_time >=", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeLessThan(Date value) { + addCriterion("receive_time <", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeLessThanOrEqualTo(Date value) { + addCriterion("receive_time <=", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeIn(List values) { + addCriterion("receive_time in", values, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeNotIn(List values) { + addCriterion("receive_time not in", values, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeBetween(Date value1, Date value2) { + addCriterion("receive_time between", value1, value2, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeNotBetween(Date value1, Date value2) { + addCriterion("receive_time not between", value1, value2, "receiveTime"); + return (Criteria) this; + } + + public Criteria andCommentTimeIsNull() { + addCriterion("comment_time is null"); + return (Criteria) this; + } + + public Criteria andCommentTimeIsNotNull() { + addCriterion("comment_time is not null"); + return (Criteria) this; + } + + public Criteria andCommentTimeEqualTo(Date value) { + addCriterion("comment_time =", value, "commentTime"); + return (Criteria) this; + } + + public Criteria andCommentTimeNotEqualTo(Date value) { + addCriterion("comment_time <>", value, "commentTime"); + return (Criteria) this; + } + + public Criteria andCommentTimeGreaterThan(Date value) { + addCriterion("comment_time >", value, "commentTime"); + return (Criteria) this; + } + + public Criteria andCommentTimeGreaterThanOrEqualTo(Date value) { + addCriterion("comment_time >=", value, "commentTime"); + return (Criteria) this; + } + + public Criteria andCommentTimeLessThan(Date value) { + addCriterion("comment_time <", value, "commentTime"); + return (Criteria) this; + } + + public Criteria andCommentTimeLessThanOrEqualTo(Date value) { + addCriterion("comment_time <=", value, "commentTime"); + return (Criteria) this; + } + + public Criteria andCommentTimeIn(List values) { + addCriterion("comment_time in", values, "commentTime"); + return (Criteria) this; + } + + public Criteria andCommentTimeNotIn(List values) { + addCriterion("comment_time not in", values, "commentTime"); + return (Criteria) this; + } + + public Criteria andCommentTimeBetween(Date value1, Date value2) { + addCriterion("comment_time between", value1, value2, "commentTime"); + return (Criteria) this; + } + + public Criteria andCommentTimeNotBetween(Date value1, Date value2) { + addCriterion("comment_time not between", value1, value2, "commentTime"); + return (Criteria) this; + } + + public Criteria andModifyTimeIsNull() { + addCriterion("modify_time is null"); + return (Criteria) this; + } + + public Criteria andModifyTimeIsNotNull() { + addCriterion("modify_time is not null"); + return (Criteria) this; + } + + public Criteria andModifyTimeEqualTo(Date value) { + addCriterion("modify_time =", value, "modifyTime"); + return (Criteria) this; + } + + public Criteria andModifyTimeNotEqualTo(Date value) { + addCriterion("modify_time <>", value, "modifyTime"); + return (Criteria) this; + } + + public Criteria andModifyTimeGreaterThan(Date value) { + addCriterion("modify_time >", value, "modifyTime"); + return (Criteria) this; + } + + public Criteria andModifyTimeGreaterThanOrEqualTo(Date value) { + addCriterion("modify_time >=", value, "modifyTime"); + return (Criteria) this; + } + + public Criteria andModifyTimeLessThan(Date value) { + addCriterion("modify_time <", value, "modifyTime"); + return (Criteria) this; + } + + public Criteria andModifyTimeLessThanOrEqualTo(Date value) { + addCriterion("modify_time <=", value, "modifyTime"); + return (Criteria) this; + } + + public Criteria andModifyTimeIn(List values) { + addCriterion("modify_time in", values, "modifyTime"); + return (Criteria) this; + } + + public Criteria andModifyTimeNotIn(List values) { + addCriterion("modify_time not in", values, "modifyTime"); + return (Criteria) this; + } + + public Criteria andModifyTimeBetween(Date value1, Date value2) { + addCriterion("modify_time between", value1, value2, "modifyTime"); + return (Criteria) this; + } + + public Criteria andModifyTimeNotBetween(Date value1, Date value2) { + addCriterion("modify_time not between", value1, value2, "modifyTime"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderItem.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderItem.java new file mode 100644 index 0000000..7634185 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderItem.java @@ -0,0 +1,353 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class OmsOrderItem implements Serializable { + private Long id; + + /** + * 订单id + * + * @mbggenerated + */ + private Long orderId; + + /** + * 订单编号 + * + * @mbggenerated + */ + private String orderSn; + + private Long productId; + + private String productPic; + + private String productName; + + private String productBrand; + + private String productSn; + + /** + * 销售价格 + * + * @mbggenerated + */ + private BigDecimal productPrice; + + /** + * 购买数量 + * + * @mbggenerated + */ + private Integer productQuantity; + + /** + * 商品sku编号 + * + * @mbggenerated + */ + private Long productSkuId; + + /** + * 商品sku条码 + * + * @mbggenerated + */ + private String productSkuCode; + + /** + * 商品分类id + * + * @mbggenerated + */ + private Long productCategoryId; + + /** + * 商品的销售属性 + * + * @mbggenerated + */ + private String sp1; + + private String sp2; + + private String sp3; + + /** + * 商品促销名称 + * + * @mbggenerated + */ + private String promotionName; + + /** + * 商品促销分解金额 + * + * @mbggenerated + */ + private BigDecimal promotionAmount; + + /** + * 优惠券优惠分解金额 + * + * @mbggenerated + */ + private BigDecimal couponAmount; + + /** + * 积分优惠分解金额 + * + * @mbggenerated + */ + private BigDecimal integrationAmount; + + /** + * 该商品经过优惠后的分解金额 + * + * @mbggenerated + */ + private BigDecimal realAmount; + + private Integer giftIntegration; + + private Integer giftGrowth; + + /** + * 商品销售属性:[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}] + * + * @mbggenerated + */ + private String productAttr; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getOrderId() { + return orderId; + } + + public void setOrderId(Long orderId) { + this.orderId = orderId; + } + + public String getOrderSn() { + return orderSn; + } + + public void setOrderSn(String orderSn) { + this.orderSn = orderSn; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public String getProductPic() { + return productPic; + } + + public void setProductPic(String productPic) { + this.productPic = productPic; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public String getProductBrand() { + return productBrand; + } + + public void setProductBrand(String productBrand) { + this.productBrand = productBrand; + } + + public String getProductSn() { + return productSn; + } + + public void setProductSn(String productSn) { + this.productSn = productSn; + } + + public BigDecimal getProductPrice() { + return productPrice; + } + + public void setProductPrice(BigDecimal productPrice) { + this.productPrice = productPrice; + } + + public Integer getProductQuantity() { + return productQuantity; + } + + public void setProductQuantity(Integer productQuantity) { + this.productQuantity = productQuantity; + } + + public Long getProductSkuId() { + return productSkuId; + } + + public void setProductSkuId(Long productSkuId) { + this.productSkuId = productSkuId; + } + + public String getProductSkuCode() { + return productSkuCode; + } + + public void setProductSkuCode(String productSkuCode) { + this.productSkuCode = productSkuCode; + } + + public Long getProductCategoryId() { + return productCategoryId; + } + + public void setProductCategoryId(Long productCategoryId) { + this.productCategoryId = productCategoryId; + } + + public String getSp1() { + return sp1; + } + + public void setSp1(String sp1) { + this.sp1 = sp1; + } + + public String getSp2() { + return sp2; + } + + public void setSp2(String sp2) { + this.sp2 = sp2; + } + + public String getSp3() { + return sp3; + } + + public void setSp3(String sp3) { + this.sp3 = sp3; + } + + public String getPromotionName() { + return promotionName; + } + + public void setPromotionName(String promotionName) { + this.promotionName = promotionName; + } + + public BigDecimal getPromotionAmount() { + return promotionAmount; + } + + public void setPromotionAmount(BigDecimal promotionAmount) { + this.promotionAmount = promotionAmount; + } + + public BigDecimal getCouponAmount() { + return couponAmount; + } + + public void setCouponAmount(BigDecimal couponAmount) { + this.couponAmount = couponAmount; + } + + public BigDecimal getIntegrationAmount() { + return integrationAmount; + } + + public void setIntegrationAmount(BigDecimal integrationAmount) { + this.integrationAmount = integrationAmount; + } + + public BigDecimal getRealAmount() { + return realAmount; + } + + public void setRealAmount(BigDecimal realAmount) { + this.realAmount = realAmount; + } + + public Integer getGiftIntegration() { + return giftIntegration; + } + + public void setGiftIntegration(Integer giftIntegration) { + this.giftIntegration = giftIntegration; + } + + public Integer getGiftGrowth() { + return giftGrowth; + } + + public void setGiftGrowth(Integer giftGrowth) { + this.giftGrowth = giftGrowth; + } + + public String getProductAttr() { + return productAttr; + } + + public void setProductAttr(String productAttr) { + this.productAttr = productAttr; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", orderId=").append(orderId); + sb.append(", orderSn=").append(orderSn); + sb.append(", productId=").append(productId); + sb.append(", productPic=").append(productPic); + sb.append(", productName=").append(productName); + sb.append(", productBrand=").append(productBrand); + sb.append(", productSn=").append(productSn); + sb.append(", productPrice=").append(productPrice); + sb.append(", productQuantity=").append(productQuantity); + sb.append(", productSkuId=").append(productSkuId); + sb.append(", productSkuCode=").append(productSkuCode); + sb.append(", productCategoryId=").append(productCategoryId); + sb.append(", sp1=").append(sp1); + sb.append(", sp2=").append(sp2); + sb.append(", sp3=").append(sp3); + sb.append(", promotionName=").append(promotionName); + sb.append(", promotionAmount=").append(promotionAmount); + sb.append(", couponAmount=").append(couponAmount); + sb.append(", integrationAmount=").append(integrationAmount); + sb.append(", realAmount=").append(realAmount); + sb.append(", giftIntegration=").append(giftIntegration); + sb.append(", giftGrowth=").append(giftGrowth); + sb.append(", productAttr=").append(productAttr); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderItemExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderItemExample.java new file mode 100644 index 0000000..b252e65 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderItemExample.java @@ -0,0 +1,1751 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class OmsOrderItemExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public OmsOrderItemExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andOrderIdIsNull() { + addCriterion("order_id is null"); + return (Criteria) this; + } + + public Criteria andOrderIdIsNotNull() { + addCriterion("order_id is not null"); + return (Criteria) this; + } + + public Criteria andOrderIdEqualTo(Long value) { + addCriterion("order_id =", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotEqualTo(Long value) { + addCriterion("order_id <>", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThan(Long value) { + addCriterion("order_id >", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThanOrEqualTo(Long value) { + addCriterion("order_id >=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThan(Long value) { + addCriterion("order_id <", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThanOrEqualTo(Long value) { + addCriterion("order_id <=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdIn(List values) { + addCriterion("order_id in", values, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotIn(List values) { + addCriterion("order_id not in", values, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdBetween(Long value1, Long value2) { + addCriterion("order_id between", value1, value2, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotBetween(Long value1, Long value2) { + addCriterion("order_id not between", value1, value2, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderSnIsNull() { + addCriterion("order_sn is null"); + return (Criteria) this; + } + + public Criteria andOrderSnIsNotNull() { + addCriterion("order_sn is not null"); + return (Criteria) this; + } + + public Criteria andOrderSnEqualTo(String value) { + addCriterion("order_sn =", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotEqualTo(String value) { + addCriterion("order_sn <>", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnGreaterThan(String value) { + addCriterion("order_sn >", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnGreaterThanOrEqualTo(String value) { + addCriterion("order_sn >=", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnLessThan(String value) { + addCriterion("order_sn <", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnLessThanOrEqualTo(String value) { + addCriterion("order_sn <=", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnLike(String value) { + addCriterion("order_sn like", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotLike(String value) { + addCriterion("order_sn not like", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnIn(List values) { + addCriterion("order_sn in", values, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotIn(List values) { + addCriterion("order_sn not in", values, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnBetween(String value1, String value2) { + addCriterion("order_sn between", value1, value2, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotBetween(String value1, String value2) { + addCriterion("order_sn not between", value1, value2, "orderSn"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductPicIsNull() { + addCriterion("product_pic is null"); + return (Criteria) this; + } + + public Criteria andProductPicIsNotNull() { + addCriterion("product_pic is not null"); + return (Criteria) this; + } + + public Criteria andProductPicEqualTo(String value) { + addCriterion("product_pic =", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicNotEqualTo(String value) { + addCriterion("product_pic <>", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicGreaterThan(String value) { + addCriterion("product_pic >", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicGreaterThanOrEqualTo(String value) { + addCriterion("product_pic >=", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicLessThan(String value) { + addCriterion("product_pic <", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicLessThanOrEqualTo(String value) { + addCriterion("product_pic <=", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicLike(String value) { + addCriterion("product_pic like", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicNotLike(String value) { + addCriterion("product_pic not like", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicIn(List values) { + addCriterion("product_pic in", values, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicNotIn(List values) { + addCriterion("product_pic not in", values, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicBetween(String value1, String value2) { + addCriterion("product_pic between", value1, value2, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicNotBetween(String value1, String value2) { + addCriterion("product_pic not between", value1, value2, "productPic"); + return (Criteria) this; + } + + public Criteria andProductNameIsNull() { + addCriterion("product_name is null"); + return (Criteria) this; + } + + public Criteria andProductNameIsNotNull() { + addCriterion("product_name is not null"); + return (Criteria) this; + } + + public Criteria andProductNameEqualTo(String value) { + addCriterion("product_name =", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotEqualTo(String value) { + addCriterion("product_name <>", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThan(String value) { + addCriterion("product_name >", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThanOrEqualTo(String value) { + addCriterion("product_name >=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThan(String value) { + addCriterion("product_name <", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThanOrEqualTo(String value) { + addCriterion("product_name <=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLike(String value) { + addCriterion("product_name like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotLike(String value) { + addCriterion("product_name not like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameIn(List values) { + addCriterion("product_name in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotIn(List values) { + addCriterion("product_name not in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameBetween(String value1, String value2) { + addCriterion("product_name between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotBetween(String value1, String value2) { + addCriterion("product_name not between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductBrandIsNull() { + addCriterion("product_brand is null"); + return (Criteria) this; + } + + public Criteria andProductBrandIsNotNull() { + addCriterion("product_brand is not null"); + return (Criteria) this; + } + + public Criteria andProductBrandEqualTo(String value) { + addCriterion("product_brand =", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandNotEqualTo(String value) { + addCriterion("product_brand <>", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandGreaterThan(String value) { + addCriterion("product_brand >", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandGreaterThanOrEqualTo(String value) { + addCriterion("product_brand >=", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandLessThan(String value) { + addCriterion("product_brand <", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandLessThanOrEqualTo(String value) { + addCriterion("product_brand <=", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandLike(String value) { + addCriterion("product_brand like", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandNotLike(String value) { + addCriterion("product_brand not like", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandIn(List values) { + addCriterion("product_brand in", values, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandNotIn(List values) { + addCriterion("product_brand not in", values, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandBetween(String value1, String value2) { + addCriterion("product_brand between", value1, value2, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandNotBetween(String value1, String value2) { + addCriterion("product_brand not between", value1, value2, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductSnIsNull() { + addCriterion("product_sn is null"); + return (Criteria) this; + } + + public Criteria andProductSnIsNotNull() { + addCriterion("product_sn is not null"); + return (Criteria) this; + } + + public Criteria andProductSnEqualTo(String value) { + addCriterion("product_sn =", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotEqualTo(String value) { + addCriterion("product_sn <>", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnGreaterThan(String value) { + addCriterion("product_sn >", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnGreaterThanOrEqualTo(String value) { + addCriterion("product_sn >=", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnLessThan(String value) { + addCriterion("product_sn <", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnLessThanOrEqualTo(String value) { + addCriterion("product_sn <=", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnLike(String value) { + addCriterion("product_sn like", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotLike(String value) { + addCriterion("product_sn not like", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnIn(List values) { + addCriterion("product_sn in", values, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotIn(List values) { + addCriterion("product_sn not in", values, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnBetween(String value1, String value2) { + addCriterion("product_sn between", value1, value2, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotBetween(String value1, String value2) { + addCriterion("product_sn not between", value1, value2, "productSn"); + return (Criteria) this; + } + + public Criteria andProductPriceIsNull() { + addCriterion("product_price is null"); + return (Criteria) this; + } + + public Criteria andProductPriceIsNotNull() { + addCriterion("product_price is not null"); + return (Criteria) this; + } + + public Criteria andProductPriceEqualTo(BigDecimal value) { + addCriterion("product_price =", value, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceNotEqualTo(BigDecimal value) { + addCriterion("product_price <>", value, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceGreaterThan(BigDecimal value) { + addCriterion("product_price >", value, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("product_price >=", value, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceLessThan(BigDecimal value) { + addCriterion("product_price <", value, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("product_price <=", value, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceIn(List values) { + addCriterion("product_price in", values, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceNotIn(List values) { + addCriterion("product_price not in", values, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("product_price between", value1, value2, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("product_price not between", value1, value2, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductQuantityIsNull() { + addCriterion("product_quantity is null"); + return (Criteria) this; + } + + public Criteria andProductQuantityIsNotNull() { + addCriterion("product_quantity is not null"); + return (Criteria) this; + } + + public Criteria andProductQuantityEqualTo(Integer value) { + addCriterion("product_quantity =", value, "productQuantity"); + return (Criteria) this; + } + + public Criteria andProductQuantityNotEqualTo(Integer value) { + addCriterion("product_quantity <>", value, "productQuantity"); + return (Criteria) this; + } + + public Criteria andProductQuantityGreaterThan(Integer value) { + addCriterion("product_quantity >", value, "productQuantity"); + return (Criteria) this; + } + + public Criteria andProductQuantityGreaterThanOrEqualTo(Integer value) { + addCriterion("product_quantity >=", value, "productQuantity"); + return (Criteria) this; + } + + public Criteria andProductQuantityLessThan(Integer value) { + addCriterion("product_quantity <", value, "productQuantity"); + return (Criteria) this; + } + + public Criteria andProductQuantityLessThanOrEqualTo(Integer value) { + addCriterion("product_quantity <=", value, "productQuantity"); + return (Criteria) this; + } + + public Criteria andProductQuantityIn(List values) { + addCriterion("product_quantity in", values, "productQuantity"); + return (Criteria) this; + } + + public Criteria andProductQuantityNotIn(List values) { + addCriterion("product_quantity not in", values, "productQuantity"); + return (Criteria) this; + } + + public Criteria andProductQuantityBetween(Integer value1, Integer value2) { + addCriterion("product_quantity between", value1, value2, "productQuantity"); + return (Criteria) this; + } + + public Criteria andProductQuantityNotBetween(Integer value1, Integer value2) { + addCriterion("product_quantity not between", value1, value2, "productQuantity"); + return (Criteria) this; + } + + public Criteria andProductSkuIdIsNull() { + addCriterion("product_sku_id is null"); + return (Criteria) this; + } + + public Criteria andProductSkuIdIsNotNull() { + addCriterion("product_sku_id is not null"); + return (Criteria) this; + } + + public Criteria andProductSkuIdEqualTo(Long value) { + addCriterion("product_sku_id =", value, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdNotEqualTo(Long value) { + addCriterion("product_sku_id <>", value, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdGreaterThan(Long value) { + addCriterion("product_sku_id >", value, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_sku_id >=", value, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdLessThan(Long value) { + addCriterion("product_sku_id <", value, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdLessThanOrEqualTo(Long value) { + addCriterion("product_sku_id <=", value, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdIn(List values) { + addCriterion("product_sku_id in", values, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdNotIn(List values) { + addCriterion("product_sku_id not in", values, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdBetween(Long value1, Long value2) { + addCriterion("product_sku_id between", value1, value2, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuIdNotBetween(Long value1, Long value2) { + addCriterion("product_sku_id not between", value1, value2, "productSkuId"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeIsNull() { + addCriterion("product_sku_code is null"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeIsNotNull() { + addCriterion("product_sku_code is not null"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeEqualTo(String value) { + addCriterion("product_sku_code =", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeNotEqualTo(String value) { + addCriterion("product_sku_code <>", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeGreaterThan(String value) { + addCriterion("product_sku_code >", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeGreaterThanOrEqualTo(String value) { + addCriterion("product_sku_code >=", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeLessThan(String value) { + addCriterion("product_sku_code <", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeLessThanOrEqualTo(String value) { + addCriterion("product_sku_code <=", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeLike(String value) { + addCriterion("product_sku_code like", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeNotLike(String value) { + addCriterion("product_sku_code not like", value, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeIn(List values) { + addCriterion("product_sku_code in", values, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeNotIn(List values) { + addCriterion("product_sku_code not in", values, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeBetween(String value1, String value2) { + addCriterion("product_sku_code between", value1, value2, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductSkuCodeNotBetween(String value1, String value2) { + addCriterion("product_sku_code not between", value1, value2, "productSkuCode"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNull() { + addCriterion("product_category_id is null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNotNull() { + addCriterion("product_category_id is not null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdEqualTo(Long value) { + addCriterion("product_category_id =", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotEqualTo(Long value) { + addCriterion("product_category_id <>", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThan(Long value) { + addCriterion("product_category_id >", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_category_id >=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThan(Long value) { + addCriterion("product_category_id <", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("product_category_id <=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIn(List values) { + addCriterion("product_category_id in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotIn(List values) { + addCriterion("product_category_id not in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdBetween(Long value1, Long value2) { + addCriterion("product_category_id between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("product_category_id not between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andSp1IsNull() { + addCriterion("sp1 is null"); + return (Criteria) this; + } + + public Criteria andSp1IsNotNull() { + addCriterion("sp1 is not null"); + return (Criteria) this; + } + + public Criteria andSp1EqualTo(String value) { + addCriterion("sp1 =", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotEqualTo(String value) { + addCriterion("sp1 <>", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1GreaterThan(String value) { + addCriterion("sp1 >", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1GreaterThanOrEqualTo(String value) { + addCriterion("sp1 >=", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1LessThan(String value) { + addCriterion("sp1 <", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1LessThanOrEqualTo(String value) { + addCriterion("sp1 <=", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1Like(String value) { + addCriterion("sp1 like", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotLike(String value) { + addCriterion("sp1 not like", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1In(List values) { + addCriterion("sp1 in", values, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotIn(List values) { + addCriterion("sp1 not in", values, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1Between(String value1, String value2) { + addCriterion("sp1 between", value1, value2, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotBetween(String value1, String value2) { + addCriterion("sp1 not between", value1, value2, "sp1"); + return (Criteria) this; + } + + public Criteria andSp2IsNull() { + addCriterion("sp2 is null"); + return (Criteria) this; + } + + public Criteria andSp2IsNotNull() { + addCriterion("sp2 is not null"); + return (Criteria) this; + } + + public Criteria andSp2EqualTo(String value) { + addCriterion("sp2 =", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotEqualTo(String value) { + addCriterion("sp2 <>", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2GreaterThan(String value) { + addCriterion("sp2 >", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2GreaterThanOrEqualTo(String value) { + addCriterion("sp2 >=", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2LessThan(String value) { + addCriterion("sp2 <", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2LessThanOrEqualTo(String value) { + addCriterion("sp2 <=", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2Like(String value) { + addCriterion("sp2 like", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotLike(String value) { + addCriterion("sp2 not like", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2In(List values) { + addCriterion("sp2 in", values, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotIn(List values) { + addCriterion("sp2 not in", values, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2Between(String value1, String value2) { + addCriterion("sp2 between", value1, value2, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotBetween(String value1, String value2) { + addCriterion("sp2 not between", value1, value2, "sp2"); + return (Criteria) this; + } + + public Criteria andSp3IsNull() { + addCriterion("sp3 is null"); + return (Criteria) this; + } + + public Criteria andSp3IsNotNull() { + addCriterion("sp3 is not null"); + return (Criteria) this; + } + + public Criteria andSp3EqualTo(String value) { + addCriterion("sp3 =", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotEqualTo(String value) { + addCriterion("sp3 <>", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3GreaterThan(String value) { + addCriterion("sp3 >", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3GreaterThanOrEqualTo(String value) { + addCriterion("sp3 >=", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3LessThan(String value) { + addCriterion("sp3 <", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3LessThanOrEqualTo(String value) { + addCriterion("sp3 <=", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3Like(String value) { + addCriterion("sp3 like", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotLike(String value) { + addCriterion("sp3 not like", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3In(List values) { + addCriterion("sp3 in", values, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotIn(List values) { + addCriterion("sp3 not in", values, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3Between(String value1, String value2) { + addCriterion("sp3 between", value1, value2, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotBetween(String value1, String value2) { + addCriterion("sp3 not between", value1, value2, "sp3"); + return (Criteria) this; + } + + public Criteria andPromotionNameIsNull() { + addCriterion("promotion_name is null"); + return (Criteria) this; + } + + public Criteria andPromotionNameIsNotNull() { + addCriterion("promotion_name is not null"); + return (Criteria) this; + } + + public Criteria andPromotionNameEqualTo(String value) { + addCriterion("promotion_name =", value, "promotionName"); + return (Criteria) this; + } + + public Criteria andPromotionNameNotEqualTo(String value) { + addCriterion("promotion_name <>", value, "promotionName"); + return (Criteria) this; + } + + public Criteria andPromotionNameGreaterThan(String value) { + addCriterion("promotion_name >", value, "promotionName"); + return (Criteria) this; + } + + public Criteria andPromotionNameGreaterThanOrEqualTo(String value) { + addCriterion("promotion_name >=", value, "promotionName"); + return (Criteria) this; + } + + public Criteria andPromotionNameLessThan(String value) { + addCriterion("promotion_name <", value, "promotionName"); + return (Criteria) this; + } + + public Criteria andPromotionNameLessThanOrEqualTo(String value) { + addCriterion("promotion_name <=", value, "promotionName"); + return (Criteria) this; + } + + public Criteria andPromotionNameLike(String value) { + addCriterion("promotion_name like", value, "promotionName"); + return (Criteria) this; + } + + public Criteria andPromotionNameNotLike(String value) { + addCriterion("promotion_name not like", value, "promotionName"); + return (Criteria) this; + } + + public Criteria andPromotionNameIn(List values) { + addCriterion("promotion_name in", values, "promotionName"); + return (Criteria) this; + } + + public Criteria andPromotionNameNotIn(List values) { + addCriterion("promotion_name not in", values, "promotionName"); + return (Criteria) this; + } + + public Criteria andPromotionNameBetween(String value1, String value2) { + addCriterion("promotion_name between", value1, value2, "promotionName"); + return (Criteria) this; + } + + public Criteria andPromotionNameNotBetween(String value1, String value2) { + addCriterion("promotion_name not between", value1, value2, "promotionName"); + return (Criteria) this; + } + + public Criteria andPromotionAmountIsNull() { + addCriterion("promotion_amount is null"); + return (Criteria) this; + } + + public Criteria andPromotionAmountIsNotNull() { + addCriterion("promotion_amount is not null"); + return (Criteria) this; + } + + public Criteria andPromotionAmountEqualTo(BigDecimal value) { + addCriterion("promotion_amount =", value, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountNotEqualTo(BigDecimal value) { + addCriterion("promotion_amount <>", value, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountGreaterThan(BigDecimal value) { + addCriterion("promotion_amount >", value, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("promotion_amount >=", value, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountLessThan(BigDecimal value) { + addCriterion("promotion_amount <", value, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("promotion_amount <=", value, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountIn(List values) { + addCriterion("promotion_amount in", values, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountNotIn(List values) { + addCriterion("promotion_amount not in", values, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("promotion_amount between", value1, value2, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andPromotionAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("promotion_amount not between", value1, value2, "promotionAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountIsNull() { + addCriterion("coupon_amount is null"); + return (Criteria) this; + } + + public Criteria andCouponAmountIsNotNull() { + addCriterion("coupon_amount is not null"); + return (Criteria) this; + } + + public Criteria andCouponAmountEqualTo(BigDecimal value) { + addCriterion("coupon_amount =", value, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountNotEqualTo(BigDecimal value) { + addCriterion("coupon_amount <>", value, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountGreaterThan(BigDecimal value) { + addCriterion("coupon_amount >", value, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("coupon_amount >=", value, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountLessThan(BigDecimal value) { + addCriterion("coupon_amount <", value, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("coupon_amount <=", value, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountIn(List values) { + addCriterion("coupon_amount in", values, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountNotIn(List values) { + addCriterion("coupon_amount not in", values, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("coupon_amount between", value1, value2, "couponAmount"); + return (Criteria) this; + } + + public Criteria andCouponAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("coupon_amount not between", value1, value2, "couponAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountIsNull() { + addCriterion("integration_amount is null"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountIsNotNull() { + addCriterion("integration_amount is not null"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountEqualTo(BigDecimal value) { + addCriterion("integration_amount =", value, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountNotEqualTo(BigDecimal value) { + addCriterion("integration_amount <>", value, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountGreaterThan(BigDecimal value) { + addCriterion("integration_amount >", value, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("integration_amount >=", value, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountLessThan(BigDecimal value) { + addCriterion("integration_amount <", value, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("integration_amount <=", value, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountIn(List values) { + addCriterion("integration_amount in", values, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountNotIn(List values) { + addCriterion("integration_amount not in", values, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("integration_amount between", value1, value2, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andIntegrationAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("integration_amount not between", value1, value2, "integrationAmount"); + return (Criteria) this; + } + + public Criteria andRealAmountIsNull() { + addCriterion("real_amount is null"); + return (Criteria) this; + } + + public Criteria andRealAmountIsNotNull() { + addCriterion("real_amount is not null"); + return (Criteria) this; + } + + public Criteria andRealAmountEqualTo(BigDecimal value) { + addCriterion("real_amount =", value, "realAmount"); + return (Criteria) this; + } + + public Criteria andRealAmountNotEqualTo(BigDecimal value) { + addCriterion("real_amount <>", value, "realAmount"); + return (Criteria) this; + } + + public Criteria andRealAmountGreaterThan(BigDecimal value) { + addCriterion("real_amount >", value, "realAmount"); + return (Criteria) this; + } + + public Criteria andRealAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("real_amount >=", value, "realAmount"); + return (Criteria) this; + } + + public Criteria andRealAmountLessThan(BigDecimal value) { + addCriterion("real_amount <", value, "realAmount"); + return (Criteria) this; + } + + public Criteria andRealAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("real_amount <=", value, "realAmount"); + return (Criteria) this; + } + + public Criteria andRealAmountIn(List values) { + addCriterion("real_amount in", values, "realAmount"); + return (Criteria) this; + } + + public Criteria andRealAmountNotIn(List values) { + addCriterion("real_amount not in", values, "realAmount"); + return (Criteria) this; + } + + public Criteria andRealAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("real_amount between", value1, value2, "realAmount"); + return (Criteria) this; + } + + public Criteria andRealAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("real_amount not between", value1, value2, "realAmount"); + return (Criteria) this; + } + + public Criteria andGiftIntegrationIsNull() { + addCriterion("gift_integration is null"); + return (Criteria) this; + } + + public Criteria andGiftIntegrationIsNotNull() { + addCriterion("gift_integration is not null"); + return (Criteria) this; + } + + public Criteria andGiftIntegrationEqualTo(Integer value) { + addCriterion("gift_integration =", value, "giftIntegration"); + return (Criteria) this; + } + + public Criteria andGiftIntegrationNotEqualTo(Integer value) { + addCriterion("gift_integration <>", value, "giftIntegration"); + return (Criteria) this; + } + + public Criteria andGiftIntegrationGreaterThan(Integer value) { + addCriterion("gift_integration >", value, "giftIntegration"); + return (Criteria) this; + } + + public Criteria andGiftIntegrationGreaterThanOrEqualTo(Integer value) { + addCriterion("gift_integration >=", value, "giftIntegration"); + return (Criteria) this; + } + + public Criteria andGiftIntegrationLessThan(Integer value) { + addCriterion("gift_integration <", value, "giftIntegration"); + return (Criteria) this; + } + + public Criteria andGiftIntegrationLessThanOrEqualTo(Integer value) { + addCriterion("gift_integration <=", value, "giftIntegration"); + return (Criteria) this; + } + + public Criteria andGiftIntegrationIn(List values) { + addCriterion("gift_integration in", values, "giftIntegration"); + return (Criteria) this; + } + + public Criteria andGiftIntegrationNotIn(List values) { + addCriterion("gift_integration not in", values, "giftIntegration"); + return (Criteria) this; + } + + public Criteria andGiftIntegrationBetween(Integer value1, Integer value2) { + addCriterion("gift_integration between", value1, value2, "giftIntegration"); + return (Criteria) this; + } + + public Criteria andGiftIntegrationNotBetween(Integer value1, Integer value2) { + addCriterion("gift_integration not between", value1, value2, "giftIntegration"); + return (Criteria) this; + } + + public Criteria andGiftGrowthIsNull() { + addCriterion("gift_growth is null"); + return (Criteria) this; + } + + public Criteria andGiftGrowthIsNotNull() { + addCriterion("gift_growth is not null"); + return (Criteria) this; + } + + public Criteria andGiftGrowthEqualTo(Integer value) { + addCriterion("gift_growth =", value, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthNotEqualTo(Integer value) { + addCriterion("gift_growth <>", value, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthGreaterThan(Integer value) { + addCriterion("gift_growth >", value, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthGreaterThanOrEqualTo(Integer value) { + addCriterion("gift_growth >=", value, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthLessThan(Integer value) { + addCriterion("gift_growth <", value, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthLessThanOrEqualTo(Integer value) { + addCriterion("gift_growth <=", value, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthIn(List values) { + addCriterion("gift_growth in", values, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthNotIn(List values) { + addCriterion("gift_growth not in", values, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthBetween(Integer value1, Integer value2) { + addCriterion("gift_growth between", value1, value2, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthNotBetween(Integer value1, Integer value2) { + addCriterion("gift_growth not between", value1, value2, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andProductAttrIsNull() { + addCriterion("product_attr is null"); + return (Criteria) this; + } + + public Criteria andProductAttrIsNotNull() { + addCriterion("product_attr is not null"); + return (Criteria) this; + } + + public Criteria andProductAttrEqualTo(String value) { + addCriterion("product_attr =", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrNotEqualTo(String value) { + addCriterion("product_attr <>", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrGreaterThan(String value) { + addCriterion("product_attr >", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrGreaterThanOrEqualTo(String value) { + addCriterion("product_attr >=", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrLessThan(String value) { + addCriterion("product_attr <", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrLessThanOrEqualTo(String value) { + addCriterion("product_attr <=", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrLike(String value) { + addCriterion("product_attr like", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrNotLike(String value) { + addCriterion("product_attr not like", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrIn(List values) { + addCriterion("product_attr in", values, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrNotIn(List values) { + addCriterion("product_attr not in", values, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrBetween(String value1, String value2) { + addCriterion("product_attr between", value1, value2, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrNotBetween(String value1, String value2) { + addCriterion("product_attr not between", value1, value2, "productAttr"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderOperateHistory.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderOperateHistory.java new file mode 100644 index 0000000..9d4c59d --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderOperateHistory.java @@ -0,0 +1,110 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class OmsOrderOperateHistory implements Serializable { + private Long id; + + /** + * 订单id + * + * @mbggenerated + */ + private Long orderId; + + /** + * 操作人:用户;系统;后台管理员 + * + * @mbggenerated + */ + private String operateMan; + + /** + * 操作时间 + * + * @mbggenerated + */ + private Date createTime; + + /** + * 订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单 + * + * @mbggenerated + */ + private Integer orderStatus; + + /** + * 备注 + * + * @mbggenerated + */ + private String note; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getOrderId() { + return orderId; + } + + public void setOrderId(Long orderId) { + this.orderId = orderId; + } + + public String getOperateMan() { + return operateMan; + } + + public void setOperateMan(String operateMan) { + this.operateMan = operateMan; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getOrderStatus() { + return orderStatus; + } + + public void setOrderStatus(Integer orderStatus) { + this.orderStatus = orderStatus; + } + + public String getNote() { + return note; + } + + public void setNote(String note) { + this.note = note; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", orderId=").append(orderId); + sb.append(", operateMan=").append(operateMan); + sb.append(", createTime=").append(createTime); + sb.append(", orderStatus=").append(orderStatus); + sb.append(", note=").append(note); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderOperateHistoryExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderOperateHistoryExample.java new file mode 100644 index 0000000..7eabb52 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderOperateHistoryExample.java @@ -0,0 +1,581 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class OmsOrderOperateHistoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public OmsOrderOperateHistoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andOrderIdIsNull() { + addCriterion("order_id is null"); + return (Criteria) this; + } + + public Criteria andOrderIdIsNotNull() { + addCriterion("order_id is not null"); + return (Criteria) this; + } + + public Criteria andOrderIdEqualTo(Long value) { + addCriterion("order_id =", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotEqualTo(Long value) { + addCriterion("order_id <>", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThan(Long value) { + addCriterion("order_id >", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThanOrEqualTo(Long value) { + addCriterion("order_id >=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThan(Long value) { + addCriterion("order_id <", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThanOrEqualTo(Long value) { + addCriterion("order_id <=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdIn(List values) { + addCriterion("order_id in", values, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotIn(List values) { + addCriterion("order_id not in", values, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdBetween(Long value1, Long value2) { + addCriterion("order_id between", value1, value2, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotBetween(Long value1, Long value2) { + addCriterion("order_id not between", value1, value2, "orderId"); + return (Criteria) this; + } + + public Criteria andOperateManIsNull() { + addCriterion("operate_man is null"); + return (Criteria) this; + } + + public Criteria andOperateManIsNotNull() { + addCriterion("operate_man is not null"); + return (Criteria) this; + } + + public Criteria andOperateManEqualTo(String value) { + addCriterion("operate_man =", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotEqualTo(String value) { + addCriterion("operate_man <>", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThan(String value) { + addCriterion("operate_man >", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThanOrEqualTo(String value) { + addCriterion("operate_man >=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThan(String value) { + addCriterion("operate_man <", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThanOrEqualTo(String value) { + addCriterion("operate_man <=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLike(String value) { + addCriterion("operate_man like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotLike(String value) { + addCriterion("operate_man not like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManIn(List values) { + addCriterion("operate_man in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotIn(List values) { + addCriterion("operate_man not in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManBetween(String value1, String value2) { + addCriterion("operate_man between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotBetween(String value1, String value2) { + addCriterion("operate_man not between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andOrderStatusIsNull() { + addCriterion("order_status is null"); + return (Criteria) this; + } + + public Criteria andOrderStatusIsNotNull() { + addCriterion("order_status is not null"); + return (Criteria) this; + } + + public Criteria andOrderStatusEqualTo(Integer value) { + addCriterion("order_status =", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusNotEqualTo(Integer value) { + addCriterion("order_status <>", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusGreaterThan(Integer value) { + addCriterion("order_status >", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("order_status >=", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusLessThan(Integer value) { + addCriterion("order_status <", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusLessThanOrEqualTo(Integer value) { + addCriterion("order_status <=", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusIn(List values) { + addCriterion("order_status in", values, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusNotIn(List values) { + addCriterion("order_status not in", values, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusBetween(Integer value1, Integer value2) { + addCriterion("order_status between", value1, value2, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusNotBetween(Integer value1, Integer value2) { + addCriterion("order_status not between", value1, value2, "orderStatus"); + return (Criteria) this; + } + + public Criteria andNoteIsNull() { + addCriterion("note is null"); + return (Criteria) this; + } + + public Criteria andNoteIsNotNull() { + addCriterion("note is not null"); + return (Criteria) this; + } + + public Criteria andNoteEqualTo(String value) { + addCriterion("note =", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotEqualTo(String value) { + addCriterion("note <>", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThan(String value) { + addCriterion("note >", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThanOrEqualTo(String value) { + addCriterion("note >=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThan(String value) { + addCriterion("note <", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThanOrEqualTo(String value) { + addCriterion("note <=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLike(String value) { + addCriterion("note like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotLike(String value) { + addCriterion("note not like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteIn(List values) { + addCriterion("note in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotIn(List values) { + addCriterion("note not in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteBetween(String value1, String value2) { + addCriterion("note between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotBetween(String value1, String value2) { + addCriterion("note not between", value1, value2, "note"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnApply.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnApply.java new file mode 100644 index 0000000..d6e7e0e --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnApply.java @@ -0,0 +1,447 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class OmsOrderReturnApply implements Serializable { + private Long id; + + /** + * 订单id + * + * @mbggenerated + */ + private Long orderId; + + /** + * 收货地址表id + * + * @mbggenerated + */ + private Long companyAddressId; + + /** + * 退货商品id + * + * @mbggenerated + */ + private Long productId; + + /** + * 订单编号 + * + * @mbggenerated + */ + private String orderSn; + + /** + * 申请时间 + * + * @mbggenerated + */ + private Date createTime; + + /** + * 会员用户名 + * + * @mbggenerated + */ + private String memberUsername; + + /** + * 退款金额 + * + * @mbggenerated + */ + private BigDecimal returnAmount; + + /** + * 退货人姓名 + * + * @mbggenerated + */ + private String returnName; + + /** + * 退货人电话 + * + * @mbggenerated + */ + private String returnPhone; + + /** + * 申请状态:0->待处理;1->退货中;2->已完成;3->已拒绝 + * + * @mbggenerated + */ + private Integer status; + + /** + * 处理时间 + * + * @mbggenerated + */ + private Date handleTime; + + /** + * 商品图片 + * + * @mbggenerated + */ + private String productPic; + + /** + * 商品名称 + * + * @mbggenerated + */ + private String productName; + + /** + * 商品品牌 + * + * @mbggenerated + */ + private String productBrand; + + /** + * 商品销售属性:颜色:红色;尺码:xl; + * + * @mbggenerated + */ + private String productAttr; + + /** + * 退货数量 + * + * @mbggenerated + */ + private Integer productCount; + + /** + * 商品单价 + * + * @mbggenerated + */ + private BigDecimal productPrice; + + /** + * 商品实际支付单价 + * + * @mbggenerated + */ + private BigDecimal productRealPrice; + + /** + * 原因 + * + * @mbggenerated + */ + private String reason; + + /** + * 描述 + * + * @mbggenerated + */ + private String description; + + /** + * 凭证图片,以逗号隔开 + * + * @mbggenerated + */ + private String proofPics; + + /** + * 处理备注 + * + * @mbggenerated + */ + private String handleNote; + + /** + * 处理人员 + * + * @mbggenerated + */ + private String handleMan; + + /** + * 收货人 + * + * @mbggenerated + */ + private String receiveMan; + + /** + * 收货时间 + * + * @mbggenerated + */ + private Date receiveTime; + + /** + * 收货备注 + * + * @mbggenerated + */ + private String receiveNote; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getOrderId() { + return orderId; + } + + public void setOrderId(Long orderId) { + this.orderId = orderId; + } + + public Long getCompanyAddressId() { + return companyAddressId; + } + + public void setCompanyAddressId(Long companyAddressId) { + this.companyAddressId = companyAddressId; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public String getOrderSn() { + return orderSn; + } + + public void setOrderSn(String orderSn) { + this.orderSn = orderSn; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getMemberUsername() { + return memberUsername; + } + + public void setMemberUsername(String memberUsername) { + this.memberUsername = memberUsername; + } + + public BigDecimal getReturnAmount() { + return returnAmount; + } + + public void setReturnAmount(BigDecimal returnAmount) { + this.returnAmount = returnAmount; + } + + public String getReturnName() { + return returnName; + } + + public void setReturnName(String returnName) { + this.returnName = returnName; + } + + public String getReturnPhone() { + return returnPhone; + } + + public void setReturnPhone(String returnPhone) { + this.returnPhone = returnPhone; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Date getHandleTime() { + return handleTime; + } + + public void setHandleTime(Date handleTime) { + this.handleTime = handleTime; + } + + public String getProductPic() { + return productPic; + } + + public void setProductPic(String productPic) { + this.productPic = productPic; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public String getProductBrand() { + return productBrand; + } + + public void setProductBrand(String productBrand) { + this.productBrand = productBrand; + } + + public String getProductAttr() { + return productAttr; + } + + public void setProductAttr(String productAttr) { + this.productAttr = productAttr; + } + + public Integer getProductCount() { + return productCount; + } + + public void setProductCount(Integer productCount) { + this.productCount = productCount; + } + + public BigDecimal getProductPrice() { + return productPrice; + } + + public void setProductPrice(BigDecimal productPrice) { + this.productPrice = productPrice; + } + + public BigDecimal getProductRealPrice() { + return productRealPrice; + } + + public void setProductRealPrice(BigDecimal productRealPrice) { + this.productRealPrice = productRealPrice; + } + + public String getReason() { + return reason; + } + + public void setReason(String reason) { + this.reason = reason; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getProofPics() { + return proofPics; + } + + public void setProofPics(String proofPics) { + this.proofPics = proofPics; + } + + public String getHandleNote() { + return handleNote; + } + + public void setHandleNote(String handleNote) { + this.handleNote = handleNote; + } + + public String getHandleMan() { + return handleMan; + } + + public void setHandleMan(String handleMan) { + this.handleMan = handleMan; + } + + public String getReceiveMan() { + return receiveMan; + } + + public void setReceiveMan(String receiveMan) { + this.receiveMan = receiveMan; + } + + public Date getReceiveTime() { + return receiveTime; + } + + public void setReceiveTime(Date receiveTime) { + this.receiveTime = receiveTime; + } + + public String getReceiveNote() { + return receiveNote; + } + + public void setReceiveNote(String receiveNote) { + this.receiveNote = receiveNote; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", orderId=").append(orderId); + sb.append(", companyAddressId=").append(companyAddressId); + sb.append(", productId=").append(productId); + sb.append(", orderSn=").append(orderSn); + sb.append(", createTime=").append(createTime); + sb.append(", memberUsername=").append(memberUsername); + sb.append(", returnAmount=").append(returnAmount); + sb.append(", returnName=").append(returnName); + sb.append(", returnPhone=").append(returnPhone); + sb.append(", status=").append(status); + sb.append(", handleTime=").append(handleTime); + sb.append(", productPic=").append(productPic); + sb.append(", productName=").append(productName); + sb.append(", productBrand=").append(productBrand); + sb.append(", productAttr=").append(productAttr); + sb.append(", productCount=").append(productCount); + sb.append(", productPrice=").append(productPrice); + sb.append(", productRealPrice=").append(productRealPrice); + sb.append(", reason=").append(reason); + sb.append(", description=").append(description); + sb.append(", proofPics=").append(proofPics); + sb.append(", handleNote=").append(handleNote); + sb.append(", handleMan=").append(handleMan); + sb.append(", receiveMan=").append(receiveMan); + sb.append(", receiveTime=").append(receiveTime); + sb.append(", receiveNote=").append(receiveNote); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnApplyExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnApplyExample.java new file mode 100644 index 0000000..314ae3a --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnApplyExample.java @@ -0,0 +1,1972 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class OmsOrderReturnApplyExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public OmsOrderReturnApplyExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andOrderIdIsNull() { + addCriterion("order_id is null"); + return (Criteria) this; + } + + public Criteria andOrderIdIsNotNull() { + addCriterion("order_id is not null"); + return (Criteria) this; + } + + public Criteria andOrderIdEqualTo(Long value) { + addCriterion("order_id =", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotEqualTo(Long value) { + addCriterion("order_id <>", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThan(Long value) { + addCriterion("order_id >", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThanOrEqualTo(Long value) { + addCriterion("order_id >=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThan(Long value) { + addCriterion("order_id <", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThanOrEqualTo(Long value) { + addCriterion("order_id <=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdIn(List values) { + addCriterion("order_id in", values, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotIn(List values) { + addCriterion("order_id not in", values, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdBetween(Long value1, Long value2) { + addCriterion("order_id between", value1, value2, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotBetween(Long value1, Long value2) { + addCriterion("order_id not between", value1, value2, "orderId"); + return (Criteria) this; + } + + public Criteria andCompanyAddressIdIsNull() { + addCriterion("company_address_id is null"); + return (Criteria) this; + } + + public Criteria andCompanyAddressIdIsNotNull() { + addCriterion("company_address_id is not null"); + return (Criteria) this; + } + + public Criteria andCompanyAddressIdEqualTo(Long value) { + addCriterion("company_address_id =", value, "companyAddressId"); + return (Criteria) this; + } + + public Criteria andCompanyAddressIdNotEqualTo(Long value) { + addCriterion("company_address_id <>", value, "companyAddressId"); + return (Criteria) this; + } + + public Criteria andCompanyAddressIdGreaterThan(Long value) { + addCriterion("company_address_id >", value, "companyAddressId"); + return (Criteria) this; + } + + public Criteria andCompanyAddressIdGreaterThanOrEqualTo(Long value) { + addCriterion("company_address_id >=", value, "companyAddressId"); + return (Criteria) this; + } + + public Criteria andCompanyAddressIdLessThan(Long value) { + addCriterion("company_address_id <", value, "companyAddressId"); + return (Criteria) this; + } + + public Criteria andCompanyAddressIdLessThanOrEqualTo(Long value) { + addCriterion("company_address_id <=", value, "companyAddressId"); + return (Criteria) this; + } + + public Criteria andCompanyAddressIdIn(List values) { + addCriterion("company_address_id in", values, "companyAddressId"); + return (Criteria) this; + } + + public Criteria andCompanyAddressIdNotIn(List values) { + addCriterion("company_address_id not in", values, "companyAddressId"); + return (Criteria) this; + } + + public Criteria andCompanyAddressIdBetween(Long value1, Long value2) { + addCriterion("company_address_id between", value1, value2, "companyAddressId"); + return (Criteria) this; + } + + public Criteria andCompanyAddressIdNotBetween(Long value1, Long value2) { + addCriterion("company_address_id not between", value1, value2, "companyAddressId"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andOrderSnIsNull() { + addCriterion("order_sn is null"); + return (Criteria) this; + } + + public Criteria andOrderSnIsNotNull() { + addCriterion("order_sn is not null"); + return (Criteria) this; + } + + public Criteria andOrderSnEqualTo(String value) { + addCriterion("order_sn =", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotEqualTo(String value) { + addCriterion("order_sn <>", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnGreaterThan(String value) { + addCriterion("order_sn >", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnGreaterThanOrEqualTo(String value) { + addCriterion("order_sn >=", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnLessThan(String value) { + addCriterion("order_sn <", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnLessThanOrEqualTo(String value) { + addCriterion("order_sn <=", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnLike(String value) { + addCriterion("order_sn like", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotLike(String value) { + addCriterion("order_sn not like", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnIn(List values) { + addCriterion("order_sn in", values, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotIn(List values) { + addCriterion("order_sn not in", values, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnBetween(String value1, String value2) { + addCriterion("order_sn between", value1, value2, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotBetween(String value1, String value2) { + addCriterion("order_sn not between", value1, value2, "orderSn"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andMemberUsernameIsNull() { + addCriterion("member_username is null"); + return (Criteria) this; + } + + public Criteria andMemberUsernameIsNotNull() { + addCriterion("member_username is not null"); + return (Criteria) this; + } + + public Criteria andMemberUsernameEqualTo(String value) { + addCriterion("member_username =", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameNotEqualTo(String value) { + addCriterion("member_username <>", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameGreaterThan(String value) { + addCriterion("member_username >", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameGreaterThanOrEqualTo(String value) { + addCriterion("member_username >=", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameLessThan(String value) { + addCriterion("member_username <", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameLessThanOrEqualTo(String value) { + addCriterion("member_username <=", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameLike(String value) { + addCriterion("member_username like", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameNotLike(String value) { + addCriterion("member_username not like", value, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameIn(List values) { + addCriterion("member_username in", values, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameNotIn(List values) { + addCriterion("member_username not in", values, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameBetween(String value1, String value2) { + addCriterion("member_username between", value1, value2, "memberUsername"); + return (Criteria) this; + } + + public Criteria andMemberUsernameNotBetween(String value1, String value2) { + addCriterion("member_username not between", value1, value2, "memberUsername"); + return (Criteria) this; + } + + public Criteria andReturnAmountIsNull() { + addCriterion("return_amount is null"); + return (Criteria) this; + } + + public Criteria andReturnAmountIsNotNull() { + addCriterion("return_amount is not null"); + return (Criteria) this; + } + + public Criteria andReturnAmountEqualTo(BigDecimal value) { + addCriterion("return_amount =", value, "returnAmount"); + return (Criteria) this; + } + + public Criteria andReturnAmountNotEqualTo(BigDecimal value) { + addCriterion("return_amount <>", value, "returnAmount"); + return (Criteria) this; + } + + public Criteria andReturnAmountGreaterThan(BigDecimal value) { + addCriterion("return_amount >", value, "returnAmount"); + return (Criteria) this; + } + + public Criteria andReturnAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("return_amount >=", value, "returnAmount"); + return (Criteria) this; + } + + public Criteria andReturnAmountLessThan(BigDecimal value) { + addCriterion("return_amount <", value, "returnAmount"); + return (Criteria) this; + } + + public Criteria andReturnAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("return_amount <=", value, "returnAmount"); + return (Criteria) this; + } + + public Criteria andReturnAmountIn(List values) { + addCriterion("return_amount in", values, "returnAmount"); + return (Criteria) this; + } + + public Criteria andReturnAmountNotIn(List values) { + addCriterion("return_amount not in", values, "returnAmount"); + return (Criteria) this; + } + + public Criteria andReturnAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("return_amount between", value1, value2, "returnAmount"); + return (Criteria) this; + } + + public Criteria andReturnAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("return_amount not between", value1, value2, "returnAmount"); + return (Criteria) this; + } + + public Criteria andReturnNameIsNull() { + addCriterion("return_name is null"); + return (Criteria) this; + } + + public Criteria andReturnNameIsNotNull() { + addCriterion("return_name is not null"); + return (Criteria) this; + } + + public Criteria andReturnNameEqualTo(String value) { + addCriterion("return_name =", value, "returnName"); + return (Criteria) this; + } + + public Criteria andReturnNameNotEqualTo(String value) { + addCriterion("return_name <>", value, "returnName"); + return (Criteria) this; + } + + public Criteria andReturnNameGreaterThan(String value) { + addCriterion("return_name >", value, "returnName"); + return (Criteria) this; + } + + public Criteria andReturnNameGreaterThanOrEqualTo(String value) { + addCriterion("return_name >=", value, "returnName"); + return (Criteria) this; + } + + public Criteria andReturnNameLessThan(String value) { + addCriterion("return_name <", value, "returnName"); + return (Criteria) this; + } + + public Criteria andReturnNameLessThanOrEqualTo(String value) { + addCriterion("return_name <=", value, "returnName"); + return (Criteria) this; + } + + public Criteria andReturnNameLike(String value) { + addCriterion("return_name like", value, "returnName"); + return (Criteria) this; + } + + public Criteria andReturnNameNotLike(String value) { + addCriterion("return_name not like", value, "returnName"); + return (Criteria) this; + } + + public Criteria andReturnNameIn(List values) { + addCriterion("return_name in", values, "returnName"); + return (Criteria) this; + } + + public Criteria andReturnNameNotIn(List values) { + addCriterion("return_name not in", values, "returnName"); + return (Criteria) this; + } + + public Criteria andReturnNameBetween(String value1, String value2) { + addCriterion("return_name between", value1, value2, "returnName"); + return (Criteria) this; + } + + public Criteria andReturnNameNotBetween(String value1, String value2) { + addCriterion("return_name not between", value1, value2, "returnName"); + return (Criteria) this; + } + + public Criteria andReturnPhoneIsNull() { + addCriterion("return_phone is null"); + return (Criteria) this; + } + + public Criteria andReturnPhoneIsNotNull() { + addCriterion("return_phone is not null"); + return (Criteria) this; + } + + public Criteria andReturnPhoneEqualTo(String value) { + addCriterion("return_phone =", value, "returnPhone"); + return (Criteria) this; + } + + public Criteria andReturnPhoneNotEqualTo(String value) { + addCriterion("return_phone <>", value, "returnPhone"); + return (Criteria) this; + } + + public Criteria andReturnPhoneGreaterThan(String value) { + addCriterion("return_phone >", value, "returnPhone"); + return (Criteria) this; + } + + public Criteria andReturnPhoneGreaterThanOrEqualTo(String value) { + addCriterion("return_phone >=", value, "returnPhone"); + return (Criteria) this; + } + + public Criteria andReturnPhoneLessThan(String value) { + addCriterion("return_phone <", value, "returnPhone"); + return (Criteria) this; + } + + public Criteria andReturnPhoneLessThanOrEqualTo(String value) { + addCriterion("return_phone <=", value, "returnPhone"); + return (Criteria) this; + } + + public Criteria andReturnPhoneLike(String value) { + addCriterion("return_phone like", value, "returnPhone"); + return (Criteria) this; + } + + public Criteria andReturnPhoneNotLike(String value) { + addCriterion("return_phone not like", value, "returnPhone"); + return (Criteria) this; + } + + public Criteria andReturnPhoneIn(List values) { + addCriterion("return_phone in", values, "returnPhone"); + return (Criteria) this; + } + + public Criteria andReturnPhoneNotIn(List values) { + addCriterion("return_phone not in", values, "returnPhone"); + return (Criteria) this; + } + + public Criteria andReturnPhoneBetween(String value1, String value2) { + addCriterion("return_phone between", value1, value2, "returnPhone"); + return (Criteria) this; + } + + public Criteria andReturnPhoneNotBetween(String value1, String value2) { + addCriterion("return_phone not between", value1, value2, "returnPhone"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andHandleTimeIsNull() { + addCriterion("handle_time is null"); + return (Criteria) this; + } + + public Criteria andHandleTimeIsNotNull() { + addCriterion("handle_time is not null"); + return (Criteria) this; + } + + public Criteria andHandleTimeEqualTo(Date value) { + addCriterion("handle_time =", value, "handleTime"); + return (Criteria) this; + } + + public Criteria andHandleTimeNotEqualTo(Date value) { + addCriterion("handle_time <>", value, "handleTime"); + return (Criteria) this; + } + + public Criteria andHandleTimeGreaterThan(Date value) { + addCriterion("handle_time >", value, "handleTime"); + return (Criteria) this; + } + + public Criteria andHandleTimeGreaterThanOrEqualTo(Date value) { + addCriterion("handle_time >=", value, "handleTime"); + return (Criteria) this; + } + + public Criteria andHandleTimeLessThan(Date value) { + addCriterion("handle_time <", value, "handleTime"); + return (Criteria) this; + } + + public Criteria andHandleTimeLessThanOrEqualTo(Date value) { + addCriterion("handle_time <=", value, "handleTime"); + return (Criteria) this; + } + + public Criteria andHandleTimeIn(List values) { + addCriterion("handle_time in", values, "handleTime"); + return (Criteria) this; + } + + public Criteria andHandleTimeNotIn(List values) { + addCriterion("handle_time not in", values, "handleTime"); + return (Criteria) this; + } + + public Criteria andHandleTimeBetween(Date value1, Date value2) { + addCriterion("handle_time between", value1, value2, "handleTime"); + return (Criteria) this; + } + + public Criteria andHandleTimeNotBetween(Date value1, Date value2) { + addCriterion("handle_time not between", value1, value2, "handleTime"); + return (Criteria) this; + } + + public Criteria andProductPicIsNull() { + addCriterion("product_pic is null"); + return (Criteria) this; + } + + public Criteria andProductPicIsNotNull() { + addCriterion("product_pic is not null"); + return (Criteria) this; + } + + public Criteria andProductPicEqualTo(String value) { + addCriterion("product_pic =", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicNotEqualTo(String value) { + addCriterion("product_pic <>", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicGreaterThan(String value) { + addCriterion("product_pic >", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicGreaterThanOrEqualTo(String value) { + addCriterion("product_pic >=", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicLessThan(String value) { + addCriterion("product_pic <", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicLessThanOrEqualTo(String value) { + addCriterion("product_pic <=", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicLike(String value) { + addCriterion("product_pic like", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicNotLike(String value) { + addCriterion("product_pic not like", value, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicIn(List values) { + addCriterion("product_pic in", values, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicNotIn(List values) { + addCriterion("product_pic not in", values, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicBetween(String value1, String value2) { + addCriterion("product_pic between", value1, value2, "productPic"); + return (Criteria) this; + } + + public Criteria andProductPicNotBetween(String value1, String value2) { + addCriterion("product_pic not between", value1, value2, "productPic"); + return (Criteria) this; + } + + public Criteria andProductNameIsNull() { + addCriterion("product_name is null"); + return (Criteria) this; + } + + public Criteria andProductNameIsNotNull() { + addCriterion("product_name is not null"); + return (Criteria) this; + } + + public Criteria andProductNameEqualTo(String value) { + addCriterion("product_name =", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotEqualTo(String value) { + addCriterion("product_name <>", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThan(String value) { + addCriterion("product_name >", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThanOrEqualTo(String value) { + addCriterion("product_name >=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThan(String value) { + addCriterion("product_name <", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThanOrEqualTo(String value) { + addCriterion("product_name <=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLike(String value) { + addCriterion("product_name like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotLike(String value) { + addCriterion("product_name not like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameIn(List values) { + addCriterion("product_name in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotIn(List values) { + addCriterion("product_name not in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameBetween(String value1, String value2) { + addCriterion("product_name between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotBetween(String value1, String value2) { + addCriterion("product_name not between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductBrandIsNull() { + addCriterion("product_brand is null"); + return (Criteria) this; + } + + public Criteria andProductBrandIsNotNull() { + addCriterion("product_brand is not null"); + return (Criteria) this; + } + + public Criteria andProductBrandEqualTo(String value) { + addCriterion("product_brand =", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandNotEqualTo(String value) { + addCriterion("product_brand <>", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandGreaterThan(String value) { + addCriterion("product_brand >", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandGreaterThanOrEqualTo(String value) { + addCriterion("product_brand >=", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandLessThan(String value) { + addCriterion("product_brand <", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandLessThanOrEqualTo(String value) { + addCriterion("product_brand <=", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandLike(String value) { + addCriterion("product_brand like", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandNotLike(String value) { + addCriterion("product_brand not like", value, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandIn(List values) { + addCriterion("product_brand in", values, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandNotIn(List values) { + addCriterion("product_brand not in", values, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandBetween(String value1, String value2) { + addCriterion("product_brand between", value1, value2, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductBrandNotBetween(String value1, String value2) { + addCriterion("product_brand not between", value1, value2, "productBrand"); + return (Criteria) this; + } + + public Criteria andProductAttrIsNull() { + addCriterion("product_attr is null"); + return (Criteria) this; + } + + public Criteria andProductAttrIsNotNull() { + addCriterion("product_attr is not null"); + return (Criteria) this; + } + + public Criteria andProductAttrEqualTo(String value) { + addCriterion("product_attr =", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrNotEqualTo(String value) { + addCriterion("product_attr <>", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrGreaterThan(String value) { + addCriterion("product_attr >", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrGreaterThanOrEqualTo(String value) { + addCriterion("product_attr >=", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrLessThan(String value) { + addCriterion("product_attr <", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrLessThanOrEqualTo(String value) { + addCriterion("product_attr <=", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrLike(String value) { + addCriterion("product_attr like", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrNotLike(String value) { + addCriterion("product_attr not like", value, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrIn(List values) { + addCriterion("product_attr in", values, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrNotIn(List values) { + addCriterion("product_attr not in", values, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrBetween(String value1, String value2) { + addCriterion("product_attr between", value1, value2, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductAttrNotBetween(String value1, String value2) { + addCriterion("product_attr not between", value1, value2, "productAttr"); + return (Criteria) this; + } + + public Criteria andProductCountIsNull() { + addCriterion("product_count is null"); + return (Criteria) this; + } + + public Criteria andProductCountIsNotNull() { + addCriterion("product_count is not null"); + return (Criteria) this; + } + + public Criteria andProductCountEqualTo(Integer value) { + addCriterion("product_count =", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotEqualTo(Integer value) { + addCriterion("product_count <>", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountGreaterThan(Integer value) { + addCriterion("product_count >", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountGreaterThanOrEqualTo(Integer value) { + addCriterion("product_count >=", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountLessThan(Integer value) { + addCriterion("product_count <", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountLessThanOrEqualTo(Integer value) { + addCriterion("product_count <=", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountIn(List values) { + addCriterion("product_count in", values, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotIn(List values) { + addCriterion("product_count not in", values, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountBetween(Integer value1, Integer value2) { + addCriterion("product_count between", value1, value2, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotBetween(Integer value1, Integer value2) { + addCriterion("product_count not between", value1, value2, "productCount"); + return (Criteria) this; + } + + public Criteria andProductPriceIsNull() { + addCriterion("product_price is null"); + return (Criteria) this; + } + + public Criteria andProductPriceIsNotNull() { + addCriterion("product_price is not null"); + return (Criteria) this; + } + + public Criteria andProductPriceEqualTo(BigDecimal value) { + addCriterion("product_price =", value, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceNotEqualTo(BigDecimal value) { + addCriterion("product_price <>", value, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceGreaterThan(BigDecimal value) { + addCriterion("product_price >", value, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("product_price >=", value, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceLessThan(BigDecimal value) { + addCriterion("product_price <", value, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("product_price <=", value, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceIn(List values) { + addCriterion("product_price in", values, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceNotIn(List values) { + addCriterion("product_price not in", values, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("product_price between", value1, value2, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("product_price not between", value1, value2, "productPrice"); + return (Criteria) this; + } + + public Criteria andProductRealPriceIsNull() { + addCriterion("product_real_price is null"); + return (Criteria) this; + } + + public Criteria andProductRealPriceIsNotNull() { + addCriterion("product_real_price is not null"); + return (Criteria) this; + } + + public Criteria andProductRealPriceEqualTo(BigDecimal value) { + addCriterion("product_real_price =", value, "productRealPrice"); + return (Criteria) this; + } + + public Criteria andProductRealPriceNotEqualTo(BigDecimal value) { + addCriterion("product_real_price <>", value, "productRealPrice"); + return (Criteria) this; + } + + public Criteria andProductRealPriceGreaterThan(BigDecimal value) { + addCriterion("product_real_price >", value, "productRealPrice"); + return (Criteria) this; + } + + public Criteria andProductRealPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("product_real_price >=", value, "productRealPrice"); + return (Criteria) this; + } + + public Criteria andProductRealPriceLessThan(BigDecimal value) { + addCriterion("product_real_price <", value, "productRealPrice"); + return (Criteria) this; + } + + public Criteria andProductRealPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("product_real_price <=", value, "productRealPrice"); + return (Criteria) this; + } + + public Criteria andProductRealPriceIn(List values) { + addCriterion("product_real_price in", values, "productRealPrice"); + return (Criteria) this; + } + + public Criteria andProductRealPriceNotIn(List values) { + addCriterion("product_real_price not in", values, "productRealPrice"); + return (Criteria) this; + } + + public Criteria andProductRealPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("product_real_price between", value1, value2, "productRealPrice"); + return (Criteria) this; + } + + public Criteria andProductRealPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("product_real_price not between", value1, value2, "productRealPrice"); + return (Criteria) this; + } + + public Criteria andReasonIsNull() { + addCriterion("reason is null"); + return (Criteria) this; + } + + public Criteria andReasonIsNotNull() { + addCriterion("reason is not null"); + return (Criteria) this; + } + + public Criteria andReasonEqualTo(String value) { + addCriterion("reason =", value, "reason"); + return (Criteria) this; + } + + public Criteria andReasonNotEqualTo(String value) { + addCriterion("reason <>", value, "reason"); + return (Criteria) this; + } + + public Criteria andReasonGreaterThan(String value) { + addCriterion("reason >", value, "reason"); + return (Criteria) this; + } + + public Criteria andReasonGreaterThanOrEqualTo(String value) { + addCriterion("reason >=", value, "reason"); + return (Criteria) this; + } + + public Criteria andReasonLessThan(String value) { + addCriterion("reason <", value, "reason"); + return (Criteria) this; + } + + public Criteria andReasonLessThanOrEqualTo(String value) { + addCriterion("reason <=", value, "reason"); + return (Criteria) this; + } + + public Criteria andReasonLike(String value) { + addCriterion("reason like", value, "reason"); + return (Criteria) this; + } + + public Criteria andReasonNotLike(String value) { + addCriterion("reason not like", value, "reason"); + return (Criteria) this; + } + + public Criteria andReasonIn(List values) { + addCriterion("reason in", values, "reason"); + return (Criteria) this; + } + + public Criteria andReasonNotIn(List values) { + addCriterion("reason not in", values, "reason"); + return (Criteria) this; + } + + public Criteria andReasonBetween(String value1, String value2) { + addCriterion("reason between", value1, value2, "reason"); + return (Criteria) this; + } + + public Criteria andReasonNotBetween(String value1, String value2) { + addCriterion("reason not between", value1, value2, "reason"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNull() { + addCriterion("description is null"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNotNull() { + addCriterion("description is not null"); + return (Criteria) this; + } + + public Criteria andDescriptionEqualTo(String value) { + addCriterion("description =", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotEqualTo(String value) { + addCriterion("description <>", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThan(String value) { + addCriterion("description >", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThanOrEqualTo(String value) { + addCriterion("description >=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThan(String value) { + addCriterion("description <", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThanOrEqualTo(String value) { + addCriterion("description <=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLike(String value) { + addCriterion("description like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotLike(String value) { + addCriterion("description not like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionIn(List values) { + addCriterion("description in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotIn(List values) { + addCriterion("description not in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionBetween(String value1, String value2) { + addCriterion("description between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotBetween(String value1, String value2) { + addCriterion("description not between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andProofPicsIsNull() { + addCriterion("proof_pics is null"); + return (Criteria) this; + } + + public Criteria andProofPicsIsNotNull() { + addCriterion("proof_pics is not null"); + return (Criteria) this; + } + + public Criteria andProofPicsEqualTo(String value) { + addCriterion("proof_pics =", value, "proofPics"); + return (Criteria) this; + } + + public Criteria andProofPicsNotEqualTo(String value) { + addCriterion("proof_pics <>", value, "proofPics"); + return (Criteria) this; + } + + public Criteria andProofPicsGreaterThan(String value) { + addCriterion("proof_pics >", value, "proofPics"); + return (Criteria) this; + } + + public Criteria andProofPicsGreaterThanOrEqualTo(String value) { + addCriterion("proof_pics >=", value, "proofPics"); + return (Criteria) this; + } + + public Criteria andProofPicsLessThan(String value) { + addCriterion("proof_pics <", value, "proofPics"); + return (Criteria) this; + } + + public Criteria andProofPicsLessThanOrEqualTo(String value) { + addCriterion("proof_pics <=", value, "proofPics"); + return (Criteria) this; + } + + public Criteria andProofPicsLike(String value) { + addCriterion("proof_pics like", value, "proofPics"); + return (Criteria) this; + } + + public Criteria andProofPicsNotLike(String value) { + addCriterion("proof_pics not like", value, "proofPics"); + return (Criteria) this; + } + + public Criteria andProofPicsIn(List values) { + addCriterion("proof_pics in", values, "proofPics"); + return (Criteria) this; + } + + public Criteria andProofPicsNotIn(List values) { + addCriterion("proof_pics not in", values, "proofPics"); + return (Criteria) this; + } + + public Criteria andProofPicsBetween(String value1, String value2) { + addCriterion("proof_pics between", value1, value2, "proofPics"); + return (Criteria) this; + } + + public Criteria andProofPicsNotBetween(String value1, String value2) { + addCriterion("proof_pics not between", value1, value2, "proofPics"); + return (Criteria) this; + } + + public Criteria andHandleNoteIsNull() { + addCriterion("handle_note is null"); + return (Criteria) this; + } + + public Criteria andHandleNoteIsNotNull() { + addCriterion("handle_note is not null"); + return (Criteria) this; + } + + public Criteria andHandleNoteEqualTo(String value) { + addCriterion("handle_note =", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteNotEqualTo(String value) { + addCriterion("handle_note <>", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteGreaterThan(String value) { + addCriterion("handle_note >", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteGreaterThanOrEqualTo(String value) { + addCriterion("handle_note >=", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteLessThan(String value) { + addCriterion("handle_note <", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteLessThanOrEqualTo(String value) { + addCriterion("handle_note <=", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteLike(String value) { + addCriterion("handle_note like", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteNotLike(String value) { + addCriterion("handle_note not like", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteIn(List values) { + addCriterion("handle_note in", values, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteNotIn(List values) { + addCriterion("handle_note not in", values, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteBetween(String value1, String value2) { + addCriterion("handle_note between", value1, value2, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteNotBetween(String value1, String value2) { + addCriterion("handle_note not between", value1, value2, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleManIsNull() { + addCriterion("handle_man is null"); + return (Criteria) this; + } + + public Criteria andHandleManIsNotNull() { + addCriterion("handle_man is not null"); + return (Criteria) this; + } + + public Criteria andHandleManEqualTo(String value) { + addCriterion("handle_man =", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManNotEqualTo(String value) { + addCriterion("handle_man <>", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManGreaterThan(String value) { + addCriterion("handle_man >", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManGreaterThanOrEqualTo(String value) { + addCriterion("handle_man >=", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManLessThan(String value) { + addCriterion("handle_man <", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManLessThanOrEqualTo(String value) { + addCriterion("handle_man <=", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManLike(String value) { + addCriterion("handle_man like", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManNotLike(String value) { + addCriterion("handle_man not like", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManIn(List values) { + addCriterion("handle_man in", values, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManNotIn(List values) { + addCriterion("handle_man not in", values, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManBetween(String value1, String value2) { + addCriterion("handle_man between", value1, value2, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManNotBetween(String value1, String value2) { + addCriterion("handle_man not between", value1, value2, "handleMan"); + return (Criteria) this; + } + + public Criteria andReceiveManIsNull() { + addCriterion("receive_man is null"); + return (Criteria) this; + } + + public Criteria andReceiveManIsNotNull() { + addCriterion("receive_man is not null"); + return (Criteria) this; + } + + public Criteria andReceiveManEqualTo(String value) { + addCriterion("receive_man =", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManNotEqualTo(String value) { + addCriterion("receive_man <>", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManGreaterThan(String value) { + addCriterion("receive_man >", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManGreaterThanOrEqualTo(String value) { + addCriterion("receive_man >=", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManLessThan(String value) { + addCriterion("receive_man <", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManLessThanOrEqualTo(String value) { + addCriterion("receive_man <=", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManLike(String value) { + addCriterion("receive_man like", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManNotLike(String value) { + addCriterion("receive_man not like", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManIn(List values) { + addCriterion("receive_man in", values, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManNotIn(List values) { + addCriterion("receive_man not in", values, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManBetween(String value1, String value2) { + addCriterion("receive_man between", value1, value2, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManNotBetween(String value1, String value2) { + addCriterion("receive_man not between", value1, value2, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveTimeIsNull() { + addCriterion("receive_time is null"); + return (Criteria) this; + } + + public Criteria andReceiveTimeIsNotNull() { + addCriterion("receive_time is not null"); + return (Criteria) this; + } + + public Criteria andReceiveTimeEqualTo(Date value) { + addCriterion("receive_time =", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeNotEqualTo(Date value) { + addCriterion("receive_time <>", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeGreaterThan(Date value) { + addCriterion("receive_time >", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeGreaterThanOrEqualTo(Date value) { + addCriterion("receive_time >=", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeLessThan(Date value) { + addCriterion("receive_time <", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeLessThanOrEqualTo(Date value) { + addCriterion("receive_time <=", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeIn(List values) { + addCriterion("receive_time in", values, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeNotIn(List values) { + addCriterion("receive_time not in", values, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeBetween(Date value1, Date value2) { + addCriterion("receive_time between", value1, value2, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeNotBetween(Date value1, Date value2) { + addCriterion("receive_time not between", value1, value2, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveNoteIsNull() { + addCriterion("receive_note is null"); + return (Criteria) this; + } + + public Criteria andReceiveNoteIsNotNull() { + addCriterion("receive_note is not null"); + return (Criteria) this; + } + + public Criteria andReceiveNoteEqualTo(String value) { + addCriterion("receive_note =", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteNotEqualTo(String value) { + addCriterion("receive_note <>", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteGreaterThan(String value) { + addCriterion("receive_note >", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteGreaterThanOrEqualTo(String value) { + addCriterion("receive_note >=", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteLessThan(String value) { + addCriterion("receive_note <", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteLessThanOrEqualTo(String value) { + addCriterion("receive_note <=", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteLike(String value) { + addCriterion("receive_note like", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteNotLike(String value) { + addCriterion("receive_note not like", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteIn(List values) { + addCriterion("receive_note in", values, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteNotIn(List values) { + addCriterion("receive_note not in", values, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteBetween(String value1, String value2) { + addCriterion("receive_note between", value1, value2, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteNotBetween(String value1, String value2) { + addCriterion("receive_note not between", value1, value2, "receiveNote"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnReason.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnReason.java new file mode 100644 index 0000000..dbab27b --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnReason.java @@ -0,0 +1,89 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class OmsOrderReturnReason implements Serializable { + private Long id; + + /** + * 退货类型 + * + * @mbggenerated + */ + private String name; + + private Integer sort; + + /** + * 状态:0->不启用;1->启用 + * + * @mbggenerated + */ + private Integer status; + + /** + * 添加时间 + * + * @mbggenerated + */ + private Date createTime; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", sort=").append(sort); + sb.append(", status=").append(status); + sb.append(", createTime=").append(createTime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnReasonExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnReasonExample.java new file mode 100644 index 0000000..db6cf55 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderReturnReasonExample.java @@ -0,0 +1,511 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class OmsOrderReturnReasonExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public OmsOrderReturnReasonExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderSetting.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderSetting.java new file mode 100644 index 0000000..d2cf349 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderSetting.java @@ -0,0 +1,109 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class OmsOrderSetting implements Serializable { + private Long id; + + /** + * 秒杀订单超时关闭时间(分) + * + * @mbggenerated + */ + private Integer flashOrderOvertime; + + /** + * 正常订单超时时间(分) + * + * @mbggenerated + */ + private Integer normalOrderOvertime; + + /** + * 发货后自动确认收货时间(天) + * + * @mbggenerated + */ + private Integer confirmOvertime; + + /** + * 自动完成交易时间,不能申请售后(天) + * + * @mbggenerated + */ + private Integer finishOvertime; + + /** + * 订单完成后自动好评时间(天) + * + * @mbggenerated + */ + private Integer commentOvertime; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Integer getFlashOrderOvertime() { + return flashOrderOvertime; + } + + public void setFlashOrderOvertime(Integer flashOrderOvertime) { + this.flashOrderOvertime = flashOrderOvertime; + } + + public Integer getNormalOrderOvertime() { + return normalOrderOvertime; + } + + public void setNormalOrderOvertime(Integer normalOrderOvertime) { + this.normalOrderOvertime = normalOrderOvertime; + } + + public Integer getConfirmOvertime() { + return confirmOvertime; + } + + public void setConfirmOvertime(Integer confirmOvertime) { + this.confirmOvertime = confirmOvertime; + } + + public Integer getFinishOvertime() { + return finishOvertime; + } + + public void setFinishOvertime(Integer finishOvertime) { + this.finishOvertime = finishOvertime; + } + + public Integer getCommentOvertime() { + return commentOvertime; + } + + public void setCommentOvertime(Integer commentOvertime) { + this.commentOvertime = commentOvertime; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", flashOrderOvertime=").append(flashOrderOvertime); + sb.append(", normalOrderOvertime=").append(normalOrderOvertime); + sb.append(", confirmOvertime=").append(confirmOvertime); + sb.append(", finishOvertime=").append(finishOvertime); + sb.append(", commentOvertime=").append(commentOvertime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderSettingExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderSettingExample.java new file mode 100644 index 0000000..549c7c5 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/OmsOrderSettingExample.java @@ -0,0 +1,560 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class OmsOrderSettingExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public OmsOrderSettingExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeIsNull() { + addCriterion("flash_order_overtime is null"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeIsNotNull() { + addCriterion("flash_order_overtime is not null"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeEqualTo(Integer value) { + addCriterion("flash_order_overtime =", value, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeNotEqualTo(Integer value) { + addCriterion("flash_order_overtime <>", value, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeGreaterThan(Integer value) { + addCriterion("flash_order_overtime >", value, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeGreaterThanOrEqualTo(Integer value) { + addCriterion("flash_order_overtime >=", value, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeLessThan(Integer value) { + addCriterion("flash_order_overtime <", value, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeLessThanOrEqualTo(Integer value) { + addCriterion("flash_order_overtime <=", value, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeIn(List values) { + addCriterion("flash_order_overtime in", values, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeNotIn(List values) { + addCriterion("flash_order_overtime not in", values, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeBetween(Integer value1, Integer value2) { + addCriterion("flash_order_overtime between", value1, value2, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeNotBetween(Integer value1, Integer value2) { + addCriterion("flash_order_overtime not between", value1, value2, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeIsNull() { + addCriterion("normal_order_overtime is null"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeIsNotNull() { + addCriterion("normal_order_overtime is not null"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeEqualTo(Integer value) { + addCriterion("normal_order_overtime =", value, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeNotEqualTo(Integer value) { + addCriterion("normal_order_overtime <>", value, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeGreaterThan(Integer value) { + addCriterion("normal_order_overtime >", value, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeGreaterThanOrEqualTo(Integer value) { + addCriterion("normal_order_overtime >=", value, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeLessThan(Integer value) { + addCriterion("normal_order_overtime <", value, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeLessThanOrEqualTo(Integer value) { + addCriterion("normal_order_overtime <=", value, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeIn(List values) { + addCriterion("normal_order_overtime in", values, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeNotIn(List values) { + addCriterion("normal_order_overtime not in", values, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeBetween(Integer value1, Integer value2) { + addCriterion("normal_order_overtime between", value1, value2, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeNotBetween(Integer value1, Integer value2) { + addCriterion("normal_order_overtime not between", value1, value2, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeIsNull() { + addCriterion("confirm_overtime is null"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeIsNotNull() { + addCriterion("confirm_overtime is not null"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeEqualTo(Integer value) { + addCriterion("confirm_overtime =", value, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeNotEqualTo(Integer value) { + addCriterion("confirm_overtime <>", value, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeGreaterThan(Integer value) { + addCriterion("confirm_overtime >", value, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeGreaterThanOrEqualTo(Integer value) { + addCriterion("confirm_overtime >=", value, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeLessThan(Integer value) { + addCriterion("confirm_overtime <", value, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeLessThanOrEqualTo(Integer value) { + addCriterion("confirm_overtime <=", value, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeIn(List values) { + addCriterion("confirm_overtime in", values, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeNotIn(List values) { + addCriterion("confirm_overtime not in", values, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeBetween(Integer value1, Integer value2) { + addCriterion("confirm_overtime between", value1, value2, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeNotBetween(Integer value1, Integer value2) { + addCriterion("confirm_overtime not between", value1, value2, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeIsNull() { + addCriterion("finish_overtime is null"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeIsNotNull() { + addCriterion("finish_overtime is not null"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeEqualTo(Integer value) { + addCriterion("finish_overtime =", value, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeNotEqualTo(Integer value) { + addCriterion("finish_overtime <>", value, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeGreaterThan(Integer value) { + addCriterion("finish_overtime >", value, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeGreaterThanOrEqualTo(Integer value) { + addCriterion("finish_overtime >=", value, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeLessThan(Integer value) { + addCriterion("finish_overtime <", value, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeLessThanOrEqualTo(Integer value) { + addCriterion("finish_overtime <=", value, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeIn(List values) { + addCriterion("finish_overtime in", values, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeNotIn(List values) { + addCriterion("finish_overtime not in", values, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeBetween(Integer value1, Integer value2) { + addCriterion("finish_overtime between", value1, value2, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeNotBetween(Integer value1, Integer value2) { + addCriterion("finish_overtime not between", value1, value2, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeIsNull() { + addCriterion("comment_overtime is null"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeIsNotNull() { + addCriterion("comment_overtime is not null"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeEqualTo(Integer value) { + addCriterion("comment_overtime =", value, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeNotEqualTo(Integer value) { + addCriterion("comment_overtime <>", value, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeGreaterThan(Integer value) { + addCriterion("comment_overtime >", value, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeGreaterThanOrEqualTo(Integer value) { + addCriterion("comment_overtime >=", value, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeLessThan(Integer value) { + addCriterion("comment_overtime <", value, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeLessThanOrEqualTo(Integer value) { + addCriterion("comment_overtime <=", value, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeIn(List values) { + addCriterion("comment_overtime in", values, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeNotIn(List values) { + addCriterion("comment_overtime not in", values, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeBetween(Integer value1, Integer value2) { + addCriterion("comment_overtime between", value1, value2, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeNotBetween(Integer value1, Integer value2) { + addCriterion("comment_overtime not between", value1, value2, "commentOvertime"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbum.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbum.java new file mode 100644 index 0000000..f462063 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbum.java @@ -0,0 +1,84 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class PmsAlbum implements Serializable { + private Long id; + + private String name; + + private String coverPic; + + private Integer picCount; + + private Integer sort; + + private String description; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getCoverPic() { + return coverPic; + } + + public void setCoverPic(String coverPic) { + this.coverPic = coverPic; + } + + public Integer getPicCount() { + return picCount; + } + + public void setPicCount(Integer picCount) { + this.picCount = picCount; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", coverPic=").append(coverPic); + sb.append(", picCount=").append(picCount); + sb.append(", sort=").append(sort); + sb.append(", description=").append(description); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbumExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbumExample.java new file mode 100644 index 0000000..d03a368 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbumExample.java @@ -0,0 +1,590 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsAlbumExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsAlbumExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andCoverPicIsNull() { + addCriterion("cover_pic is null"); + return (Criteria) this; + } + + public Criteria andCoverPicIsNotNull() { + addCriterion("cover_pic is not null"); + return (Criteria) this; + } + + public Criteria andCoverPicEqualTo(String value) { + addCriterion("cover_pic =", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicNotEqualTo(String value) { + addCriterion("cover_pic <>", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicGreaterThan(String value) { + addCriterion("cover_pic >", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicGreaterThanOrEqualTo(String value) { + addCriterion("cover_pic >=", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicLessThan(String value) { + addCriterion("cover_pic <", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicLessThanOrEqualTo(String value) { + addCriterion("cover_pic <=", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicLike(String value) { + addCriterion("cover_pic like", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicNotLike(String value) { + addCriterion("cover_pic not like", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicIn(List values) { + addCriterion("cover_pic in", values, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicNotIn(List values) { + addCriterion("cover_pic not in", values, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicBetween(String value1, String value2) { + addCriterion("cover_pic between", value1, value2, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicNotBetween(String value1, String value2) { + addCriterion("cover_pic not between", value1, value2, "coverPic"); + return (Criteria) this; + } + + public Criteria andPicCountIsNull() { + addCriterion("pic_count is null"); + return (Criteria) this; + } + + public Criteria andPicCountIsNotNull() { + addCriterion("pic_count is not null"); + return (Criteria) this; + } + + public Criteria andPicCountEqualTo(Integer value) { + addCriterion("pic_count =", value, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountNotEqualTo(Integer value) { + addCriterion("pic_count <>", value, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountGreaterThan(Integer value) { + addCriterion("pic_count >", value, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountGreaterThanOrEqualTo(Integer value) { + addCriterion("pic_count >=", value, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountLessThan(Integer value) { + addCriterion("pic_count <", value, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountLessThanOrEqualTo(Integer value) { + addCriterion("pic_count <=", value, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountIn(List values) { + addCriterion("pic_count in", values, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountNotIn(List values) { + addCriterion("pic_count not in", values, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountBetween(Integer value1, Integer value2) { + addCriterion("pic_count between", value1, value2, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountNotBetween(Integer value1, Integer value2) { + addCriterion("pic_count not between", value1, value2, "picCount"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNull() { + addCriterion("description is null"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNotNull() { + addCriterion("description is not null"); + return (Criteria) this; + } + + public Criteria andDescriptionEqualTo(String value) { + addCriterion("description =", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotEqualTo(String value) { + addCriterion("description <>", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThan(String value) { + addCriterion("description >", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThanOrEqualTo(String value) { + addCriterion("description >=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThan(String value) { + addCriterion("description <", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThanOrEqualTo(String value) { + addCriterion("description <=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLike(String value) { + addCriterion("description like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotLike(String value) { + addCriterion("description not like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionIn(List values) { + addCriterion("description in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotIn(List values) { + addCriterion("description not in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionBetween(String value1, String value2) { + addCriterion("description between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotBetween(String value1, String value2) { + addCriterion("description not between", value1, value2, "description"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbumPic.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbumPic.java new file mode 100644 index 0000000..3d0a5e3 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbumPic.java @@ -0,0 +1,51 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class PmsAlbumPic implements Serializable { + private Long id; + + private Long albumId; + + private String pic; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getAlbumId() { + return albumId; + } + + public void setAlbumId(Long albumId) { + this.albumId = albumId; + } + + public String getPic() { + return pic; + } + + public void setPic(String pic) { + this.pic = pic; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", albumId=").append(albumId); + sb.append(", pic=").append(pic); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbumPicExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbumPicExample.java new file mode 100644 index 0000000..80fac8d --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsAlbumPicExample.java @@ -0,0 +1,390 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsAlbumPicExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsAlbumPicExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andAlbumIdIsNull() { + addCriterion("album_id is null"); + return (Criteria) this; + } + + public Criteria andAlbumIdIsNotNull() { + addCriterion("album_id is not null"); + return (Criteria) this; + } + + public Criteria andAlbumIdEqualTo(Long value) { + addCriterion("album_id =", value, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdNotEqualTo(Long value) { + addCriterion("album_id <>", value, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdGreaterThan(Long value) { + addCriterion("album_id >", value, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdGreaterThanOrEqualTo(Long value) { + addCriterion("album_id >=", value, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdLessThan(Long value) { + addCriterion("album_id <", value, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdLessThanOrEqualTo(Long value) { + addCriterion("album_id <=", value, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdIn(List values) { + addCriterion("album_id in", values, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdNotIn(List values) { + addCriterion("album_id not in", values, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdBetween(Long value1, Long value2) { + addCriterion("album_id between", value1, value2, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdNotBetween(Long value1, Long value2) { + addCriterion("album_id not between", value1, value2, "albumId"); + return (Criteria) this; + } + + public Criteria andPicIsNull() { + addCriterion("pic is null"); + return (Criteria) this; + } + + public Criteria andPicIsNotNull() { + addCriterion("pic is not null"); + return (Criteria) this; + } + + public Criteria andPicEqualTo(String value) { + addCriterion("pic =", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotEqualTo(String value) { + addCriterion("pic <>", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThan(String value) { + addCriterion("pic >", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThanOrEqualTo(String value) { + addCriterion("pic >=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThan(String value) { + addCriterion("pic <", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThanOrEqualTo(String value) { + addCriterion("pic <=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLike(String value) { + addCriterion("pic like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotLike(String value) { + addCriterion("pic not like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicIn(List values) { + addCriterion("pic in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotIn(List values) { + addCriterion("pic not in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicBetween(String value1, String value2) { + addCriterion("pic between", value1, value2, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotBetween(String value1, String value2) { + addCriterion("pic not between", value1, value2, "pic"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsBrand.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsBrand.java new file mode 100644 index 0000000..2695296 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsBrand.java @@ -0,0 +1,174 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class PmsBrand implements Serializable { + private Long id; + + private String name; + + /** + * 首字母 + * + * @mbggenerated + */ + private String firstLetter; + + private Integer sort; + + /** + * 是否为品牌制造商:0->不是;1->是 + * + * @mbggenerated + */ + private Integer factoryStatus; + + private Integer showStatus; + + /** + * 产品数量 + * + * @mbggenerated + */ + private Integer productCount; + + /** + * 产品评论数量 + * + * @mbggenerated + */ + private Integer productCommentCount; + + /** + * 品牌logo + * + * @mbggenerated + */ + private String logo; + + /** + * 专区大图 + * + * @mbggenerated + */ + private String bigPic; + + /** + * 品牌故事 + * + * @mbggenerated + */ + private String brandStory; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getFirstLetter() { + return firstLetter; + } + + public void setFirstLetter(String firstLetter) { + this.firstLetter = firstLetter; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + public Integer getFactoryStatus() { + return factoryStatus; + } + + public void setFactoryStatus(Integer factoryStatus) { + this.factoryStatus = factoryStatus; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public Integer getProductCount() { + return productCount; + } + + public void setProductCount(Integer productCount) { + this.productCount = productCount; + } + + public Integer getProductCommentCount() { + return productCommentCount; + } + + public void setProductCommentCount(Integer productCommentCount) { + this.productCommentCount = productCommentCount; + } + + public String getLogo() { + return logo; + } + + public void setLogo(String logo) { + this.logo = logo; + } + + public String getBigPic() { + return bigPic; + } + + public void setBigPic(String bigPic) { + this.bigPic = bigPic; + } + + public String getBrandStory() { + return brandStory; + } + + public void setBrandStory(String brandStory) { + this.brandStory = brandStory; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", firstLetter=").append(firstLetter); + sb.append(", sort=").append(sort); + sb.append(", factoryStatus=").append(factoryStatus); + sb.append(", showStatus=").append(showStatus); + sb.append(", productCount=").append(productCount); + sb.append(", productCommentCount=").append(productCommentCount); + sb.append(", logo=").append(logo); + sb.append(", bigPic=").append(bigPic); + sb.append(", brandStory=").append(brandStory); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsBrandExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsBrandExample.java new file mode 100644 index 0000000..0c20075 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsBrandExample.java @@ -0,0 +1,840 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsBrandExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsBrandExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andFirstLetterIsNull() { + addCriterion("first_letter is null"); + return (Criteria) this; + } + + public Criteria andFirstLetterIsNotNull() { + addCriterion("first_letter is not null"); + return (Criteria) this; + } + + public Criteria andFirstLetterEqualTo(String value) { + addCriterion("first_letter =", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterNotEqualTo(String value) { + addCriterion("first_letter <>", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterGreaterThan(String value) { + addCriterion("first_letter >", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterGreaterThanOrEqualTo(String value) { + addCriterion("first_letter >=", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterLessThan(String value) { + addCriterion("first_letter <", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterLessThanOrEqualTo(String value) { + addCriterion("first_letter <=", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterLike(String value) { + addCriterion("first_letter like", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterNotLike(String value) { + addCriterion("first_letter not like", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterIn(List values) { + addCriterion("first_letter in", values, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterNotIn(List values) { + addCriterion("first_letter not in", values, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterBetween(String value1, String value2) { + addCriterion("first_letter between", value1, value2, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterNotBetween(String value1, String value2) { + addCriterion("first_letter not between", value1, value2, "firstLetter"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andFactoryStatusIsNull() { + addCriterion("factory_status is null"); + return (Criteria) this; + } + + public Criteria andFactoryStatusIsNotNull() { + addCriterion("factory_status is not null"); + return (Criteria) this; + } + + public Criteria andFactoryStatusEqualTo(Integer value) { + addCriterion("factory_status =", value, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusNotEqualTo(Integer value) { + addCriterion("factory_status <>", value, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusGreaterThan(Integer value) { + addCriterion("factory_status >", value, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("factory_status >=", value, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusLessThan(Integer value) { + addCriterion("factory_status <", value, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusLessThanOrEqualTo(Integer value) { + addCriterion("factory_status <=", value, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusIn(List values) { + addCriterion("factory_status in", values, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusNotIn(List values) { + addCriterion("factory_status not in", values, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusBetween(Integer value1, Integer value2) { + addCriterion("factory_status between", value1, value2, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusNotBetween(Integer value1, Integer value2) { + addCriterion("factory_status not between", value1, value2, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andProductCountIsNull() { + addCriterion("product_count is null"); + return (Criteria) this; + } + + public Criteria andProductCountIsNotNull() { + addCriterion("product_count is not null"); + return (Criteria) this; + } + + public Criteria andProductCountEqualTo(Integer value) { + addCriterion("product_count =", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotEqualTo(Integer value) { + addCriterion("product_count <>", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountGreaterThan(Integer value) { + addCriterion("product_count >", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountGreaterThanOrEqualTo(Integer value) { + addCriterion("product_count >=", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountLessThan(Integer value) { + addCriterion("product_count <", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountLessThanOrEqualTo(Integer value) { + addCriterion("product_count <=", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountIn(List values) { + addCriterion("product_count in", values, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotIn(List values) { + addCriterion("product_count not in", values, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountBetween(Integer value1, Integer value2) { + addCriterion("product_count between", value1, value2, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotBetween(Integer value1, Integer value2) { + addCriterion("product_count not between", value1, value2, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountIsNull() { + addCriterion("product_comment_count is null"); + return (Criteria) this; + } + + public Criteria andProductCommentCountIsNotNull() { + addCriterion("product_comment_count is not null"); + return (Criteria) this; + } + + public Criteria andProductCommentCountEqualTo(Integer value) { + addCriterion("product_comment_count =", value, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountNotEqualTo(Integer value) { + addCriterion("product_comment_count <>", value, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountGreaterThan(Integer value) { + addCriterion("product_comment_count >", value, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountGreaterThanOrEqualTo(Integer value) { + addCriterion("product_comment_count >=", value, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountLessThan(Integer value) { + addCriterion("product_comment_count <", value, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountLessThanOrEqualTo(Integer value) { + addCriterion("product_comment_count <=", value, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountIn(List values) { + addCriterion("product_comment_count in", values, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountNotIn(List values) { + addCriterion("product_comment_count not in", values, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountBetween(Integer value1, Integer value2) { + addCriterion("product_comment_count between", value1, value2, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountNotBetween(Integer value1, Integer value2) { + addCriterion("product_comment_count not between", value1, value2, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andLogoIsNull() { + addCriterion("logo is null"); + return (Criteria) this; + } + + public Criteria andLogoIsNotNull() { + addCriterion("logo is not null"); + return (Criteria) this; + } + + public Criteria andLogoEqualTo(String value) { + addCriterion("logo =", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoNotEqualTo(String value) { + addCriterion("logo <>", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoGreaterThan(String value) { + addCriterion("logo >", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoGreaterThanOrEqualTo(String value) { + addCriterion("logo >=", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoLessThan(String value) { + addCriterion("logo <", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoLessThanOrEqualTo(String value) { + addCriterion("logo <=", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoLike(String value) { + addCriterion("logo like", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoNotLike(String value) { + addCriterion("logo not like", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoIn(List values) { + addCriterion("logo in", values, "logo"); + return (Criteria) this; + } + + public Criteria andLogoNotIn(List values) { + addCriterion("logo not in", values, "logo"); + return (Criteria) this; + } + + public Criteria andLogoBetween(String value1, String value2) { + addCriterion("logo between", value1, value2, "logo"); + return (Criteria) this; + } + + public Criteria andLogoNotBetween(String value1, String value2) { + addCriterion("logo not between", value1, value2, "logo"); + return (Criteria) this; + } + + public Criteria andBigPicIsNull() { + addCriterion("big_pic is null"); + return (Criteria) this; + } + + public Criteria andBigPicIsNotNull() { + addCriterion("big_pic is not null"); + return (Criteria) this; + } + + public Criteria andBigPicEqualTo(String value) { + addCriterion("big_pic =", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicNotEqualTo(String value) { + addCriterion("big_pic <>", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicGreaterThan(String value) { + addCriterion("big_pic >", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicGreaterThanOrEqualTo(String value) { + addCriterion("big_pic >=", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicLessThan(String value) { + addCriterion("big_pic <", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicLessThanOrEqualTo(String value) { + addCriterion("big_pic <=", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicLike(String value) { + addCriterion("big_pic like", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicNotLike(String value) { + addCriterion("big_pic not like", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicIn(List values) { + addCriterion("big_pic in", values, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicNotIn(List values) { + addCriterion("big_pic not in", values, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicBetween(String value1, String value2) { + addCriterion("big_pic between", value1, value2, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicNotBetween(String value1, String value2) { + addCriterion("big_pic not between", value1, value2, "bigPic"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsComment.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsComment.java new file mode 100644 index 0000000..c42afc5 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsComment.java @@ -0,0 +1,209 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class PmsComment implements Serializable { + private Long id; + + private Long productId; + + private String memberNickName; + + private String productName; + + /** + * 评价星数:0->5 + * + * @mbggenerated + */ + private Integer star; + + /** + * 评价的ip + * + * @mbggenerated + */ + private String memberIp; + + private Date createTime; + + private Integer showStatus; + + /** + * 购买时的商品属性 + * + * @mbggenerated + */ + private String productAttribute; + + private Integer collectCouont; + + private Integer readCount; + + /** + * 上传图片地址,以逗号隔开 + * + * @mbggenerated + */ + private String pics; + + /** + * 评论用户头像 + * + * @mbggenerated + */ + private String memberIcon; + + private Integer replayCount; + + private String content; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public String getMemberNickName() { + return memberNickName; + } + + public void setMemberNickName(String memberNickName) { + this.memberNickName = memberNickName; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public Integer getStar() { + return star; + } + + public void setStar(Integer star) { + this.star = star; + } + + public String getMemberIp() { + return memberIp; + } + + public void setMemberIp(String memberIp) { + this.memberIp = memberIp; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public String getProductAttribute() { + return productAttribute; + } + + public void setProductAttribute(String productAttribute) { + this.productAttribute = productAttribute; + } + + public Integer getCollectCouont() { + return collectCouont; + } + + public void setCollectCouont(Integer collectCouont) { + this.collectCouont = collectCouont; + } + + public Integer getReadCount() { + return readCount; + } + + public void setReadCount(Integer readCount) { + this.readCount = readCount; + } + + public String getPics() { + return pics; + } + + public void setPics(String pics) { + this.pics = pics; + } + + public String getMemberIcon() { + return memberIcon; + } + + public void setMemberIcon(String memberIcon) { + this.memberIcon = memberIcon; + } + + public Integer getReplayCount() { + return replayCount; + } + + public void setReplayCount(Integer replayCount) { + this.replayCount = replayCount; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", memberNickName=").append(memberNickName); + sb.append(", productName=").append(productName); + sb.append(", star=").append(star); + sb.append(", memberIp=").append(memberIp); + sb.append(", createTime=").append(createTime); + sb.append(", showStatus=").append(showStatus); + sb.append(", productAttribute=").append(productAttribute); + sb.append(", collectCouont=").append(collectCouont); + sb.append(", readCount=").append(readCount); + sb.append(", pics=").append(pics); + sb.append(", memberIcon=").append(memberIcon); + sb.append(", replayCount=").append(replayCount); + sb.append(", content=").append(content); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsCommentExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsCommentExample.java new file mode 100644 index 0000000..93e0a67 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsCommentExample.java @@ -0,0 +1,1101 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class PmsCommentExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsCommentExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNull() { + addCriterion("member_nick_name is null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNotNull() { + addCriterion("member_nick_name is not null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameEqualTo(String value) { + addCriterion("member_nick_name =", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotEqualTo(String value) { + addCriterion("member_nick_name <>", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThan(String value) { + addCriterion("member_nick_name >", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) { + addCriterion("member_nick_name >=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThan(String value) { + addCriterion("member_nick_name <", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThanOrEqualTo(String value) { + addCriterion("member_nick_name <=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLike(String value) { + addCriterion("member_nick_name like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotLike(String value) { + addCriterion("member_nick_name not like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIn(List values) { + addCriterion("member_nick_name in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotIn(List values) { + addCriterion("member_nick_name not in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameBetween(String value1, String value2) { + addCriterion("member_nick_name between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotBetween(String value1, String value2) { + addCriterion("member_nick_name not between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andProductNameIsNull() { + addCriterion("product_name is null"); + return (Criteria) this; + } + + public Criteria andProductNameIsNotNull() { + addCriterion("product_name is not null"); + return (Criteria) this; + } + + public Criteria andProductNameEqualTo(String value) { + addCriterion("product_name =", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotEqualTo(String value) { + addCriterion("product_name <>", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThan(String value) { + addCriterion("product_name >", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThanOrEqualTo(String value) { + addCriterion("product_name >=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThan(String value) { + addCriterion("product_name <", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThanOrEqualTo(String value) { + addCriterion("product_name <=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLike(String value) { + addCriterion("product_name like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotLike(String value) { + addCriterion("product_name not like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameIn(List values) { + addCriterion("product_name in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotIn(List values) { + addCriterion("product_name not in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameBetween(String value1, String value2) { + addCriterion("product_name between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotBetween(String value1, String value2) { + addCriterion("product_name not between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andStarIsNull() { + addCriterion("star is null"); + return (Criteria) this; + } + + public Criteria andStarIsNotNull() { + addCriterion("star is not null"); + return (Criteria) this; + } + + public Criteria andStarEqualTo(Integer value) { + addCriterion("star =", value, "star"); + return (Criteria) this; + } + + public Criteria andStarNotEqualTo(Integer value) { + addCriterion("star <>", value, "star"); + return (Criteria) this; + } + + public Criteria andStarGreaterThan(Integer value) { + addCriterion("star >", value, "star"); + return (Criteria) this; + } + + public Criteria andStarGreaterThanOrEqualTo(Integer value) { + addCriterion("star >=", value, "star"); + return (Criteria) this; + } + + public Criteria andStarLessThan(Integer value) { + addCriterion("star <", value, "star"); + return (Criteria) this; + } + + public Criteria andStarLessThanOrEqualTo(Integer value) { + addCriterion("star <=", value, "star"); + return (Criteria) this; + } + + public Criteria andStarIn(List values) { + addCriterion("star in", values, "star"); + return (Criteria) this; + } + + public Criteria andStarNotIn(List values) { + addCriterion("star not in", values, "star"); + return (Criteria) this; + } + + public Criteria andStarBetween(Integer value1, Integer value2) { + addCriterion("star between", value1, value2, "star"); + return (Criteria) this; + } + + public Criteria andStarNotBetween(Integer value1, Integer value2) { + addCriterion("star not between", value1, value2, "star"); + return (Criteria) this; + } + + public Criteria andMemberIpIsNull() { + addCriterion("member_ip is null"); + return (Criteria) this; + } + + public Criteria andMemberIpIsNotNull() { + addCriterion("member_ip is not null"); + return (Criteria) this; + } + + public Criteria andMemberIpEqualTo(String value) { + addCriterion("member_ip =", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpNotEqualTo(String value) { + addCriterion("member_ip <>", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpGreaterThan(String value) { + addCriterion("member_ip >", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpGreaterThanOrEqualTo(String value) { + addCriterion("member_ip >=", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpLessThan(String value) { + addCriterion("member_ip <", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpLessThanOrEqualTo(String value) { + addCriterion("member_ip <=", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpLike(String value) { + addCriterion("member_ip like", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpNotLike(String value) { + addCriterion("member_ip not like", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpIn(List values) { + addCriterion("member_ip in", values, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpNotIn(List values) { + addCriterion("member_ip not in", values, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpBetween(String value1, String value2) { + addCriterion("member_ip between", value1, value2, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpNotBetween(String value1, String value2) { + addCriterion("member_ip not between", value1, value2, "memberIp"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andProductAttributeIsNull() { + addCriterion("product_attribute is null"); + return (Criteria) this; + } + + public Criteria andProductAttributeIsNotNull() { + addCriterion("product_attribute is not null"); + return (Criteria) this; + } + + public Criteria andProductAttributeEqualTo(String value) { + addCriterion("product_attribute =", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeNotEqualTo(String value) { + addCriterion("product_attribute <>", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeGreaterThan(String value) { + addCriterion("product_attribute >", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeGreaterThanOrEqualTo(String value) { + addCriterion("product_attribute >=", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeLessThan(String value) { + addCriterion("product_attribute <", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeLessThanOrEqualTo(String value) { + addCriterion("product_attribute <=", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeLike(String value) { + addCriterion("product_attribute like", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeNotLike(String value) { + addCriterion("product_attribute not like", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeIn(List values) { + addCriterion("product_attribute in", values, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeNotIn(List values) { + addCriterion("product_attribute not in", values, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeBetween(String value1, String value2) { + addCriterion("product_attribute between", value1, value2, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeNotBetween(String value1, String value2) { + addCriterion("product_attribute not between", value1, value2, "productAttribute"); + return (Criteria) this; + } + + public Criteria andCollectCouontIsNull() { + addCriterion("collect_couont is null"); + return (Criteria) this; + } + + public Criteria andCollectCouontIsNotNull() { + addCriterion("collect_couont is not null"); + return (Criteria) this; + } + + public Criteria andCollectCouontEqualTo(Integer value) { + addCriterion("collect_couont =", value, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontNotEqualTo(Integer value) { + addCriterion("collect_couont <>", value, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontGreaterThan(Integer value) { + addCriterion("collect_couont >", value, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontGreaterThanOrEqualTo(Integer value) { + addCriterion("collect_couont >=", value, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontLessThan(Integer value) { + addCriterion("collect_couont <", value, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontLessThanOrEqualTo(Integer value) { + addCriterion("collect_couont <=", value, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontIn(List values) { + addCriterion("collect_couont in", values, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontNotIn(List values) { + addCriterion("collect_couont not in", values, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontBetween(Integer value1, Integer value2) { + addCriterion("collect_couont between", value1, value2, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontNotBetween(Integer value1, Integer value2) { + addCriterion("collect_couont not between", value1, value2, "collectCouont"); + return (Criteria) this; + } + + public Criteria andReadCountIsNull() { + addCriterion("read_count is null"); + return (Criteria) this; + } + + public Criteria andReadCountIsNotNull() { + addCriterion("read_count is not null"); + return (Criteria) this; + } + + public Criteria andReadCountEqualTo(Integer value) { + addCriterion("read_count =", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotEqualTo(Integer value) { + addCriterion("read_count <>", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThan(Integer value) { + addCriterion("read_count >", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThanOrEqualTo(Integer value) { + addCriterion("read_count >=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThan(Integer value) { + addCriterion("read_count <", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThanOrEqualTo(Integer value) { + addCriterion("read_count <=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountIn(List values) { + addCriterion("read_count in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotIn(List values) { + addCriterion("read_count not in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountBetween(Integer value1, Integer value2) { + addCriterion("read_count between", value1, value2, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotBetween(Integer value1, Integer value2) { + addCriterion("read_count not between", value1, value2, "readCount"); + return (Criteria) this; + } + + public Criteria andPicsIsNull() { + addCriterion("pics is null"); + return (Criteria) this; + } + + public Criteria andPicsIsNotNull() { + addCriterion("pics is not null"); + return (Criteria) this; + } + + public Criteria andPicsEqualTo(String value) { + addCriterion("pics =", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsNotEqualTo(String value) { + addCriterion("pics <>", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsGreaterThan(String value) { + addCriterion("pics >", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsGreaterThanOrEqualTo(String value) { + addCriterion("pics >=", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsLessThan(String value) { + addCriterion("pics <", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsLessThanOrEqualTo(String value) { + addCriterion("pics <=", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsLike(String value) { + addCriterion("pics like", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsNotLike(String value) { + addCriterion("pics not like", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsIn(List values) { + addCriterion("pics in", values, "pics"); + return (Criteria) this; + } + + public Criteria andPicsNotIn(List values) { + addCriterion("pics not in", values, "pics"); + return (Criteria) this; + } + + public Criteria andPicsBetween(String value1, String value2) { + addCriterion("pics between", value1, value2, "pics"); + return (Criteria) this; + } + + public Criteria andPicsNotBetween(String value1, String value2) { + addCriterion("pics not between", value1, value2, "pics"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNull() { + addCriterion("member_icon is null"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNotNull() { + addCriterion("member_icon is not null"); + return (Criteria) this; + } + + public Criteria andMemberIconEqualTo(String value) { + addCriterion("member_icon =", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotEqualTo(String value) { + addCriterion("member_icon <>", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThan(String value) { + addCriterion("member_icon >", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThanOrEqualTo(String value) { + addCriterion("member_icon >=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThan(String value) { + addCriterion("member_icon <", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThanOrEqualTo(String value) { + addCriterion("member_icon <=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLike(String value) { + addCriterion("member_icon like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotLike(String value) { + addCriterion("member_icon not like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconIn(List values) { + addCriterion("member_icon in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotIn(List values) { + addCriterion("member_icon not in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconBetween(String value1, String value2) { + addCriterion("member_icon between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotBetween(String value1, String value2) { + addCriterion("member_icon not between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andReplayCountIsNull() { + addCriterion("replay_count is null"); + return (Criteria) this; + } + + public Criteria andReplayCountIsNotNull() { + addCriterion("replay_count is not null"); + return (Criteria) this; + } + + public Criteria andReplayCountEqualTo(Integer value) { + addCriterion("replay_count =", value, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountNotEqualTo(Integer value) { + addCriterion("replay_count <>", value, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountGreaterThan(Integer value) { + addCriterion("replay_count >", value, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountGreaterThanOrEqualTo(Integer value) { + addCriterion("replay_count >=", value, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountLessThan(Integer value) { + addCriterion("replay_count <", value, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountLessThanOrEqualTo(Integer value) { + addCriterion("replay_count <=", value, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountIn(List values) { + addCriterion("replay_count in", values, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountNotIn(List values) { + addCriterion("replay_count not in", values, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountBetween(Integer value1, Integer value2) { + addCriterion("replay_count between", value1, value2, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountNotBetween(Integer value1, Integer value2) { + addCriterion("replay_count not between", value1, value2, "replayCount"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsCommentReplay.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsCommentReplay.java new file mode 100644 index 0000000..51bc765 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsCommentReplay.java @@ -0,0 +1,101 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class PmsCommentReplay implements Serializable { + private Long id; + + private Long commentId; + + private String memberNickName; + + private String memberIcon; + + private String content; + + private Date createTime; + + /** + * 评论人员类型;0->会员;1->管理员 + * + * @mbggenerated + */ + private Integer type; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getCommentId() { + return commentId; + } + + public void setCommentId(Long commentId) { + this.commentId = commentId; + } + + public String getMemberNickName() { + return memberNickName; + } + + public void setMemberNickName(String memberNickName) { + this.memberNickName = memberNickName; + } + + public String getMemberIcon() { + return memberIcon; + } + + public void setMemberIcon(String memberIcon) { + this.memberIcon = memberIcon; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", commentId=").append(commentId); + sb.append(", memberNickName=").append(memberNickName); + sb.append(", memberIcon=").append(memberIcon); + sb.append(", content=").append(content); + sb.append(", createTime=").append(createTime); + sb.append(", type=").append(type); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsCommentReplayExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsCommentReplayExample.java new file mode 100644 index 0000000..84bc44f --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsCommentReplayExample.java @@ -0,0 +1,651 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class PmsCommentReplayExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsCommentReplayExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andCommentIdIsNull() { + addCriterion("comment_id is null"); + return (Criteria) this; + } + + public Criteria andCommentIdIsNotNull() { + addCriterion("comment_id is not null"); + return (Criteria) this; + } + + public Criteria andCommentIdEqualTo(Long value) { + addCriterion("comment_id =", value, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdNotEqualTo(Long value) { + addCriterion("comment_id <>", value, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdGreaterThan(Long value) { + addCriterion("comment_id >", value, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdGreaterThanOrEqualTo(Long value) { + addCriterion("comment_id >=", value, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdLessThan(Long value) { + addCriterion("comment_id <", value, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdLessThanOrEqualTo(Long value) { + addCriterion("comment_id <=", value, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdIn(List values) { + addCriterion("comment_id in", values, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdNotIn(List values) { + addCriterion("comment_id not in", values, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdBetween(Long value1, Long value2) { + addCriterion("comment_id between", value1, value2, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdNotBetween(Long value1, Long value2) { + addCriterion("comment_id not between", value1, value2, "commentId"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNull() { + addCriterion("member_nick_name is null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNotNull() { + addCriterion("member_nick_name is not null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameEqualTo(String value) { + addCriterion("member_nick_name =", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotEqualTo(String value) { + addCriterion("member_nick_name <>", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThan(String value) { + addCriterion("member_nick_name >", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) { + addCriterion("member_nick_name >=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThan(String value) { + addCriterion("member_nick_name <", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThanOrEqualTo(String value) { + addCriterion("member_nick_name <=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLike(String value) { + addCriterion("member_nick_name like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotLike(String value) { + addCriterion("member_nick_name not like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIn(List values) { + addCriterion("member_nick_name in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotIn(List values) { + addCriterion("member_nick_name not in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameBetween(String value1, String value2) { + addCriterion("member_nick_name between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotBetween(String value1, String value2) { + addCriterion("member_nick_name not between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNull() { + addCriterion("member_icon is null"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNotNull() { + addCriterion("member_icon is not null"); + return (Criteria) this; + } + + public Criteria andMemberIconEqualTo(String value) { + addCriterion("member_icon =", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotEqualTo(String value) { + addCriterion("member_icon <>", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThan(String value) { + addCriterion("member_icon >", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThanOrEqualTo(String value) { + addCriterion("member_icon >=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThan(String value) { + addCriterion("member_icon <", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThanOrEqualTo(String value) { + addCriterion("member_icon <=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLike(String value) { + addCriterion("member_icon like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotLike(String value) { + addCriterion("member_icon not like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconIn(List values) { + addCriterion("member_icon in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotIn(List values) { + addCriterion("member_icon not in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconBetween(String value1, String value2) { + addCriterion("member_icon between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotBetween(String value1, String value2) { + addCriterion("member_icon not between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andContentIsNull() { + addCriterion("content is null"); + return (Criteria) this; + } + + public Criteria andContentIsNotNull() { + addCriterion("content is not null"); + return (Criteria) this; + } + + public Criteria andContentEqualTo(String value) { + addCriterion("content =", value, "content"); + return (Criteria) this; + } + + public Criteria andContentNotEqualTo(String value) { + addCriterion("content <>", value, "content"); + return (Criteria) this; + } + + public Criteria andContentGreaterThan(String value) { + addCriterion("content >", value, "content"); + return (Criteria) this; + } + + public Criteria andContentGreaterThanOrEqualTo(String value) { + addCriterion("content >=", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLessThan(String value) { + addCriterion("content <", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLessThanOrEqualTo(String value) { + addCriterion("content <=", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLike(String value) { + addCriterion("content like", value, "content"); + return (Criteria) this; + } + + public Criteria andContentNotLike(String value) { + addCriterion("content not like", value, "content"); + return (Criteria) this; + } + + public Criteria andContentIn(List values) { + addCriterion("content in", values, "content"); + return (Criteria) this; + } + + public Criteria andContentNotIn(List values) { + addCriterion("content not in", values, "content"); + return (Criteria) this; + } + + public Criteria andContentBetween(String value1, String value2) { + addCriterion("content between", value1, value2, "content"); + return (Criteria) this; + } + + public Criteria andContentNotBetween(String value1, String value2) { + addCriterion("content not between", value1, value2, "content"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsFeightTemplate.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsFeightTemplate.java new file mode 100644 index 0000000..9c4157f --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsFeightTemplate.java @@ -0,0 +1,127 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class PmsFeightTemplate implements Serializable { + private Long id; + + private String name; + + /** + * 计费类型:0->按重量;1->按件数 + * + * @mbggenerated + */ + private Integer chargeType; + + /** + * 首重kg + * + * @mbggenerated + */ + private BigDecimal firstWeight; + + /** + * 首费(元) + * + * @mbggenerated + */ + private BigDecimal firstFee; + + private BigDecimal continueWeight; + + private BigDecimal continmeFee; + + /** + * 目的地(省、市) + * + * @mbggenerated + */ + private String dest; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getChargeType() { + return chargeType; + } + + public void setChargeType(Integer chargeType) { + this.chargeType = chargeType; + } + + public BigDecimal getFirstWeight() { + return firstWeight; + } + + public void setFirstWeight(BigDecimal firstWeight) { + this.firstWeight = firstWeight; + } + + public BigDecimal getFirstFee() { + return firstFee; + } + + public void setFirstFee(BigDecimal firstFee) { + this.firstFee = firstFee; + } + + public BigDecimal getContinueWeight() { + return continueWeight; + } + + public void setContinueWeight(BigDecimal continueWeight) { + this.continueWeight = continueWeight; + } + + public BigDecimal getContinmeFee() { + return continmeFee; + } + + public void setContinmeFee(BigDecimal continmeFee) { + this.continmeFee = continmeFee; + } + + public String getDest() { + return dest; + } + + public void setDest(String dest) { + this.dest = dest; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", chargeType=").append(chargeType); + sb.append(", firstWeight=").append(firstWeight); + sb.append(", firstFee=").append(firstFee); + sb.append(", continueWeight=").append(continueWeight); + sb.append(", continmeFee=").append(continmeFee); + sb.append(", dest=").append(dest); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsFeightTemplateExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsFeightTemplateExample.java new file mode 100644 index 0000000..34ac723 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsFeightTemplateExample.java @@ -0,0 +1,701 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class PmsFeightTemplateExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsFeightTemplateExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andChargeTypeIsNull() { + addCriterion("charge_type is null"); + return (Criteria) this; + } + + public Criteria andChargeTypeIsNotNull() { + addCriterion("charge_type is not null"); + return (Criteria) this; + } + + public Criteria andChargeTypeEqualTo(Integer value) { + addCriterion("charge_type =", value, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeNotEqualTo(Integer value) { + addCriterion("charge_type <>", value, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeGreaterThan(Integer value) { + addCriterion("charge_type >", value, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("charge_type >=", value, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeLessThan(Integer value) { + addCriterion("charge_type <", value, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeLessThanOrEqualTo(Integer value) { + addCriterion("charge_type <=", value, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeIn(List values) { + addCriterion("charge_type in", values, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeNotIn(List values) { + addCriterion("charge_type not in", values, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeBetween(Integer value1, Integer value2) { + addCriterion("charge_type between", value1, value2, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeNotBetween(Integer value1, Integer value2) { + addCriterion("charge_type not between", value1, value2, "chargeType"); + return (Criteria) this; + } + + public Criteria andFirstWeightIsNull() { + addCriterion("first_weight is null"); + return (Criteria) this; + } + + public Criteria andFirstWeightIsNotNull() { + addCriterion("first_weight is not null"); + return (Criteria) this; + } + + public Criteria andFirstWeightEqualTo(BigDecimal value) { + addCriterion("first_weight =", value, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightNotEqualTo(BigDecimal value) { + addCriterion("first_weight <>", value, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightGreaterThan(BigDecimal value) { + addCriterion("first_weight >", value, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("first_weight >=", value, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightLessThan(BigDecimal value) { + addCriterion("first_weight <", value, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightLessThanOrEqualTo(BigDecimal value) { + addCriterion("first_weight <=", value, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightIn(List values) { + addCriterion("first_weight in", values, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightNotIn(List values) { + addCriterion("first_weight not in", values, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("first_weight between", value1, value2, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("first_weight not between", value1, value2, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstFeeIsNull() { + addCriterion("first_fee is null"); + return (Criteria) this; + } + + public Criteria andFirstFeeIsNotNull() { + addCriterion("first_fee is not null"); + return (Criteria) this; + } + + public Criteria andFirstFeeEqualTo(BigDecimal value) { + addCriterion("first_fee =", value, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeNotEqualTo(BigDecimal value) { + addCriterion("first_fee <>", value, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeGreaterThan(BigDecimal value) { + addCriterion("first_fee >", value, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("first_fee >=", value, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeLessThan(BigDecimal value) { + addCriterion("first_fee <", value, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeLessThanOrEqualTo(BigDecimal value) { + addCriterion("first_fee <=", value, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeIn(List values) { + addCriterion("first_fee in", values, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeNotIn(List values) { + addCriterion("first_fee not in", values, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("first_fee between", value1, value2, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("first_fee not between", value1, value2, "firstFee"); + return (Criteria) this; + } + + public Criteria andContinueWeightIsNull() { + addCriterion("continue_weight is null"); + return (Criteria) this; + } + + public Criteria andContinueWeightIsNotNull() { + addCriterion("continue_weight is not null"); + return (Criteria) this; + } + + public Criteria andContinueWeightEqualTo(BigDecimal value) { + addCriterion("continue_weight =", value, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightNotEqualTo(BigDecimal value) { + addCriterion("continue_weight <>", value, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightGreaterThan(BigDecimal value) { + addCriterion("continue_weight >", value, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("continue_weight >=", value, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightLessThan(BigDecimal value) { + addCriterion("continue_weight <", value, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightLessThanOrEqualTo(BigDecimal value) { + addCriterion("continue_weight <=", value, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightIn(List values) { + addCriterion("continue_weight in", values, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightNotIn(List values) { + addCriterion("continue_weight not in", values, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("continue_weight between", value1, value2, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("continue_weight not between", value1, value2, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinmeFeeIsNull() { + addCriterion("continme_fee is null"); + return (Criteria) this; + } + + public Criteria andContinmeFeeIsNotNull() { + addCriterion("continme_fee is not null"); + return (Criteria) this; + } + + public Criteria andContinmeFeeEqualTo(BigDecimal value) { + addCriterion("continme_fee =", value, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeNotEqualTo(BigDecimal value) { + addCriterion("continme_fee <>", value, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeGreaterThan(BigDecimal value) { + addCriterion("continme_fee >", value, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("continme_fee >=", value, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeLessThan(BigDecimal value) { + addCriterion("continme_fee <", value, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeLessThanOrEqualTo(BigDecimal value) { + addCriterion("continme_fee <=", value, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeIn(List values) { + addCriterion("continme_fee in", values, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeNotIn(List values) { + addCriterion("continme_fee not in", values, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("continme_fee between", value1, value2, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("continme_fee not between", value1, value2, "continmeFee"); + return (Criteria) this; + } + + public Criteria andDestIsNull() { + addCriterion("dest is null"); + return (Criteria) this; + } + + public Criteria andDestIsNotNull() { + addCriterion("dest is not null"); + return (Criteria) this; + } + + public Criteria andDestEqualTo(String value) { + addCriterion("dest =", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestNotEqualTo(String value) { + addCriterion("dest <>", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestGreaterThan(String value) { + addCriterion("dest >", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestGreaterThanOrEqualTo(String value) { + addCriterion("dest >=", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestLessThan(String value) { + addCriterion("dest <", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestLessThanOrEqualTo(String value) { + addCriterion("dest <=", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestLike(String value) { + addCriterion("dest like", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestNotLike(String value) { + addCriterion("dest not like", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestIn(List values) { + addCriterion("dest in", values, "dest"); + return (Criteria) this; + } + + public Criteria andDestNotIn(List values) { + addCriterion("dest not in", values, "dest"); + return (Criteria) this; + } + + public Criteria andDestBetween(String value1, String value2) { + addCriterion("dest between", value1, value2, "dest"); + return (Criteria) this; + } + + public Criteria andDestNotBetween(String value1, String value2) { + addCriterion("dest not between", value1, value2, "dest"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsMemberPrice.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsMemberPrice.java new file mode 100644 index 0000000..ba47c4f --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsMemberPrice.java @@ -0,0 +1,79 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class PmsMemberPrice implements Serializable { + private Long id; + + private Long productId; + + private Long memberLevelId; + + /** + * 会员价格 + * + * @mbggenerated + */ + private BigDecimal memberPrice; + + private String memberLevelName; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public Long getMemberLevelId() { + return memberLevelId; + } + + public void setMemberLevelId(Long memberLevelId) { + this.memberLevelId = memberLevelId; + } + + public BigDecimal getMemberPrice() { + return memberPrice; + } + + public void setMemberPrice(BigDecimal memberPrice) { + this.memberPrice = memberPrice; + } + + public String getMemberLevelName() { + return memberLevelName; + } + + public void setMemberLevelName(String memberLevelName) { + this.memberLevelName = memberLevelName; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", memberLevelId=").append(memberLevelId); + sb.append(", memberPrice=").append(memberPrice); + sb.append(", memberLevelName=").append(memberLevelName); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsMemberPriceExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsMemberPriceExample.java new file mode 100644 index 0000000..fd825a6 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsMemberPriceExample.java @@ -0,0 +1,511 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class PmsMemberPriceExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsMemberPriceExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdIsNull() { + addCriterion("member_level_id is null"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdIsNotNull() { + addCriterion("member_level_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdEqualTo(Long value) { + addCriterion("member_level_id =", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdNotEqualTo(Long value) { + addCriterion("member_level_id <>", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdGreaterThan(Long value) { + addCriterion("member_level_id >", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_level_id >=", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdLessThan(Long value) { + addCriterion("member_level_id <", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdLessThanOrEqualTo(Long value) { + addCriterion("member_level_id <=", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdIn(List values) { + addCriterion("member_level_id in", values, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdNotIn(List values) { + addCriterion("member_level_id not in", values, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdBetween(Long value1, Long value2) { + addCriterion("member_level_id between", value1, value2, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdNotBetween(Long value1, Long value2) { + addCriterion("member_level_id not between", value1, value2, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberPriceIsNull() { + addCriterion("member_price is null"); + return (Criteria) this; + } + + public Criteria andMemberPriceIsNotNull() { + addCriterion("member_price is not null"); + return (Criteria) this; + } + + public Criteria andMemberPriceEqualTo(BigDecimal value) { + addCriterion("member_price =", value, "memberPrice"); + return (Criteria) this; + } + + public Criteria andMemberPriceNotEqualTo(BigDecimal value) { + addCriterion("member_price <>", value, "memberPrice"); + return (Criteria) this; + } + + public Criteria andMemberPriceGreaterThan(BigDecimal value) { + addCriterion("member_price >", value, "memberPrice"); + return (Criteria) this; + } + + public Criteria andMemberPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("member_price >=", value, "memberPrice"); + return (Criteria) this; + } + + public Criteria andMemberPriceLessThan(BigDecimal value) { + addCriterion("member_price <", value, "memberPrice"); + return (Criteria) this; + } + + public Criteria andMemberPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("member_price <=", value, "memberPrice"); + return (Criteria) this; + } + + public Criteria andMemberPriceIn(List values) { + addCriterion("member_price in", values, "memberPrice"); + return (Criteria) this; + } + + public Criteria andMemberPriceNotIn(List values) { + addCriterion("member_price not in", values, "memberPrice"); + return (Criteria) this; + } + + public Criteria andMemberPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("member_price between", value1, value2, "memberPrice"); + return (Criteria) this; + } + + public Criteria andMemberPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("member_price not between", value1, value2, "memberPrice"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameIsNull() { + addCriterion("member_level_name is null"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameIsNotNull() { + addCriterion("member_level_name is not null"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameEqualTo(String value) { + addCriterion("member_level_name =", value, "memberLevelName"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameNotEqualTo(String value) { + addCriterion("member_level_name <>", value, "memberLevelName"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameGreaterThan(String value) { + addCriterion("member_level_name >", value, "memberLevelName"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameGreaterThanOrEqualTo(String value) { + addCriterion("member_level_name >=", value, "memberLevelName"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameLessThan(String value) { + addCriterion("member_level_name <", value, "memberLevelName"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameLessThanOrEqualTo(String value) { + addCriterion("member_level_name <=", value, "memberLevelName"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameLike(String value) { + addCriterion("member_level_name like", value, "memberLevelName"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameNotLike(String value) { + addCriterion("member_level_name not like", value, "memberLevelName"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameIn(List values) { + addCriterion("member_level_name in", values, "memberLevelName"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameNotIn(List values) { + addCriterion("member_level_name not in", values, "memberLevelName"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameBetween(String value1, String value2) { + addCriterion("member_level_name between", value1, value2, "memberLevelName"); + return (Criteria) this; + } + + public Criteria andMemberLevelNameNotBetween(String value1, String value2) { + addCriterion("member_level_name not between", value1, value2, "memberLevelName"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProduct.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProduct.java new file mode 100644 index 0000000..f60f798 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProduct.java @@ -0,0 +1,632 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class PmsProduct implements Serializable { + private Long id; + + private Long brandId; + + private Long productCategoryId; + + private Long feightTemplateId; + + private Long productAttributeCategoryId; + + private String name; + + private String pic; + + /** + * 货号 + * + * @mbggenerated + */ + private String productSn; + + /** + * 删除状态:0->未删除;1->已删除 + * + * @mbggenerated + */ + private Integer deleteStatus; + + /** + * 上架状态:0->下架;1->上架 + * + * @mbggenerated + */ + private Integer publishStatus; + + /** + * 新品状态:0->不是新品;1->新品 + * + * @mbggenerated + */ + private Integer newStatus; + + /** + * 推荐状态;0->不推荐;1->推荐 + * + * @mbggenerated + */ + private Integer recommandStatus; + + /** + * 审核状态:0->未审核;1->审核通过 + * + * @mbggenerated + */ + private Integer verifyStatus; + + /** + * 排序 + * + * @mbggenerated + */ + private Integer sort; + + /** + * 销量 + * + * @mbggenerated + */ + private Integer sale; + + private BigDecimal price; + + /** + * 促销价格 + * + * @mbggenerated + */ + private BigDecimal promotionPrice; + + /** + * 赠送的成长值 + * + * @mbggenerated + */ + private Integer giftGrowth; + + /** + * 赠送的积分 + * + * @mbggenerated + */ + private Integer giftPoint; + + /** + * 限制使用的积分数 + * + * @mbggenerated + */ + private Integer usePointLimit; + + /** + * 副标题 + * + * @mbggenerated + */ + private String subTitle; + + /** + * 市场价 + * + * @mbggenerated + */ + private BigDecimal originalPrice; + + /** + * 库存 + * + * @mbggenerated + */ + private Integer stock; + + /** + * 库存预警值 + * + * @mbggenerated + */ + private Integer lowStock; + + /** + * 单位 + * + * @mbggenerated + */ + private String unit; + + /** + * 商品重量,默认为克 + * + * @mbggenerated + */ + private BigDecimal weight; + + /** + * 是否为预告商品:0->不是;1->是 + * + * @mbggenerated + */ + private Integer previewStatus; + + /** + * 以逗号分割的产品服务:1->无忧退货;2->快速退款;3->免费包邮 + * + * @mbggenerated + */ + private String serviceIds; + + private String keywords; + + private String note; + + /** + * 画册图片,连产品图片限制为5张,以逗号分割 + * + * @mbggenerated + */ + private String albumPics; + + private String detailTitle; + + /** + * 促销开始时间 + * + * @mbggenerated + */ + private Date promotionStartTime; + + /** + * 促销结束时间 + * + * @mbggenerated + */ + private Date promotionEndTime; + + /** + * 活动限购数量 + * + * @mbggenerated + */ + private Integer promotionPerLimit; + + /** + * 促销类型:0->没有促销使用原价;1->使用促销价;2->使用会员价;3->使用阶梯价格;4->使用满减价格;5->限时购 + * + * @mbggenerated + */ + private Integer promotionType; + + /** + * 品牌名称 + * + * @mbggenerated + */ + private String brandName; + + /** + * 商品分类名称 + * + * @mbggenerated + */ + private String productCategoryName; + + /** + * 商品描述 + * + * @mbggenerated + */ + private String description; + + private String detailDesc; + + /** + * 产品详情网页内容 + * + * @mbggenerated + */ + private String detailHtml; + + /** + * 移动端网页详情 + * + * @mbggenerated + */ + private String detailMobileHtml; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getBrandId() { + return brandId; + } + + public void setBrandId(Long brandId) { + this.brandId = brandId; + } + + public Long getProductCategoryId() { + return productCategoryId; + } + + public void setProductCategoryId(Long productCategoryId) { + this.productCategoryId = productCategoryId; + } + + public Long getFeightTemplateId() { + return feightTemplateId; + } + + public void setFeightTemplateId(Long feightTemplateId) { + this.feightTemplateId = feightTemplateId; + } + + public Long getProductAttributeCategoryId() { + return productAttributeCategoryId; + } + + public void setProductAttributeCategoryId(Long productAttributeCategoryId) { + this.productAttributeCategoryId = productAttributeCategoryId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getPic() { + return pic; + } + + public void setPic(String pic) { + this.pic = pic; + } + + public String getProductSn() { + return productSn; + } + + public void setProductSn(String productSn) { + this.productSn = productSn; + } + + public Integer getDeleteStatus() { + return deleteStatus; + } + + public void setDeleteStatus(Integer deleteStatus) { + this.deleteStatus = deleteStatus; + } + + public Integer getPublishStatus() { + return publishStatus; + } + + public void setPublishStatus(Integer publishStatus) { + this.publishStatus = publishStatus; + } + + public Integer getNewStatus() { + return newStatus; + } + + public void setNewStatus(Integer newStatus) { + this.newStatus = newStatus; + } + + public Integer getRecommandStatus() { + return recommandStatus; + } + + public void setRecommandStatus(Integer recommandStatus) { + this.recommandStatus = recommandStatus; + } + + public Integer getVerifyStatus() { + return verifyStatus; + } + + public void setVerifyStatus(Integer verifyStatus) { + this.verifyStatus = verifyStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + public Integer getSale() { + return sale; + } + + public void setSale(Integer sale) { + this.sale = sale; + } + + public BigDecimal getPrice() { + return price; + } + + public void setPrice(BigDecimal price) { + this.price = price; + } + + public BigDecimal getPromotionPrice() { + return promotionPrice; + } + + public void setPromotionPrice(BigDecimal promotionPrice) { + this.promotionPrice = promotionPrice; + } + + public Integer getGiftGrowth() { + return giftGrowth; + } + + public void setGiftGrowth(Integer giftGrowth) { + this.giftGrowth = giftGrowth; + } + + public Integer getGiftPoint() { + return giftPoint; + } + + public void setGiftPoint(Integer giftPoint) { + this.giftPoint = giftPoint; + } + + public Integer getUsePointLimit() { + return usePointLimit; + } + + public void setUsePointLimit(Integer usePointLimit) { + this.usePointLimit = usePointLimit; + } + + public String getSubTitle() { + return subTitle; + } + + public void setSubTitle(String subTitle) { + this.subTitle = subTitle; + } + + public BigDecimal getOriginalPrice() { + return originalPrice; + } + + public void setOriginalPrice(BigDecimal originalPrice) { + this.originalPrice = originalPrice; + } + + public Integer getStock() { + return stock; + } + + public void setStock(Integer stock) { + this.stock = stock; + } + + public Integer getLowStock() { + return lowStock; + } + + public void setLowStock(Integer lowStock) { + this.lowStock = lowStock; + } + + public String getUnit() { + return unit; + } + + public void setUnit(String unit) { + this.unit = unit; + } + + public BigDecimal getWeight() { + return weight; + } + + public void setWeight(BigDecimal weight) { + this.weight = weight; + } + + public Integer getPreviewStatus() { + return previewStatus; + } + + public void setPreviewStatus(Integer previewStatus) { + this.previewStatus = previewStatus; + } + + public String getServiceIds() { + return serviceIds; + } + + public void setServiceIds(String serviceIds) { + this.serviceIds = serviceIds; + } + + public String getKeywords() { + return keywords; + } + + public void setKeywords(String keywords) { + this.keywords = keywords; + } + + public String getNote() { + return note; + } + + public void setNote(String note) { + this.note = note; + } + + public String getAlbumPics() { + return albumPics; + } + + public void setAlbumPics(String albumPics) { + this.albumPics = albumPics; + } + + public String getDetailTitle() { + return detailTitle; + } + + public void setDetailTitle(String detailTitle) { + this.detailTitle = detailTitle; + } + + public Date getPromotionStartTime() { + return promotionStartTime; + } + + public void setPromotionStartTime(Date promotionStartTime) { + this.promotionStartTime = promotionStartTime; + } + + public Date getPromotionEndTime() { + return promotionEndTime; + } + + public void setPromotionEndTime(Date promotionEndTime) { + this.promotionEndTime = promotionEndTime; + } + + public Integer getPromotionPerLimit() { + return promotionPerLimit; + } + + public void setPromotionPerLimit(Integer promotionPerLimit) { + this.promotionPerLimit = promotionPerLimit; + } + + public Integer getPromotionType() { + return promotionType; + } + + public void setPromotionType(Integer promotionType) { + this.promotionType = promotionType; + } + + public String getBrandName() { + return brandName; + } + + public void setBrandName(String brandName) { + this.brandName = brandName; + } + + public String getProductCategoryName() { + return productCategoryName; + } + + public void setProductCategoryName(String productCategoryName) { + this.productCategoryName = productCategoryName; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public String getDetailDesc() { + return detailDesc; + } + + public void setDetailDesc(String detailDesc) { + this.detailDesc = detailDesc; + } + + public String getDetailHtml() { + return detailHtml; + } + + public void setDetailHtml(String detailHtml) { + this.detailHtml = detailHtml; + } + + public String getDetailMobileHtml() { + return detailMobileHtml; + } + + public void setDetailMobileHtml(String detailMobileHtml) { + this.detailMobileHtml = detailMobileHtml; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", brandId=").append(brandId); + sb.append(", productCategoryId=").append(productCategoryId); + sb.append(", feightTemplateId=").append(feightTemplateId); + sb.append(", productAttributeCategoryId=").append(productAttributeCategoryId); + sb.append(", name=").append(name); + sb.append(", pic=").append(pic); + sb.append(", productSn=").append(productSn); + sb.append(", deleteStatus=").append(deleteStatus); + sb.append(", publishStatus=").append(publishStatus); + sb.append(", newStatus=").append(newStatus); + sb.append(", recommandStatus=").append(recommandStatus); + sb.append(", verifyStatus=").append(verifyStatus); + sb.append(", sort=").append(sort); + sb.append(", sale=").append(sale); + sb.append(", price=").append(price); + sb.append(", promotionPrice=").append(promotionPrice); + sb.append(", giftGrowth=").append(giftGrowth); + sb.append(", giftPoint=").append(giftPoint); + sb.append(", usePointLimit=").append(usePointLimit); + sb.append(", subTitle=").append(subTitle); + sb.append(", originalPrice=").append(originalPrice); + sb.append(", stock=").append(stock); + sb.append(", lowStock=").append(lowStock); + sb.append(", unit=").append(unit); + sb.append(", weight=").append(weight); + sb.append(", previewStatus=").append(previewStatus); + sb.append(", serviceIds=").append(serviceIds); + sb.append(", keywords=").append(keywords); + sb.append(", note=").append(note); + sb.append(", albumPics=").append(albumPics); + sb.append(", detailTitle=").append(detailTitle); + sb.append(", promotionStartTime=").append(promotionStartTime); + sb.append(", promotionEndTime=").append(promotionEndTime); + sb.append(", promotionPerLimit=").append(promotionPerLimit); + sb.append(", promotionType=").append(promotionType); + sb.append(", brandName=").append(brandName); + sb.append(", productCategoryName=").append(productCategoryName); + sb.append(", description=").append(description); + sb.append(", detailDesc=").append(detailDesc); + sb.append(", detailHtml=").append(detailHtml); + sb.append(", detailMobileHtml=").append(detailMobileHtml); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttribute.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttribute.java new file mode 100644 index 0000000..e215462 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttribute.java @@ -0,0 +1,195 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class PmsProductAttribute implements Serializable { + private Long id; + + private Long productAttributeCategoryId; + + private String name; + + /** + * 属性选择类型:0->唯一;1->单选;2->多选 + * + * @mbggenerated + */ + private Integer selectType; + + /** + * 属性录入方式:0->手工录入;1->从列表中选取 + * + * @mbggenerated + */ + private Integer inputType; + + /** + * 可选值列表,以逗号隔开 + * + * @mbggenerated + */ + private String inputList; + + /** + * 排序字段:最高的可以单独上传图片 + * + * @mbggenerated + */ + private Integer sort; + + /** + * 分类筛选样式:1->普通;1->颜色 + * + * @mbggenerated + */ + private Integer filterType; + + /** + * 检索类型;0->不需要进行检索;1->关键字检索;2->范围检索 + * + * @mbggenerated + */ + private Integer searchType; + + /** + * 相同属性产品是否关联;0->不关联;1->关联 + * + * @mbggenerated + */ + private Integer relatedStatus; + + /** + * 是否支持手动新增;0->不支持;1->支持 + * + * @mbggenerated + */ + private Integer handAddStatus; + + /** + * 属性的类型;0->规格;1->参数 + * + * @mbggenerated + */ + private Integer type; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductAttributeCategoryId() { + return productAttributeCategoryId; + } + + public void setProductAttributeCategoryId(Long productAttributeCategoryId) { + this.productAttributeCategoryId = productAttributeCategoryId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getSelectType() { + return selectType; + } + + public void setSelectType(Integer selectType) { + this.selectType = selectType; + } + + public Integer getInputType() { + return inputType; + } + + public void setInputType(Integer inputType) { + this.inputType = inputType; + } + + public String getInputList() { + return inputList; + } + + public void setInputList(String inputList) { + this.inputList = inputList; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + public Integer getFilterType() { + return filterType; + } + + public void setFilterType(Integer filterType) { + this.filterType = filterType; + } + + public Integer getSearchType() { + return searchType; + } + + public void setSearchType(Integer searchType) { + this.searchType = searchType; + } + + public Integer getRelatedStatus() { + return relatedStatus; + } + + public void setRelatedStatus(Integer relatedStatus) { + this.relatedStatus = relatedStatus; + } + + public Integer getHandAddStatus() { + return handAddStatus; + } + + public void setHandAddStatus(Integer handAddStatus) { + this.handAddStatus = handAddStatus; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productAttributeCategoryId=").append(productAttributeCategoryId); + sb.append(", name=").append(name); + sb.append(", selectType=").append(selectType); + sb.append(", inputType=").append(inputType); + sb.append(", inputList=").append(inputList); + sb.append(", sort=").append(sort); + sb.append(", filterType=").append(filterType); + sb.append(", searchType=").append(searchType); + sb.append(", relatedStatus=").append(relatedStatus); + sb.append(", handAddStatus=").append(handAddStatus); + sb.append(", type=").append(type); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeCategory.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeCategory.java new file mode 100644 index 0000000..c6dd70e --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeCategory.java @@ -0,0 +1,72 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class PmsProductAttributeCategory implements Serializable { + private Long id; + + private String name; + + /** + * 属性数量 + * + * @mbggenerated + */ + private Integer attributeCount; + + /** + * 参数数量 + * + * @mbggenerated + */ + private Integer paramCount; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getAttributeCount() { + return attributeCount; + } + + public void setAttributeCount(Integer attributeCount) { + this.attributeCount = attributeCount; + } + + public Integer getParamCount() { + return paramCount; + } + + public void setParamCount(Integer paramCount) { + this.paramCount = paramCount; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", attributeCount=").append(attributeCount); + sb.append(", paramCount=").append(paramCount); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeCategoryExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeCategoryExample.java new file mode 100644 index 0000000..791a2fb --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeCategoryExample.java @@ -0,0 +1,450 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsProductAttributeCategoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductAttributeCategoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andAttributeCountIsNull() { + addCriterion("attribute_count is null"); + return (Criteria) this; + } + + public Criteria andAttributeCountIsNotNull() { + addCriterion("attribute_count is not null"); + return (Criteria) this; + } + + public Criteria andAttributeCountEqualTo(Integer value) { + addCriterion("attribute_count =", value, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountNotEqualTo(Integer value) { + addCriterion("attribute_count <>", value, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountGreaterThan(Integer value) { + addCriterion("attribute_count >", value, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountGreaterThanOrEqualTo(Integer value) { + addCriterion("attribute_count >=", value, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountLessThan(Integer value) { + addCriterion("attribute_count <", value, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountLessThanOrEqualTo(Integer value) { + addCriterion("attribute_count <=", value, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountIn(List values) { + addCriterion("attribute_count in", values, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountNotIn(List values) { + addCriterion("attribute_count not in", values, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountBetween(Integer value1, Integer value2) { + addCriterion("attribute_count between", value1, value2, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountNotBetween(Integer value1, Integer value2) { + addCriterion("attribute_count not between", value1, value2, "attributeCount"); + return (Criteria) this; + } + + public Criteria andParamCountIsNull() { + addCriterion("param_count is null"); + return (Criteria) this; + } + + public Criteria andParamCountIsNotNull() { + addCriterion("param_count is not null"); + return (Criteria) this; + } + + public Criteria andParamCountEqualTo(Integer value) { + addCriterion("param_count =", value, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountNotEqualTo(Integer value) { + addCriterion("param_count <>", value, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountGreaterThan(Integer value) { + addCriterion("param_count >", value, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountGreaterThanOrEqualTo(Integer value) { + addCriterion("param_count >=", value, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountLessThan(Integer value) { + addCriterion("param_count <", value, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountLessThanOrEqualTo(Integer value) { + addCriterion("param_count <=", value, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountIn(List values) { + addCriterion("param_count in", values, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountNotIn(List values) { + addCriterion("param_count not in", values, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountBetween(Integer value1, Integer value2) { + addCriterion("param_count between", value1, value2, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountNotBetween(Integer value1, Integer value2) { + addCriterion("param_count not between", value1, value2, "paramCount"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeExample.java new file mode 100644 index 0000000..838a792 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeExample.java @@ -0,0 +1,940 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsProductAttributeExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductAttributeExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdIsNull() { + addCriterion("product_attribute_category_id is null"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdIsNotNull() { + addCriterion("product_attribute_category_id is not null"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdEqualTo(Long value) { + addCriterion("product_attribute_category_id =", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdNotEqualTo(Long value) { + addCriterion("product_attribute_category_id <>", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdGreaterThan(Long value) { + addCriterion("product_attribute_category_id >", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_attribute_category_id >=", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdLessThan(Long value) { + addCriterion("product_attribute_category_id <", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("product_attribute_category_id <=", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdIn(List values) { + addCriterion("product_attribute_category_id in", values, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdNotIn(List values) { + addCriterion("product_attribute_category_id not in", values, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdBetween(Long value1, Long value2) { + addCriterion("product_attribute_category_id between", value1, value2, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("product_attribute_category_id not between", value1, value2, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andSelectTypeIsNull() { + addCriterion("select_type is null"); + return (Criteria) this; + } + + public Criteria andSelectTypeIsNotNull() { + addCriterion("select_type is not null"); + return (Criteria) this; + } + + public Criteria andSelectTypeEqualTo(Integer value) { + addCriterion("select_type =", value, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeNotEqualTo(Integer value) { + addCriterion("select_type <>", value, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeGreaterThan(Integer value) { + addCriterion("select_type >", value, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("select_type >=", value, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeLessThan(Integer value) { + addCriterion("select_type <", value, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeLessThanOrEqualTo(Integer value) { + addCriterion("select_type <=", value, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeIn(List values) { + addCriterion("select_type in", values, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeNotIn(List values) { + addCriterion("select_type not in", values, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeBetween(Integer value1, Integer value2) { + addCriterion("select_type between", value1, value2, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeNotBetween(Integer value1, Integer value2) { + addCriterion("select_type not between", value1, value2, "selectType"); + return (Criteria) this; + } + + public Criteria andInputTypeIsNull() { + addCriterion("input_type is null"); + return (Criteria) this; + } + + public Criteria andInputTypeIsNotNull() { + addCriterion("input_type is not null"); + return (Criteria) this; + } + + public Criteria andInputTypeEqualTo(Integer value) { + addCriterion("input_type =", value, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeNotEqualTo(Integer value) { + addCriterion("input_type <>", value, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeGreaterThan(Integer value) { + addCriterion("input_type >", value, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("input_type >=", value, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeLessThan(Integer value) { + addCriterion("input_type <", value, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeLessThanOrEqualTo(Integer value) { + addCriterion("input_type <=", value, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeIn(List values) { + addCriterion("input_type in", values, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeNotIn(List values) { + addCriterion("input_type not in", values, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeBetween(Integer value1, Integer value2) { + addCriterion("input_type between", value1, value2, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeNotBetween(Integer value1, Integer value2) { + addCriterion("input_type not between", value1, value2, "inputType"); + return (Criteria) this; + } + + public Criteria andInputListIsNull() { + addCriterion("input_list is null"); + return (Criteria) this; + } + + public Criteria andInputListIsNotNull() { + addCriterion("input_list is not null"); + return (Criteria) this; + } + + public Criteria andInputListEqualTo(String value) { + addCriterion("input_list =", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListNotEqualTo(String value) { + addCriterion("input_list <>", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListGreaterThan(String value) { + addCriterion("input_list >", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListGreaterThanOrEqualTo(String value) { + addCriterion("input_list >=", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListLessThan(String value) { + addCriterion("input_list <", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListLessThanOrEqualTo(String value) { + addCriterion("input_list <=", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListLike(String value) { + addCriterion("input_list like", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListNotLike(String value) { + addCriterion("input_list not like", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListIn(List values) { + addCriterion("input_list in", values, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListNotIn(List values) { + addCriterion("input_list not in", values, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListBetween(String value1, String value2) { + addCriterion("input_list between", value1, value2, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListNotBetween(String value1, String value2) { + addCriterion("input_list not between", value1, value2, "inputList"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andFilterTypeIsNull() { + addCriterion("filter_type is null"); + return (Criteria) this; + } + + public Criteria andFilterTypeIsNotNull() { + addCriterion("filter_type is not null"); + return (Criteria) this; + } + + public Criteria andFilterTypeEqualTo(Integer value) { + addCriterion("filter_type =", value, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeNotEqualTo(Integer value) { + addCriterion("filter_type <>", value, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeGreaterThan(Integer value) { + addCriterion("filter_type >", value, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("filter_type >=", value, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeLessThan(Integer value) { + addCriterion("filter_type <", value, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeLessThanOrEqualTo(Integer value) { + addCriterion("filter_type <=", value, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeIn(List values) { + addCriterion("filter_type in", values, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeNotIn(List values) { + addCriterion("filter_type not in", values, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeBetween(Integer value1, Integer value2) { + addCriterion("filter_type between", value1, value2, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeNotBetween(Integer value1, Integer value2) { + addCriterion("filter_type not between", value1, value2, "filterType"); + return (Criteria) this; + } + + public Criteria andSearchTypeIsNull() { + addCriterion("search_type is null"); + return (Criteria) this; + } + + public Criteria andSearchTypeIsNotNull() { + addCriterion("search_type is not null"); + return (Criteria) this; + } + + public Criteria andSearchTypeEqualTo(Integer value) { + addCriterion("search_type =", value, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeNotEqualTo(Integer value) { + addCriterion("search_type <>", value, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeGreaterThan(Integer value) { + addCriterion("search_type >", value, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("search_type >=", value, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeLessThan(Integer value) { + addCriterion("search_type <", value, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeLessThanOrEqualTo(Integer value) { + addCriterion("search_type <=", value, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeIn(List values) { + addCriterion("search_type in", values, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeNotIn(List values) { + addCriterion("search_type not in", values, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeBetween(Integer value1, Integer value2) { + addCriterion("search_type between", value1, value2, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeNotBetween(Integer value1, Integer value2) { + addCriterion("search_type not between", value1, value2, "searchType"); + return (Criteria) this; + } + + public Criteria andRelatedStatusIsNull() { + addCriterion("related_status is null"); + return (Criteria) this; + } + + public Criteria andRelatedStatusIsNotNull() { + addCriterion("related_status is not null"); + return (Criteria) this; + } + + public Criteria andRelatedStatusEqualTo(Integer value) { + addCriterion("related_status =", value, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusNotEqualTo(Integer value) { + addCriterion("related_status <>", value, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusGreaterThan(Integer value) { + addCriterion("related_status >", value, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("related_status >=", value, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusLessThan(Integer value) { + addCriterion("related_status <", value, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusLessThanOrEqualTo(Integer value) { + addCriterion("related_status <=", value, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusIn(List values) { + addCriterion("related_status in", values, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusNotIn(List values) { + addCriterion("related_status not in", values, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusBetween(Integer value1, Integer value2) { + addCriterion("related_status between", value1, value2, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusNotBetween(Integer value1, Integer value2) { + addCriterion("related_status not between", value1, value2, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusIsNull() { + addCriterion("hand_add_status is null"); + return (Criteria) this; + } + + public Criteria andHandAddStatusIsNotNull() { + addCriterion("hand_add_status is not null"); + return (Criteria) this; + } + + public Criteria andHandAddStatusEqualTo(Integer value) { + addCriterion("hand_add_status =", value, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusNotEqualTo(Integer value) { + addCriterion("hand_add_status <>", value, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusGreaterThan(Integer value) { + addCriterion("hand_add_status >", value, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("hand_add_status >=", value, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusLessThan(Integer value) { + addCriterion("hand_add_status <", value, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusLessThanOrEqualTo(Integer value) { + addCriterion("hand_add_status <=", value, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusIn(List values) { + addCriterion("hand_add_status in", values, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusNotIn(List values) { + addCriterion("hand_add_status not in", values, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusBetween(Integer value1, Integer value2) { + addCriterion("hand_add_status between", value1, value2, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusNotBetween(Integer value1, Integer value2) { + addCriterion("hand_add_status not between", value1, value2, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeValue.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeValue.java new file mode 100644 index 0000000..ca19b0e --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeValue.java @@ -0,0 +1,67 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class PmsProductAttributeValue implements Serializable { + private Long id; + + private Long productId; + + private Long productAttributeId; + + /** + * 手动添加规格或参数的值,参数单值,规格有多个时以逗号隔开 + * + * @mbggenerated + */ + private String value; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public Long getProductAttributeId() { + return productAttributeId; + } + + public void setProductAttributeId(Long productAttributeId) { + this.productAttributeId = productAttributeId; + } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", productAttributeId=").append(productAttributeId); + sb.append(", value=").append(value); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeValueExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeValueExample.java new file mode 100644 index 0000000..09e6d2a --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductAttributeValueExample.java @@ -0,0 +1,450 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsProductAttributeValueExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductAttributeValueExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdIsNull() { + addCriterion("product_attribute_id is null"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdIsNotNull() { + addCriterion("product_attribute_id is not null"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdEqualTo(Long value) { + addCriterion("product_attribute_id =", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdNotEqualTo(Long value) { + addCriterion("product_attribute_id <>", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdGreaterThan(Long value) { + addCriterion("product_attribute_id >", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_attribute_id >=", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdLessThan(Long value) { + addCriterion("product_attribute_id <", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdLessThanOrEqualTo(Long value) { + addCriterion("product_attribute_id <=", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdIn(List values) { + addCriterion("product_attribute_id in", values, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdNotIn(List values) { + addCriterion("product_attribute_id not in", values, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdBetween(Long value1, Long value2) { + addCriterion("product_attribute_id between", value1, value2, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdNotBetween(Long value1, Long value2) { + addCriterion("product_attribute_id not between", value1, value2, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andValueIsNull() { + addCriterion("value is null"); + return (Criteria) this; + } + + public Criteria andValueIsNotNull() { + addCriterion("value is not null"); + return (Criteria) this; + } + + public Criteria andValueEqualTo(String value) { + addCriterion("value =", value, "value"); + return (Criteria) this; + } + + public Criteria andValueNotEqualTo(String value) { + addCriterion("value <>", value, "value"); + return (Criteria) this; + } + + public Criteria andValueGreaterThan(String value) { + addCriterion("value >", value, "value"); + return (Criteria) this; + } + + public Criteria andValueGreaterThanOrEqualTo(String value) { + addCriterion("value >=", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLessThan(String value) { + addCriterion("value <", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLessThanOrEqualTo(String value) { + addCriterion("value <=", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLike(String value) { + addCriterion("value like", value, "value"); + return (Criteria) this; + } + + public Criteria andValueNotLike(String value) { + addCriterion("value not like", value, "value"); + return (Criteria) this; + } + + public Criteria andValueIn(List values) { + addCriterion("value in", values, "value"); + return (Criteria) this; + } + + public Criteria andValueNotIn(List values) { + addCriterion("value not in", values, "value"); + return (Criteria) this; + } + + public Criteria andValueBetween(String value1, String value2) { + addCriterion("value between", value1, value2, "value"); + return (Criteria) this; + } + + public Criteria andValueNotBetween(String value1, String value2) { + addCriterion("value not between", value1, value2, "value"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategory.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategory.java new file mode 100644 index 0000000..70dea5d --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategory.java @@ -0,0 +1,180 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class PmsProductCategory implements Serializable { + private Long id; + + /** + * 上机分类的编号:0表示一级分类 + * + * @mbggenerated + */ + private Long parentId; + + private String name; + + /** + * 分类级别:0->1级;1->2级 + * + * @mbggenerated + */ + private Integer level; + + private Integer productCount; + + private String productUnit; + + /** + * 是否显示在导航栏:0->不显示;1->显示 + * + * @mbggenerated + */ + private Integer navStatus; + + /** + * 显示状态:0->不显示;1->显示 + * + * @mbggenerated + */ + private Integer showStatus; + + private Integer sort; + + /** + * 图标 + * + * @mbggenerated + */ + private String icon; + + private String keywords; + + /** + * 描述 + * + * @mbggenerated + */ + private String description; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getParentId() { + return parentId; + } + + public void setParentId(Long parentId) { + this.parentId = parentId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getLevel() { + return level; + } + + public void setLevel(Integer level) { + this.level = level; + } + + public Integer getProductCount() { + return productCount; + } + + public void setProductCount(Integer productCount) { + this.productCount = productCount; + } + + public String getProductUnit() { + return productUnit; + } + + public void setProductUnit(String productUnit) { + this.productUnit = productUnit; + } + + public Integer getNavStatus() { + return navStatus; + } + + public void setNavStatus(Integer navStatus) { + this.navStatus = navStatus; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public String getKeywords() { + return keywords; + } + + public void setKeywords(String keywords) { + this.keywords = keywords; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", parentId=").append(parentId); + sb.append(", name=").append(name); + sb.append(", level=").append(level); + sb.append(", productCount=").append(productCount); + sb.append(", productUnit=").append(productUnit); + sb.append(", navStatus=").append(navStatus); + sb.append(", showStatus=").append(showStatus); + sb.append(", sort=").append(sort); + sb.append(", icon=").append(icon); + sb.append(", keywords=").append(keywords); + sb.append(", description=").append(description); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategoryAttributeRelation.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategoryAttributeRelation.java new file mode 100644 index 0000000..26bb673 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategoryAttributeRelation.java @@ -0,0 +1,51 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class PmsProductCategoryAttributeRelation implements Serializable { + private Long id; + + private Long productCategoryId; + + private Long productAttributeId; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductCategoryId() { + return productCategoryId; + } + + public void setProductCategoryId(Long productCategoryId) { + this.productCategoryId = productCategoryId; + } + + public Long getProductAttributeId() { + return productAttributeId; + } + + public void setProductAttributeId(Long productAttributeId) { + this.productAttributeId = productAttributeId; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productCategoryId=").append(productCategoryId); + sb.append(", productAttributeId=").append(productAttributeId); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategoryAttributeRelationExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategoryAttributeRelationExample.java new file mode 100644 index 0000000..8a021fa --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategoryAttributeRelationExample.java @@ -0,0 +1,380 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsProductCategoryAttributeRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductCategoryAttributeRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNull() { + addCriterion("product_category_id is null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNotNull() { + addCriterion("product_category_id is not null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdEqualTo(Long value) { + addCriterion("product_category_id =", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotEqualTo(Long value) { + addCriterion("product_category_id <>", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThan(Long value) { + addCriterion("product_category_id >", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_category_id >=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThan(Long value) { + addCriterion("product_category_id <", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("product_category_id <=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIn(List values) { + addCriterion("product_category_id in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotIn(List values) { + addCriterion("product_category_id not in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdBetween(Long value1, Long value2) { + addCriterion("product_category_id between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("product_category_id not between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdIsNull() { + addCriterion("product_attribute_id is null"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdIsNotNull() { + addCriterion("product_attribute_id is not null"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdEqualTo(Long value) { + addCriterion("product_attribute_id =", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdNotEqualTo(Long value) { + addCriterion("product_attribute_id <>", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdGreaterThan(Long value) { + addCriterion("product_attribute_id >", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_attribute_id >=", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdLessThan(Long value) { + addCriterion("product_attribute_id <", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdLessThanOrEqualTo(Long value) { + addCriterion("product_attribute_id <=", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdIn(List values) { + addCriterion("product_attribute_id in", values, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdNotIn(List values) { + addCriterion("product_attribute_id not in", values, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdBetween(Long value1, Long value2) { + addCriterion("product_attribute_id between", value1, value2, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdNotBetween(Long value1, Long value2) { + addCriterion("product_attribute_id not between", value1, value2, "productAttributeId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategoryExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategoryExample.java new file mode 100644 index 0000000..ab717fc --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductCategoryExample.java @@ -0,0 +1,900 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsProductCategoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductCategoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andParentIdIsNull() { + addCriterion("parent_id is null"); + return (Criteria) this; + } + + public Criteria andParentIdIsNotNull() { + addCriterion("parent_id is not null"); + return (Criteria) this; + } + + public Criteria andParentIdEqualTo(Long value) { + addCriterion("parent_id =", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdNotEqualTo(Long value) { + addCriterion("parent_id <>", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdGreaterThan(Long value) { + addCriterion("parent_id >", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdGreaterThanOrEqualTo(Long value) { + addCriterion("parent_id >=", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdLessThan(Long value) { + addCriterion("parent_id <", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdLessThanOrEqualTo(Long value) { + addCriterion("parent_id <=", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdIn(List values) { + addCriterion("parent_id in", values, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdNotIn(List values) { + addCriterion("parent_id not in", values, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdBetween(Long value1, Long value2) { + addCriterion("parent_id between", value1, value2, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdNotBetween(Long value1, Long value2) { + addCriterion("parent_id not between", value1, value2, "parentId"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andLevelIsNull() { + addCriterion("level is null"); + return (Criteria) this; + } + + public Criteria andLevelIsNotNull() { + addCriterion("level is not null"); + return (Criteria) this; + } + + public Criteria andLevelEqualTo(Integer value) { + addCriterion("level =", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelNotEqualTo(Integer value) { + addCriterion("level <>", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelGreaterThan(Integer value) { + addCriterion("level >", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelGreaterThanOrEqualTo(Integer value) { + addCriterion("level >=", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelLessThan(Integer value) { + addCriterion("level <", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelLessThanOrEqualTo(Integer value) { + addCriterion("level <=", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelIn(List values) { + addCriterion("level in", values, "level"); + return (Criteria) this; + } + + public Criteria andLevelNotIn(List values) { + addCriterion("level not in", values, "level"); + return (Criteria) this; + } + + public Criteria andLevelBetween(Integer value1, Integer value2) { + addCriterion("level between", value1, value2, "level"); + return (Criteria) this; + } + + public Criteria andLevelNotBetween(Integer value1, Integer value2) { + addCriterion("level not between", value1, value2, "level"); + return (Criteria) this; + } + + public Criteria andProductCountIsNull() { + addCriterion("product_count is null"); + return (Criteria) this; + } + + public Criteria andProductCountIsNotNull() { + addCriterion("product_count is not null"); + return (Criteria) this; + } + + public Criteria andProductCountEqualTo(Integer value) { + addCriterion("product_count =", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotEqualTo(Integer value) { + addCriterion("product_count <>", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountGreaterThan(Integer value) { + addCriterion("product_count >", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountGreaterThanOrEqualTo(Integer value) { + addCriterion("product_count >=", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountLessThan(Integer value) { + addCriterion("product_count <", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountLessThanOrEqualTo(Integer value) { + addCriterion("product_count <=", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountIn(List values) { + addCriterion("product_count in", values, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotIn(List values) { + addCriterion("product_count not in", values, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountBetween(Integer value1, Integer value2) { + addCriterion("product_count between", value1, value2, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotBetween(Integer value1, Integer value2) { + addCriterion("product_count not between", value1, value2, "productCount"); + return (Criteria) this; + } + + public Criteria andProductUnitIsNull() { + addCriterion("product_unit is null"); + return (Criteria) this; + } + + public Criteria andProductUnitIsNotNull() { + addCriterion("product_unit is not null"); + return (Criteria) this; + } + + public Criteria andProductUnitEqualTo(String value) { + addCriterion("product_unit =", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitNotEqualTo(String value) { + addCriterion("product_unit <>", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitGreaterThan(String value) { + addCriterion("product_unit >", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitGreaterThanOrEqualTo(String value) { + addCriterion("product_unit >=", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitLessThan(String value) { + addCriterion("product_unit <", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitLessThanOrEqualTo(String value) { + addCriterion("product_unit <=", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitLike(String value) { + addCriterion("product_unit like", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitNotLike(String value) { + addCriterion("product_unit not like", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitIn(List values) { + addCriterion("product_unit in", values, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitNotIn(List values) { + addCriterion("product_unit not in", values, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitBetween(String value1, String value2) { + addCriterion("product_unit between", value1, value2, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitNotBetween(String value1, String value2) { + addCriterion("product_unit not between", value1, value2, "productUnit"); + return (Criteria) this; + } + + public Criteria andNavStatusIsNull() { + addCriterion("nav_status is null"); + return (Criteria) this; + } + + public Criteria andNavStatusIsNotNull() { + addCriterion("nav_status is not null"); + return (Criteria) this; + } + + public Criteria andNavStatusEqualTo(Integer value) { + addCriterion("nav_status =", value, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusNotEqualTo(Integer value) { + addCriterion("nav_status <>", value, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusGreaterThan(Integer value) { + addCriterion("nav_status >", value, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("nav_status >=", value, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusLessThan(Integer value) { + addCriterion("nav_status <", value, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusLessThanOrEqualTo(Integer value) { + addCriterion("nav_status <=", value, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusIn(List values) { + addCriterion("nav_status in", values, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusNotIn(List values) { + addCriterion("nav_status not in", values, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusBetween(Integer value1, Integer value2) { + addCriterion("nav_status between", value1, value2, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusNotBetween(Integer value1, Integer value2) { + addCriterion("nav_status not between", value1, value2, "navStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andKeywordsIsNull() { + addCriterion("keywords is null"); + return (Criteria) this; + } + + public Criteria andKeywordsIsNotNull() { + addCriterion("keywords is not null"); + return (Criteria) this; + } + + public Criteria andKeywordsEqualTo(String value) { + addCriterion("keywords =", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsNotEqualTo(String value) { + addCriterion("keywords <>", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsGreaterThan(String value) { + addCriterion("keywords >", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsGreaterThanOrEqualTo(String value) { + addCriterion("keywords >=", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsLessThan(String value) { + addCriterion("keywords <", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsLessThanOrEqualTo(String value) { + addCriterion("keywords <=", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsLike(String value) { + addCriterion("keywords like", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsNotLike(String value) { + addCriterion("keywords not like", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsIn(List values) { + addCriterion("keywords in", values, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsNotIn(List values) { + addCriterion("keywords not in", values, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsBetween(String value1, String value2) { + addCriterion("keywords between", value1, value2, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsNotBetween(String value1, String value2) { + addCriterion("keywords not between", value1, value2, "keywords"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductExample.java new file mode 100644 index 0000000..a69c80c --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductExample.java @@ -0,0 +1,2602 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class PmsProductExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andBrandIdIsNull() { + addCriterion("brand_id is null"); + return (Criteria) this; + } + + public Criteria andBrandIdIsNotNull() { + addCriterion("brand_id is not null"); + return (Criteria) this; + } + + public Criteria andBrandIdEqualTo(Long value) { + addCriterion("brand_id =", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdNotEqualTo(Long value) { + addCriterion("brand_id <>", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdGreaterThan(Long value) { + addCriterion("brand_id >", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdGreaterThanOrEqualTo(Long value) { + addCriterion("brand_id >=", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdLessThan(Long value) { + addCriterion("brand_id <", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdLessThanOrEqualTo(Long value) { + addCriterion("brand_id <=", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdIn(List values) { + addCriterion("brand_id in", values, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdNotIn(List values) { + addCriterion("brand_id not in", values, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdBetween(Long value1, Long value2) { + addCriterion("brand_id between", value1, value2, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdNotBetween(Long value1, Long value2) { + addCriterion("brand_id not between", value1, value2, "brandId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNull() { + addCriterion("product_category_id is null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNotNull() { + addCriterion("product_category_id is not null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdEqualTo(Long value) { + addCriterion("product_category_id =", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotEqualTo(Long value) { + addCriterion("product_category_id <>", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThan(Long value) { + addCriterion("product_category_id >", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_category_id >=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThan(Long value) { + addCriterion("product_category_id <", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("product_category_id <=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIn(List values) { + addCriterion("product_category_id in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotIn(List values) { + addCriterion("product_category_id not in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdBetween(Long value1, Long value2) { + addCriterion("product_category_id between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("product_category_id not between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andFeightTemplateIdIsNull() { + addCriterion("feight_template_id is null"); + return (Criteria) this; + } + + public Criteria andFeightTemplateIdIsNotNull() { + addCriterion("feight_template_id is not null"); + return (Criteria) this; + } + + public Criteria andFeightTemplateIdEqualTo(Long value) { + addCriterion("feight_template_id =", value, "feightTemplateId"); + return (Criteria) this; + } + + public Criteria andFeightTemplateIdNotEqualTo(Long value) { + addCriterion("feight_template_id <>", value, "feightTemplateId"); + return (Criteria) this; + } + + public Criteria andFeightTemplateIdGreaterThan(Long value) { + addCriterion("feight_template_id >", value, "feightTemplateId"); + return (Criteria) this; + } + + public Criteria andFeightTemplateIdGreaterThanOrEqualTo(Long value) { + addCriterion("feight_template_id >=", value, "feightTemplateId"); + return (Criteria) this; + } + + public Criteria andFeightTemplateIdLessThan(Long value) { + addCriterion("feight_template_id <", value, "feightTemplateId"); + return (Criteria) this; + } + + public Criteria andFeightTemplateIdLessThanOrEqualTo(Long value) { + addCriterion("feight_template_id <=", value, "feightTemplateId"); + return (Criteria) this; + } + + public Criteria andFeightTemplateIdIn(List values) { + addCriterion("feight_template_id in", values, "feightTemplateId"); + return (Criteria) this; + } + + public Criteria andFeightTemplateIdNotIn(List values) { + addCriterion("feight_template_id not in", values, "feightTemplateId"); + return (Criteria) this; + } + + public Criteria andFeightTemplateIdBetween(Long value1, Long value2) { + addCriterion("feight_template_id between", value1, value2, "feightTemplateId"); + return (Criteria) this; + } + + public Criteria andFeightTemplateIdNotBetween(Long value1, Long value2) { + addCriterion("feight_template_id not between", value1, value2, "feightTemplateId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdIsNull() { + addCriterion("product_attribute_category_id is null"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdIsNotNull() { + addCriterion("product_attribute_category_id is not null"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdEqualTo(Long value) { + addCriterion("product_attribute_category_id =", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdNotEqualTo(Long value) { + addCriterion("product_attribute_category_id <>", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdGreaterThan(Long value) { + addCriterion("product_attribute_category_id >", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_attribute_category_id >=", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdLessThan(Long value) { + addCriterion("product_attribute_category_id <", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("product_attribute_category_id <=", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdIn(List values) { + addCriterion("product_attribute_category_id in", values, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdNotIn(List values) { + addCriterion("product_attribute_category_id not in", values, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdBetween(Long value1, Long value2) { + addCriterion("product_attribute_category_id between", value1, value2, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("product_attribute_category_id not between", value1, value2, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andPicIsNull() { + addCriterion("pic is null"); + return (Criteria) this; + } + + public Criteria andPicIsNotNull() { + addCriterion("pic is not null"); + return (Criteria) this; + } + + public Criteria andPicEqualTo(String value) { + addCriterion("pic =", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotEqualTo(String value) { + addCriterion("pic <>", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThan(String value) { + addCriterion("pic >", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThanOrEqualTo(String value) { + addCriterion("pic >=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThan(String value) { + addCriterion("pic <", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThanOrEqualTo(String value) { + addCriterion("pic <=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLike(String value) { + addCriterion("pic like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotLike(String value) { + addCriterion("pic not like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicIn(List values) { + addCriterion("pic in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotIn(List values) { + addCriterion("pic not in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicBetween(String value1, String value2) { + addCriterion("pic between", value1, value2, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotBetween(String value1, String value2) { + addCriterion("pic not between", value1, value2, "pic"); + return (Criteria) this; + } + + public Criteria andProductSnIsNull() { + addCriterion("product_sn is null"); + return (Criteria) this; + } + + public Criteria andProductSnIsNotNull() { + addCriterion("product_sn is not null"); + return (Criteria) this; + } + + public Criteria andProductSnEqualTo(String value) { + addCriterion("product_sn =", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotEqualTo(String value) { + addCriterion("product_sn <>", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnGreaterThan(String value) { + addCriterion("product_sn >", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnGreaterThanOrEqualTo(String value) { + addCriterion("product_sn >=", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnLessThan(String value) { + addCriterion("product_sn <", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnLessThanOrEqualTo(String value) { + addCriterion("product_sn <=", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnLike(String value) { + addCriterion("product_sn like", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotLike(String value) { + addCriterion("product_sn not like", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnIn(List values) { + addCriterion("product_sn in", values, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotIn(List values) { + addCriterion("product_sn not in", values, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnBetween(String value1, String value2) { + addCriterion("product_sn between", value1, value2, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotBetween(String value1, String value2) { + addCriterion("product_sn not between", value1, value2, "productSn"); + return (Criteria) this; + } + + public Criteria andDeleteStatusIsNull() { + addCriterion("delete_status is null"); + return (Criteria) this; + } + + public Criteria andDeleteStatusIsNotNull() { + addCriterion("delete_status is not null"); + return (Criteria) this; + } + + public Criteria andDeleteStatusEqualTo(Integer value) { + addCriterion("delete_status =", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusNotEqualTo(Integer value) { + addCriterion("delete_status <>", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusGreaterThan(Integer value) { + addCriterion("delete_status >", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("delete_status >=", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusLessThan(Integer value) { + addCriterion("delete_status <", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) { + addCriterion("delete_status <=", value, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusIn(List values) { + addCriterion("delete_status in", values, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusNotIn(List values) { + addCriterion("delete_status not in", values, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusBetween(Integer value1, Integer value2) { + addCriterion("delete_status between", value1, value2, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) { + addCriterion("delete_status not between", value1, value2, "deleteStatus"); + return (Criteria) this; + } + + public Criteria andPublishStatusIsNull() { + addCriterion("publish_status is null"); + return (Criteria) this; + } + + public Criteria andPublishStatusIsNotNull() { + addCriterion("publish_status is not null"); + return (Criteria) this; + } + + public Criteria andPublishStatusEqualTo(Integer value) { + addCriterion("publish_status =", value, "publishStatus"); + return (Criteria) this; + } + + public Criteria andPublishStatusNotEqualTo(Integer value) { + addCriterion("publish_status <>", value, "publishStatus"); + return (Criteria) this; + } + + public Criteria andPublishStatusGreaterThan(Integer value) { + addCriterion("publish_status >", value, "publishStatus"); + return (Criteria) this; + } + + public Criteria andPublishStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("publish_status >=", value, "publishStatus"); + return (Criteria) this; + } + + public Criteria andPublishStatusLessThan(Integer value) { + addCriterion("publish_status <", value, "publishStatus"); + return (Criteria) this; + } + + public Criteria andPublishStatusLessThanOrEqualTo(Integer value) { + addCriterion("publish_status <=", value, "publishStatus"); + return (Criteria) this; + } + + public Criteria andPublishStatusIn(List values) { + addCriterion("publish_status in", values, "publishStatus"); + return (Criteria) this; + } + + public Criteria andPublishStatusNotIn(List values) { + addCriterion("publish_status not in", values, "publishStatus"); + return (Criteria) this; + } + + public Criteria andPublishStatusBetween(Integer value1, Integer value2) { + addCriterion("publish_status between", value1, value2, "publishStatus"); + return (Criteria) this; + } + + public Criteria andPublishStatusNotBetween(Integer value1, Integer value2) { + addCriterion("publish_status not between", value1, value2, "publishStatus"); + return (Criteria) this; + } + + public Criteria andNewStatusIsNull() { + addCriterion("new_status is null"); + return (Criteria) this; + } + + public Criteria andNewStatusIsNotNull() { + addCriterion("new_status is not null"); + return (Criteria) this; + } + + public Criteria andNewStatusEqualTo(Integer value) { + addCriterion("new_status =", value, "newStatus"); + return (Criteria) this; + } + + public Criteria andNewStatusNotEqualTo(Integer value) { + addCriterion("new_status <>", value, "newStatus"); + return (Criteria) this; + } + + public Criteria andNewStatusGreaterThan(Integer value) { + addCriterion("new_status >", value, "newStatus"); + return (Criteria) this; + } + + public Criteria andNewStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("new_status >=", value, "newStatus"); + return (Criteria) this; + } + + public Criteria andNewStatusLessThan(Integer value) { + addCriterion("new_status <", value, "newStatus"); + return (Criteria) this; + } + + public Criteria andNewStatusLessThanOrEqualTo(Integer value) { + addCriterion("new_status <=", value, "newStatus"); + return (Criteria) this; + } + + public Criteria andNewStatusIn(List values) { + addCriterion("new_status in", values, "newStatus"); + return (Criteria) this; + } + + public Criteria andNewStatusNotIn(List values) { + addCriterion("new_status not in", values, "newStatus"); + return (Criteria) this; + } + + public Criteria andNewStatusBetween(Integer value1, Integer value2) { + addCriterion("new_status between", value1, value2, "newStatus"); + return (Criteria) this; + } + + public Criteria andNewStatusNotBetween(Integer value1, Integer value2) { + addCriterion("new_status not between", value1, value2, "newStatus"); + return (Criteria) this; + } + + public Criteria andRecommandStatusIsNull() { + addCriterion("recommand_status is null"); + return (Criteria) this; + } + + public Criteria andRecommandStatusIsNotNull() { + addCriterion("recommand_status is not null"); + return (Criteria) this; + } + + public Criteria andRecommandStatusEqualTo(Integer value) { + addCriterion("recommand_status =", value, "recommandStatus"); + return (Criteria) this; + } + + public Criteria andRecommandStatusNotEqualTo(Integer value) { + addCriterion("recommand_status <>", value, "recommandStatus"); + return (Criteria) this; + } + + public Criteria andRecommandStatusGreaterThan(Integer value) { + addCriterion("recommand_status >", value, "recommandStatus"); + return (Criteria) this; + } + + public Criteria andRecommandStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("recommand_status >=", value, "recommandStatus"); + return (Criteria) this; + } + + public Criteria andRecommandStatusLessThan(Integer value) { + addCriterion("recommand_status <", value, "recommandStatus"); + return (Criteria) this; + } + + public Criteria andRecommandStatusLessThanOrEqualTo(Integer value) { + addCriterion("recommand_status <=", value, "recommandStatus"); + return (Criteria) this; + } + + public Criteria andRecommandStatusIn(List values) { + addCriterion("recommand_status in", values, "recommandStatus"); + return (Criteria) this; + } + + public Criteria andRecommandStatusNotIn(List values) { + addCriterion("recommand_status not in", values, "recommandStatus"); + return (Criteria) this; + } + + public Criteria andRecommandStatusBetween(Integer value1, Integer value2) { + addCriterion("recommand_status between", value1, value2, "recommandStatus"); + return (Criteria) this; + } + + public Criteria andRecommandStatusNotBetween(Integer value1, Integer value2) { + addCriterion("recommand_status not between", value1, value2, "recommandStatus"); + return (Criteria) this; + } + + public Criteria andVerifyStatusIsNull() { + addCriterion("verify_status is null"); + return (Criteria) this; + } + + public Criteria andVerifyStatusIsNotNull() { + addCriterion("verify_status is not null"); + return (Criteria) this; + } + + public Criteria andVerifyStatusEqualTo(Integer value) { + addCriterion("verify_status =", value, "verifyStatus"); + return (Criteria) this; + } + + public Criteria andVerifyStatusNotEqualTo(Integer value) { + addCriterion("verify_status <>", value, "verifyStatus"); + return (Criteria) this; + } + + public Criteria andVerifyStatusGreaterThan(Integer value) { + addCriterion("verify_status >", value, "verifyStatus"); + return (Criteria) this; + } + + public Criteria andVerifyStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("verify_status >=", value, "verifyStatus"); + return (Criteria) this; + } + + public Criteria andVerifyStatusLessThan(Integer value) { + addCriterion("verify_status <", value, "verifyStatus"); + return (Criteria) this; + } + + public Criteria andVerifyStatusLessThanOrEqualTo(Integer value) { + addCriterion("verify_status <=", value, "verifyStatus"); + return (Criteria) this; + } + + public Criteria andVerifyStatusIn(List values) { + addCriterion("verify_status in", values, "verifyStatus"); + return (Criteria) this; + } + + public Criteria andVerifyStatusNotIn(List values) { + addCriterion("verify_status not in", values, "verifyStatus"); + return (Criteria) this; + } + + public Criteria andVerifyStatusBetween(Integer value1, Integer value2) { + addCriterion("verify_status between", value1, value2, "verifyStatus"); + return (Criteria) this; + } + + public Criteria andVerifyStatusNotBetween(Integer value1, Integer value2) { + addCriterion("verify_status not between", value1, value2, "verifyStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSaleIsNull() { + addCriterion("sale is null"); + return (Criteria) this; + } + + public Criteria andSaleIsNotNull() { + addCriterion("sale is not null"); + return (Criteria) this; + } + + public Criteria andSaleEqualTo(Integer value) { + addCriterion("sale =", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleNotEqualTo(Integer value) { + addCriterion("sale <>", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleGreaterThan(Integer value) { + addCriterion("sale >", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleGreaterThanOrEqualTo(Integer value) { + addCriterion("sale >=", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleLessThan(Integer value) { + addCriterion("sale <", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleLessThanOrEqualTo(Integer value) { + addCriterion("sale <=", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleIn(List values) { + addCriterion("sale in", values, "sale"); + return (Criteria) this; + } + + public Criteria andSaleNotIn(List values) { + addCriterion("sale not in", values, "sale"); + return (Criteria) this; + } + + public Criteria andSaleBetween(Integer value1, Integer value2) { + addCriterion("sale between", value1, value2, "sale"); + return (Criteria) this; + } + + public Criteria andSaleNotBetween(Integer value1, Integer value2) { + addCriterion("sale not between", value1, value2, "sale"); + return (Criteria) this; + } + + public Criteria andPriceIsNull() { + addCriterion("price is null"); + return (Criteria) this; + } + + public Criteria andPriceIsNotNull() { + addCriterion("price is not null"); + return (Criteria) this; + } + + public Criteria andPriceEqualTo(BigDecimal value) { + addCriterion("price =", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotEqualTo(BigDecimal value) { + addCriterion("price <>", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThan(BigDecimal value) { + addCriterion("price >", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("price >=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThan(BigDecimal value) { + addCriterion("price <", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("price <=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceIn(List values) { + addCriterion("price in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotIn(List values) { + addCriterion("price not in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price not between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andPromotionPriceIsNull() { + addCriterion("promotion_price is null"); + return (Criteria) this; + } + + public Criteria andPromotionPriceIsNotNull() { + addCriterion("promotion_price is not null"); + return (Criteria) this; + } + + public Criteria andPromotionPriceEqualTo(BigDecimal value) { + addCriterion("promotion_price =", value, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceNotEqualTo(BigDecimal value) { + addCriterion("promotion_price <>", value, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceGreaterThan(BigDecimal value) { + addCriterion("promotion_price >", value, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("promotion_price >=", value, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceLessThan(BigDecimal value) { + addCriterion("promotion_price <", value, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("promotion_price <=", value, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceIn(List values) { + addCriterion("promotion_price in", values, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceNotIn(List values) { + addCriterion("promotion_price not in", values, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("promotion_price between", value1, value2, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("promotion_price not between", value1, value2, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andGiftGrowthIsNull() { + addCriterion("gift_growth is null"); + return (Criteria) this; + } + + public Criteria andGiftGrowthIsNotNull() { + addCriterion("gift_growth is not null"); + return (Criteria) this; + } + + public Criteria andGiftGrowthEqualTo(Integer value) { + addCriterion("gift_growth =", value, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthNotEqualTo(Integer value) { + addCriterion("gift_growth <>", value, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthGreaterThan(Integer value) { + addCriterion("gift_growth >", value, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthGreaterThanOrEqualTo(Integer value) { + addCriterion("gift_growth >=", value, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthLessThan(Integer value) { + addCriterion("gift_growth <", value, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthLessThanOrEqualTo(Integer value) { + addCriterion("gift_growth <=", value, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthIn(List values) { + addCriterion("gift_growth in", values, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthNotIn(List values) { + addCriterion("gift_growth not in", values, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthBetween(Integer value1, Integer value2) { + addCriterion("gift_growth between", value1, value2, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftGrowthNotBetween(Integer value1, Integer value2) { + addCriterion("gift_growth not between", value1, value2, "giftGrowth"); + return (Criteria) this; + } + + public Criteria andGiftPointIsNull() { + addCriterion("gift_point is null"); + return (Criteria) this; + } + + public Criteria andGiftPointIsNotNull() { + addCriterion("gift_point is not null"); + return (Criteria) this; + } + + public Criteria andGiftPointEqualTo(Integer value) { + addCriterion("gift_point =", value, "giftPoint"); + return (Criteria) this; + } + + public Criteria andGiftPointNotEqualTo(Integer value) { + addCriterion("gift_point <>", value, "giftPoint"); + return (Criteria) this; + } + + public Criteria andGiftPointGreaterThan(Integer value) { + addCriterion("gift_point >", value, "giftPoint"); + return (Criteria) this; + } + + public Criteria andGiftPointGreaterThanOrEqualTo(Integer value) { + addCriterion("gift_point >=", value, "giftPoint"); + return (Criteria) this; + } + + public Criteria andGiftPointLessThan(Integer value) { + addCriterion("gift_point <", value, "giftPoint"); + return (Criteria) this; + } + + public Criteria andGiftPointLessThanOrEqualTo(Integer value) { + addCriterion("gift_point <=", value, "giftPoint"); + return (Criteria) this; + } + + public Criteria andGiftPointIn(List values) { + addCriterion("gift_point in", values, "giftPoint"); + return (Criteria) this; + } + + public Criteria andGiftPointNotIn(List values) { + addCriterion("gift_point not in", values, "giftPoint"); + return (Criteria) this; + } + + public Criteria andGiftPointBetween(Integer value1, Integer value2) { + addCriterion("gift_point between", value1, value2, "giftPoint"); + return (Criteria) this; + } + + public Criteria andGiftPointNotBetween(Integer value1, Integer value2) { + addCriterion("gift_point not between", value1, value2, "giftPoint"); + return (Criteria) this; + } + + public Criteria andUsePointLimitIsNull() { + addCriterion("use_point_limit is null"); + return (Criteria) this; + } + + public Criteria andUsePointLimitIsNotNull() { + addCriterion("use_point_limit is not null"); + return (Criteria) this; + } + + public Criteria andUsePointLimitEqualTo(Integer value) { + addCriterion("use_point_limit =", value, "usePointLimit"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNotEqualTo(Integer value) { + addCriterion("use_point_limit <>", value, "usePointLimit"); + return (Criteria) this; + } + + public Criteria andUsePointLimitGreaterThan(Integer value) { + addCriterion("use_point_limit >", value, "usePointLimit"); + return (Criteria) this; + } + + public Criteria andUsePointLimitGreaterThanOrEqualTo(Integer value) { + addCriterion("use_point_limit >=", value, "usePointLimit"); + return (Criteria) this; + } + + public Criteria andUsePointLimitLessThan(Integer value) { + addCriterion("use_point_limit <", value, "usePointLimit"); + return (Criteria) this; + } + + public Criteria andUsePointLimitLessThanOrEqualTo(Integer value) { + addCriterion("use_point_limit <=", value, "usePointLimit"); + return (Criteria) this; + } + + public Criteria andUsePointLimitIn(List values) { + addCriterion("use_point_limit in", values, "usePointLimit"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNotIn(List values) { + addCriterion("use_point_limit not in", values, "usePointLimit"); + return (Criteria) this; + } + + public Criteria andUsePointLimitBetween(Integer value1, Integer value2) { + addCriterion("use_point_limit between", value1, value2, "usePointLimit"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNotBetween(Integer value1, Integer value2) { + addCriterion("use_point_limit not between", value1, value2, "usePointLimit"); + return (Criteria) this; + } + + public Criteria andSubTitleIsNull() { + addCriterion("sub_title is null"); + return (Criteria) this; + } + + public Criteria andSubTitleIsNotNull() { + addCriterion("sub_title is not null"); + return (Criteria) this; + } + + public Criteria andSubTitleEqualTo(String value) { + addCriterion("sub_title =", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleNotEqualTo(String value) { + addCriterion("sub_title <>", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleGreaterThan(String value) { + addCriterion("sub_title >", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleGreaterThanOrEqualTo(String value) { + addCriterion("sub_title >=", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleLessThan(String value) { + addCriterion("sub_title <", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleLessThanOrEqualTo(String value) { + addCriterion("sub_title <=", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleLike(String value) { + addCriterion("sub_title like", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleNotLike(String value) { + addCriterion("sub_title not like", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleIn(List values) { + addCriterion("sub_title in", values, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleNotIn(List values) { + addCriterion("sub_title not in", values, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleBetween(String value1, String value2) { + addCriterion("sub_title between", value1, value2, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleNotBetween(String value1, String value2) { + addCriterion("sub_title not between", value1, value2, "subTitle"); + return (Criteria) this; + } + + public Criteria andOriginalPriceIsNull() { + addCriterion("original_price is null"); + return (Criteria) this; + } + + public Criteria andOriginalPriceIsNotNull() { + addCriterion("original_price is not null"); + return (Criteria) this; + } + + public Criteria andOriginalPriceEqualTo(BigDecimal value) { + addCriterion("original_price =", value, "originalPrice"); + return (Criteria) this; + } + + public Criteria andOriginalPriceNotEqualTo(BigDecimal value) { + addCriterion("original_price <>", value, "originalPrice"); + return (Criteria) this; + } + + public Criteria andOriginalPriceGreaterThan(BigDecimal value) { + addCriterion("original_price >", value, "originalPrice"); + return (Criteria) this; + } + + public Criteria andOriginalPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("original_price >=", value, "originalPrice"); + return (Criteria) this; + } + + public Criteria andOriginalPriceLessThan(BigDecimal value) { + addCriterion("original_price <", value, "originalPrice"); + return (Criteria) this; + } + + public Criteria andOriginalPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("original_price <=", value, "originalPrice"); + return (Criteria) this; + } + + public Criteria andOriginalPriceIn(List values) { + addCriterion("original_price in", values, "originalPrice"); + return (Criteria) this; + } + + public Criteria andOriginalPriceNotIn(List values) { + addCriterion("original_price not in", values, "originalPrice"); + return (Criteria) this; + } + + public Criteria andOriginalPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("original_price between", value1, value2, "originalPrice"); + return (Criteria) this; + } + + public Criteria andOriginalPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("original_price not between", value1, value2, "originalPrice"); + return (Criteria) this; + } + + public Criteria andStockIsNull() { + addCriterion("stock is null"); + return (Criteria) this; + } + + public Criteria andStockIsNotNull() { + addCriterion("stock is not null"); + return (Criteria) this; + } + + public Criteria andStockEqualTo(Integer value) { + addCriterion("stock =", value, "stock"); + return (Criteria) this; + } + + public Criteria andStockNotEqualTo(Integer value) { + addCriterion("stock <>", value, "stock"); + return (Criteria) this; + } + + public Criteria andStockGreaterThan(Integer value) { + addCriterion("stock >", value, "stock"); + return (Criteria) this; + } + + public Criteria andStockGreaterThanOrEqualTo(Integer value) { + addCriterion("stock >=", value, "stock"); + return (Criteria) this; + } + + public Criteria andStockLessThan(Integer value) { + addCriterion("stock <", value, "stock"); + return (Criteria) this; + } + + public Criteria andStockLessThanOrEqualTo(Integer value) { + addCriterion("stock <=", value, "stock"); + return (Criteria) this; + } + + public Criteria andStockIn(List values) { + addCriterion("stock in", values, "stock"); + return (Criteria) this; + } + + public Criteria andStockNotIn(List values) { + addCriterion("stock not in", values, "stock"); + return (Criteria) this; + } + + public Criteria andStockBetween(Integer value1, Integer value2) { + addCriterion("stock between", value1, value2, "stock"); + return (Criteria) this; + } + + public Criteria andStockNotBetween(Integer value1, Integer value2) { + addCriterion("stock not between", value1, value2, "stock"); + return (Criteria) this; + } + + public Criteria andLowStockIsNull() { + addCriterion("low_stock is null"); + return (Criteria) this; + } + + public Criteria andLowStockIsNotNull() { + addCriterion("low_stock is not null"); + return (Criteria) this; + } + + public Criteria andLowStockEqualTo(Integer value) { + addCriterion("low_stock =", value, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockNotEqualTo(Integer value) { + addCriterion("low_stock <>", value, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockGreaterThan(Integer value) { + addCriterion("low_stock >", value, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockGreaterThanOrEqualTo(Integer value) { + addCriterion("low_stock >=", value, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockLessThan(Integer value) { + addCriterion("low_stock <", value, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockLessThanOrEqualTo(Integer value) { + addCriterion("low_stock <=", value, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockIn(List values) { + addCriterion("low_stock in", values, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockNotIn(List values) { + addCriterion("low_stock not in", values, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockBetween(Integer value1, Integer value2) { + addCriterion("low_stock between", value1, value2, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockNotBetween(Integer value1, Integer value2) { + addCriterion("low_stock not between", value1, value2, "lowStock"); + return (Criteria) this; + } + + public Criteria andUnitIsNull() { + addCriterion("unit is null"); + return (Criteria) this; + } + + public Criteria andUnitIsNotNull() { + addCriterion("unit is not null"); + return (Criteria) this; + } + + public Criteria andUnitEqualTo(String value) { + addCriterion("unit =", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitNotEqualTo(String value) { + addCriterion("unit <>", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitGreaterThan(String value) { + addCriterion("unit >", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitGreaterThanOrEqualTo(String value) { + addCriterion("unit >=", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitLessThan(String value) { + addCriterion("unit <", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitLessThanOrEqualTo(String value) { + addCriterion("unit <=", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitLike(String value) { + addCriterion("unit like", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitNotLike(String value) { + addCriterion("unit not like", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitIn(List values) { + addCriterion("unit in", values, "unit"); + return (Criteria) this; + } + + public Criteria andUnitNotIn(List values) { + addCriterion("unit not in", values, "unit"); + return (Criteria) this; + } + + public Criteria andUnitBetween(String value1, String value2) { + addCriterion("unit between", value1, value2, "unit"); + return (Criteria) this; + } + + public Criteria andUnitNotBetween(String value1, String value2) { + addCriterion("unit not between", value1, value2, "unit"); + return (Criteria) this; + } + + public Criteria andWeightIsNull() { + addCriterion("weight is null"); + return (Criteria) this; + } + + public Criteria andWeightIsNotNull() { + addCriterion("weight is not null"); + return (Criteria) this; + } + + public Criteria andWeightEqualTo(BigDecimal value) { + addCriterion("weight =", value, "weight"); + return (Criteria) this; + } + + public Criteria andWeightNotEqualTo(BigDecimal value) { + addCriterion("weight <>", value, "weight"); + return (Criteria) this; + } + + public Criteria andWeightGreaterThan(BigDecimal value) { + addCriterion("weight >", value, "weight"); + return (Criteria) this; + } + + public Criteria andWeightGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("weight >=", value, "weight"); + return (Criteria) this; + } + + public Criteria andWeightLessThan(BigDecimal value) { + addCriterion("weight <", value, "weight"); + return (Criteria) this; + } + + public Criteria andWeightLessThanOrEqualTo(BigDecimal value) { + addCriterion("weight <=", value, "weight"); + return (Criteria) this; + } + + public Criteria andWeightIn(List values) { + addCriterion("weight in", values, "weight"); + return (Criteria) this; + } + + public Criteria andWeightNotIn(List values) { + addCriterion("weight not in", values, "weight"); + return (Criteria) this; + } + + public Criteria andWeightBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("weight between", value1, value2, "weight"); + return (Criteria) this; + } + + public Criteria andWeightNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("weight not between", value1, value2, "weight"); + return (Criteria) this; + } + + public Criteria andPreviewStatusIsNull() { + addCriterion("preview_status is null"); + return (Criteria) this; + } + + public Criteria andPreviewStatusIsNotNull() { + addCriterion("preview_status is not null"); + return (Criteria) this; + } + + public Criteria andPreviewStatusEqualTo(Integer value) { + addCriterion("preview_status =", value, "previewStatus"); + return (Criteria) this; + } + + public Criteria andPreviewStatusNotEqualTo(Integer value) { + addCriterion("preview_status <>", value, "previewStatus"); + return (Criteria) this; + } + + public Criteria andPreviewStatusGreaterThan(Integer value) { + addCriterion("preview_status >", value, "previewStatus"); + return (Criteria) this; + } + + public Criteria andPreviewStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("preview_status >=", value, "previewStatus"); + return (Criteria) this; + } + + public Criteria andPreviewStatusLessThan(Integer value) { + addCriterion("preview_status <", value, "previewStatus"); + return (Criteria) this; + } + + public Criteria andPreviewStatusLessThanOrEqualTo(Integer value) { + addCriterion("preview_status <=", value, "previewStatus"); + return (Criteria) this; + } + + public Criteria andPreviewStatusIn(List values) { + addCriterion("preview_status in", values, "previewStatus"); + return (Criteria) this; + } + + public Criteria andPreviewStatusNotIn(List values) { + addCriterion("preview_status not in", values, "previewStatus"); + return (Criteria) this; + } + + public Criteria andPreviewStatusBetween(Integer value1, Integer value2) { + addCriterion("preview_status between", value1, value2, "previewStatus"); + return (Criteria) this; + } + + public Criteria andPreviewStatusNotBetween(Integer value1, Integer value2) { + addCriterion("preview_status not between", value1, value2, "previewStatus"); + return (Criteria) this; + } + + public Criteria andServiceIdsIsNull() { + addCriterion("service_ids is null"); + return (Criteria) this; + } + + public Criteria andServiceIdsIsNotNull() { + addCriterion("service_ids is not null"); + return (Criteria) this; + } + + public Criteria andServiceIdsEqualTo(String value) { + addCriterion("service_ids =", value, "serviceIds"); + return (Criteria) this; + } + + public Criteria andServiceIdsNotEqualTo(String value) { + addCriterion("service_ids <>", value, "serviceIds"); + return (Criteria) this; + } + + public Criteria andServiceIdsGreaterThan(String value) { + addCriterion("service_ids >", value, "serviceIds"); + return (Criteria) this; + } + + public Criteria andServiceIdsGreaterThanOrEqualTo(String value) { + addCriterion("service_ids >=", value, "serviceIds"); + return (Criteria) this; + } + + public Criteria andServiceIdsLessThan(String value) { + addCriterion("service_ids <", value, "serviceIds"); + return (Criteria) this; + } + + public Criteria andServiceIdsLessThanOrEqualTo(String value) { + addCriterion("service_ids <=", value, "serviceIds"); + return (Criteria) this; + } + + public Criteria andServiceIdsLike(String value) { + addCriterion("service_ids like", value, "serviceIds"); + return (Criteria) this; + } + + public Criteria andServiceIdsNotLike(String value) { + addCriterion("service_ids not like", value, "serviceIds"); + return (Criteria) this; + } + + public Criteria andServiceIdsIn(List values) { + addCriterion("service_ids in", values, "serviceIds"); + return (Criteria) this; + } + + public Criteria andServiceIdsNotIn(List values) { + addCriterion("service_ids not in", values, "serviceIds"); + return (Criteria) this; + } + + public Criteria andServiceIdsBetween(String value1, String value2) { + addCriterion("service_ids between", value1, value2, "serviceIds"); + return (Criteria) this; + } + + public Criteria andServiceIdsNotBetween(String value1, String value2) { + addCriterion("service_ids not between", value1, value2, "serviceIds"); + return (Criteria) this; + } + + public Criteria andKeywordsIsNull() { + addCriterion("keywords is null"); + return (Criteria) this; + } + + public Criteria andKeywordsIsNotNull() { + addCriterion("keywords is not null"); + return (Criteria) this; + } + + public Criteria andKeywordsEqualTo(String value) { + addCriterion("keywords =", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsNotEqualTo(String value) { + addCriterion("keywords <>", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsGreaterThan(String value) { + addCriterion("keywords >", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsGreaterThanOrEqualTo(String value) { + addCriterion("keywords >=", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsLessThan(String value) { + addCriterion("keywords <", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsLessThanOrEqualTo(String value) { + addCriterion("keywords <=", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsLike(String value) { + addCriterion("keywords like", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsNotLike(String value) { + addCriterion("keywords not like", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsIn(List values) { + addCriterion("keywords in", values, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsNotIn(List values) { + addCriterion("keywords not in", values, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsBetween(String value1, String value2) { + addCriterion("keywords between", value1, value2, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsNotBetween(String value1, String value2) { + addCriterion("keywords not between", value1, value2, "keywords"); + return (Criteria) this; + } + + public Criteria andNoteIsNull() { + addCriterion("note is null"); + return (Criteria) this; + } + + public Criteria andNoteIsNotNull() { + addCriterion("note is not null"); + return (Criteria) this; + } + + public Criteria andNoteEqualTo(String value) { + addCriterion("note =", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotEqualTo(String value) { + addCriterion("note <>", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThan(String value) { + addCriterion("note >", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThanOrEqualTo(String value) { + addCriterion("note >=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThan(String value) { + addCriterion("note <", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThanOrEqualTo(String value) { + addCriterion("note <=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLike(String value) { + addCriterion("note like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotLike(String value) { + addCriterion("note not like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteIn(List values) { + addCriterion("note in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotIn(List values) { + addCriterion("note not in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteBetween(String value1, String value2) { + addCriterion("note between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotBetween(String value1, String value2) { + addCriterion("note not between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andAlbumPicsIsNull() { + addCriterion("album_pics is null"); + return (Criteria) this; + } + + public Criteria andAlbumPicsIsNotNull() { + addCriterion("album_pics is not null"); + return (Criteria) this; + } + + public Criteria andAlbumPicsEqualTo(String value) { + addCriterion("album_pics =", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsNotEqualTo(String value) { + addCriterion("album_pics <>", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsGreaterThan(String value) { + addCriterion("album_pics >", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsGreaterThanOrEqualTo(String value) { + addCriterion("album_pics >=", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsLessThan(String value) { + addCriterion("album_pics <", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsLessThanOrEqualTo(String value) { + addCriterion("album_pics <=", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsLike(String value) { + addCriterion("album_pics like", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsNotLike(String value) { + addCriterion("album_pics not like", value, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsIn(List values) { + addCriterion("album_pics in", values, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsNotIn(List values) { + addCriterion("album_pics not in", values, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsBetween(String value1, String value2) { + addCriterion("album_pics between", value1, value2, "albumPics"); + return (Criteria) this; + } + + public Criteria andAlbumPicsNotBetween(String value1, String value2) { + addCriterion("album_pics not between", value1, value2, "albumPics"); + return (Criteria) this; + } + + public Criteria andDetailTitleIsNull() { + addCriterion("detail_title is null"); + return (Criteria) this; + } + + public Criteria andDetailTitleIsNotNull() { + addCriterion("detail_title is not null"); + return (Criteria) this; + } + + public Criteria andDetailTitleEqualTo(String value) { + addCriterion("detail_title =", value, "detailTitle"); + return (Criteria) this; + } + + public Criteria andDetailTitleNotEqualTo(String value) { + addCriterion("detail_title <>", value, "detailTitle"); + return (Criteria) this; + } + + public Criteria andDetailTitleGreaterThan(String value) { + addCriterion("detail_title >", value, "detailTitle"); + return (Criteria) this; + } + + public Criteria andDetailTitleGreaterThanOrEqualTo(String value) { + addCriterion("detail_title >=", value, "detailTitle"); + return (Criteria) this; + } + + public Criteria andDetailTitleLessThan(String value) { + addCriterion("detail_title <", value, "detailTitle"); + return (Criteria) this; + } + + public Criteria andDetailTitleLessThanOrEqualTo(String value) { + addCriterion("detail_title <=", value, "detailTitle"); + return (Criteria) this; + } + + public Criteria andDetailTitleLike(String value) { + addCriterion("detail_title like", value, "detailTitle"); + return (Criteria) this; + } + + public Criteria andDetailTitleNotLike(String value) { + addCriterion("detail_title not like", value, "detailTitle"); + return (Criteria) this; + } + + public Criteria andDetailTitleIn(List values) { + addCriterion("detail_title in", values, "detailTitle"); + return (Criteria) this; + } + + public Criteria andDetailTitleNotIn(List values) { + addCriterion("detail_title not in", values, "detailTitle"); + return (Criteria) this; + } + + public Criteria andDetailTitleBetween(String value1, String value2) { + addCriterion("detail_title between", value1, value2, "detailTitle"); + return (Criteria) this; + } + + public Criteria andDetailTitleNotBetween(String value1, String value2) { + addCriterion("detail_title not between", value1, value2, "detailTitle"); + return (Criteria) this; + } + + public Criteria andPromotionStartTimeIsNull() { + addCriterion("promotion_start_time is null"); + return (Criteria) this; + } + + public Criteria andPromotionStartTimeIsNotNull() { + addCriterion("promotion_start_time is not null"); + return (Criteria) this; + } + + public Criteria andPromotionStartTimeEqualTo(Date value) { + addCriterion("promotion_start_time =", value, "promotionStartTime"); + return (Criteria) this; + } + + public Criteria andPromotionStartTimeNotEqualTo(Date value) { + addCriterion("promotion_start_time <>", value, "promotionStartTime"); + return (Criteria) this; + } + + public Criteria andPromotionStartTimeGreaterThan(Date value) { + addCriterion("promotion_start_time >", value, "promotionStartTime"); + return (Criteria) this; + } + + public Criteria andPromotionStartTimeGreaterThanOrEqualTo(Date value) { + addCriterion("promotion_start_time >=", value, "promotionStartTime"); + return (Criteria) this; + } + + public Criteria andPromotionStartTimeLessThan(Date value) { + addCriterion("promotion_start_time <", value, "promotionStartTime"); + return (Criteria) this; + } + + public Criteria andPromotionStartTimeLessThanOrEqualTo(Date value) { + addCriterion("promotion_start_time <=", value, "promotionStartTime"); + return (Criteria) this; + } + + public Criteria andPromotionStartTimeIn(List values) { + addCriterion("promotion_start_time in", values, "promotionStartTime"); + return (Criteria) this; + } + + public Criteria andPromotionStartTimeNotIn(List values) { + addCriterion("promotion_start_time not in", values, "promotionStartTime"); + return (Criteria) this; + } + + public Criteria andPromotionStartTimeBetween(Date value1, Date value2) { + addCriterion("promotion_start_time between", value1, value2, "promotionStartTime"); + return (Criteria) this; + } + + public Criteria andPromotionStartTimeNotBetween(Date value1, Date value2) { + addCriterion("promotion_start_time not between", value1, value2, "promotionStartTime"); + return (Criteria) this; + } + + public Criteria andPromotionEndTimeIsNull() { + addCriterion("promotion_end_time is null"); + return (Criteria) this; + } + + public Criteria andPromotionEndTimeIsNotNull() { + addCriterion("promotion_end_time is not null"); + return (Criteria) this; + } + + public Criteria andPromotionEndTimeEqualTo(Date value) { + addCriterion("promotion_end_time =", value, "promotionEndTime"); + return (Criteria) this; + } + + public Criteria andPromotionEndTimeNotEqualTo(Date value) { + addCriterion("promotion_end_time <>", value, "promotionEndTime"); + return (Criteria) this; + } + + public Criteria andPromotionEndTimeGreaterThan(Date value) { + addCriterion("promotion_end_time >", value, "promotionEndTime"); + return (Criteria) this; + } + + public Criteria andPromotionEndTimeGreaterThanOrEqualTo(Date value) { + addCriterion("promotion_end_time >=", value, "promotionEndTime"); + return (Criteria) this; + } + + public Criteria andPromotionEndTimeLessThan(Date value) { + addCriterion("promotion_end_time <", value, "promotionEndTime"); + return (Criteria) this; + } + + public Criteria andPromotionEndTimeLessThanOrEqualTo(Date value) { + addCriterion("promotion_end_time <=", value, "promotionEndTime"); + return (Criteria) this; + } + + public Criteria andPromotionEndTimeIn(List values) { + addCriterion("promotion_end_time in", values, "promotionEndTime"); + return (Criteria) this; + } + + public Criteria andPromotionEndTimeNotIn(List values) { + addCriterion("promotion_end_time not in", values, "promotionEndTime"); + return (Criteria) this; + } + + public Criteria andPromotionEndTimeBetween(Date value1, Date value2) { + addCriterion("promotion_end_time between", value1, value2, "promotionEndTime"); + return (Criteria) this; + } + + public Criteria andPromotionEndTimeNotBetween(Date value1, Date value2) { + addCriterion("promotion_end_time not between", value1, value2, "promotionEndTime"); + return (Criteria) this; + } + + public Criteria andPromotionPerLimitIsNull() { + addCriterion("promotion_per_limit is null"); + return (Criteria) this; + } + + public Criteria andPromotionPerLimitIsNotNull() { + addCriterion("promotion_per_limit is not null"); + return (Criteria) this; + } + + public Criteria andPromotionPerLimitEqualTo(Integer value) { + addCriterion("promotion_per_limit =", value, "promotionPerLimit"); + return (Criteria) this; + } + + public Criteria andPromotionPerLimitNotEqualTo(Integer value) { + addCriterion("promotion_per_limit <>", value, "promotionPerLimit"); + return (Criteria) this; + } + + public Criteria andPromotionPerLimitGreaterThan(Integer value) { + addCriterion("promotion_per_limit >", value, "promotionPerLimit"); + return (Criteria) this; + } + + public Criteria andPromotionPerLimitGreaterThanOrEqualTo(Integer value) { + addCriterion("promotion_per_limit >=", value, "promotionPerLimit"); + return (Criteria) this; + } + + public Criteria andPromotionPerLimitLessThan(Integer value) { + addCriterion("promotion_per_limit <", value, "promotionPerLimit"); + return (Criteria) this; + } + + public Criteria andPromotionPerLimitLessThanOrEqualTo(Integer value) { + addCriterion("promotion_per_limit <=", value, "promotionPerLimit"); + return (Criteria) this; + } + + public Criteria andPromotionPerLimitIn(List values) { + addCriterion("promotion_per_limit in", values, "promotionPerLimit"); + return (Criteria) this; + } + + public Criteria andPromotionPerLimitNotIn(List values) { + addCriterion("promotion_per_limit not in", values, "promotionPerLimit"); + return (Criteria) this; + } + + public Criteria andPromotionPerLimitBetween(Integer value1, Integer value2) { + addCriterion("promotion_per_limit between", value1, value2, "promotionPerLimit"); + return (Criteria) this; + } + + public Criteria andPromotionPerLimitNotBetween(Integer value1, Integer value2) { + addCriterion("promotion_per_limit not between", value1, value2, "promotionPerLimit"); + return (Criteria) this; + } + + public Criteria andPromotionTypeIsNull() { + addCriterion("promotion_type is null"); + return (Criteria) this; + } + + public Criteria andPromotionTypeIsNotNull() { + addCriterion("promotion_type is not null"); + return (Criteria) this; + } + + public Criteria andPromotionTypeEqualTo(Integer value) { + addCriterion("promotion_type =", value, "promotionType"); + return (Criteria) this; + } + + public Criteria andPromotionTypeNotEqualTo(Integer value) { + addCriterion("promotion_type <>", value, "promotionType"); + return (Criteria) this; + } + + public Criteria andPromotionTypeGreaterThan(Integer value) { + addCriterion("promotion_type >", value, "promotionType"); + return (Criteria) this; + } + + public Criteria andPromotionTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("promotion_type >=", value, "promotionType"); + return (Criteria) this; + } + + public Criteria andPromotionTypeLessThan(Integer value) { + addCriterion("promotion_type <", value, "promotionType"); + return (Criteria) this; + } + + public Criteria andPromotionTypeLessThanOrEqualTo(Integer value) { + addCriterion("promotion_type <=", value, "promotionType"); + return (Criteria) this; + } + + public Criteria andPromotionTypeIn(List values) { + addCriterion("promotion_type in", values, "promotionType"); + return (Criteria) this; + } + + public Criteria andPromotionTypeNotIn(List values) { + addCriterion("promotion_type not in", values, "promotionType"); + return (Criteria) this; + } + + public Criteria andPromotionTypeBetween(Integer value1, Integer value2) { + addCriterion("promotion_type between", value1, value2, "promotionType"); + return (Criteria) this; + } + + public Criteria andPromotionTypeNotBetween(Integer value1, Integer value2) { + addCriterion("promotion_type not between", value1, value2, "promotionType"); + return (Criteria) this; + } + + public Criteria andBrandNameIsNull() { + addCriterion("brand_name is null"); + return (Criteria) this; + } + + public Criteria andBrandNameIsNotNull() { + addCriterion("brand_name is not null"); + return (Criteria) this; + } + + public Criteria andBrandNameEqualTo(String value) { + addCriterion("brand_name =", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameNotEqualTo(String value) { + addCriterion("brand_name <>", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameGreaterThan(String value) { + addCriterion("brand_name >", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameGreaterThanOrEqualTo(String value) { + addCriterion("brand_name >=", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameLessThan(String value) { + addCriterion("brand_name <", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameLessThanOrEqualTo(String value) { + addCriterion("brand_name <=", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameLike(String value) { + addCriterion("brand_name like", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameNotLike(String value) { + addCriterion("brand_name not like", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameIn(List values) { + addCriterion("brand_name in", values, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameNotIn(List values) { + addCriterion("brand_name not in", values, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameBetween(String value1, String value2) { + addCriterion("brand_name between", value1, value2, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameNotBetween(String value1, String value2) { + addCriterion("brand_name not between", value1, value2, "brandName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameIsNull() { + addCriterion("product_category_name is null"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameIsNotNull() { + addCriterion("product_category_name is not null"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameEqualTo(String value) { + addCriterion("product_category_name =", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameNotEqualTo(String value) { + addCriterion("product_category_name <>", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameGreaterThan(String value) { + addCriterion("product_category_name >", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameGreaterThanOrEqualTo(String value) { + addCriterion("product_category_name >=", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameLessThan(String value) { + addCriterion("product_category_name <", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameLessThanOrEqualTo(String value) { + addCriterion("product_category_name <=", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameLike(String value) { + addCriterion("product_category_name like", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameNotLike(String value) { + addCriterion("product_category_name not like", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameIn(List values) { + addCriterion("product_category_name in", values, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameNotIn(List values) { + addCriterion("product_category_name not in", values, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameBetween(String value1, String value2) { + addCriterion("product_category_name between", value1, value2, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameNotBetween(String value1, String value2) { + addCriterion("product_category_name not between", value1, value2, "productCategoryName"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductFullReduction.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductFullReduction.java new file mode 100644 index 0000000..8a0e6d1 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductFullReduction.java @@ -0,0 +1,63 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class PmsProductFullReduction implements Serializable { + private Long id; + + private Long productId; + + private BigDecimal fullPrice; + + private BigDecimal reducePrice; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public BigDecimal getFullPrice() { + return fullPrice; + } + + public void setFullPrice(BigDecimal fullPrice) { + this.fullPrice = fullPrice; + } + + public BigDecimal getReducePrice() { + return reducePrice; + } + + public void setReducePrice(BigDecimal reducePrice) { + this.reducePrice = reducePrice; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", fullPrice=").append(fullPrice); + sb.append(", reducePrice=").append(reducePrice); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductFullReductionExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductFullReductionExample.java new file mode 100644 index 0000000..723d414 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductFullReductionExample.java @@ -0,0 +1,441 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class PmsProductFullReductionExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductFullReductionExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andFullPriceIsNull() { + addCriterion("full_price is null"); + return (Criteria) this; + } + + public Criteria andFullPriceIsNotNull() { + addCriterion("full_price is not null"); + return (Criteria) this; + } + + public Criteria andFullPriceEqualTo(BigDecimal value) { + addCriterion("full_price =", value, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceNotEqualTo(BigDecimal value) { + addCriterion("full_price <>", value, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceGreaterThan(BigDecimal value) { + addCriterion("full_price >", value, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("full_price >=", value, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceLessThan(BigDecimal value) { + addCriterion("full_price <", value, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("full_price <=", value, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceIn(List values) { + addCriterion("full_price in", values, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceNotIn(List values) { + addCriterion("full_price not in", values, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("full_price between", value1, value2, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("full_price not between", value1, value2, "fullPrice"); + return (Criteria) this; + } + + public Criteria andReducePriceIsNull() { + addCriterion("reduce_price is null"); + return (Criteria) this; + } + + public Criteria andReducePriceIsNotNull() { + addCriterion("reduce_price is not null"); + return (Criteria) this; + } + + public Criteria andReducePriceEqualTo(BigDecimal value) { + addCriterion("reduce_price =", value, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceNotEqualTo(BigDecimal value) { + addCriterion("reduce_price <>", value, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceGreaterThan(BigDecimal value) { + addCriterion("reduce_price >", value, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("reduce_price >=", value, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceLessThan(BigDecimal value) { + addCriterion("reduce_price <", value, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("reduce_price <=", value, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceIn(List values) { + addCriterion("reduce_price in", values, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceNotIn(List values) { + addCriterion("reduce_price not in", values, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("reduce_price between", value1, value2, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("reduce_price not between", value1, value2, "reducePrice"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductLadder.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductLadder.java new file mode 100644 index 0000000..209ff16 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductLadder.java @@ -0,0 +1,89 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class PmsProductLadder implements Serializable { + private Long id; + + private Long productId; + + /** + * 满足的商品数量 + * + * @mbggenerated + */ + private Integer count; + + /** + * 折扣 + * + * @mbggenerated + */ + private BigDecimal discount; + + /** + * 折后价格 + * + * @mbggenerated + */ + private BigDecimal price; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public Integer getCount() { + return count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public BigDecimal getDiscount() { + return discount; + } + + public void setDiscount(BigDecimal discount) { + this.discount = discount; + } + + public BigDecimal getPrice() { + return price; + } + + public void setPrice(BigDecimal price) { + this.price = price; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", count=").append(count); + sb.append(", discount=").append(discount); + sb.append(", price=").append(price); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductLadderExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductLadderExample.java new file mode 100644 index 0000000..e0fa996 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductLadderExample.java @@ -0,0 +1,501 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class PmsProductLadderExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductLadderExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andCountIsNull() { + addCriterion("count is null"); + return (Criteria) this; + } + + public Criteria andCountIsNotNull() { + addCriterion("count is not null"); + return (Criteria) this; + } + + public Criteria andCountEqualTo(Integer value) { + addCriterion("count =", value, "count"); + return (Criteria) this; + } + + public Criteria andCountNotEqualTo(Integer value) { + addCriterion("count <>", value, "count"); + return (Criteria) this; + } + + public Criteria andCountGreaterThan(Integer value) { + addCriterion("count >", value, "count"); + return (Criteria) this; + } + + public Criteria andCountGreaterThanOrEqualTo(Integer value) { + addCriterion("count >=", value, "count"); + return (Criteria) this; + } + + public Criteria andCountLessThan(Integer value) { + addCriterion("count <", value, "count"); + return (Criteria) this; + } + + public Criteria andCountLessThanOrEqualTo(Integer value) { + addCriterion("count <=", value, "count"); + return (Criteria) this; + } + + public Criteria andCountIn(List values) { + addCriterion("count in", values, "count"); + return (Criteria) this; + } + + public Criteria andCountNotIn(List values) { + addCriterion("count not in", values, "count"); + return (Criteria) this; + } + + public Criteria andCountBetween(Integer value1, Integer value2) { + addCriterion("count between", value1, value2, "count"); + return (Criteria) this; + } + + public Criteria andCountNotBetween(Integer value1, Integer value2) { + addCriterion("count not between", value1, value2, "count"); + return (Criteria) this; + } + + public Criteria andDiscountIsNull() { + addCriterion("discount is null"); + return (Criteria) this; + } + + public Criteria andDiscountIsNotNull() { + addCriterion("discount is not null"); + return (Criteria) this; + } + + public Criteria andDiscountEqualTo(BigDecimal value) { + addCriterion("discount =", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotEqualTo(BigDecimal value) { + addCriterion("discount <>", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountGreaterThan(BigDecimal value) { + addCriterion("discount >", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("discount >=", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountLessThan(BigDecimal value) { + addCriterion("discount <", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountLessThanOrEqualTo(BigDecimal value) { + addCriterion("discount <=", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountIn(List values) { + addCriterion("discount in", values, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotIn(List values) { + addCriterion("discount not in", values, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("discount between", value1, value2, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("discount not between", value1, value2, "discount"); + return (Criteria) this; + } + + public Criteria andPriceIsNull() { + addCriterion("price is null"); + return (Criteria) this; + } + + public Criteria andPriceIsNotNull() { + addCriterion("price is not null"); + return (Criteria) this; + } + + public Criteria andPriceEqualTo(BigDecimal value) { + addCriterion("price =", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotEqualTo(BigDecimal value) { + addCriterion("price <>", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThan(BigDecimal value) { + addCriterion("price >", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("price >=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThan(BigDecimal value) { + addCriterion("price <", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("price <=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceIn(List values) { + addCriterion("price in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotIn(List values) { + addCriterion("price not in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price not between", value1, value2, "price"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductOperateLog.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductOperateLog.java new file mode 100644 index 0000000..e307cf7 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductOperateLog.java @@ -0,0 +1,162 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class PmsProductOperateLog implements Serializable { + private Long id; + + private Long productId; + + private BigDecimal priceOld; + + private BigDecimal priceNew; + + private BigDecimal salePriceOld; + + private BigDecimal salePriceNew; + + /** + * 赠送的积分 + * + * @mbggenerated + */ + private Integer giftPointOld; + + private Integer giftPointNew; + + private Integer usePointLimitOld; + + private Integer usePointLimitNew; + + /** + * 操作人 + * + * @mbggenerated + */ + private String operateMan; + + private Date createTime; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public BigDecimal getPriceOld() { + return priceOld; + } + + public void setPriceOld(BigDecimal priceOld) { + this.priceOld = priceOld; + } + + public BigDecimal getPriceNew() { + return priceNew; + } + + public void setPriceNew(BigDecimal priceNew) { + this.priceNew = priceNew; + } + + public BigDecimal getSalePriceOld() { + return salePriceOld; + } + + public void setSalePriceOld(BigDecimal salePriceOld) { + this.salePriceOld = salePriceOld; + } + + public BigDecimal getSalePriceNew() { + return salePriceNew; + } + + public void setSalePriceNew(BigDecimal salePriceNew) { + this.salePriceNew = salePriceNew; + } + + public Integer getGiftPointOld() { + return giftPointOld; + } + + public void setGiftPointOld(Integer giftPointOld) { + this.giftPointOld = giftPointOld; + } + + public Integer getGiftPointNew() { + return giftPointNew; + } + + public void setGiftPointNew(Integer giftPointNew) { + this.giftPointNew = giftPointNew; + } + + public Integer getUsePointLimitOld() { + return usePointLimitOld; + } + + public void setUsePointLimitOld(Integer usePointLimitOld) { + this.usePointLimitOld = usePointLimitOld; + } + + public Integer getUsePointLimitNew() { + return usePointLimitNew; + } + + public void setUsePointLimitNew(Integer usePointLimitNew) { + this.usePointLimitNew = usePointLimitNew; + } + + public String getOperateMan() { + return operateMan; + } + + public void setOperateMan(String operateMan) { + this.operateMan = operateMan; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", priceOld=").append(priceOld); + sb.append(", priceNew=").append(priceNew); + sb.append(", salePriceOld=").append(salePriceOld); + sb.append(", salePriceNew=").append(salePriceNew); + sb.append(", giftPointOld=").append(giftPointOld); + sb.append(", giftPointNew=").append(giftPointNew); + sb.append(", usePointLimitOld=").append(usePointLimitOld); + sb.append(", usePointLimitNew=").append(usePointLimitNew); + sb.append(", operateMan=").append(operateMan); + sb.append(", createTime=").append(createTime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductOperateLogExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductOperateLogExample.java new file mode 100644 index 0000000..25d0ace --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductOperateLogExample.java @@ -0,0 +1,932 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class PmsProductOperateLogExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductOperateLogExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andPriceOldIsNull() { + addCriterion("price_old is null"); + return (Criteria) this; + } + + public Criteria andPriceOldIsNotNull() { + addCriterion("price_old is not null"); + return (Criteria) this; + } + + public Criteria andPriceOldEqualTo(BigDecimal value) { + addCriterion("price_old =", value, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldNotEqualTo(BigDecimal value) { + addCriterion("price_old <>", value, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldGreaterThan(BigDecimal value) { + addCriterion("price_old >", value, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("price_old >=", value, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldLessThan(BigDecimal value) { + addCriterion("price_old <", value, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldLessThanOrEqualTo(BigDecimal value) { + addCriterion("price_old <=", value, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldIn(List values) { + addCriterion("price_old in", values, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldNotIn(List values) { + addCriterion("price_old not in", values, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price_old between", value1, value2, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price_old not between", value1, value2, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceNewIsNull() { + addCriterion("price_new is null"); + return (Criteria) this; + } + + public Criteria andPriceNewIsNotNull() { + addCriterion("price_new is not null"); + return (Criteria) this; + } + + public Criteria andPriceNewEqualTo(BigDecimal value) { + addCriterion("price_new =", value, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewNotEqualTo(BigDecimal value) { + addCriterion("price_new <>", value, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewGreaterThan(BigDecimal value) { + addCriterion("price_new >", value, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("price_new >=", value, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewLessThan(BigDecimal value) { + addCriterion("price_new <", value, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewLessThanOrEqualTo(BigDecimal value) { + addCriterion("price_new <=", value, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewIn(List values) { + addCriterion("price_new in", values, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewNotIn(List values) { + addCriterion("price_new not in", values, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price_new between", value1, value2, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price_new not between", value1, value2, "priceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceOldIsNull() { + addCriterion("sale_price_old is null"); + return (Criteria) this; + } + + public Criteria andSalePriceOldIsNotNull() { + addCriterion("sale_price_old is not null"); + return (Criteria) this; + } + + public Criteria andSalePriceOldEqualTo(BigDecimal value) { + addCriterion("sale_price_old =", value, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldNotEqualTo(BigDecimal value) { + addCriterion("sale_price_old <>", value, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldGreaterThan(BigDecimal value) { + addCriterion("sale_price_old >", value, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("sale_price_old >=", value, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldLessThan(BigDecimal value) { + addCriterion("sale_price_old <", value, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldLessThanOrEqualTo(BigDecimal value) { + addCriterion("sale_price_old <=", value, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldIn(List values) { + addCriterion("sale_price_old in", values, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldNotIn(List values) { + addCriterion("sale_price_old not in", values, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("sale_price_old between", value1, value2, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("sale_price_old not between", value1, value2, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceNewIsNull() { + addCriterion("sale_price_new is null"); + return (Criteria) this; + } + + public Criteria andSalePriceNewIsNotNull() { + addCriterion("sale_price_new is not null"); + return (Criteria) this; + } + + public Criteria andSalePriceNewEqualTo(BigDecimal value) { + addCriterion("sale_price_new =", value, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewNotEqualTo(BigDecimal value) { + addCriterion("sale_price_new <>", value, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewGreaterThan(BigDecimal value) { + addCriterion("sale_price_new >", value, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("sale_price_new >=", value, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewLessThan(BigDecimal value) { + addCriterion("sale_price_new <", value, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewLessThanOrEqualTo(BigDecimal value) { + addCriterion("sale_price_new <=", value, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewIn(List values) { + addCriterion("sale_price_new in", values, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewNotIn(List values) { + addCriterion("sale_price_new not in", values, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("sale_price_new between", value1, value2, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("sale_price_new not between", value1, value2, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andGiftPointOldIsNull() { + addCriterion("gift_point_old is null"); + return (Criteria) this; + } + + public Criteria andGiftPointOldIsNotNull() { + addCriterion("gift_point_old is not null"); + return (Criteria) this; + } + + public Criteria andGiftPointOldEqualTo(Integer value) { + addCriterion("gift_point_old =", value, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldNotEqualTo(Integer value) { + addCriterion("gift_point_old <>", value, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldGreaterThan(Integer value) { + addCriterion("gift_point_old >", value, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldGreaterThanOrEqualTo(Integer value) { + addCriterion("gift_point_old >=", value, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldLessThan(Integer value) { + addCriterion("gift_point_old <", value, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldLessThanOrEqualTo(Integer value) { + addCriterion("gift_point_old <=", value, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldIn(List values) { + addCriterion("gift_point_old in", values, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldNotIn(List values) { + addCriterion("gift_point_old not in", values, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldBetween(Integer value1, Integer value2) { + addCriterion("gift_point_old between", value1, value2, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldNotBetween(Integer value1, Integer value2) { + addCriterion("gift_point_old not between", value1, value2, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointNewIsNull() { + addCriterion("gift_point_new is null"); + return (Criteria) this; + } + + public Criteria andGiftPointNewIsNotNull() { + addCriterion("gift_point_new is not null"); + return (Criteria) this; + } + + public Criteria andGiftPointNewEqualTo(Integer value) { + addCriterion("gift_point_new =", value, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewNotEqualTo(Integer value) { + addCriterion("gift_point_new <>", value, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewGreaterThan(Integer value) { + addCriterion("gift_point_new >", value, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewGreaterThanOrEqualTo(Integer value) { + addCriterion("gift_point_new >=", value, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewLessThan(Integer value) { + addCriterion("gift_point_new <", value, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewLessThanOrEqualTo(Integer value) { + addCriterion("gift_point_new <=", value, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewIn(List values) { + addCriterion("gift_point_new in", values, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewNotIn(List values) { + addCriterion("gift_point_new not in", values, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewBetween(Integer value1, Integer value2) { + addCriterion("gift_point_new between", value1, value2, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewNotBetween(Integer value1, Integer value2) { + addCriterion("gift_point_new not between", value1, value2, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldIsNull() { + addCriterion("use_point_limit_old is null"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldIsNotNull() { + addCriterion("use_point_limit_old is not null"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldEqualTo(Integer value) { + addCriterion("use_point_limit_old =", value, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldNotEqualTo(Integer value) { + addCriterion("use_point_limit_old <>", value, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldGreaterThan(Integer value) { + addCriterion("use_point_limit_old >", value, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldGreaterThanOrEqualTo(Integer value) { + addCriterion("use_point_limit_old >=", value, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldLessThan(Integer value) { + addCriterion("use_point_limit_old <", value, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldLessThanOrEqualTo(Integer value) { + addCriterion("use_point_limit_old <=", value, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldIn(List values) { + addCriterion("use_point_limit_old in", values, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldNotIn(List values) { + addCriterion("use_point_limit_old not in", values, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldBetween(Integer value1, Integer value2) { + addCriterion("use_point_limit_old between", value1, value2, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldNotBetween(Integer value1, Integer value2) { + addCriterion("use_point_limit_old not between", value1, value2, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewIsNull() { + addCriterion("use_point_limit_new is null"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewIsNotNull() { + addCriterion("use_point_limit_new is not null"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewEqualTo(Integer value) { + addCriterion("use_point_limit_new =", value, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewNotEqualTo(Integer value) { + addCriterion("use_point_limit_new <>", value, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewGreaterThan(Integer value) { + addCriterion("use_point_limit_new >", value, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewGreaterThanOrEqualTo(Integer value) { + addCriterion("use_point_limit_new >=", value, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewLessThan(Integer value) { + addCriterion("use_point_limit_new <", value, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewLessThanOrEqualTo(Integer value) { + addCriterion("use_point_limit_new <=", value, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewIn(List values) { + addCriterion("use_point_limit_new in", values, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewNotIn(List values) { + addCriterion("use_point_limit_new not in", values, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewBetween(Integer value1, Integer value2) { + addCriterion("use_point_limit_new between", value1, value2, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewNotBetween(Integer value1, Integer value2) { + addCriterion("use_point_limit_new not between", value1, value2, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andOperateManIsNull() { + addCriterion("operate_man is null"); + return (Criteria) this; + } + + public Criteria andOperateManIsNotNull() { + addCriterion("operate_man is not null"); + return (Criteria) this; + } + + public Criteria andOperateManEqualTo(String value) { + addCriterion("operate_man =", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotEqualTo(String value) { + addCriterion("operate_man <>", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThan(String value) { + addCriterion("operate_man >", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThanOrEqualTo(String value) { + addCriterion("operate_man >=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThan(String value) { + addCriterion("operate_man <", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThanOrEqualTo(String value) { + addCriterion("operate_man <=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLike(String value) { + addCriterion("operate_man like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotLike(String value) { + addCriterion("operate_man not like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManIn(List values) { + addCriterion("operate_man in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotIn(List values) { + addCriterion("operate_man not in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManBetween(String value1, String value2) { + addCriterion("operate_man between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotBetween(String value1, String value2) { + addCriterion("operate_man not between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductVertifyRecord.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductVertifyRecord.java new file mode 100644 index 0000000..f056283 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductVertifyRecord.java @@ -0,0 +1,95 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class PmsProductVertifyRecord implements Serializable { + private Long id; + + private Long productId; + + private Date createTime; + + /** + * 审核人 + * + * @mbggenerated + */ + private String vertifyMan; + + private Integer status; + + /** + * 反馈详情 + * + * @mbggenerated + */ + private String detail; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getVertifyMan() { + return vertifyMan; + } + + public void setVertifyMan(String vertifyMan) { + this.vertifyMan = vertifyMan; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public String getDetail() { + return detail; + } + + public void setDetail(String detail) { + this.detail = detail; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", createTime=").append(createTime); + sb.append(", vertifyMan=").append(vertifyMan); + sb.append(", status=").append(status); + sb.append(", detail=").append(detail); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductVertifyRecordExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductVertifyRecordExample.java new file mode 100644 index 0000000..a2cc73c --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsProductVertifyRecordExample.java @@ -0,0 +1,581 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class PmsProductVertifyRecordExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductVertifyRecordExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andVertifyManIsNull() { + addCriterion("vertify_man is null"); + return (Criteria) this; + } + + public Criteria andVertifyManIsNotNull() { + addCriterion("vertify_man is not null"); + return (Criteria) this; + } + + public Criteria andVertifyManEqualTo(String value) { + addCriterion("vertify_man =", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManNotEqualTo(String value) { + addCriterion("vertify_man <>", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManGreaterThan(String value) { + addCriterion("vertify_man >", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManGreaterThanOrEqualTo(String value) { + addCriterion("vertify_man >=", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManLessThan(String value) { + addCriterion("vertify_man <", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManLessThanOrEqualTo(String value) { + addCriterion("vertify_man <=", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManLike(String value) { + addCriterion("vertify_man like", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManNotLike(String value) { + addCriterion("vertify_man not like", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManIn(List values) { + addCriterion("vertify_man in", values, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManNotIn(List values) { + addCriterion("vertify_man not in", values, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManBetween(String value1, String value2) { + addCriterion("vertify_man between", value1, value2, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManNotBetween(String value1, String value2) { + addCriterion("vertify_man not between", value1, value2, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andDetailIsNull() { + addCriterion("detail is null"); + return (Criteria) this; + } + + public Criteria andDetailIsNotNull() { + addCriterion("detail is not null"); + return (Criteria) this; + } + + public Criteria andDetailEqualTo(String value) { + addCriterion("detail =", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailNotEqualTo(String value) { + addCriterion("detail <>", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailGreaterThan(String value) { + addCriterion("detail >", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailGreaterThanOrEqualTo(String value) { + addCriterion("detail >=", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailLessThan(String value) { + addCriterion("detail <", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailLessThanOrEqualTo(String value) { + addCriterion("detail <=", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailLike(String value) { + addCriterion("detail like", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailNotLike(String value) { + addCriterion("detail not like", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailIn(List values) { + addCriterion("detail in", values, "detail"); + return (Criteria) this; + } + + public Criteria andDetailNotIn(List values) { + addCriterion("detail not in", values, "detail"); + return (Criteria) this; + } + + public Criteria andDetailBetween(String value1, String value2) { + addCriterion("detail between", value1, value2, "detail"); + return (Criteria) this; + } + + public Criteria andDetailNotBetween(String value1, String value2) { + addCriterion("detail not between", value1, value2, "detail"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsSkuStock.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsSkuStock.java new file mode 100644 index 0000000..64c6f6e --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsSkuStock.java @@ -0,0 +1,202 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class PmsSkuStock implements Serializable { + private Long id; + + private Long productId; + + /** + * sku编码 + * + * @mbggenerated + */ + private String skuCode; + + private BigDecimal price; + + /** + * 库存 + * + * @mbggenerated + */ + private Integer stock; + + /** + * 预警库存 + * + * @mbggenerated + */ + private Integer lowStock; + + /** + * 销售属性1 + * + * @mbggenerated + */ + private String sp1; + + private String sp2; + + private String sp3; + + /** + * 展示图片 + * + * @mbggenerated + */ + private String pic; + + /** + * 销量 + * + * @mbggenerated + */ + private Integer sale; + + /** + * 单品促销价格 + * + * @mbggenerated + */ + private BigDecimal promotionPrice; + + /** + * 锁定库存 + * + * @mbggenerated + */ + private Integer lockStock; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public String getSkuCode() { + return skuCode; + } + + public void setSkuCode(String skuCode) { + this.skuCode = skuCode; + } + + public BigDecimal getPrice() { + return price; + } + + public void setPrice(BigDecimal price) { + this.price = price; + } + + public Integer getStock() { + return stock; + } + + public void setStock(Integer stock) { + this.stock = stock; + } + + public Integer getLowStock() { + return lowStock; + } + + public void setLowStock(Integer lowStock) { + this.lowStock = lowStock; + } + + public String getSp1() { + return sp1; + } + + public void setSp1(String sp1) { + this.sp1 = sp1; + } + + public String getSp2() { + return sp2; + } + + public void setSp2(String sp2) { + this.sp2 = sp2; + } + + public String getSp3() { + return sp3; + } + + public void setSp3(String sp3) { + this.sp3 = sp3; + } + + public String getPic() { + return pic; + } + + public void setPic(String pic) { + this.pic = pic; + } + + public Integer getSale() { + return sale; + } + + public void setSale(Integer sale) { + this.sale = sale; + } + + public BigDecimal getPromotionPrice() { + return promotionPrice; + } + + public void setPromotionPrice(BigDecimal promotionPrice) { + this.promotionPrice = promotionPrice; + } + + public Integer getLockStock() { + return lockStock; + } + + public void setLockStock(Integer lockStock) { + this.lockStock = lockStock; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", skuCode=").append(skuCode); + sb.append(", price=").append(price); + sb.append(", stock=").append(stock); + sb.append(", lowStock=").append(lowStock); + sb.append(", sp1=").append(sp1); + sb.append(", sp2=").append(sp2); + sb.append(", sp3=").append(sp3); + sb.append(", pic=").append(pic); + sb.append(", sale=").append(sale); + sb.append(", promotionPrice=").append(promotionPrice); + sb.append(", lockStock=").append(lockStock); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsSkuStockExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsSkuStockExample.java new file mode 100644 index 0000000..6e76fb0 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/PmsSkuStockExample.java @@ -0,0 +1,1031 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class PmsSkuStockExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsSkuStockExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andSkuCodeIsNull() { + addCriterion("sku_code is null"); + return (Criteria) this; + } + + public Criteria andSkuCodeIsNotNull() { + addCriterion("sku_code is not null"); + return (Criteria) this; + } + + public Criteria andSkuCodeEqualTo(String value) { + addCriterion("sku_code =", value, "skuCode"); + return (Criteria) this; + } + + public Criteria andSkuCodeNotEqualTo(String value) { + addCriterion("sku_code <>", value, "skuCode"); + return (Criteria) this; + } + + public Criteria andSkuCodeGreaterThan(String value) { + addCriterion("sku_code >", value, "skuCode"); + return (Criteria) this; + } + + public Criteria andSkuCodeGreaterThanOrEqualTo(String value) { + addCriterion("sku_code >=", value, "skuCode"); + return (Criteria) this; + } + + public Criteria andSkuCodeLessThan(String value) { + addCriterion("sku_code <", value, "skuCode"); + return (Criteria) this; + } + + public Criteria andSkuCodeLessThanOrEqualTo(String value) { + addCriterion("sku_code <=", value, "skuCode"); + return (Criteria) this; + } + + public Criteria andSkuCodeLike(String value) { + addCriterion("sku_code like", value, "skuCode"); + return (Criteria) this; + } + + public Criteria andSkuCodeNotLike(String value) { + addCriterion("sku_code not like", value, "skuCode"); + return (Criteria) this; + } + + public Criteria andSkuCodeIn(List values) { + addCriterion("sku_code in", values, "skuCode"); + return (Criteria) this; + } + + public Criteria andSkuCodeNotIn(List values) { + addCriterion("sku_code not in", values, "skuCode"); + return (Criteria) this; + } + + public Criteria andSkuCodeBetween(String value1, String value2) { + addCriterion("sku_code between", value1, value2, "skuCode"); + return (Criteria) this; + } + + public Criteria andSkuCodeNotBetween(String value1, String value2) { + addCriterion("sku_code not between", value1, value2, "skuCode"); + return (Criteria) this; + } + + public Criteria andPriceIsNull() { + addCriterion("price is null"); + return (Criteria) this; + } + + public Criteria andPriceIsNotNull() { + addCriterion("price is not null"); + return (Criteria) this; + } + + public Criteria andPriceEqualTo(BigDecimal value) { + addCriterion("price =", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotEqualTo(BigDecimal value) { + addCriterion("price <>", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThan(BigDecimal value) { + addCriterion("price >", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("price >=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThan(BigDecimal value) { + addCriterion("price <", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("price <=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceIn(List values) { + addCriterion("price in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotIn(List values) { + addCriterion("price not in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price not between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andStockIsNull() { + addCriterion("stock is null"); + return (Criteria) this; + } + + public Criteria andStockIsNotNull() { + addCriterion("stock is not null"); + return (Criteria) this; + } + + public Criteria andStockEqualTo(Integer value) { + addCriterion("stock =", value, "stock"); + return (Criteria) this; + } + + public Criteria andStockNotEqualTo(Integer value) { + addCriterion("stock <>", value, "stock"); + return (Criteria) this; + } + + public Criteria andStockGreaterThan(Integer value) { + addCriterion("stock >", value, "stock"); + return (Criteria) this; + } + + public Criteria andStockGreaterThanOrEqualTo(Integer value) { + addCriterion("stock >=", value, "stock"); + return (Criteria) this; + } + + public Criteria andStockLessThan(Integer value) { + addCriterion("stock <", value, "stock"); + return (Criteria) this; + } + + public Criteria andStockLessThanOrEqualTo(Integer value) { + addCriterion("stock <=", value, "stock"); + return (Criteria) this; + } + + public Criteria andStockIn(List values) { + addCriterion("stock in", values, "stock"); + return (Criteria) this; + } + + public Criteria andStockNotIn(List values) { + addCriterion("stock not in", values, "stock"); + return (Criteria) this; + } + + public Criteria andStockBetween(Integer value1, Integer value2) { + addCriterion("stock between", value1, value2, "stock"); + return (Criteria) this; + } + + public Criteria andStockNotBetween(Integer value1, Integer value2) { + addCriterion("stock not between", value1, value2, "stock"); + return (Criteria) this; + } + + public Criteria andLowStockIsNull() { + addCriterion("low_stock is null"); + return (Criteria) this; + } + + public Criteria andLowStockIsNotNull() { + addCriterion("low_stock is not null"); + return (Criteria) this; + } + + public Criteria andLowStockEqualTo(Integer value) { + addCriterion("low_stock =", value, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockNotEqualTo(Integer value) { + addCriterion("low_stock <>", value, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockGreaterThan(Integer value) { + addCriterion("low_stock >", value, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockGreaterThanOrEqualTo(Integer value) { + addCriterion("low_stock >=", value, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockLessThan(Integer value) { + addCriterion("low_stock <", value, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockLessThanOrEqualTo(Integer value) { + addCriterion("low_stock <=", value, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockIn(List values) { + addCriterion("low_stock in", values, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockNotIn(List values) { + addCriterion("low_stock not in", values, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockBetween(Integer value1, Integer value2) { + addCriterion("low_stock between", value1, value2, "lowStock"); + return (Criteria) this; + } + + public Criteria andLowStockNotBetween(Integer value1, Integer value2) { + addCriterion("low_stock not between", value1, value2, "lowStock"); + return (Criteria) this; + } + + public Criteria andSp1IsNull() { + addCriterion("sp1 is null"); + return (Criteria) this; + } + + public Criteria andSp1IsNotNull() { + addCriterion("sp1 is not null"); + return (Criteria) this; + } + + public Criteria andSp1EqualTo(String value) { + addCriterion("sp1 =", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotEqualTo(String value) { + addCriterion("sp1 <>", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1GreaterThan(String value) { + addCriterion("sp1 >", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1GreaterThanOrEqualTo(String value) { + addCriterion("sp1 >=", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1LessThan(String value) { + addCriterion("sp1 <", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1LessThanOrEqualTo(String value) { + addCriterion("sp1 <=", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1Like(String value) { + addCriterion("sp1 like", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotLike(String value) { + addCriterion("sp1 not like", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1In(List values) { + addCriterion("sp1 in", values, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotIn(List values) { + addCriterion("sp1 not in", values, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1Between(String value1, String value2) { + addCriterion("sp1 between", value1, value2, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotBetween(String value1, String value2) { + addCriterion("sp1 not between", value1, value2, "sp1"); + return (Criteria) this; + } + + public Criteria andSp2IsNull() { + addCriterion("sp2 is null"); + return (Criteria) this; + } + + public Criteria andSp2IsNotNull() { + addCriterion("sp2 is not null"); + return (Criteria) this; + } + + public Criteria andSp2EqualTo(String value) { + addCriterion("sp2 =", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotEqualTo(String value) { + addCriterion("sp2 <>", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2GreaterThan(String value) { + addCriterion("sp2 >", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2GreaterThanOrEqualTo(String value) { + addCriterion("sp2 >=", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2LessThan(String value) { + addCriterion("sp2 <", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2LessThanOrEqualTo(String value) { + addCriterion("sp2 <=", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2Like(String value) { + addCriterion("sp2 like", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotLike(String value) { + addCriterion("sp2 not like", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2In(List values) { + addCriterion("sp2 in", values, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotIn(List values) { + addCriterion("sp2 not in", values, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2Between(String value1, String value2) { + addCriterion("sp2 between", value1, value2, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotBetween(String value1, String value2) { + addCriterion("sp2 not between", value1, value2, "sp2"); + return (Criteria) this; + } + + public Criteria andSp3IsNull() { + addCriterion("sp3 is null"); + return (Criteria) this; + } + + public Criteria andSp3IsNotNull() { + addCriterion("sp3 is not null"); + return (Criteria) this; + } + + public Criteria andSp3EqualTo(String value) { + addCriterion("sp3 =", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotEqualTo(String value) { + addCriterion("sp3 <>", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3GreaterThan(String value) { + addCriterion("sp3 >", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3GreaterThanOrEqualTo(String value) { + addCriterion("sp3 >=", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3LessThan(String value) { + addCriterion("sp3 <", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3LessThanOrEqualTo(String value) { + addCriterion("sp3 <=", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3Like(String value) { + addCriterion("sp3 like", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotLike(String value) { + addCriterion("sp3 not like", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3In(List values) { + addCriterion("sp3 in", values, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotIn(List values) { + addCriterion("sp3 not in", values, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3Between(String value1, String value2) { + addCriterion("sp3 between", value1, value2, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotBetween(String value1, String value2) { + addCriterion("sp3 not between", value1, value2, "sp3"); + return (Criteria) this; + } + + public Criteria andPicIsNull() { + addCriterion("pic is null"); + return (Criteria) this; + } + + public Criteria andPicIsNotNull() { + addCriterion("pic is not null"); + return (Criteria) this; + } + + public Criteria andPicEqualTo(String value) { + addCriterion("pic =", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotEqualTo(String value) { + addCriterion("pic <>", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThan(String value) { + addCriterion("pic >", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThanOrEqualTo(String value) { + addCriterion("pic >=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThan(String value) { + addCriterion("pic <", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThanOrEqualTo(String value) { + addCriterion("pic <=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLike(String value) { + addCriterion("pic like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotLike(String value) { + addCriterion("pic not like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicIn(List values) { + addCriterion("pic in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotIn(List values) { + addCriterion("pic not in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicBetween(String value1, String value2) { + addCriterion("pic between", value1, value2, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotBetween(String value1, String value2) { + addCriterion("pic not between", value1, value2, "pic"); + return (Criteria) this; + } + + public Criteria andSaleIsNull() { + addCriterion("sale is null"); + return (Criteria) this; + } + + public Criteria andSaleIsNotNull() { + addCriterion("sale is not null"); + return (Criteria) this; + } + + public Criteria andSaleEqualTo(Integer value) { + addCriterion("sale =", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleNotEqualTo(Integer value) { + addCriterion("sale <>", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleGreaterThan(Integer value) { + addCriterion("sale >", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleGreaterThanOrEqualTo(Integer value) { + addCriterion("sale >=", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleLessThan(Integer value) { + addCriterion("sale <", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleLessThanOrEqualTo(Integer value) { + addCriterion("sale <=", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleIn(List values) { + addCriterion("sale in", values, "sale"); + return (Criteria) this; + } + + public Criteria andSaleNotIn(List values) { + addCriterion("sale not in", values, "sale"); + return (Criteria) this; + } + + public Criteria andSaleBetween(Integer value1, Integer value2) { + addCriterion("sale between", value1, value2, "sale"); + return (Criteria) this; + } + + public Criteria andSaleNotBetween(Integer value1, Integer value2) { + addCriterion("sale not between", value1, value2, "sale"); + return (Criteria) this; + } + + public Criteria andPromotionPriceIsNull() { + addCriterion("promotion_price is null"); + return (Criteria) this; + } + + public Criteria andPromotionPriceIsNotNull() { + addCriterion("promotion_price is not null"); + return (Criteria) this; + } + + public Criteria andPromotionPriceEqualTo(BigDecimal value) { + addCriterion("promotion_price =", value, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceNotEqualTo(BigDecimal value) { + addCriterion("promotion_price <>", value, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceGreaterThan(BigDecimal value) { + addCriterion("promotion_price >", value, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("promotion_price >=", value, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceLessThan(BigDecimal value) { + addCriterion("promotion_price <", value, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("promotion_price <=", value, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceIn(List values) { + addCriterion("promotion_price in", values, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceNotIn(List values) { + addCriterion("promotion_price not in", values, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("promotion_price between", value1, value2, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andPromotionPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("promotion_price not between", value1, value2, "promotionPrice"); + return (Criteria) this; + } + + public Criteria andLockStockIsNull() { + addCriterion("lock_stock is null"); + return (Criteria) this; + } + + public Criteria andLockStockIsNotNull() { + addCriterion("lock_stock is not null"); + return (Criteria) this; + } + + public Criteria andLockStockEqualTo(Integer value) { + addCriterion("lock_stock =", value, "lockStock"); + return (Criteria) this; + } + + public Criteria andLockStockNotEqualTo(Integer value) { + addCriterion("lock_stock <>", value, "lockStock"); + return (Criteria) this; + } + + public Criteria andLockStockGreaterThan(Integer value) { + addCriterion("lock_stock >", value, "lockStock"); + return (Criteria) this; + } + + public Criteria andLockStockGreaterThanOrEqualTo(Integer value) { + addCriterion("lock_stock >=", value, "lockStock"); + return (Criteria) this; + } + + public Criteria andLockStockLessThan(Integer value) { + addCriterion("lock_stock <", value, "lockStock"); + return (Criteria) this; + } + + public Criteria andLockStockLessThanOrEqualTo(Integer value) { + addCriterion("lock_stock <=", value, "lockStock"); + return (Criteria) this; + } + + public Criteria andLockStockIn(List values) { + addCriterion("lock_stock in", values, "lockStock"); + return (Criteria) this; + } + + public Criteria andLockStockNotIn(List values) { + addCriterion("lock_stock not in", values, "lockStock"); + return (Criteria) this; + } + + public Criteria andLockStockBetween(Integer value1, Integer value2) { + addCriterion("lock_stock between", value1, value2, "lockStock"); + return (Criteria) this; + } + + public Criteria andLockStockNotBetween(Integer value1, Integer value2) { + addCriterion("lock_stock not between", value1, value2, "lockStock"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCoupon.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCoupon.java new file mode 100644 index 0000000..2a82bb2 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCoupon.java @@ -0,0 +1,288 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class SmsCoupon implements Serializable { + private Long id; + + /** + * 优惠卷类型;0->全场赠券;1->会员赠券;2->购物赠券;3->注册赠券 + * + * @mbggenerated + */ + private Integer type; + + private String name; + + /** + * 使用平台:0->全部;1->移动;2->PC + * + * @mbggenerated + */ + private Integer platform; + + /** + * 数量 + * + * @mbggenerated + */ + private Integer count; + + /** + * 金额 + * + * @mbggenerated + */ + private BigDecimal amount; + + /** + * 每人限领张数 + * + * @mbggenerated + */ + private Integer perLimit; + + /** + * 使用门槛;0表示无门槛 + * + * @mbggenerated + */ + private BigDecimal minPoint; + + private Date startTime; + + private Date endTime; + + /** + * 使用类型:0->全场通用;1->指定分类;2->指定商品 + * + * @mbggenerated + */ + private Integer useType; + + /** + * 备注 + * + * @mbggenerated + */ + private String note; + + /** + * 发行数量 + * + * @mbggenerated + */ + private Integer publishCount; + + /** + * 已使用数量 + * + * @mbggenerated + */ + private Integer useCount; + + /** + * 领取数量 + * + * @mbggenerated + */ + private Integer receiveCount; + + /** + * 可以领取的日期 + * + * @mbggenerated + */ + private Date enableTime; + + /** + * 优惠码 + * + * @mbggenerated + */ + private String code; + + /** + * 可领取的会员类型:0->无限时 + * + * @mbggenerated + */ + private Integer memberLevel; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getPlatform() { + return platform; + } + + public void setPlatform(Integer platform) { + this.platform = platform; + } + + public Integer getCount() { + return count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public BigDecimal getAmount() { + return amount; + } + + public void setAmount(BigDecimal amount) { + this.amount = amount; + } + + public Integer getPerLimit() { + return perLimit; + } + + public void setPerLimit(Integer perLimit) { + this.perLimit = perLimit; + } + + public BigDecimal getMinPoint() { + return minPoint; + } + + public void setMinPoint(BigDecimal minPoint) { + this.minPoint = minPoint; + } + + public Date getStartTime() { + return startTime; + } + + public void setStartTime(Date startTime) { + this.startTime = startTime; + } + + public Date getEndTime() { + return endTime; + } + + public void setEndTime(Date endTime) { + this.endTime = endTime; + } + + public Integer getUseType() { + return useType; + } + + public void setUseType(Integer useType) { + this.useType = useType; + } + + public String getNote() { + return note; + } + + public void setNote(String note) { + this.note = note; + } + + public Integer getPublishCount() { + return publishCount; + } + + public void setPublishCount(Integer publishCount) { + this.publishCount = publishCount; + } + + public Integer getUseCount() { + return useCount; + } + + public void setUseCount(Integer useCount) { + this.useCount = useCount; + } + + public Integer getReceiveCount() { + return receiveCount; + } + + public void setReceiveCount(Integer receiveCount) { + this.receiveCount = receiveCount; + } + + public Date getEnableTime() { + return enableTime; + } + + public void setEnableTime(Date enableTime) { + this.enableTime = enableTime; + } + + public String getCode() { + return code; + } + + public void setCode(String code) { + this.code = code; + } + + public Integer getMemberLevel() { + return memberLevel; + } + + public void setMemberLevel(Integer memberLevel) { + this.memberLevel = memberLevel; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", type=").append(type); + sb.append(", name=").append(name); + sb.append(", platform=").append(platform); + sb.append(", count=").append(count); + sb.append(", amount=").append(amount); + sb.append(", perLimit=").append(perLimit); + sb.append(", minPoint=").append(minPoint); + sb.append(", startTime=").append(startTime); + sb.append(", endTime=").append(endTime); + sb.append(", useType=").append(useType); + sb.append(", note=").append(note); + sb.append(", publishCount=").append(publishCount); + sb.append(", useCount=").append(useCount); + sb.append(", receiveCount=").append(receiveCount); + sb.append(", enableTime=").append(enableTime); + sb.append(", code=").append(code); + sb.append(", memberLevel=").append(memberLevel); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponExample.java new file mode 100644 index 0000000..73ca044 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponExample.java @@ -0,0 +1,1312 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class SmsCouponExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsCouponExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andPlatformIsNull() { + addCriterion("platform is null"); + return (Criteria) this; + } + + public Criteria andPlatformIsNotNull() { + addCriterion("platform is not null"); + return (Criteria) this; + } + + public Criteria andPlatformEqualTo(Integer value) { + addCriterion("platform =", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformNotEqualTo(Integer value) { + addCriterion("platform <>", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformGreaterThan(Integer value) { + addCriterion("platform >", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformGreaterThanOrEqualTo(Integer value) { + addCriterion("platform >=", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformLessThan(Integer value) { + addCriterion("platform <", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformLessThanOrEqualTo(Integer value) { + addCriterion("platform <=", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformIn(List values) { + addCriterion("platform in", values, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformNotIn(List values) { + addCriterion("platform not in", values, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformBetween(Integer value1, Integer value2) { + addCriterion("platform between", value1, value2, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformNotBetween(Integer value1, Integer value2) { + addCriterion("platform not between", value1, value2, "platform"); + return (Criteria) this; + } + + public Criteria andCountIsNull() { + addCriterion("count is null"); + return (Criteria) this; + } + + public Criteria andCountIsNotNull() { + addCriterion("count is not null"); + return (Criteria) this; + } + + public Criteria andCountEqualTo(Integer value) { + addCriterion("count =", value, "count"); + return (Criteria) this; + } + + public Criteria andCountNotEqualTo(Integer value) { + addCriterion("count <>", value, "count"); + return (Criteria) this; + } + + public Criteria andCountGreaterThan(Integer value) { + addCriterion("count >", value, "count"); + return (Criteria) this; + } + + public Criteria andCountGreaterThanOrEqualTo(Integer value) { + addCriterion("count >=", value, "count"); + return (Criteria) this; + } + + public Criteria andCountLessThan(Integer value) { + addCriterion("count <", value, "count"); + return (Criteria) this; + } + + public Criteria andCountLessThanOrEqualTo(Integer value) { + addCriterion("count <=", value, "count"); + return (Criteria) this; + } + + public Criteria andCountIn(List values) { + addCriterion("count in", values, "count"); + return (Criteria) this; + } + + public Criteria andCountNotIn(List values) { + addCriterion("count not in", values, "count"); + return (Criteria) this; + } + + public Criteria andCountBetween(Integer value1, Integer value2) { + addCriterion("count between", value1, value2, "count"); + return (Criteria) this; + } + + public Criteria andCountNotBetween(Integer value1, Integer value2) { + addCriterion("count not between", value1, value2, "count"); + return (Criteria) this; + } + + public Criteria andAmountIsNull() { + addCriterion("amount is null"); + return (Criteria) this; + } + + public Criteria andAmountIsNotNull() { + addCriterion("amount is not null"); + return (Criteria) this; + } + + public Criteria andAmountEqualTo(BigDecimal value) { + addCriterion("amount =", value, "amount"); + return (Criteria) this; + } + + public Criteria andAmountNotEqualTo(BigDecimal value) { + addCriterion("amount <>", value, "amount"); + return (Criteria) this; + } + + public Criteria andAmountGreaterThan(BigDecimal value) { + addCriterion("amount >", value, "amount"); + return (Criteria) this; + } + + public Criteria andAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("amount >=", value, "amount"); + return (Criteria) this; + } + + public Criteria andAmountLessThan(BigDecimal value) { + addCriterion("amount <", value, "amount"); + return (Criteria) this; + } + + public Criteria andAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("amount <=", value, "amount"); + return (Criteria) this; + } + + public Criteria andAmountIn(List values) { + addCriterion("amount in", values, "amount"); + return (Criteria) this; + } + + public Criteria andAmountNotIn(List values) { + addCriterion("amount not in", values, "amount"); + return (Criteria) this; + } + + public Criteria andAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("amount between", value1, value2, "amount"); + return (Criteria) this; + } + + public Criteria andAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("amount not between", value1, value2, "amount"); + return (Criteria) this; + } + + public Criteria andPerLimitIsNull() { + addCriterion("per_limit is null"); + return (Criteria) this; + } + + public Criteria andPerLimitIsNotNull() { + addCriterion("per_limit is not null"); + return (Criteria) this; + } + + public Criteria andPerLimitEqualTo(Integer value) { + addCriterion("per_limit =", value, "perLimit"); + return (Criteria) this; + } + + public Criteria andPerLimitNotEqualTo(Integer value) { + addCriterion("per_limit <>", value, "perLimit"); + return (Criteria) this; + } + + public Criteria andPerLimitGreaterThan(Integer value) { + addCriterion("per_limit >", value, "perLimit"); + return (Criteria) this; + } + + public Criteria andPerLimitGreaterThanOrEqualTo(Integer value) { + addCriterion("per_limit >=", value, "perLimit"); + return (Criteria) this; + } + + public Criteria andPerLimitLessThan(Integer value) { + addCriterion("per_limit <", value, "perLimit"); + return (Criteria) this; + } + + public Criteria andPerLimitLessThanOrEqualTo(Integer value) { + addCriterion("per_limit <=", value, "perLimit"); + return (Criteria) this; + } + + public Criteria andPerLimitIn(List values) { + addCriterion("per_limit in", values, "perLimit"); + return (Criteria) this; + } + + public Criteria andPerLimitNotIn(List values) { + addCriterion("per_limit not in", values, "perLimit"); + return (Criteria) this; + } + + public Criteria andPerLimitBetween(Integer value1, Integer value2) { + addCriterion("per_limit between", value1, value2, "perLimit"); + return (Criteria) this; + } + + public Criteria andPerLimitNotBetween(Integer value1, Integer value2) { + addCriterion("per_limit not between", value1, value2, "perLimit"); + return (Criteria) this; + } + + public Criteria andMinPointIsNull() { + addCriterion("min_point is null"); + return (Criteria) this; + } + + public Criteria andMinPointIsNotNull() { + addCriterion("min_point is not null"); + return (Criteria) this; + } + + public Criteria andMinPointEqualTo(BigDecimal value) { + addCriterion("min_point =", value, "minPoint"); + return (Criteria) this; + } + + public Criteria andMinPointNotEqualTo(BigDecimal value) { + addCriterion("min_point <>", value, "minPoint"); + return (Criteria) this; + } + + public Criteria andMinPointGreaterThan(BigDecimal value) { + addCriterion("min_point >", value, "minPoint"); + return (Criteria) this; + } + + public Criteria andMinPointGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("min_point >=", value, "minPoint"); + return (Criteria) this; + } + + public Criteria andMinPointLessThan(BigDecimal value) { + addCriterion("min_point <", value, "minPoint"); + return (Criteria) this; + } + + public Criteria andMinPointLessThanOrEqualTo(BigDecimal value) { + addCriterion("min_point <=", value, "minPoint"); + return (Criteria) this; + } + + public Criteria andMinPointIn(List values) { + addCriterion("min_point in", values, "minPoint"); + return (Criteria) this; + } + + public Criteria andMinPointNotIn(List values) { + addCriterion("min_point not in", values, "minPoint"); + return (Criteria) this; + } + + public Criteria andMinPointBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("min_point between", value1, value2, "minPoint"); + return (Criteria) this; + } + + public Criteria andMinPointNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("min_point not between", value1, value2, "minPoint"); + return (Criteria) this; + } + + public Criteria andStartTimeIsNull() { + addCriterion("start_time is null"); + return (Criteria) this; + } + + public Criteria andStartTimeIsNotNull() { + addCriterion("start_time is not null"); + return (Criteria) this; + } + + public Criteria andStartTimeEqualTo(Date value) { + addCriterion("start_time =", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotEqualTo(Date value) { + addCriterion("start_time <>", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThan(Date value) { + addCriterion("start_time >", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThanOrEqualTo(Date value) { + addCriterion("start_time >=", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThan(Date value) { + addCriterion("start_time <", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThanOrEqualTo(Date value) { + addCriterion("start_time <=", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeIn(List values) { + addCriterion("start_time in", values, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotIn(List values) { + addCriterion("start_time not in", values, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeBetween(Date value1, Date value2) { + addCriterion("start_time between", value1, value2, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotBetween(Date value1, Date value2) { + addCriterion("start_time not between", value1, value2, "startTime"); + return (Criteria) this; + } + + public Criteria andEndTimeIsNull() { + addCriterion("end_time is null"); + return (Criteria) this; + } + + public Criteria andEndTimeIsNotNull() { + addCriterion("end_time is not null"); + return (Criteria) this; + } + + public Criteria andEndTimeEqualTo(Date value) { + addCriterion("end_time =", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotEqualTo(Date value) { + addCriterion("end_time <>", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThan(Date value) { + addCriterion("end_time >", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThanOrEqualTo(Date value) { + addCriterion("end_time >=", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThan(Date value) { + addCriterion("end_time <", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThanOrEqualTo(Date value) { + addCriterion("end_time <=", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeIn(List values) { + addCriterion("end_time in", values, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotIn(List values) { + addCriterion("end_time not in", values, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeBetween(Date value1, Date value2) { + addCriterion("end_time between", value1, value2, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotBetween(Date value1, Date value2) { + addCriterion("end_time not between", value1, value2, "endTime"); + return (Criteria) this; + } + + public Criteria andUseTypeIsNull() { + addCriterion("use_type is null"); + return (Criteria) this; + } + + public Criteria andUseTypeIsNotNull() { + addCriterion("use_type is not null"); + return (Criteria) this; + } + + public Criteria andUseTypeEqualTo(Integer value) { + addCriterion("use_type =", value, "useType"); + return (Criteria) this; + } + + public Criteria andUseTypeNotEqualTo(Integer value) { + addCriterion("use_type <>", value, "useType"); + return (Criteria) this; + } + + public Criteria andUseTypeGreaterThan(Integer value) { + addCriterion("use_type >", value, "useType"); + return (Criteria) this; + } + + public Criteria andUseTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("use_type >=", value, "useType"); + return (Criteria) this; + } + + public Criteria andUseTypeLessThan(Integer value) { + addCriterion("use_type <", value, "useType"); + return (Criteria) this; + } + + public Criteria andUseTypeLessThanOrEqualTo(Integer value) { + addCriterion("use_type <=", value, "useType"); + return (Criteria) this; + } + + public Criteria andUseTypeIn(List values) { + addCriterion("use_type in", values, "useType"); + return (Criteria) this; + } + + public Criteria andUseTypeNotIn(List values) { + addCriterion("use_type not in", values, "useType"); + return (Criteria) this; + } + + public Criteria andUseTypeBetween(Integer value1, Integer value2) { + addCriterion("use_type between", value1, value2, "useType"); + return (Criteria) this; + } + + public Criteria andUseTypeNotBetween(Integer value1, Integer value2) { + addCriterion("use_type not between", value1, value2, "useType"); + return (Criteria) this; + } + + public Criteria andNoteIsNull() { + addCriterion("note is null"); + return (Criteria) this; + } + + public Criteria andNoteIsNotNull() { + addCriterion("note is not null"); + return (Criteria) this; + } + + public Criteria andNoteEqualTo(String value) { + addCriterion("note =", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotEqualTo(String value) { + addCriterion("note <>", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThan(String value) { + addCriterion("note >", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThanOrEqualTo(String value) { + addCriterion("note >=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThan(String value) { + addCriterion("note <", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThanOrEqualTo(String value) { + addCriterion("note <=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLike(String value) { + addCriterion("note like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotLike(String value) { + addCriterion("note not like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteIn(List values) { + addCriterion("note in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotIn(List values) { + addCriterion("note not in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteBetween(String value1, String value2) { + addCriterion("note between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotBetween(String value1, String value2) { + addCriterion("note not between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andPublishCountIsNull() { + addCriterion("publish_count is null"); + return (Criteria) this; + } + + public Criteria andPublishCountIsNotNull() { + addCriterion("publish_count is not null"); + return (Criteria) this; + } + + public Criteria andPublishCountEqualTo(Integer value) { + addCriterion("publish_count =", value, "publishCount"); + return (Criteria) this; + } + + public Criteria andPublishCountNotEqualTo(Integer value) { + addCriterion("publish_count <>", value, "publishCount"); + return (Criteria) this; + } + + public Criteria andPublishCountGreaterThan(Integer value) { + addCriterion("publish_count >", value, "publishCount"); + return (Criteria) this; + } + + public Criteria andPublishCountGreaterThanOrEqualTo(Integer value) { + addCriterion("publish_count >=", value, "publishCount"); + return (Criteria) this; + } + + public Criteria andPublishCountLessThan(Integer value) { + addCriterion("publish_count <", value, "publishCount"); + return (Criteria) this; + } + + public Criteria andPublishCountLessThanOrEqualTo(Integer value) { + addCriterion("publish_count <=", value, "publishCount"); + return (Criteria) this; + } + + public Criteria andPublishCountIn(List values) { + addCriterion("publish_count in", values, "publishCount"); + return (Criteria) this; + } + + public Criteria andPublishCountNotIn(List values) { + addCriterion("publish_count not in", values, "publishCount"); + return (Criteria) this; + } + + public Criteria andPublishCountBetween(Integer value1, Integer value2) { + addCriterion("publish_count between", value1, value2, "publishCount"); + return (Criteria) this; + } + + public Criteria andPublishCountNotBetween(Integer value1, Integer value2) { + addCriterion("publish_count not between", value1, value2, "publishCount"); + return (Criteria) this; + } + + public Criteria andUseCountIsNull() { + addCriterion("use_count is null"); + return (Criteria) this; + } + + public Criteria andUseCountIsNotNull() { + addCriterion("use_count is not null"); + return (Criteria) this; + } + + public Criteria andUseCountEqualTo(Integer value) { + addCriterion("use_count =", value, "useCount"); + return (Criteria) this; + } + + public Criteria andUseCountNotEqualTo(Integer value) { + addCriterion("use_count <>", value, "useCount"); + return (Criteria) this; + } + + public Criteria andUseCountGreaterThan(Integer value) { + addCriterion("use_count >", value, "useCount"); + return (Criteria) this; + } + + public Criteria andUseCountGreaterThanOrEqualTo(Integer value) { + addCriterion("use_count >=", value, "useCount"); + return (Criteria) this; + } + + public Criteria andUseCountLessThan(Integer value) { + addCriterion("use_count <", value, "useCount"); + return (Criteria) this; + } + + public Criteria andUseCountLessThanOrEqualTo(Integer value) { + addCriterion("use_count <=", value, "useCount"); + return (Criteria) this; + } + + public Criteria andUseCountIn(List values) { + addCriterion("use_count in", values, "useCount"); + return (Criteria) this; + } + + public Criteria andUseCountNotIn(List values) { + addCriterion("use_count not in", values, "useCount"); + return (Criteria) this; + } + + public Criteria andUseCountBetween(Integer value1, Integer value2) { + addCriterion("use_count between", value1, value2, "useCount"); + return (Criteria) this; + } + + public Criteria andUseCountNotBetween(Integer value1, Integer value2) { + addCriterion("use_count not between", value1, value2, "useCount"); + return (Criteria) this; + } + + public Criteria andReceiveCountIsNull() { + addCriterion("receive_count is null"); + return (Criteria) this; + } + + public Criteria andReceiveCountIsNotNull() { + addCriterion("receive_count is not null"); + return (Criteria) this; + } + + public Criteria andReceiveCountEqualTo(Integer value) { + addCriterion("receive_count =", value, "receiveCount"); + return (Criteria) this; + } + + public Criteria andReceiveCountNotEqualTo(Integer value) { + addCriterion("receive_count <>", value, "receiveCount"); + return (Criteria) this; + } + + public Criteria andReceiveCountGreaterThan(Integer value) { + addCriterion("receive_count >", value, "receiveCount"); + return (Criteria) this; + } + + public Criteria andReceiveCountGreaterThanOrEqualTo(Integer value) { + addCriterion("receive_count >=", value, "receiveCount"); + return (Criteria) this; + } + + public Criteria andReceiveCountLessThan(Integer value) { + addCriterion("receive_count <", value, "receiveCount"); + return (Criteria) this; + } + + public Criteria andReceiveCountLessThanOrEqualTo(Integer value) { + addCriterion("receive_count <=", value, "receiveCount"); + return (Criteria) this; + } + + public Criteria andReceiveCountIn(List values) { + addCriterion("receive_count in", values, "receiveCount"); + return (Criteria) this; + } + + public Criteria andReceiveCountNotIn(List values) { + addCriterion("receive_count not in", values, "receiveCount"); + return (Criteria) this; + } + + public Criteria andReceiveCountBetween(Integer value1, Integer value2) { + addCriterion("receive_count between", value1, value2, "receiveCount"); + return (Criteria) this; + } + + public Criteria andReceiveCountNotBetween(Integer value1, Integer value2) { + addCriterion("receive_count not between", value1, value2, "receiveCount"); + return (Criteria) this; + } + + public Criteria andEnableTimeIsNull() { + addCriterion("enable_time is null"); + return (Criteria) this; + } + + public Criteria andEnableTimeIsNotNull() { + addCriterion("enable_time is not null"); + return (Criteria) this; + } + + public Criteria andEnableTimeEqualTo(Date value) { + addCriterion("enable_time =", value, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeNotEqualTo(Date value) { + addCriterion("enable_time <>", value, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeGreaterThan(Date value) { + addCriterion("enable_time >", value, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeGreaterThanOrEqualTo(Date value) { + addCriterion("enable_time >=", value, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeLessThan(Date value) { + addCriterion("enable_time <", value, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeLessThanOrEqualTo(Date value) { + addCriterion("enable_time <=", value, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeIn(List values) { + addCriterion("enable_time in", values, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeNotIn(List values) { + addCriterion("enable_time not in", values, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeBetween(Date value1, Date value2) { + addCriterion("enable_time between", value1, value2, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeNotBetween(Date value1, Date value2) { + addCriterion("enable_time not between", value1, value2, "enableTime"); + return (Criteria) this; + } + + public Criteria andCodeIsNull() { + addCriterion("code is null"); + return (Criteria) this; + } + + public Criteria andCodeIsNotNull() { + addCriterion("code is not null"); + return (Criteria) this; + } + + public Criteria andCodeEqualTo(String value) { + addCriterion("code =", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeNotEqualTo(String value) { + addCriterion("code <>", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeGreaterThan(String value) { + addCriterion("code >", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeGreaterThanOrEqualTo(String value) { + addCriterion("code >=", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeLessThan(String value) { + addCriterion("code <", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeLessThanOrEqualTo(String value) { + addCriterion("code <=", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeLike(String value) { + addCriterion("code like", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeNotLike(String value) { + addCriterion("code not like", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeIn(List values) { + addCriterion("code in", values, "code"); + return (Criteria) this; + } + + public Criteria andCodeNotIn(List values) { + addCriterion("code not in", values, "code"); + return (Criteria) this; + } + + public Criteria andCodeBetween(String value1, String value2) { + addCriterion("code between", value1, value2, "code"); + return (Criteria) this; + } + + public Criteria andCodeNotBetween(String value1, String value2) { + addCriterion("code not between", value1, value2, "code"); + return (Criteria) this; + } + + public Criteria andMemberLevelIsNull() { + addCriterion("member_level is null"); + return (Criteria) this; + } + + public Criteria andMemberLevelIsNotNull() { + addCriterion("member_level is not null"); + return (Criteria) this; + } + + public Criteria andMemberLevelEqualTo(Integer value) { + addCriterion("member_level =", value, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelNotEqualTo(Integer value) { + addCriterion("member_level <>", value, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelGreaterThan(Integer value) { + addCriterion("member_level >", value, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelGreaterThanOrEqualTo(Integer value) { + addCriterion("member_level >=", value, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelLessThan(Integer value) { + addCriterion("member_level <", value, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelLessThanOrEqualTo(Integer value) { + addCriterion("member_level <=", value, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelIn(List values) { + addCriterion("member_level in", values, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelNotIn(List values) { + addCriterion("member_level not in", values, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelBetween(Integer value1, Integer value2) { + addCriterion("member_level between", value1, value2, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelNotBetween(Integer value1, Integer value2) { + addCriterion("member_level not between", value1, value2, "memberLevel"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponHistory.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponHistory.java new file mode 100644 index 0000000..b140597 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponHistory.java @@ -0,0 +1,170 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class SmsCouponHistory implements Serializable { + private Long id; + + private Long couponId; + + private Long memberId; + + private String couponCode; + + /** + * 领取人昵称 + * + * @mbggenerated + */ + private String memberNickname; + + /** + * 获取类型:0->后台赠送;1->主动获取 + * + * @mbggenerated + */ + private Integer getType; + + private Date createTime; + + /** + * 使用状态:0->未使用;1->已使用;2->已过期 + * + * @mbggenerated + */ + private Integer useStatus; + + /** + * 使用时间 + * + * @mbggenerated + */ + private Date useTime; + + /** + * 订单编号 + * + * @mbggenerated + */ + private Long orderId; + + /** + * 订单号码 + * + * @mbggenerated + */ + private String orderSn; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getCouponId() { + return couponId; + } + + public void setCouponId(Long couponId) { + this.couponId = couponId; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public String getCouponCode() { + return couponCode; + } + + public void setCouponCode(String couponCode) { + this.couponCode = couponCode; + } + + public String getMemberNickname() { + return memberNickname; + } + + public void setMemberNickname(String memberNickname) { + this.memberNickname = memberNickname; + } + + public Integer getGetType() { + return getType; + } + + public void setGetType(Integer getType) { + this.getType = getType; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getUseStatus() { + return useStatus; + } + + public void setUseStatus(Integer useStatus) { + this.useStatus = useStatus; + } + + public Date getUseTime() { + return useTime; + } + + public void setUseTime(Date useTime) { + this.useTime = useTime; + } + + public Long getOrderId() { + return orderId; + } + + public void setOrderId(Long orderId) { + this.orderId = orderId; + } + + public String getOrderSn() { + return orderSn; + } + + public void setOrderSn(String orderSn) { + this.orderSn = orderSn; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", couponId=").append(couponId); + sb.append(", memberId=").append(memberId); + sb.append(", couponCode=").append(couponCode); + sb.append(", memberNickname=").append(memberNickname); + sb.append(", getType=").append(getType); + sb.append(", createTime=").append(createTime); + sb.append(", useStatus=").append(useStatus); + sb.append(", useTime=").append(useTime); + sb.append(", orderId=").append(orderId); + sb.append(", orderSn=").append(orderSn); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponHistoryExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponHistoryExample.java new file mode 100644 index 0000000..480d8fb --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponHistoryExample.java @@ -0,0 +1,891 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class SmsCouponHistoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsCouponHistoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andCouponIdIsNull() { + addCriterion("coupon_id is null"); + return (Criteria) this; + } + + public Criteria andCouponIdIsNotNull() { + addCriterion("coupon_id is not null"); + return (Criteria) this; + } + + public Criteria andCouponIdEqualTo(Long value) { + addCriterion("coupon_id =", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotEqualTo(Long value) { + addCriterion("coupon_id <>", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdGreaterThan(Long value) { + addCriterion("coupon_id >", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdGreaterThanOrEqualTo(Long value) { + addCriterion("coupon_id >=", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdLessThan(Long value) { + addCriterion("coupon_id <", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdLessThanOrEqualTo(Long value) { + addCriterion("coupon_id <=", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdIn(List values) { + addCriterion("coupon_id in", values, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotIn(List values) { + addCriterion("coupon_id not in", values, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdBetween(Long value1, Long value2) { + addCriterion("coupon_id between", value1, value2, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotBetween(Long value1, Long value2) { + addCriterion("coupon_id not between", value1, value2, "couponId"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andCouponCodeIsNull() { + addCriterion("coupon_code is null"); + return (Criteria) this; + } + + public Criteria andCouponCodeIsNotNull() { + addCriterion("coupon_code is not null"); + return (Criteria) this; + } + + public Criteria andCouponCodeEqualTo(String value) { + addCriterion("coupon_code =", value, "couponCode"); + return (Criteria) this; + } + + public Criteria andCouponCodeNotEqualTo(String value) { + addCriterion("coupon_code <>", value, "couponCode"); + return (Criteria) this; + } + + public Criteria andCouponCodeGreaterThan(String value) { + addCriterion("coupon_code >", value, "couponCode"); + return (Criteria) this; + } + + public Criteria andCouponCodeGreaterThanOrEqualTo(String value) { + addCriterion("coupon_code >=", value, "couponCode"); + return (Criteria) this; + } + + public Criteria andCouponCodeLessThan(String value) { + addCriterion("coupon_code <", value, "couponCode"); + return (Criteria) this; + } + + public Criteria andCouponCodeLessThanOrEqualTo(String value) { + addCriterion("coupon_code <=", value, "couponCode"); + return (Criteria) this; + } + + public Criteria andCouponCodeLike(String value) { + addCriterion("coupon_code like", value, "couponCode"); + return (Criteria) this; + } + + public Criteria andCouponCodeNotLike(String value) { + addCriterion("coupon_code not like", value, "couponCode"); + return (Criteria) this; + } + + public Criteria andCouponCodeIn(List values) { + addCriterion("coupon_code in", values, "couponCode"); + return (Criteria) this; + } + + public Criteria andCouponCodeNotIn(List values) { + addCriterion("coupon_code not in", values, "couponCode"); + return (Criteria) this; + } + + public Criteria andCouponCodeBetween(String value1, String value2) { + addCriterion("coupon_code between", value1, value2, "couponCode"); + return (Criteria) this; + } + + public Criteria andCouponCodeNotBetween(String value1, String value2) { + addCriterion("coupon_code not between", value1, value2, "couponCode"); + return (Criteria) this; + } + + public Criteria andMemberNicknameIsNull() { + addCriterion("member_nickname is null"); + return (Criteria) this; + } + + public Criteria andMemberNicknameIsNotNull() { + addCriterion("member_nickname is not null"); + return (Criteria) this; + } + + public Criteria andMemberNicknameEqualTo(String value) { + addCriterion("member_nickname =", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameNotEqualTo(String value) { + addCriterion("member_nickname <>", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameGreaterThan(String value) { + addCriterion("member_nickname >", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameGreaterThanOrEqualTo(String value) { + addCriterion("member_nickname >=", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameLessThan(String value) { + addCriterion("member_nickname <", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameLessThanOrEqualTo(String value) { + addCriterion("member_nickname <=", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameLike(String value) { + addCriterion("member_nickname like", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameNotLike(String value) { + addCriterion("member_nickname not like", value, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameIn(List values) { + addCriterion("member_nickname in", values, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameNotIn(List values) { + addCriterion("member_nickname not in", values, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameBetween(String value1, String value2) { + addCriterion("member_nickname between", value1, value2, "memberNickname"); + return (Criteria) this; + } + + public Criteria andMemberNicknameNotBetween(String value1, String value2) { + addCriterion("member_nickname not between", value1, value2, "memberNickname"); + return (Criteria) this; + } + + public Criteria andGetTypeIsNull() { + addCriterion("get_type is null"); + return (Criteria) this; + } + + public Criteria andGetTypeIsNotNull() { + addCriterion("get_type is not null"); + return (Criteria) this; + } + + public Criteria andGetTypeEqualTo(Integer value) { + addCriterion("get_type =", value, "getType"); + return (Criteria) this; + } + + public Criteria andGetTypeNotEqualTo(Integer value) { + addCriterion("get_type <>", value, "getType"); + return (Criteria) this; + } + + public Criteria andGetTypeGreaterThan(Integer value) { + addCriterion("get_type >", value, "getType"); + return (Criteria) this; + } + + public Criteria andGetTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("get_type >=", value, "getType"); + return (Criteria) this; + } + + public Criteria andGetTypeLessThan(Integer value) { + addCriterion("get_type <", value, "getType"); + return (Criteria) this; + } + + public Criteria andGetTypeLessThanOrEqualTo(Integer value) { + addCriterion("get_type <=", value, "getType"); + return (Criteria) this; + } + + public Criteria andGetTypeIn(List values) { + addCriterion("get_type in", values, "getType"); + return (Criteria) this; + } + + public Criteria andGetTypeNotIn(List values) { + addCriterion("get_type not in", values, "getType"); + return (Criteria) this; + } + + public Criteria andGetTypeBetween(Integer value1, Integer value2) { + addCriterion("get_type between", value1, value2, "getType"); + return (Criteria) this; + } + + public Criteria andGetTypeNotBetween(Integer value1, Integer value2) { + addCriterion("get_type not between", value1, value2, "getType"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andUseStatusIsNull() { + addCriterion("use_status is null"); + return (Criteria) this; + } + + public Criteria andUseStatusIsNotNull() { + addCriterion("use_status is not null"); + return (Criteria) this; + } + + public Criteria andUseStatusEqualTo(Integer value) { + addCriterion("use_status =", value, "useStatus"); + return (Criteria) this; + } + + public Criteria andUseStatusNotEqualTo(Integer value) { + addCriterion("use_status <>", value, "useStatus"); + return (Criteria) this; + } + + public Criteria andUseStatusGreaterThan(Integer value) { + addCriterion("use_status >", value, "useStatus"); + return (Criteria) this; + } + + public Criteria andUseStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("use_status >=", value, "useStatus"); + return (Criteria) this; + } + + public Criteria andUseStatusLessThan(Integer value) { + addCriterion("use_status <", value, "useStatus"); + return (Criteria) this; + } + + public Criteria andUseStatusLessThanOrEqualTo(Integer value) { + addCriterion("use_status <=", value, "useStatus"); + return (Criteria) this; + } + + public Criteria andUseStatusIn(List values) { + addCriterion("use_status in", values, "useStatus"); + return (Criteria) this; + } + + public Criteria andUseStatusNotIn(List values) { + addCriterion("use_status not in", values, "useStatus"); + return (Criteria) this; + } + + public Criteria andUseStatusBetween(Integer value1, Integer value2) { + addCriterion("use_status between", value1, value2, "useStatus"); + return (Criteria) this; + } + + public Criteria andUseStatusNotBetween(Integer value1, Integer value2) { + addCriterion("use_status not between", value1, value2, "useStatus"); + return (Criteria) this; + } + + public Criteria andUseTimeIsNull() { + addCriterion("use_time is null"); + return (Criteria) this; + } + + public Criteria andUseTimeIsNotNull() { + addCriterion("use_time is not null"); + return (Criteria) this; + } + + public Criteria andUseTimeEqualTo(Date value) { + addCriterion("use_time =", value, "useTime"); + return (Criteria) this; + } + + public Criteria andUseTimeNotEqualTo(Date value) { + addCriterion("use_time <>", value, "useTime"); + return (Criteria) this; + } + + public Criteria andUseTimeGreaterThan(Date value) { + addCriterion("use_time >", value, "useTime"); + return (Criteria) this; + } + + public Criteria andUseTimeGreaterThanOrEqualTo(Date value) { + addCriterion("use_time >=", value, "useTime"); + return (Criteria) this; + } + + public Criteria andUseTimeLessThan(Date value) { + addCriterion("use_time <", value, "useTime"); + return (Criteria) this; + } + + public Criteria andUseTimeLessThanOrEqualTo(Date value) { + addCriterion("use_time <=", value, "useTime"); + return (Criteria) this; + } + + public Criteria andUseTimeIn(List values) { + addCriterion("use_time in", values, "useTime"); + return (Criteria) this; + } + + public Criteria andUseTimeNotIn(List values) { + addCriterion("use_time not in", values, "useTime"); + return (Criteria) this; + } + + public Criteria andUseTimeBetween(Date value1, Date value2) { + addCriterion("use_time between", value1, value2, "useTime"); + return (Criteria) this; + } + + public Criteria andUseTimeNotBetween(Date value1, Date value2) { + addCriterion("use_time not between", value1, value2, "useTime"); + return (Criteria) this; + } + + public Criteria andOrderIdIsNull() { + addCriterion("order_id is null"); + return (Criteria) this; + } + + public Criteria andOrderIdIsNotNull() { + addCriterion("order_id is not null"); + return (Criteria) this; + } + + public Criteria andOrderIdEqualTo(Long value) { + addCriterion("order_id =", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotEqualTo(Long value) { + addCriterion("order_id <>", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThan(Long value) { + addCriterion("order_id >", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThanOrEqualTo(Long value) { + addCriterion("order_id >=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThan(Long value) { + addCriterion("order_id <", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThanOrEqualTo(Long value) { + addCriterion("order_id <=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdIn(List values) { + addCriterion("order_id in", values, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotIn(List values) { + addCriterion("order_id not in", values, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdBetween(Long value1, Long value2) { + addCriterion("order_id between", value1, value2, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotBetween(Long value1, Long value2) { + addCriterion("order_id not between", value1, value2, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderSnIsNull() { + addCriterion("order_sn is null"); + return (Criteria) this; + } + + public Criteria andOrderSnIsNotNull() { + addCriterion("order_sn is not null"); + return (Criteria) this; + } + + public Criteria andOrderSnEqualTo(String value) { + addCriterion("order_sn =", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotEqualTo(String value) { + addCriterion("order_sn <>", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnGreaterThan(String value) { + addCriterion("order_sn >", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnGreaterThanOrEqualTo(String value) { + addCriterion("order_sn >=", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnLessThan(String value) { + addCriterion("order_sn <", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnLessThanOrEqualTo(String value) { + addCriterion("order_sn <=", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnLike(String value) { + addCriterion("order_sn like", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotLike(String value) { + addCriterion("order_sn not like", value, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnIn(List values) { + addCriterion("order_sn in", values, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotIn(List values) { + addCriterion("order_sn not in", values, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnBetween(String value1, String value2) { + addCriterion("order_sn between", value1, value2, "orderSn"); + return (Criteria) this; + } + + public Criteria andOrderSnNotBetween(String value1, String value2) { + addCriterion("order_sn not between", value1, value2, "orderSn"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductCategoryRelation.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductCategoryRelation.java new file mode 100644 index 0000000..fab323b --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductCategoryRelation.java @@ -0,0 +1,83 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class SmsCouponProductCategoryRelation implements Serializable { + private Long id; + + private Long couponId; + + private Long productCategoryId; + + /** + * 产品分类名称 + * + * @mbggenerated + */ + private String productCategoryName; + + /** + * 父分类名称 + * + * @mbggenerated + */ + private String parentCategoryName; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getCouponId() { + return couponId; + } + + public void setCouponId(Long couponId) { + this.couponId = couponId; + } + + public Long getProductCategoryId() { + return productCategoryId; + } + + public void setProductCategoryId(Long productCategoryId) { + this.productCategoryId = productCategoryId; + } + + public String getProductCategoryName() { + return productCategoryName; + } + + public void setProductCategoryName(String productCategoryName) { + this.productCategoryName = productCategoryName; + } + + public String getParentCategoryName() { + return parentCategoryName; + } + + public void setParentCategoryName(String parentCategoryName) { + this.parentCategoryName = parentCategoryName; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", couponId=").append(couponId); + sb.append(", productCategoryId=").append(productCategoryId); + sb.append(", productCategoryName=").append(productCategoryName); + sb.append(", parentCategoryName=").append(parentCategoryName); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductCategoryRelationExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductCategoryRelationExample.java new file mode 100644 index 0000000..79a717e --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductCategoryRelationExample.java @@ -0,0 +1,520 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class SmsCouponProductCategoryRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsCouponProductCategoryRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andCouponIdIsNull() { + addCriterion("coupon_id is null"); + return (Criteria) this; + } + + public Criteria andCouponIdIsNotNull() { + addCriterion("coupon_id is not null"); + return (Criteria) this; + } + + public Criteria andCouponIdEqualTo(Long value) { + addCriterion("coupon_id =", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotEqualTo(Long value) { + addCriterion("coupon_id <>", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdGreaterThan(Long value) { + addCriterion("coupon_id >", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdGreaterThanOrEqualTo(Long value) { + addCriterion("coupon_id >=", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdLessThan(Long value) { + addCriterion("coupon_id <", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdLessThanOrEqualTo(Long value) { + addCriterion("coupon_id <=", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdIn(List values) { + addCriterion("coupon_id in", values, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotIn(List values) { + addCriterion("coupon_id not in", values, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdBetween(Long value1, Long value2) { + addCriterion("coupon_id between", value1, value2, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotBetween(Long value1, Long value2) { + addCriterion("coupon_id not between", value1, value2, "couponId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNull() { + addCriterion("product_category_id is null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNotNull() { + addCriterion("product_category_id is not null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdEqualTo(Long value) { + addCriterion("product_category_id =", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotEqualTo(Long value) { + addCriterion("product_category_id <>", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThan(Long value) { + addCriterion("product_category_id >", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_category_id >=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThan(Long value) { + addCriterion("product_category_id <", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("product_category_id <=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIn(List values) { + addCriterion("product_category_id in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotIn(List values) { + addCriterion("product_category_id not in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdBetween(Long value1, Long value2) { + addCriterion("product_category_id between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("product_category_id not between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameIsNull() { + addCriterion("product_category_name is null"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameIsNotNull() { + addCriterion("product_category_name is not null"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameEqualTo(String value) { + addCriterion("product_category_name =", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameNotEqualTo(String value) { + addCriterion("product_category_name <>", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameGreaterThan(String value) { + addCriterion("product_category_name >", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameGreaterThanOrEqualTo(String value) { + addCriterion("product_category_name >=", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameLessThan(String value) { + addCriterion("product_category_name <", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameLessThanOrEqualTo(String value) { + addCriterion("product_category_name <=", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameLike(String value) { + addCriterion("product_category_name like", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameNotLike(String value) { + addCriterion("product_category_name not like", value, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameIn(List values) { + addCriterion("product_category_name in", values, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameNotIn(List values) { + addCriterion("product_category_name not in", values, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameBetween(String value1, String value2) { + addCriterion("product_category_name between", value1, value2, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andProductCategoryNameNotBetween(String value1, String value2) { + addCriterion("product_category_name not between", value1, value2, "productCategoryName"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameIsNull() { + addCriterion("parent_category_name is null"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameIsNotNull() { + addCriterion("parent_category_name is not null"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameEqualTo(String value) { + addCriterion("parent_category_name =", value, "parentCategoryName"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameNotEqualTo(String value) { + addCriterion("parent_category_name <>", value, "parentCategoryName"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameGreaterThan(String value) { + addCriterion("parent_category_name >", value, "parentCategoryName"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameGreaterThanOrEqualTo(String value) { + addCriterion("parent_category_name >=", value, "parentCategoryName"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameLessThan(String value) { + addCriterion("parent_category_name <", value, "parentCategoryName"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameLessThanOrEqualTo(String value) { + addCriterion("parent_category_name <=", value, "parentCategoryName"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameLike(String value) { + addCriterion("parent_category_name like", value, "parentCategoryName"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameNotLike(String value) { + addCriterion("parent_category_name not like", value, "parentCategoryName"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameIn(List values) { + addCriterion("parent_category_name in", values, "parentCategoryName"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameNotIn(List values) { + addCriterion("parent_category_name not in", values, "parentCategoryName"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameBetween(String value1, String value2) { + addCriterion("parent_category_name between", value1, value2, "parentCategoryName"); + return (Criteria) this; + } + + public Criteria andParentCategoryNameNotBetween(String value1, String value2) { + addCriterion("parent_category_name not between", value1, value2, "parentCategoryName"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductRelation.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductRelation.java new file mode 100644 index 0000000..afc7e88 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductRelation.java @@ -0,0 +1,83 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class SmsCouponProductRelation implements Serializable { + private Long id; + + private Long couponId; + + private Long productId; + + /** + * 商品名称 + * + * @mbggenerated + */ + private String productName; + + /** + * 商品编码 + * + * @mbggenerated + */ + private String productSn; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getCouponId() { + return couponId; + } + + public void setCouponId(Long couponId) { + this.couponId = couponId; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public String getProductSn() { + return productSn; + } + + public void setProductSn(String productSn) { + this.productSn = productSn; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", couponId=").append(couponId); + sb.append(", productId=").append(productId); + sb.append(", productName=").append(productName); + sb.append(", productSn=").append(productSn); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductRelationExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductRelationExample.java new file mode 100644 index 0000000..a6cb004 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsCouponProductRelationExample.java @@ -0,0 +1,520 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class SmsCouponProductRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsCouponProductRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andCouponIdIsNull() { + addCriterion("coupon_id is null"); + return (Criteria) this; + } + + public Criteria andCouponIdIsNotNull() { + addCriterion("coupon_id is not null"); + return (Criteria) this; + } + + public Criteria andCouponIdEqualTo(Long value) { + addCriterion("coupon_id =", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotEqualTo(Long value) { + addCriterion("coupon_id <>", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdGreaterThan(Long value) { + addCriterion("coupon_id >", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdGreaterThanOrEqualTo(Long value) { + addCriterion("coupon_id >=", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdLessThan(Long value) { + addCriterion("coupon_id <", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdLessThanOrEqualTo(Long value) { + addCriterion("coupon_id <=", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdIn(List values) { + addCriterion("coupon_id in", values, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotIn(List values) { + addCriterion("coupon_id not in", values, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdBetween(Long value1, Long value2) { + addCriterion("coupon_id between", value1, value2, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotBetween(Long value1, Long value2) { + addCriterion("coupon_id not between", value1, value2, "couponId"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductNameIsNull() { + addCriterion("product_name is null"); + return (Criteria) this; + } + + public Criteria andProductNameIsNotNull() { + addCriterion("product_name is not null"); + return (Criteria) this; + } + + public Criteria andProductNameEqualTo(String value) { + addCriterion("product_name =", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotEqualTo(String value) { + addCriterion("product_name <>", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThan(String value) { + addCriterion("product_name >", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThanOrEqualTo(String value) { + addCriterion("product_name >=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThan(String value) { + addCriterion("product_name <", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThanOrEqualTo(String value) { + addCriterion("product_name <=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLike(String value) { + addCriterion("product_name like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotLike(String value) { + addCriterion("product_name not like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameIn(List values) { + addCriterion("product_name in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotIn(List values) { + addCriterion("product_name not in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameBetween(String value1, String value2) { + addCriterion("product_name between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotBetween(String value1, String value2) { + addCriterion("product_name not between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductSnIsNull() { + addCriterion("product_sn is null"); + return (Criteria) this; + } + + public Criteria andProductSnIsNotNull() { + addCriterion("product_sn is not null"); + return (Criteria) this; + } + + public Criteria andProductSnEqualTo(String value) { + addCriterion("product_sn =", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotEqualTo(String value) { + addCriterion("product_sn <>", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnGreaterThan(String value) { + addCriterion("product_sn >", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnGreaterThanOrEqualTo(String value) { + addCriterion("product_sn >=", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnLessThan(String value) { + addCriterion("product_sn <", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnLessThanOrEqualTo(String value) { + addCriterion("product_sn <=", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnLike(String value) { + addCriterion("product_sn like", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotLike(String value) { + addCriterion("product_sn not like", value, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnIn(List values) { + addCriterion("product_sn in", values, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotIn(List values) { + addCriterion("product_sn not in", values, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnBetween(String value1, String value2) { + addCriterion("product_sn between", value1, value2, "productSn"); + return (Criteria) this; + } + + public Criteria andProductSnNotBetween(String value1, String value2) { + addCriterion("product_sn not between", value1, value2, "productSn"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotion.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotion.java new file mode 100644 index 0000000..ed67338 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotion.java @@ -0,0 +1,105 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class SmsFlashPromotion implements Serializable { + private Long id; + + private String title; + + /** + * 开始日期 + * + * @mbggenerated + */ + private Date startDate; + + /** + * 结束日期 + * + * @mbggenerated + */ + private Date endDate; + + /** + * 上下线状态 + * + * @mbggenerated + */ + private Integer status; + + /** + * 秒杀时间段名称 + * + * @mbggenerated + */ + private Date createTime; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public Date getStartDate() { + return startDate; + } + + public void setStartDate(Date startDate) { + this.startDate = startDate; + } + + public Date getEndDate() { + return endDate; + } + + public void setEndDate(Date endDate) { + this.endDate = endDate; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", title=").append(title); + sb.append(", startDate=").append(startDate); + sb.append(", endDate=").append(endDate); + sb.append(", status=").append(status); + sb.append(", createTime=").append(createTime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionExample.java new file mode 100644 index 0000000..e193e0d --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionExample.java @@ -0,0 +1,598 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.Iterator; +import java.util.List; + +public class SmsFlashPromotionExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsFlashPromotionExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + protected void addCriterionForJDBCDate(String condition, Date value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Date(value.getTime()), property); + } + + protected void addCriterionForJDBCDate(String condition, List values, String property) { + if (values == null || values.size() == 0) { + throw new RuntimeException("Value list for " + property + " cannot be null or empty"); + } + List dateList = new ArrayList(); + Iterator iter = values.iterator(); + while (iter.hasNext()) { + dateList.add(new java.sql.Date(iter.next().getTime())); + } + addCriterion(condition, dateList, property); + } + + protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andTitleIsNull() { + addCriterion("title is null"); + return (Criteria) this; + } + + public Criteria andTitleIsNotNull() { + addCriterion("title is not null"); + return (Criteria) this; + } + + public Criteria andTitleEqualTo(String value) { + addCriterion("title =", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotEqualTo(String value) { + addCriterion("title <>", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleGreaterThan(String value) { + addCriterion("title >", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleGreaterThanOrEqualTo(String value) { + addCriterion("title >=", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleLessThan(String value) { + addCriterion("title <", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleLessThanOrEqualTo(String value) { + addCriterion("title <=", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleLike(String value) { + addCriterion("title like", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotLike(String value) { + addCriterion("title not like", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleIn(List values) { + addCriterion("title in", values, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotIn(List values) { + addCriterion("title not in", values, "title"); + return (Criteria) this; + } + + public Criteria andTitleBetween(String value1, String value2) { + addCriterion("title between", value1, value2, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotBetween(String value1, String value2) { + addCriterion("title not between", value1, value2, "title"); + return (Criteria) this; + } + + public Criteria andStartDateIsNull() { + addCriterion("start_date is null"); + return (Criteria) this; + } + + public Criteria andStartDateIsNotNull() { + addCriterion("start_date is not null"); + return (Criteria) this; + } + + public Criteria andStartDateEqualTo(Date value) { + addCriterionForJDBCDate("start_date =", value, "startDate"); + return (Criteria) this; + } + + public Criteria andStartDateNotEqualTo(Date value) { + addCriterionForJDBCDate("start_date <>", value, "startDate"); + return (Criteria) this; + } + + public Criteria andStartDateGreaterThan(Date value) { + addCriterionForJDBCDate("start_date >", value, "startDate"); + return (Criteria) this; + } + + public Criteria andStartDateGreaterThanOrEqualTo(Date value) { + addCriterionForJDBCDate("start_date >=", value, "startDate"); + return (Criteria) this; + } + + public Criteria andStartDateLessThan(Date value) { + addCriterionForJDBCDate("start_date <", value, "startDate"); + return (Criteria) this; + } + + public Criteria andStartDateLessThanOrEqualTo(Date value) { + addCriterionForJDBCDate("start_date <=", value, "startDate"); + return (Criteria) this; + } + + public Criteria andStartDateIn(List values) { + addCriterionForJDBCDate("start_date in", values, "startDate"); + return (Criteria) this; + } + + public Criteria andStartDateNotIn(List values) { + addCriterionForJDBCDate("start_date not in", values, "startDate"); + return (Criteria) this; + } + + public Criteria andStartDateBetween(Date value1, Date value2) { + addCriterionForJDBCDate("start_date between", value1, value2, "startDate"); + return (Criteria) this; + } + + public Criteria andStartDateNotBetween(Date value1, Date value2) { + addCriterionForJDBCDate("start_date not between", value1, value2, "startDate"); + return (Criteria) this; + } + + public Criteria andEndDateIsNull() { + addCriterion("end_date is null"); + return (Criteria) this; + } + + public Criteria andEndDateIsNotNull() { + addCriterion("end_date is not null"); + return (Criteria) this; + } + + public Criteria andEndDateEqualTo(Date value) { + addCriterionForJDBCDate("end_date =", value, "endDate"); + return (Criteria) this; + } + + public Criteria andEndDateNotEqualTo(Date value) { + addCriterionForJDBCDate("end_date <>", value, "endDate"); + return (Criteria) this; + } + + public Criteria andEndDateGreaterThan(Date value) { + addCriterionForJDBCDate("end_date >", value, "endDate"); + return (Criteria) this; + } + + public Criteria andEndDateGreaterThanOrEqualTo(Date value) { + addCriterionForJDBCDate("end_date >=", value, "endDate"); + return (Criteria) this; + } + + public Criteria andEndDateLessThan(Date value) { + addCriterionForJDBCDate("end_date <", value, "endDate"); + return (Criteria) this; + } + + public Criteria andEndDateLessThanOrEqualTo(Date value) { + addCriterionForJDBCDate("end_date <=", value, "endDate"); + return (Criteria) this; + } + + public Criteria andEndDateIn(List values) { + addCriterionForJDBCDate("end_date in", values, "endDate"); + return (Criteria) this; + } + + public Criteria andEndDateNotIn(List values) { + addCriterionForJDBCDate("end_date not in", values, "endDate"); + return (Criteria) this; + } + + public Criteria andEndDateBetween(Date value1, Date value2) { + addCriterionForJDBCDate("end_date between", value1, value2, "endDate"); + return (Criteria) this; + } + + public Criteria andEndDateNotBetween(Date value1, Date value2) { + addCriterionForJDBCDate("end_date not between", value1, value2, "endDate"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionLog.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionLog.java new file mode 100644 index 0000000..3d988aa --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionLog.java @@ -0,0 +1,101 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class SmsFlashPromotionLog implements Serializable { + private Integer id; + + private Integer memberId; + + private Long productId; + + private String memberPhone; + + private String productName; + + /** + * 会员订阅时间 + * + * @mbggenerated + */ + private Date subscribeTime; + + private Date sendTime; + + private static final long serialVersionUID = 1L; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Integer getMemberId() { + return memberId; + } + + public void setMemberId(Integer memberId) { + this.memberId = memberId; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public String getMemberPhone() { + return memberPhone; + } + + public void setMemberPhone(String memberPhone) { + this.memberPhone = memberPhone; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public Date getSubscribeTime() { + return subscribeTime; + } + + public void setSubscribeTime(Date subscribeTime) { + this.subscribeTime = subscribeTime; + } + + public Date getSendTime() { + return sendTime; + } + + public void setSendTime(Date sendTime) { + this.sendTime = sendTime; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", productId=").append(productId); + sb.append(", memberPhone=").append(memberPhone); + sb.append(", productName=").append(productName); + sb.append(", subscribeTime=").append(subscribeTime); + sb.append(", sendTime=").append(sendTime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionLogExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionLogExample.java new file mode 100644 index 0000000..e481ae5 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionLogExample.java @@ -0,0 +1,641 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class SmsFlashPromotionLogExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsFlashPromotionLogExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Integer value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Integer value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Integer value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Integer value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Integer value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Integer value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Integer value1, Integer value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Integer value1, Integer value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Integer value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Integer value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Integer value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Integer value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Integer value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Integer value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Integer value1, Integer value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Integer value1, Integer value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andMemberPhoneIsNull() { + addCriterion("member_phone is null"); + return (Criteria) this; + } + + public Criteria andMemberPhoneIsNotNull() { + addCriterion("member_phone is not null"); + return (Criteria) this; + } + + public Criteria andMemberPhoneEqualTo(String value) { + addCriterion("member_phone =", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneNotEqualTo(String value) { + addCriterion("member_phone <>", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneGreaterThan(String value) { + addCriterion("member_phone >", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneGreaterThanOrEqualTo(String value) { + addCriterion("member_phone >=", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneLessThan(String value) { + addCriterion("member_phone <", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneLessThanOrEqualTo(String value) { + addCriterion("member_phone <=", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneLike(String value) { + addCriterion("member_phone like", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneNotLike(String value) { + addCriterion("member_phone not like", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneIn(List values) { + addCriterion("member_phone in", values, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneNotIn(List values) { + addCriterion("member_phone not in", values, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneBetween(String value1, String value2) { + addCriterion("member_phone between", value1, value2, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneNotBetween(String value1, String value2) { + addCriterion("member_phone not between", value1, value2, "memberPhone"); + return (Criteria) this; + } + + public Criteria andProductNameIsNull() { + addCriterion("product_name is null"); + return (Criteria) this; + } + + public Criteria andProductNameIsNotNull() { + addCriterion("product_name is not null"); + return (Criteria) this; + } + + public Criteria andProductNameEqualTo(String value) { + addCriterion("product_name =", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotEqualTo(String value) { + addCriterion("product_name <>", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThan(String value) { + addCriterion("product_name >", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThanOrEqualTo(String value) { + addCriterion("product_name >=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThan(String value) { + addCriterion("product_name <", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThanOrEqualTo(String value) { + addCriterion("product_name <=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLike(String value) { + addCriterion("product_name like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotLike(String value) { + addCriterion("product_name not like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameIn(List values) { + addCriterion("product_name in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotIn(List values) { + addCriterion("product_name not in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameBetween(String value1, String value2) { + addCriterion("product_name between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotBetween(String value1, String value2) { + addCriterion("product_name not between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeIsNull() { + addCriterion("subscribe_time is null"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeIsNotNull() { + addCriterion("subscribe_time is not null"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeEqualTo(Date value) { + addCriterion("subscribe_time =", value, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeNotEqualTo(Date value) { + addCriterion("subscribe_time <>", value, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeGreaterThan(Date value) { + addCriterion("subscribe_time >", value, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeGreaterThanOrEqualTo(Date value) { + addCriterion("subscribe_time >=", value, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeLessThan(Date value) { + addCriterion("subscribe_time <", value, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeLessThanOrEqualTo(Date value) { + addCriterion("subscribe_time <=", value, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeIn(List values) { + addCriterion("subscribe_time in", values, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeNotIn(List values) { + addCriterion("subscribe_time not in", values, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeBetween(Date value1, Date value2) { + addCriterion("subscribe_time between", value1, value2, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeNotBetween(Date value1, Date value2) { + addCriterion("subscribe_time not between", value1, value2, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSendTimeIsNull() { + addCriterion("send_time is null"); + return (Criteria) this; + } + + public Criteria andSendTimeIsNotNull() { + addCriterion("send_time is not null"); + return (Criteria) this; + } + + public Criteria andSendTimeEqualTo(Date value) { + addCriterion("send_time =", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeNotEqualTo(Date value) { + addCriterion("send_time <>", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeGreaterThan(Date value) { + addCriterion("send_time >", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeGreaterThanOrEqualTo(Date value) { + addCriterion("send_time >=", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeLessThan(Date value) { + addCriterion("send_time <", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeLessThanOrEqualTo(Date value) { + addCriterion("send_time <=", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeIn(List values) { + addCriterion("send_time in", values, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeNotIn(List values) { + addCriterion("send_time not in", values, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeBetween(Date value1, Date value2) { + addCriterion("send_time between", value1, value2, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeNotBetween(Date value1, Date value2) { + addCriterion("send_time not between", value1, value2, "sendTime"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionProductRelation.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionProductRelation.java new file mode 100644 index 0000000..bd513dc --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionProductRelation.java @@ -0,0 +1,137 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class SmsFlashPromotionProductRelation implements Serializable { + /** + * 编号 + * + * @mbggenerated + */ + private Long id; + + private Long flashPromotionId; + + /** + * 编号 + * + * @mbggenerated + */ + private Long flashPromotionSessionId; + + private Long productId; + + /** + * 限时购价格 + * + * @mbggenerated + */ + private BigDecimal flashPromotionPrice; + + /** + * 限时购数量 + * + * @mbggenerated + */ + private Integer flashPromotionCount; + + /** + * 每人限购数量 + * + * @mbggenerated + */ + private Integer flashPromotionLimit; + + /** + * 排序 + * + * @mbggenerated + */ + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getFlashPromotionId() { + return flashPromotionId; + } + + public void setFlashPromotionId(Long flashPromotionId) { + this.flashPromotionId = flashPromotionId; + } + + public Long getFlashPromotionSessionId() { + return flashPromotionSessionId; + } + + public void setFlashPromotionSessionId(Long flashPromotionSessionId) { + this.flashPromotionSessionId = flashPromotionSessionId; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public BigDecimal getFlashPromotionPrice() { + return flashPromotionPrice; + } + + public void setFlashPromotionPrice(BigDecimal flashPromotionPrice) { + this.flashPromotionPrice = flashPromotionPrice; + } + + public Integer getFlashPromotionCount() { + return flashPromotionCount; + } + + public void setFlashPromotionCount(Integer flashPromotionCount) { + this.flashPromotionCount = flashPromotionCount; + } + + public Integer getFlashPromotionLimit() { + return flashPromotionLimit; + } + + public void setFlashPromotionLimit(Integer flashPromotionLimit) { + this.flashPromotionLimit = flashPromotionLimit; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", flashPromotionId=").append(flashPromotionId); + sb.append(", flashPromotionSessionId=").append(flashPromotionSessionId); + sb.append(", productId=").append(productId); + sb.append(", flashPromotionPrice=").append(flashPromotionPrice); + sb.append(", flashPromotionCount=").append(flashPromotionCount); + sb.append(", flashPromotionLimit=").append(flashPromotionLimit); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionProductRelationExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionProductRelationExample.java new file mode 100644 index 0000000..0663880 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionProductRelationExample.java @@ -0,0 +1,681 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class SmsFlashPromotionProductRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsFlashPromotionProductRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdIsNull() { + addCriterion("flash_promotion_id is null"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdIsNotNull() { + addCriterion("flash_promotion_id is not null"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdEqualTo(Long value) { + addCriterion("flash_promotion_id =", value, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdNotEqualTo(Long value) { + addCriterion("flash_promotion_id <>", value, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdGreaterThan(Long value) { + addCriterion("flash_promotion_id >", value, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdGreaterThanOrEqualTo(Long value) { + addCriterion("flash_promotion_id >=", value, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdLessThan(Long value) { + addCriterion("flash_promotion_id <", value, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdLessThanOrEqualTo(Long value) { + addCriterion("flash_promotion_id <=", value, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdIn(List values) { + addCriterion("flash_promotion_id in", values, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdNotIn(List values) { + addCriterion("flash_promotion_id not in", values, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdBetween(Long value1, Long value2) { + addCriterion("flash_promotion_id between", value1, value2, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdNotBetween(Long value1, Long value2) { + addCriterion("flash_promotion_id not between", value1, value2, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSessionIdIsNull() { + addCriterion("flash_promotion_session_id is null"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSessionIdIsNotNull() { + addCriterion("flash_promotion_session_id is not null"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSessionIdEqualTo(Long value) { + addCriterion("flash_promotion_session_id =", value, "flashPromotionSessionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSessionIdNotEqualTo(Long value) { + addCriterion("flash_promotion_session_id <>", value, "flashPromotionSessionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSessionIdGreaterThan(Long value) { + addCriterion("flash_promotion_session_id >", value, "flashPromotionSessionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSessionIdGreaterThanOrEqualTo(Long value) { + addCriterion("flash_promotion_session_id >=", value, "flashPromotionSessionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSessionIdLessThan(Long value) { + addCriterion("flash_promotion_session_id <", value, "flashPromotionSessionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSessionIdLessThanOrEqualTo(Long value) { + addCriterion("flash_promotion_session_id <=", value, "flashPromotionSessionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSessionIdIn(List values) { + addCriterion("flash_promotion_session_id in", values, "flashPromotionSessionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSessionIdNotIn(List values) { + addCriterion("flash_promotion_session_id not in", values, "flashPromotionSessionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSessionIdBetween(Long value1, Long value2) { + addCriterion("flash_promotion_session_id between", value1, value2, "flashPromotionSessionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSessionIdNotBetween(Long value1, Long value2) { + addCriterion("flash_promotion_session_id not between", value1, value2, "flashPromotionSessionId"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionPriceIsNull() { + addCriterion("flash_promotion_price is null"); + return (Criteria) this; + } + + public Criteria andFlashPromotionPriceIsNotNull() { + addCriterion("flash_promotion_price is not null"); + return (Criteria) this; + } + + public Criteria andFlashPromotionPriceEqualTo(BigDecimal value) { + addCriterion("flash_promotion_price =", value, "flashPromotionPrice"); + return (Criteria) this; + } + + public Criteria andFlashPromotionPriceNotEqualTo(BigDecimal value) { + addCriterion("flash_promotion_price <>", value, "flashPromotionPrice"); + return (Criteria) this; + } + + public Criteria andFlashPromotionPriceGreaterThan(BigDecimal value) { + addCriterion("flash_promotion_price >", value, "flashPromotionPrice"); + return (Criteria) this; + } + + public Criteria andFlashPromotionPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("flash_promotion_price >=", value, "flashPromotionPrice"); + return (Criteria) this; + } + + public Criteria andFlashPromotionPriceLessThan(BigDecimal value) { + addCriterion("flash_promotion_price <", value, "flashPromotionPrice"); + return (Criteria) this; + } + + public Criteria andFlashPromotionPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("flash_promotion_price <=", value, "flashPromotionPrice"); + return (Criteria) this; + } + + public Criteria andFlashPromotionPriceIn(List values) { + addCriterion("flash_promotion_price in", values, "flashPromotionPrice"); + return (Criteria) this; + } + + public Criteria andFlashPromotionPriceNotIn(List values) { + addCriterion("flash_promotion_price not in", values, "flashPromotionPrice"); + return (Criteria) this; + } + + public Criteria andFlashPromotionPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("flash_promotion_price between", value1, value2, "flashPromotionPrice"); + return (Criteria) this; + } + + public Criteria andFlashPromotionPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("flash_promotion_price not between", value1, value2, "flashPromotionPrice"); + return (Criteria) this; + } + + public Criteria andFlashPromotionCountIsNull() { + addCriterion("flash_promotion_count is null"); + return (Criteria) this; + } + + public Criteria andFlashPromotionCountIsNotNull() { + addCriterion("flash_promotion_count is not null"); + return (Criteria) this; + } + + public Criteria andFlashPromotionCountEqualTo(Integer value) { + addCriterion("flash_promotion_count =", value, "flashPromotionCount"); + return (Criteria) this; + } + + public Criteria andFlashPromotionCountNotEqualTo(Integer value) { + addCriterion("flash_promotion_count <>", value, "flashPromotionCount"); + return (Criteria) this; + } + + public Criteria andFlashPromotionCountGreaterThan(Integer value) { + addCriterion("flash_promotion_count >", value, "flashPromotionCount"); + return (Criteria) this; + } + + public Criteria andFlashPromotionCountGreaterThanOrEqualTo(Integer value) { + addCriterion("flash_promotion_count >=", value, "flashPromotionCount"); + return (Criteria) this; + } + + public Criteria andFlashPromotionCountLessThan(Integer value) { + addCriterion("flash_promotion_count <", value, "flashPromotionCount"); + return (Criteria) this; + } + + public Criteria andFlashPromotionCountLessThanOrEqualTo(Integer value) { + addCriterion("flash_promotion_count <=", value, "flashPromotionCount"); + return (Criteria) this; + } + + public Criteria andFlashPromotionCountIn(List values) { + addCriterion("flash_promotion_count in", values, "flashPromotionCount"); + return (Criteria) this; + } + + public Criteria andFlashPromotionCountNotIn(List values) { + addCriterion("flash_promotion_count not in", values, "flashPromotionCount"); + return (Criteria) this; + } + + public Criteria andFlashPromotionCountBetween(Integer value1, Integer value2) { + addCriterion("flash_promotion_count between", value1, value2, "flashPromotionCount"); + return (Criteria) this; + } + + public Criteria andFlashPromotionCountNotBetween(Integer value1, Integer value2) { + addCriterion("flash_promotion_count not between", value1, value2, "flashPromotionCount"); + return (Criteria) this; + } + + public Criteria andFlashPromotionLimitIsNull() { + addCriterion("flash_promotion_limit is null"); + return (Criteria) this; + } + + public Criteria andFlashPromotionLimitIsNotNull() { + addCriterion("flash_promotion_limit is not null"); + return (Criteria) this; + } + + public Criteria andFlashPromotionLimitEqualTo(Integer value) { + addCriterion("flash_promotion_limit =", value, "flashPromotionLimit"); + return (Criteria) this; + } + + public Criteria andFlashPromotionLimitNotEqualTo(Integer value) { + addCriterion("flash_promotion_limit <>", value, "flashPromotionLimit"); + return (Criteria) this; + } + + public Criteria andFlashPromotionLimitGreaterThan(Integer value) { + addCriterion("flash_promotion_limit >", value, "flashPromotionLimit"); + return (Criteria) this; + } + + public Criteria andFlashPromotionLimitGreaterThanOrEqualTo(Integer value) { + addCriterion("flash_promotion_limit >=", value, "flashPromotionLimit"); + return (Criteria) this; + } + + public Criteria andFlashPromotionLimitLessThan(Integer value) { + addCriterion("flash_promotion_limit <", value, "flashPromotionLimit"); + return (Criteria) this; + } + + public Criteria andFlashPromotionLimitLessThanOrEqualTo(Integer value) { + addCriterion("flash_promotion_limit <=", value, "flashPromotionLimit"); + return (Criteria) this; + } + + public Criteria andFlashPromotionLimitIn(List values) { + addCriterion("flash_promotion_limit in", values, "flashPromotionLimit"); + return (Criteria) this; + } + + public Criteria andFlashPromotionLimitNotIn(List values) { + addCriterion("flash_promotion_limit not in", values, "flashPromotionLimit"); + return (Criteria) this; + } + + public Criteria andFlashPromotionLimitBetween(Integer value1, Integer value2) { + addCriterion("flash_promotion_limit between", value1, value2, "flashPromotionLimit"); + return (Criteria) this; + } + + public Criteria andFlashPromotionLimitNotBetween(Integer value1, Integer value2) { + addCriterion("flash_promotion_limit not between", value1, value2, "flashPromotionLimit"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionSession.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionSession.java new file mode 100644 index 0000000..8640ded --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionSession.java @@ -0,0 +1,115 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class SmsFlashPromotionSession implements Serializable { + /** + * 编号 + * + * @mbggenerated + */ + private Long id; + + /** + * 场次名称 + * + * @mbggenerated + */ + private String name; + + /** + * 每日开始时间 + * + * @mbggenerated + */ + private Date startTime; + + /** + * 每日结束时间 + * + * @mbggenerated + */ + private Date endTime; + + /** + * 启用状态:0->不启用;1->启用 + * + * @mbggenerated + */ + private Integer status; + + /** + * 创建时间 + * + * @mbggenerated + */ + private Date createTime; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Date getStartTime() { + return startTime; + } + + public void setStartTime(Date startTime) { + this.startTime = startTime; + } + + public Date getEndTime() { + return endTime; + } + + public void setEndTime(Date endTime) { + this.endTime = endTime; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", startTime=").append(startTime); + sb.append(", endTime=").append(endTime); + sb.append(", status=").append(status); + sb.append(", createTime=").append(createTime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionSessionExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionSessionExample.java new file mode 100644 index 0000000..6924f79 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsFlashPromotionSessionExample.java @@ -0,0 +1,598 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.Iterator; +import java.util.List; + +public class SmsFlashPromotionSessionExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsFlashPromotionSessionExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + protected void addCriterionForJDBCTime(String condition, Date value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Time(value.getTime()), property); + } + + protected void addCriterionForJDBCTime(String condition, List values, String property) { + if (values == null || values.size() == 0) { + throw new RuntimeException("Value list for " + property + " cannot be null or empty"); + } + List timeList = new ArrayList(); + Iterator iter = values.iterator(); + while (iter.hasNext()) { + timeList.add(new java.sql.Time(iter.next().getTime())); + } + addCriterion(condition, timeList, property); + } + + protected void addCriterionForJDBCTime(String condition, Date value1, Date value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Time(value1.getTime()), new java.sql.Time(value2.getTime()), property); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andStartTimeIsNull() { + addCriterion("start_time is null"); + return (Criteria) this; + } + + public Criteria andStartTimeIsNotNull() { + addCriterion("start_time is not null"); + return (Criteria) this; + } + + public Criteria andStartTimeEqualTo(Date value) { + addCriterionForJDBCTime("start_time =", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotEqualTo(Date value) { + addCriterionForJDBCTime("start_time <>", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThan(Date value) { + addCriterionForJDBCTime("start_time >", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThanOrEqualTo(Date value) { + addCriterionForJDBCTime("start_time >=", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThan(Date value) { + addCriterionForJDBCTime("start_time <", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThanOrEqualTo(Date value) { + addCriterionForJDBCTime("start_time <=", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeIn(List values) { + addCriterionForJDBCTime("start_time in", values, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotIn(List values) { + addCriterionForJDBCTime("start_time not in", values, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeBetween(Date value1, Date value2) { + addCriterionForJDBCTime("start_time between", value1, value2, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotBetween(Date value1, Date value2) { + addCriterionForJDBCTime("start_time not between", value1, value2, "startTime"); + return (Criteria) this; + } + + public Criteria andEndTimeIsNull() { + addCriterion("end_time is null"); + return (Criteria) this; + } + + public Criteria andEndTimeIsNotNull() { + addCriterion("end_time is not null"); + return (Criteria) this; + } + + public Criteria andEndTimeEqualTo(Date value) { + addCriterionForJDBCTime("end_time =", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotEqualTo(Date value) { + addCriterionForJDBCTime("end_time <>", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThan(Date value) { + addCriterionForJDBCTime("end_time >", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThanOrEqualTo(Date value) { + addCriterionForJDBCTime("end_time >=", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThan(Date value) { + addCriterionForJDBCTime("end_time <", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThanOrEqualTo(Date value) { + addCriterionForJDBCTime("end_time <=", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeIn(List values) { + addCriterionForJDBCTime("end_time in", values, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotIn(List values) { + addCriterionForJDBCTime("end_time not in", values, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeBetween(Date value1, Date value2) { + addCriterionForJDBCTime("end_time between", value1, value2, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotBetween(Date value1, Date value2) { + addCriterionForJDBCTime("end_time not between", value1, value2, "endTime"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeAdvertise.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeAdvertise.java new file mode 100644 index 0000000..a216bc2 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeAdvertise.java @@ -0,0 +1,186 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class SmsHomeAdvertise implements Serializable { + private Long id; + + private String name; + + /** + * 轮播位置:0->PC首页轮播;1->app首页轮播 + * + * @mbggenerated + */ + private Integer type; + + private String pic; + + private Date startTime; + + private Date endTime; + + /** + * 上下线状态:0->下线;1->上线 + * + * @mbggenerated + */ + private Integer status; + + /** + * 点击数 + * + * @mbggenerated + */ + private Integer clickCount; + + /** + * 下单数 + * + * @mbggenerated + */ + private Integer orderCount; + + /** + * 链接地址 + * + * @mbggenerated + */ + private String url; + + /** + * 备注 + * + * @mbggenerated + */ + private String note; + + /** + * 排序 + * + * @mbggenerated + */ + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public String getPic() { + return pic; + } + + public void setPic(String pic) { + this.pic = pic; + } + + public Date getStartTime() { + return startTime; + } + + public void setStartTime(Date startTime) { + this.startTime = startTime; + } + + public Date getEndTime() { + return endTime; + } + + public void setEndTime(Date endTime) { + this.endTime = endTime; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Integer getClickCount() { + return clickCount; + } + + public void setClickCount(Integer clickCount) { + this.clickCount = clickCount; + } + + public Integer getOrderCount() { + return orderCount; + } + + public void setOrderCount(Integer orderCount) { + this.orderCount = orderCount; + } + + public String getUrl() { + return url; + } + + public void setUrl(String url) { + this.url = url; + } + + public String getNote() { + return note; + } + + public void setNote(String note) { + this.note = note; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", type=").append(type); + sb.append(", pic=").append(pic); + sb.append(", startTime=").append(startTime); + sb.append(", endTime=").append(endTime); + sb.append(", status=").append(status); + sb.append(", clickCount=").append(clickCount); + sb.append(", orderCount=").append(orderCount); + sb.append(", url=").append(url); + sb.append(", note=").append(note); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeAdvertiseExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeAdvertiseExample.java new file mode 100644 index 0000000..be0ac5d --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeAdvertiseExample.java @@ -0,0 +1,961 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class SmsHomeAdvertiseExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsHomeAdvertiseExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andPicIsNull() { + addCriterion("pic is null"); + return (Criteria) this; + } + + public Criteria andPicIsNotNull() { + addCriterion("pic is not null"); + return (Criteria) this; + } + + public Criteria andPicEqualTo(String value) { + addCriterion("pic =", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotEqualTo(String value) { + addCriterion("pic <>", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThan(String value) { + addCriterion("pic >", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThanOrEqualTo(String value) { + addCriterion("pic >=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThan(String value) { + addCriterion("pic <", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThanOrEqualTo(String value) { + addCriterion("pic <=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLike(String value) { + addCriterion("pic like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotLike(String value) { + addCriterion("pic not like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicIn(List values) { + addCriterion("pic in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotIn(List values) { + addCriterion("pic not in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicBetween(String value1, String value2) { + addCriterion("pic between", value1, value2, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotBetween(String value1, String value2) { + addCriterion("pic not between", value1, value2, "pic"); + return (Criteria) this; + } + + public Criteria andStartTimeIsNull() { + addCriterion("start_time is null"); + return (Criteria) this; + } + + public Criteria andStartTimeIsNotNull() { + addCriterion("start_time is not null"); + return (Criteria) this; + } + + public Criteria andStartTimeEqualTo(Date value) { + addCriterion("start_time =", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotEqualTo(Date value) { + addCriterion("start_time <>", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThan(Date value) { + addCriterion("start_time >", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThanOrEqualTo(Date value) { + addCriterion("start_time >=", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThan(Date value) { + addCriterion("start_time <", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThanOrEqualTo(Date value) { + addCriterion("start_time <=", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeIn(List values) { + addCriterion("start_time in", values, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotIn(List values) { + addCriterion("start_time not in", values, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeBetween(Date value1, Date value2) { + addCriterion("start_time between", value1, value2, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotBetween(Date value1, Date value2) { + addCriterion("start_time not between", value1, value2, "startTime"); + return (Criteria) this; + } + + public Criteria andEndTimeIsNull() { + addCriterion("end_time is null"); + return (Criteria) this; + } + + public Criteria andEndTimeIsNotNull() { + addCriterion("end_time is not null"); + return (Criteria) this; + } + + public Criteria andEndTimeEqualTo(Date value) { + addCriterion("end_time =", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotEqualTo(Date value) { + addCriterion("end_time <>", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThan(Date value) { + addCriterion("end_time >", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThanOrEqualTo(Date value) { + addCriterion("end_time >=", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThan(Date value) { + addCriterion("end_time <", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThanOrEqualTo(Date value) { + addCriterion("end_time <=", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeIn(List values) { + addCriterion("end_time in", values, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotIn(List values) { + addCriterion("end_time not in", values, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeBetween(Date value1, Date value2) { + addCriterion("end_time between", value1, value2, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotBetween(Date value1, Date value2) { + addCriterion("end_time not between", value1, value2, "endTime"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andClickCountIsNull() { + addCriterion("click_count is null"); + return (Criteria) this; + } + + public Criteria andClickCountIsNotNull() { + addCriterion("click_count is not null"); + return (Criteria) this; + } + + public Criteria andClickCountEqualTo(Integer value) { + addCriterion("click_count =", value, "clickCount"); + return (Criteria) this; + } + + public Criteria andClickCountNotEqualTo(Integer value) { + addCriterion("click_count <>", value, "clickCount"); + return (Criteria) this; + } + + public Criteria andClickCountGreaterThan(Integer value) { + addCriterion("click_count >", value, "clickCount"); + return (Criteria) this; + } + + public Criteria andClickCountGreaterThanOrEqualTo(Integer value) { + addCriterion("click_count >=", value, "clickCount"); + return (Criteria) this; + } + + public Criteria andClickCountLessThan(Integer value) { + addCriterion("click_count <", value, "clickCount"); + return (Criteria) this; + } + + public Criteria andClickCountLessThanOrEqualTo(Integer value) { + addCriterion("click_count <=", value, "clickCount"); + return (Criteria) this; + } + + public Criteria andClickCountIn(List values) { + addCriterion("click_count in", values, "clickCount"); + return (Criteria) this; + } + + public Criteria andClickCountNotIn(List values) { + addCriterion("click_count not in", values, "clickCount"); + return (Criteria) this; + } + + public Criteria andClickCountBetween(Integer value1, Integer value2) { + addCriterion("click_count between", value1, value2, "clickCount"); + return (Criteria) this; + } + + public Criteria andClickCountNotBetween(Integer value1, Integer value2) { + addCriterion("click_count not between", value1, value2, "clickCount"); + return (Criteria) this; + } + + public Criteria andOrderCountIsNull() { + addCriterion("order_count is null"); + return (Criteria) this; + } + + public Criteria andOrderCountIsNotNull() { + addCriterion("order_count is not null"); + return (Criteria) this; + } + + public Criteria andOrderCountEqualTo(Integer value) { + addCriterion("order_count =", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountNotEqualTo(Integer value) { + addCriterion("order_count <>", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountGreaterThan(Integer value) { + addCriterion("order_count >", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountGreaterThanOrEqualTo(Integer value) { + addCriterion("order_count >=", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountLessThan(Integer value) { + addCriterion("order_count <", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountLessThanOrEqualTo(Integer value) { + addCriterion("order_count <=", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountIn(List values) { + addCriterion("order_count in", values, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountNotIn(List values) { + addCriterion("order_count not in", values, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountBetween(Integer value1, Integer value2) { + addCriterion("order_count between", value1, value2, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountNotBetween(Integer value1, Integer value2) { + addCriterion("order_count not between", value1, value2, "orderCount"); + return (Criteria) this; + } + + public Criteria andUrlIsNull() { + addCriterion("url is null"); + return (Criteria) this; + } + + public Criteria andUrlIsNotNull() { + addCriterion("url is not null"); + return (Criteria) this; + } + + public Criteria andUrlEqualTo(String value) { + addCriterion("url =", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotEqualTo(String value) { + addCriterion("url <>", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlGreaterThan(String value) { + addCriterion("url >", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlGreaterThanOrEqualTo(String value) { + addCriterion("url >=", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlLessThan(String value) { + addCriterion("url <", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlLessThanOrEqualTo(String value) { + addCriterion("url <=", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlLike(String value) { + addCriterion("url like", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotLike(String value) { + addCriterion("url not like", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlIn(List values) { + addCriterion("url in", values, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotIn(List values) { + addCriterion("url not in", values, "url"); + return (Criteria) this; + } + + public Criteria andUrlBetween(String value1, String value2) { + addCriterion("url between", value1, value2, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotBetween(String value1, String value2) { + addCriterion("url not between", value1, value2, "url"); + return (Criteria) this; + } + + public Criteria andNoteIsNull() { + addCriterion("note is null"); + return (Criteria) this; + } + + public Criteria andNoteIsNotNull() { + addCriterion("note is not null"); + return (Criteria) this; + } + + public Criteria andNoteEqualTo(String value) { + addCriterion("note =", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotEqualTo(String value) { + addCriterion("note <>", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThan(String value) { + addCriterion("note >", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThanOrEqualTo(String value) { + addCriterion("note >=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThan(String value) { + addCriterion("note <", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThanOrEqualTo(String value) { + addCriterion("note <=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLike(String value) { + addCriterion("note like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotLike(String value) { + addCriterion("note not like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteIn(List values) { + addCriterion("note in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotIn(List values) { + addCriterion("note not in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteBetween(String value1, String value2) { + addCriterion("note between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotBetween(String value1, String value2) { + addCriterion("note not between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeBrand.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeBrand.java new file mode 100644 index 0000000..3a291be --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeBrand.java @@ -0,0 +1,73 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class SmsHomeBrand implements Serializable { + private Long id; + + private Long brandId; + + private String brandName; + + private Integer recommendStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getBrandId() { + return brandId; + } + + public void setBrandId(Long brandId) { + this.brandId = brandId; + } + + public String getBrandName() { + return brandName; + } + + public void setBrandName(String brandName) { + this.brandName = brandName; + } + + public Integer getRecommendStatus() { + return recommendStatus; + } + + public void setRecommendStatus(Integer recommendStatus) { + this.recommendStatus = recommendStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", brandId=").append(brandId); + sb.append(", brandName=").append(brandName); + sb.append(", recommendStatus=").append(recommendStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeBrandExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeBrandExample.java new file mode 100644 index 0000000..b57abba --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeBrandExample.java @@ -0,0 +1,510 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class SmsHomeBrandExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsHomeBrandExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andBrandIdIsNull() { + addCriterion("brand_id is null"); + return (Criteria) this; + } + + public Criteria andBrandIdIsNotNull() { + addCriterion("brand_id is not null"); + return (Criteria) this; + } + + public Criteria andBrandIdEqualTo(Long value) { + addCriterion("brand_id =", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdNotEqualTo(Long value) { + addCriterion("brand_id <>", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdGreaterThan(Long value) { + addCriterion("brand_id >", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdGreaterThanOrEqualTo(Long value) { + addCriterion("brand_id >=", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdLessThan(Long value) { + addCriterion("brand_id <", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdLessThanOrEqualTo(Long value) { + addCriterion("brand_id <=", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdIn(List values) { + addCriterion("brand_id in", values, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdNotIn(List values) { + addCriterion("brand_id not in", values, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdBetween(Long value1, Long value2) { + addCriterion("brand_id between", value1, value2, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdNotBetween(Long value1, Long value2) { + addCriterion("brand_id not between", value1, value2, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandNameIsNull() { + addCriterion("brand_name is null"); + return (Criteria) this; + } + + public Criteria andBrandNameIsNotNull() { + addCriterion("brand_name is not null"); + return (Criteria) this; + } + + public Criteria andBrandNameEqualTo(String value) { + addCriterion("brand_name =", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameNotEqualTo(String value) { + addCriterion("brand_name <>", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameGreaterThan(String value) { + addCriterion("brand_name >", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameGreaterThanOrEqualTo(String value) { + addCriterion("brand_name >=", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameLessThan(String value) { + addCriterion("brand_name <", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameLessThanOrEqualTo(String value) { + addCriterion("brand_name <=", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameLike(String value) { + addCriterion("brand_name like", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameNotLike(String value) { + addCriterion("brand_name not like", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameIn(List values) { + addCriterion("brand_name in", values, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameNotIn(List values) { + addCriterion("brand_name not in", values, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameBetween(String value1, String value2) { + addCriterion("brand_name between", value1, value2, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameNotBetween(String value1, String value2) { + addCriterion("brand_name not between", value1, value2, "brandName"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNull() { + addCriterion("recommend_status is null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNotNull() { + addCriterion("recommend_status is not null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusEqualTo(Integer value) { + addCriterion("recommend_status =", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotEqualTo(Integer value) { + addCriterion("recommend_status <>", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThan(Integer value) { + addCriterion("recommend_status >", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("recommend_status >=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThan(Integer value) { + addCriterion("recommend_status <", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { + addCriterion("recommend_status <=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIn(List values) { + addCriterion("recommend_status in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotIn(List values) { + addCriterion("recommend_status not in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { + addCriterion("recommend_status between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { + addCriterion("recommend_status not between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeNewProduct.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeNewProduct.java new file mode 100644 index 0000000..2f8b9cc --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeNewProduct.java @@ -0,0 +1,73 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class SmsHomeNewProduct implements Serializable { + private Long id; + + private Long productId; + + private String productName; + + private Integer recommendStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public Integer getRecommendStatus() { + return recommendStatus; + } + + public void setRecommendStatus(Integer recommendStatus) { + this.recommendStatus = recommendStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", productName=").append(productName); + sb.append(", recommendStatus=").append(recommendStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeNewProductExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeNewProductExample.java new file mode 100644 index 0000000..6fd7251 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeNewProductExample.java @@ -0,0 +1,510 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class SmsHomeNewProductExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsHomeNewProductExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductNameIsNull() { + addCriterion("product_name is null"); + return (Criteria) this; + } + + public Criteria andProductNameIsNotNull() { + addCriterion("product_name is not null"); + return (Criteria) this; + } + + public Criteria andProductNameEqualTo(String value) { + addCriterion("product_name =", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotEqualTo(String value) { + addCriterion("product_name <>", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThan(String value) { + addCriterion("product_name >", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThanOrEqualTo(String value) { + addCriterion("product_name >=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThan(String value) { + addCriterion("product_name <", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThanOrEqualTo(String value) { + addCriterion("product_name <=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLike(String value) { + addCriterion("product_name like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotLike(String value) { + addCriterion("product_name not like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameIn(List values) { + addCriterion("product_name in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotIn(List values) { + addCriterion("product_name not in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameBetween(String value1, String value2) { + addCriterion("product_name between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotBetween(String value1, String value2) { + addCriterion("product_name not between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNull() { + addCriterion("recommend_status is null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNotNull() { + addCriterion("recommend_status is not null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusEqualTo(Integer value) { + addCriterion("recommend_status =", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotEqualTo(Integer value) { + addCriterion("recommend_status <>", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThan(Integer value) { + addCriterion("recommend_status >", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("recommend_status >=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThan(Integer value) { + addCriterion("recommend_status <", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { + addCriterion("recommend_status <=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIn(List values) { + addCriterion("recommend_status in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotIn(List values) { + addCriterion("recommend_status not in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { + addCriterion("recommend_status between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { + addCriterion("recommend_status not between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendProduct.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendProduct.java new file mode 100644 index 0000000..0a1f8b6 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendProduct.java @@ -0,0 +1,73 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class SmsHomeRecommendProduct implements Serializable { + private Long id; + + private Long productId; + + private String productName; + + private Integer recommendStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public Integer getRecommendStatus() { + return recommendStatus; + } + + public void setRecommendStatus(Integer recommendStatus) { + this.recommendStatus = recommendStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", productName=").append(productName); + sb.append(", recommendStatus=").append(recommendStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendProductExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendProductExample.java new file mode 100644 index 0000000..bcf240f --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendProductExample.java @@ -0,0 +1,510 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class SmsHomeRecommendProductExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsHomeRecommendProductExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductNameIsNull() { + addCriterion("product_name is null"); + return (Criteria) this; + } + + public Criteria andProductNameIsNotNull() { + addCriterion("product_name is not null"); + return (Criteria) this; + } + + public Criteria andProductNameEqualTo(String value) { + addCriterion("product_name =", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotEqualTo(String value) { + addCriterion("product_name <>", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThan(String value) { + addCriterion("product_name >", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThanOrEqualTo(String value) { + addCriterion("product_name >=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThan(String value) { + addCriterion("product_name <", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThanOrEqualTo(String value) { + addCriterion("product_name <=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLike(String value) { + addCriterion("product_name like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotLike(String value) { + addCriterion("product_name not like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameIn(List values) { + addCriterion("product_name in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotIn(List values) { + addCriterion("product_name not in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameBetween(String value1, String value2) { + addCriterion("product_name between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotBetween(String value1, String value2) { + addCriterion("product_name not between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNull() { + addCriterion("recommend_status is null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNotNull() { + addCriterion("recommend_status is not null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusEqualTo(Integer value) { + addCriterion("recommend_status =", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotEqualTo(Integer value) { + addCriterion("recommend_status <>", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThan(Integer value) { + addCriterion("recommend_status >", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("recommend_status >=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThan(Integer value) { + addCriterion("recommend_status <", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { + addCriterion("recommend_status <=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIn(List values) { + addCriterion("recommend_status in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotIn(List values) { + addCriterion("recommend_status not in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { + addCriterion("recommend_status between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { + addCriterion("recommend_status not between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendSubject.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendSubject.java new file mode 100644 index 0000000..e5565b3 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendSubject.java @@ -0,0 +1,73 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class SmsHomeRecommendSubject implements Serializable { + private Long id; + + private Long subjectId; + + private String subjectName; + + private Integer recommendStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getSubjectId() { + return subjectId; + } + + public void setSubjectId(Long subjectId) { + this.subjectId = subjectId; + } + + public String getSubjectName() { + return subjectName; + } + + public void setSubjectName(String subjectName) { + this.subjectName = subjectName; + } + + public Integer getRecommendStatus() { + return recommendStatus; + } + + public void setRecommendStatus(Integer recommendStatus) { + this.recommendStatus = recommendStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", subjectId=").append(subjectId); + sb.append(", subjectName=").append(subjectName); + sb.append(", recommendStatus=").append(recommendStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendSubjectExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendSubjectExample.java new file mode 100644 index 0000000..b073cf7 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/SmsHomeRecommendSubjectExample.java @@ -0,0 +1,510 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class SmsHomeRecommendSubjectExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsHomeRecommendSubjectExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andSubjectIdIsNull() { + addCriterion("subject_id is null"); + return (Criteria) this; + } + + public Criteria andSubjectIdIsNotNull() { + addCriterion("subject_id is not null"); + return (Criteria) this; + } + + public Criteria andSubjectIdEqualTo(Long value) { + addCriterion("subject_id =", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotEqualTo(Long value) { + addCriterion("subject_id <>", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdGreaterThan(Long value) { + addCriterion("subject_id >", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdGreaterThanOrEqualTo(Long value) { + addCriterion("subject_id >=", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdLessThan(Long value) { + addCriterion("subject_id <", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdLessThanOrEqualTo(Long value) { + addCriterion("subject_id <=", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdIn(List values) { + addCriterion("subject_id in", values, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotIn(List values) { + addCriterion("subject_id not in", values, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdBetween(Long value1, Long value2) { + addCriterion("subject_id between", value1, value2, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotBetween(Long value1, Long value2) { + addCriterion("subject_id not between", value1, value2, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectNameIsNull() { + addCriterion("subject_name is null"); + return (Criteria) this; + } + + public Criteria andSubjectNameIsNotNull() { + addCriterion("subject_name is not null"); + return (Criteria) this; + } + + public Criteria andSubjectNameEqualTo(String value) { + addCriterion("subject_name =", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameNotEqualTo(String value) { + addCriterion("subject_name <>", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameGreaterThan(String value) { + addCriterion("subject_name >", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameGreaterThanOrEqualTo(String value) { + addCriterion("subject_name >=", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameLessThan(String value) { + addCriterion("subject_name <", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameLessThanOrEqualTo(String value) { + addCriterion("subject_name <=", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameLike(String value) { + addCriterion("subject_name like", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameNotLike(String value) { + addCriterion("subject_name not like", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameIn(List values) { + addCriterion("subject_name in", values, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameNotIn(List values) { + addCriterion("subject_name not in", values, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameBetween(String value1, String value2) { + addCriterion("subject_name between", value1, value2, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameNotBetween(String value1, String value2) { + addCriterion("subject_name not between", value1, value2, "subjectName"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNull() { + addCriterion("recommend_status is null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNotNull() { + addCriterion("recommend_status is not null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusEqualTo(Integer value) { + addCriterion("recommend_status =", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotEqualTo(Integer value) { + addCriterion("recommend_status <>", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThan(Integer value) { + addCriterion("recommend_status >", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("recommend_status >=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThan(Integer value) { + addCriterion("recommend_status <", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { + addCriterion("recommend_status <=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIn(List values) { + addCriterion("recommend_status in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotIn(List values) { + addCriterion("recommend_status not in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { + addCriterion("recommend_status between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { + addCriterion("recommend_status not between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdmin.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdmin.java index 7adaafc..d60ec47 100644 --- a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdmin.java +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdmin.java @@ -1 +1,164 @@ -package com.sock.mall.model; import java.io.Serializable; import java.util.Date; /* * 通过序列化一个对象,将其写入磁盘,以后在程序再次调用时重新恢复那个对象 */ public class UmsAdmin implements Serializable { private Long id; private String username; private String password; /** * 头像 * * @mbggenerated */ private String icon; /** * 邮箱 * * @mbggenerated */ private String email; /** * 昵称 * * @mbggenerated */ private String nickName; /** * 备注信息 * * @mbggenerated */ private String note; /** * 创建时间 * * @mbggenerated */ private Date createTime; /** * 最后登录时间 * * @mbggenerated */ private Date loginTime; /** * 帐号启用状态:0->禁用;1->启用 * * @mbggenerated */ private Integer status; private static final long serialVersionUID = 1L; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } public String getIcon() { return icon; } public void setIcon(String icon) { this.icon = icon; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public String getNickName() { return nickName; } public void setNickName(String nickName) { this.nickName = nickName; } public String getNote() { return note; } public void setNote(String note) { this.note = note; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getLoginTime() { return loginTime; } public void setLoginTime(Date loginTime) { this.loginTime = loginTime; } public Integer getStatus() { return status; } public void setStatus(Integer status) { this.status = status; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", id=").append(id); sb.append(", username=").append(username); sb.append(", password=").append(password); sb.append(", icon=").append(icon); sb.append(", email=").append(email); sb.append(", nickName=").append(nickName); sb.append(", note=").append(note); sb.append(", createTime=").append(createTime); sb.append(", loginTime=").append(loginTime); sb.append(", status=").append(status); sb.append(", serialVersionUID=").append(serialVersionUID); sb.append("]"); return sb.toString(); } } \ No newline at end of file +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class UmsAdmin implements Serializable { + private Long id; + + private String username; + + private String password; + + /** + * 头像 + * + * @mbggenerated + */ + private String icon; + + /** + * 邮箱 + * + * @mbggenerated + */ + private String email; + + /** + * 昵称 + * + * @mbggenerated + */ + private String nickName; + + /** + * 备注信息 + * + * @mbggenerated + */ + private String note; + + /** + * 创建时间 + * + * @mbggenerated + */ + private Date createTime; + + /** + * 最后登录时间 + * + * @mbggenerated + */ + private Date loginTime; + + /** + * 帐号启用状态:0->禁用;1->启用 + * + * @mbggenerated + */ + private Integer status; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public String getEmail() { + return email; + } + + public void setEmail(String email) { + this.email = email; + } + + public String getNickName() { + return nickName; + } + + public void setNickName(String nickName) { + this.nickName = nickName; + } + + public String getNote() { + return note; + } + + public void setNote(String note) { + this.note = note; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Date getLoginTime() { + return loginTime; + } + + public void setLoginTime(Date loginTime) { + this.loginTime = loginTime; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", username=").append(username); + sb.append(", password=").append(password); + sb.append(", icon=").append(icon); + sb.append(", email=").append(email); + sb.append(", nickName=").append(nickName); + sb.append(", note=").append(note); + sb.append(", createTime=").append(createTime); + sb.append(", loginTime=").append(loginTime); + sb.append(", status=").append(status); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminExample.java new file mode 100644 index 0000000..9a76722 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminExample.java @@ -0,0 +1,861 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsAdminExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsAdminExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andUsernameIsNull() { + addCriterion("username is null"); + return (Criteria) this; + } + + public Criteria andUsernameIsNotNull() { + addCriterion("username is not null"); + return (Criteria) this; + } + + public Criteria andUsernameEqualTo(String value) { + addCriterion("username =", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotEqualTo(String value) { + addCriterion("username <>", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameGreaterThan(String value) { + addCriterion("username >", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameGreaterThanOrEqualTo(String value) { + addCriterion("username >=", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLessThan(String value) { + addCriterion("username <", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLessThanOrEqualTo(String value) { + addCriterion("username <=", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLike(String value) { + addCriterion("username like", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotLike(String value) { + addCriterion("username not like", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameIn(List values) { + addCriterion("username in", values, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotIn(List values) { + addCriterion("username not in", values, "username"); + return (Criteria) this; + } + + public Criteria andUsernameBetween(String value1, String value2) { + addCriterion("username between", value1, value2, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotBetween(String value1, String value2) { + addCriterion("username not between", value1, value2, "username"); + return (Criteria) this; + } + + public Criteria andPasswordIsNull() { + addCriterion("password is null"); + return (Criteria) this; + } + + public Criteria andPasswordIsNotNull() { + addCriterion("password is not null"); + return (Criteria) this; + } + + public Criteria andPasswordEqualTo(String value) { + addCriterion("password =", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotEqualTo(String value) { + addCriterion("password <>", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThan(String value) { + addCriterion("password >", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThanOrEqualTo(String value) { + addCriterion("password >=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThan(String value) { + addCriterion("password <", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThanOrEqualTo(String value) { + addCriterion("password <=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLike(String value) { + addCriterion("password like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotLike(String value) { + addCriterion("password not like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordIn(List values) { + addCriterion("password in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotIn(List values) { + addCriterion("password not in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordBetween(String value1, String value2) { + addCriterion("password between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotBetween(String value1, String value2) { + addCriterion("password not between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andEmailIsNull() { + addCriterion("email is null"); + return (Criteria) this; + } + + public Criteria andEmailIsNotNull() { + addCriterion("email is not null"); + return (Criteria) this; + } + + public Criteria andEmailEqualTo(String value) { + addCriterion("email =", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotEqualTo(String value) { + addCriterion("email <>", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailGreaterThan(String value) { + addCriterion("email >", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailGreaterThanOrEqualTo(String value) { + addCriterion("email >=", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLessThan(String value) { + addCriterion("email <", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLessThanOrEqualTo(String value) { + addCriterion("email <=", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLike(String value) { + addCriterion("email like", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotLike(String value) { + addCriterion("email not like", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailIn(List values) { + addCriterion("email in", values, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotIn(List values) { + addCriterion("email not in", values, "email"); + return (Criteria) this; + } + + public Criteria andEmailBetween(String value1, String value2) { + addCriterion("email between", value1, value2, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotBetween(String value1, String value2) { + addCriterion("email not between", value1, value2, "email"); + return (Criteria) this; + } + + public Criteria andNickNameIsNull() { + addCriterion("nick_name is null"); + return (Criteria) this; + } + + public Criteria andNickNameIsNotNull() { + addCriterion("nick_name is not null"); + return (Criteria) this; + } + + public Criteria andNickNameEqualTo(String value) { + addCriterion("nick_name =", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameNotEqualTo(String value) { + addCriterion("nick_name <>", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameGreaterThan(String value) { + addCriterion("nick_name >", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameGreaterThanOrEqualTo(String value) { + addCriterion("nick_name >=", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameLessThan(String value) { + addCriterion("nick_name <", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameLessThanOrEqualTo(String value) { + addCriterion("nick_name <=", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameLike(String value) { + addCriterion("nick_name like", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameNotLike(String value) { + addCriterion("nick_name not like", value, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameIn(List values) { + addCriterion("nick_name in", values, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameNotIn(List values) { + addCriterion("nick_name not in", values, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameBetween(String value1, String value2) { + addCriterion("nick_name between", value1, value2, "nickName"); + return (Criteria) this; + } + + public Criteria andNickNameNotBetween(String value1, String value2) { + addCriterion("nick_name not between", value1, value2, "nickName"); + return (Criteria) this; + } + + public Criteria andNoteIsNull() { + addCriterion("note is null"); + return (Criteria) this; + } + + public Criteria andNoteIsNotNull() { + addCriterion("note is not null"); + return (Criteria) this; + } + + public Criteria andNoteEqualTo(String value) { + addCriterion("note =", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotEqualTo(String value) { + addCriterion("note <>", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThan(String value) { + addCriterion("note >", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThanOrEqualTo(String value) { + addCriterion("note >=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThan(String value) { + addCriterion("note <", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThanOrEqualTo(String value) { + addCriterion("note <=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLike(String value) { + addCriterion("note like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotLike(String value) { + addCriterion("note not like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteIn(List values) { + addCriterion("note in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotIn(List values) { + addCriterion("note not in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteBetween(String value1, String value2) { + addCriterion("note between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotBetween(String value1, String value2) { + addCriterion("note not between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andLoginTimeIsNull() { + addCriterion("login_time is null"); + return (Criteria) this; + } + + public Criteria andLoginTimeIsNotNull() { + addCriterion("login_time is not null"); + return (Criteria) this; + } + + public Criteria andLoginTimeEqualTo(Date value) { + addCriterion("login_time =", value, "loginTime"); + return (Criteria) this; + } + + public Criteria andLoginTimeNotEqualTo(Date value) { + addCriterion("login_time <>", value, "loginTime"); + return (Criteria) this; + } + + public Criteria andLoginTimeGreaterThan(Date value) { + addCriterion("login_time >", value, "loginTime"); + return (Criteria) this; + } + + public Criteria andLoginTimeGreaterThanOrEqualTo(Date value) { + addCriterion("login_time >=", value, "loginTime"); + return (Criteria) this; + } + + public Criteria andLoginTimeLessThan(Date value) { + addCriterion("login_time <", value, "loginTime"); + return (Criteria) this; + } + + public Criteria andLoginTimeLessThanOrEqualTo(Date value) { + addCriterion("login_time <=", value, "loginTime"); + return (Criteria) this; + } + + public Criteria andLoginTimeIn(List values) { + addCriterion("login_time in", values, "loginTime"); + return (Criteria) this; + } + + public Criteria andLoginTimeNotIn(List values) { + addCriterion("login_time not in", values, "loginTime"); + return (Criteria) this; + } + + public Criteria andLoginTimeBetween(Date value1, Date value2) { + addCriterion("login_time between", value1, value2, "loginTime"); + return (Criteria) this; + } + + public Criteria andLoginTimeNotBetween(Date value1, Date value2) { + addCriterion("login_time not between", value1, value2, "loginTime"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminLoginLog.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminLoginLog.java new file mode 100644 index 0000000..07f9e9e --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminLoginLog.java @@ -0,0 +1,90 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class UmsAdminLoginLog implements Serializable { + private Long id; + + private Long adminId; + + private Date createTime; + + private String ip; + + private String address; + + /** + * 浏览器登录类型 + * + * @mbggenerated + */ + private String userAgent; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getAdminId() { + return adminId; + } + + public void setAdminId(Long adminId) { + this.adminId = adminId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public String getAddress() { + return address; + } + + public void setAddress(String address) { + this.address = address; + } + + public String getUserAgent() { + return userAgent; + } + + public void setUserAgent(String userAgent) { + this.userAgent = userAgent; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", adminId=").append(adminId); + sb.append(", createTime=").append(createTime); + sb.append(", ip=").append(ip); + sb.append(", address=").append(address); + sb.append(", userAgent=").append(userAgent); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminLoginLogExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminLoginLogExample.java new file mode 100644 index 0000000..c9416df --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminLoginLogExample.java @@ -0,0 +1,591 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsAdminLoginLogExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsAdminLoginLogExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andAdminIdIsNull() { + addCriterion("admin_id is null"); + return (Criteria) this; + } + + public Criteria andAdminIdIsNotNull() { + addCriterion("admin_id is not null"); + return (Criteria) this; + } + + public Criteria andAdminIdEqualTo(Long value) { + addCriterion("admin_id =", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdNotEqualTo(Long value) { + addCriterion("admin_id <>", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdGreaterThan(Long value) { + addCriterion("admin_id >", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdGreaterThanOrEqualTo(Long value) { + addCriterion("admin_id >=", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdLessThan(Long value) { + addCriterion("admin_id <", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdLessThanOrEqualTo(Long value) { + addCriterion("admin_id <=", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdIn(List values) { + addCriterion("admin_id in", values, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdNotIn(List values) { + addCriterion("admin_id not in", values, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdBetween(Long value1, Long value2) { + addCriterion("admin_id between", value1, value2, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdNotBetween(Long value1, Long value2) { + addCriterion("admin_id not between", value1, value2, "adminId"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andIpIsNull() { + addCriterion("ip is null"); + return (Criteria) this; + } + + public Criteria andIpIsNotNull() { + addCriterion("ip is not null"); + return (Criteria) this; + } + + public Criteria andIpEqualTo(String value) { + addCriterion("ip =", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotEqualTo(String value) { + addCriterion("ip <>", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpGreaterThan(String value) { + addCriterion("ip >", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpGreaterThanOrEqualTo(String value) { + addCriterion("ip >=", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpLessThan(String value) { + addCriterion("ip <", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpLessThanOrEqualTo(String value) { + addCriterion("ip <=", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpLike(String value) { + addCriterion("ip like", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotLike(String value) { + addCriterion("ip not like", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpIn(List values) { + addCriterion("ip in", values, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotIn(List values) { + addCriterion("ip not in", values, "ip"); + return (Criteria) this; + } + + public Criteria andIpBetween(String value1, String value2) { + addCriterion("ip between", value1, value2, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotBetween(String value1, String value2) { + addCriterion("ip not between", value1, value2, "ip"); + return (Criteria) this; + } + + public Criteria andAddressIsNull() { + addCriterion("address is null"); + return (Criteria) this; + } + + public Criteria andAddressIsNotNull() { + addCriterion("address is not null"); + return (Criteria) this; + } + + public Criteria andAddressEqualTo(String value) { + addCriterion("address =", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotEqualTo(String value) { + addCriterion("address <>", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThan(String value) { + addCriterion("address >", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThanOrEqualTo(String value) { + addCriterion("address >=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThan(String value) { + addCriterion("address <", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThanOrEqualTo(String value) { + addCriterion("address <=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLike(String value) { + addCriterion("address like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotLike(String value) { + addCriterion("address not like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressIn(List values) { + addCriterion("address in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotIn(List values) { + addCriterion("address not in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressBetween(String value1, String value2) { + addCriterion("address between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotBetween(String value1, String value2) { + addCriterion("address not between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andUserAgentIsNull() { + addCriterion("user_agent is null"); + return (Criteria) this; + } + + public Criteria andUserAgentIsNotNull() { + addCriterion("user_agent is not null"); + return (Criteria) this; + } + + public Criteria andUserAgentEqualTo(String value) { + addCriterion("user_agent =", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentNotEqualTo(String value) { + addCriterion("user_agent <>", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentGreaterThan(String value) { + addCriterion("user_agent >", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentGreaterThanOrEqualTo(String value) { + addCriterion("user_agent >=", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentLessThan(String value) { + addCriterion("user_agent <", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentLessThanOrEqualTo(String value) { + addCriterion("user_agent <=", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentLike(String value) { + addCriterion("user_agent like", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentNotLike(String value) { + addCriterion("user_agent not like", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentIn(List values) { + addCriterion("user_agent in", values, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentNotIn(List values) { + addCriterion("user_agent not in", values, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentBetween(String value1, String value2) { + addCriterion("user_agent between", value1, value2, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentNotBetween(String value1, String value2) { + addCriterion("user_agent not between", value1, value2, "userAgent"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminPermissionRelation.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminPermissionRelation.java new file mode 100644 index 0000000..09533e6 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminPermissionRelation.java @@ -0,0 +1,62 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class UmsAdminPermissionRelation implements Serializable { + private Long id; + + private Long adminId; + + private Long permissionId; + + private Integer type; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getAdminId() { + return adminId; + } + + public void setAdminId(Long adminId) { + this.adminId = adminId; + } + + public Long getPermissionId() { + return permissionId; + } + + public void setPermissionId(Long permissionId) { + this.permissionId = permissionId; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", adminId=").append(adminId); + sb.append(", permissionId=").append(permissionId); + sb.append(", type=").append(type); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminPermissionRelationExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminPermissionRelationExample.java new file mode 100644 index 0000000..b5a6c6e --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminPermissionRelationExample.java @@ -0,0 +1,440 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class UmsAdminPermissionRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsAdminPermissionRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andAdminIdIsNull() { + addCriterion("admin_id is null"); + return (Criteria) this; + } + + public Criteria andAdminIdIsNotNull() { + addCriterion("admin_id is not null"); + return (Criteria) this; + } + + public Criteria andAdminIdEqualTo(Long value) { + addCriterion("admin_id =", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdNotEqualTo(Long value) { + addCriterion("admin_id <>", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdGreaterThan(Long value) { + addCriterion("admin_id >", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdGreaterThanOrEqualTo(Long value) { + addCriterion("admin_id >=", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdLessThan(Long value) { + addCriterion("admin_id <", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdLessThanOrEqualTo(Long value) { + addCriterion("admin_id <=", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdIn(List values) { + addCriterion("admin_id in", values, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdNotIn(List values) { + addCriterion("admin_id not in", values, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdBetween(Long value1, Long value2) { + addCriterion("admin_id between", value1, value2, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdNotBetween(Long value1, Long value2) { + addCriterion("admin_id not between", value1, value2, "adminId"); + return (Criteria) this; + } + + public Criteria andPermissionIdIsNull() { + addCriterion("permission_id is null"); + return (Criteria) this; + } + + public Criteria andPermissionIdIsNotNull() { + addCriterion("permission_id is not null"); + return (Criteria) this; + } + + public Criteria andPermissionIdEqualTo(Long value) { + addCriterion("permission_id =", value, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdNotEqualTo(Long value) { + addCriterion("permission_id <>", value, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdGreaterThan(Long value) { + addCriterion("permission_id >", value, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdGreaterThanOrEqualTo(Long value) { + addCriterion("permission_id >=", value, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdLessThan(Long value) { + addCriterion("permission_id <", value, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdLessThanOrEqualTo(Long value) { + addCriterion("permission_id <=", value, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdIn(List values) { + addCriterion("permission_id in", values, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdNotIn(List values) { + addCriterion("permission_id not in", values, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdBetween(Long value1, Long value2) { + addCriterion("permission_id between", value1, value2, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdNotBetween(Long value1, Long value2) { + addCriterion("permission_id not between", value1, value2, "permissionId"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminRoleRelation.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminRoleRelation.java new file mode 100644 index 0000000..6bc5ba5 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminRoleRelation.java @@ -0,0 +1,51 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class UmsAdminRoleRelation implements Serializable { + private Long id; + + private Long adminId; + + private Long roleId; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getAdminId() { + return adminId; + } + + public void setAdminId(Long adminId) { + this.adminId = adminId; + } + + public Long getRoleId() { + return roleId; + } + + public void setRoleId(Long roleId) { + this.roleId = roleId; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", adminId=").append(adminId); + sb.append(", roleId=").append(roleId); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminRoleRelationExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminRoleRelationExample.java new file mode 100644 index 0000000..891f3e2 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsAdminRoleRelationExample.java @@ -0,0 +1,380 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class UmsAdminRoleRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsAdminRoleRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andAdminIdIsNull() { + addCriterion("admin_id is null"); + return (Criteria) this; + } + + public Criteria andAdminIdIsNotNull() { + addCriterion("admin_id is not null"); + return (Criteria) this; + } + + public Criteria andAdminIdEqualTo(Long value) { + addCriterion("admin_id =", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdNotEqualTo(Long value) { + addCriterion("admin_id <>", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdGreaterThan(Long value) { + addCriterion("admin_id >", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdGreaterThanOrEqualTo(Long value) { + addCriterion("admin_id >=", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdLessThan(Long value) { + addCriterion("admin_id <", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdLessThanOrEqualTo(Long value) { + addCriterion("admin_id <=", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdIn(List values) { + addCriterion("admin_id in", values, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdNotIn(List values) { + addCriterion("admin_id not in", values, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdBetween(Long value1, Long value2) { + addCriterion("admin_id between", value1, value2, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdNotBetween(Long value1, Long value2) { + addCriterion("admin_id not between", value1, value2, "adminId"); + return (Criteria) this; + } + + public Criteria andRoleIdIsNull() { + addCriterion("role_id is null"); + return (Criteria) this; + } + + public Criteria andRoleIdIsNotNull() { + addCriterion("role_id is not null"); + return (Criteria) this; + } + + public Criteria andRoleIdEqualTo(Long value) { + addCriterion("role_id =", value, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdNotEqualTo(Long value) { + addCriterion("role_id <>", value, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdGreaterThan(Long value) { + addCriterion("role_id >", value, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdGreaterThanOrEqualTo(Long value) { + addCriterion("role_id >=", value, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdLessThan(Long value) { + addCriterion("role_id <", value, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdLessThanOrEqualTo(Long value) { + addCriterion("role_id <=", value, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdIn(List values) { + addCriterion("role_id in", values, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdNotIn(List values) { + addCriterion("role_id not in", values, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdBetween(Long value1, Long value2) { + addCriterion("role_id between", value1, value2, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdNotBetween(Long value1, Long value2) { + addCriterion("role_id not between", value1, value2, "roleId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsGrowthChangeHistory.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsGrowthChangeHistory.java new file mode 100644 index 0000000..cb13ed1 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsGrowthChangeHistory.java @@ -0,0 +1,132 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class UmsGrowthChangeHistory implements Serializable { + private Long id; + + private Long memberId; + + private Date createTime; + + /** + * 改变类型:0->增加;1->减少 + * + * @mbggenerated + */ + private Integer changeType; + + /** + * 积分改变数量 + * + * @mbggenerated + */ + private Integer changeCount; + + /** + * 操作人员 + * + * @mbggenerated + */ + private String operateMan; + + /** + * 操作备注 + * + * @mbggenerated + */ + private String operateNote; + + /** + * 积分来源:0->购物;1->管理员修改 + * + * @mbggenerated + */ + private Integer sourceType; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getChangeType() { + return changeType; + } + + public void setChangeType(Integer changeType) { + this.changeType = changeType; + } + + public Integer getChangeCount() { + return changeCount; + } + + public void setChangeCount(Integer changeCount) { + this.changeCount = changeCount; + } + + public String getOperateMan() { + return operateMan; + } + + public void setOperateMan(String operateMan) { + this.operateMan = operateMan; + } + + public String getOperateNote() { + return operateNote; + } + + public void setOperateNote(String operateNote) { + this.operateNote = operateNote; + } + + public Integer getSourceType() { + return sourceType; + } + + public void setSourceType(Integer sourceType) { + this.sourceType = sourceType; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", createTime=").append(createTime); + sb.append(", changeType=").append(changeType); + sb.append(", changeCount=").append(changeCount); + sb.append(", operateMan=").append(operateMan); + sb.append(", operateNote=").append(operateNote); + sb.append(", sourceType=").append(sourceType); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsGrowthChangeHistoryExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsGrowthChangeHistoryExample.java new file mode 100644 index 0000000..2b37bd9 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsGrowthChangeHistoryExample.java @@ -0,0 +1,701 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsGrowthChangeHistoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsGrowthChangeHistoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andChangeTypeIsNull() { + addCriterion("change_type is null"); + return (Criteria) this; + } + + public Criteria andChangeTypeIsNotNull() { + addCriterion("change_type is not null"); + return (Criteria) this; + } + + public Criteria andChangeTypeEqualTo(Integer value) { + addCriterion("change_type =", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeNotEqualTo(Integer value) { + addCriterion("change_type <>", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeGreaterThan(Integer value) { + addCriterion("change_type >", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("change_type >=", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeLessThan(Integer value) { + addCriterion("change_type <", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeLessThanOrEqualTo(Integer value) { + addCriterion("change_type <=", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeIn(List values) { + addCriterion("change_type in", values, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeNotIn(List values) { + addCriterion("change_type not in", values, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeBetween(Integer value1, Integer value2) { + addCriterion("change_type between", value1, value2, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeNotBetween(Integer value1, Integer value2) { + addCriterion("change_type not between", value1, value2, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeCountIsNull() { + addCriterion("change_count is null"); + return (Criteria) this; + } + + public Criteria andChangeCountIsNotNull() { + addCriterion("change_count is not null"); + return (Criteria) this; + } + + public Criteria andChangeCountEqualTo(Integer value) { + addCriterion("change_count =", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountNotEqualTo(Integer value) { + addCriterion("change_count <>", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountGreaterThan(Integer value) { + addCriterion("change_count >", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountGreaterThanOrEqualTo(Integer value) { + addCriterion("change_count >=", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountLessThan(Integer value) { + addCriterion("change_count <", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountLessThanOrEqualTo(Integer value) { + addCriterion("change_count <=", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountIn(List values) { + addCriterion("change_count in", values, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountNotIn(List values) { + addCriterion("change_count not in", values, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountBetween(Integer value1, Integer value2) { + addCriterion("change_count between", value1, value2, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountNotBetween(Integer value1, Integer value2) { + addCriterion("change_count not between", value1, value2, "changeCount"); + return (Criteria) this; + } + + public Criteria andOperateManIsNull() { + addCriterion("operate_man is null"); + return (Criteria) this; + } + + public Criteria andOperateManIsNotNull() { + addCriterion("operate_man is not null"); + return (Criteria) this; + } + + public Criteria andOperateManEqualTo(String value) { + addCriterion("operate_man =", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotEqualTo(String value) { + addCriterion("operate_man <>", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThan(String value) { + addCriterion("operate_man >", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThanOrEqualTo(String value) { + addCriterion("operate_man >=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThan(String value) { + addCriterion("operate_man <", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThanOrEqualTo(String value) { + addCriterion("operate_man <=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLike(String value) { + addCriterion("operate_man like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotLike(String value) { + addCriterion("operate_man not like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManIn(List values) { + addCriterion("operate_man in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotIn(List values) { + addCriterion("operate_man not in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManBetween(String value1, String value2) { + addCriterion("operate_man between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotBetween(String value1, String value2) { + addCriterion("operate_man not between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateNoteIsNull() { + addCriterion("operate_note is null"); + return (Criteria) this; + } + + public Criteria andOperateNoteIsNotNull() { + addCriterion("operate_note is not null"); + return (Criteria) this; + } + + public Criteria andOperateNoteEqualTo(String value) { + addCriterion("operate_note =", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotEqualTo(String value) { + addCriterion("operate_note <>", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteGreaterThan(String value) { + addCriterion("operate_note >", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteGreaterThanOrEqualTo(String value) { + addCriterion("operate_note >=", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteLessThan(String value) { + addCriterion("operate_note <", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteLessThanOrEqualTo(String value) { + addCriterion("operate_note <=", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteLike(String value) { + addCriterion("operate_note like", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotLike(String value) { + addCriterion("operate_note not like", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteIn(List values) { + addCriterion("operate_note in", values, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotIn(List values) { + addCriterion("operate_note not in", values, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteBetween(String value1, String value2) { + addCriterion("operate_note between", value1, value2, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotBetween(String value1, String value2) { + addCriterion("operate_note not between", value1, value2, "operateNote"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNull() { + addCriterion("source_type is null"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNotNull() { + addCriterion("source_type is not null"); + return (Criteria) this; + } + + public Criteria andSourceTypeEqualTo(Integer value) { + addCriterion("source_type =", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotEqualTo(Integer value) { + addCriterion("source_type <>", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThan(Integer value) { + addCriterion("source_type >", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("source_type >=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThan(Integer value) { + addCriterion("source_type <", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThanOrEqualTo(Integer value) { + addCriterion("source_type <=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeIn(List values) { + addCriterion("source_type in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotIn(List values) { + addCriterion("source_type not in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeBetween(Integer value1, Integer value2) { + addCriterion("source_type between", value1, value2, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotBetween(Integer value1, Integer value2) { + addCriterion("source_type not between", value1, value2, "sourceType"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationChangeHistory.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationChangeHistory.java new file mode 100644 index 0000000..58366f8 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationChangeHistory.java @@ -0,0 +1,132 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class UmsIntegrationChangeHistory implements Serializable { + private Long id; + + private Long memberId; + + private Date createTime; + + /** + * 改变类型:0->增加;1->减少 + * + * @mbggenerated + */ + private Integer changeType; + + /** + * 积分改变数量 + * + * @mbggenerated + */ + private Integer changeCount; + + /** + * 操作人员 + * + * @mbggenerated + */ + private String operateMan; + + /** + * 操作备注 + * + * @mbggenerated + */ + private String operateNote; + + /** + * 积分来源:0->购物;1->管理员修改 + * + * @mbggenerated + */ + private Integer sourceType; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getChangeType() { + return changeType; + } + + public void setChangeType(Integer changeType) { + this.changeType = changeType; + } + + public Integer getChangeCount() { + return changeCount; + } + + public void setChangeCount(Integer changeCount) { + this.changeCount = changeCount; + } + + public String getOperateMan() { + return operateMan; + } + + public void setOperateMan(String operateMan) { + this.operateMan = operateMan; + } + + public String getOperateNote() { + return operateNote; + } + + public void setOperateNote(String operateNote) { + this.operateNote = operateNote; + } + + public Integer getSourceType() { + return sourceType; + } + + public void setSourceType(Integer sourceType) { + this.sourceType = sourceType; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", createTime=").append(createTime); + sb.append(", changeType=").append(changeType); + sb.append(", changeCount=").append(changeCount); + sb.append(", operateMan=").append(operateMan); + sb.append(", operateNote=").append(operateNote); + sb.append(", sourceType=").append(sourceType); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationChangeHistoryExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationChangeHistoryExample.java new file mode 100644 index 0000000..a42fbb6 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationChangeHistoryExample.java @@ -0,0 +1,701 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsIntegrationChangeHistoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsIntegrationChangeHistoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andChangeTypeIsNull() { + addCriterion("change_type is null"); + return (Criteria) this; + } + + public Criteria andChangeTypeIsNotNull() { + addCriterion("change_type is not null"); + return (Criteria) this; + } + + public Criteria andChangeTypeEqualTo(Integer value) { + addCriterion("change_type =", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeNotEqualTo(Integer value) { + addCriterion("change_type <>", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeGreaterThan(Integer value) { + addCriterion("change_type >", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("change_type >=", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeLessThan(Integer value) { + addCriterion("change_type <", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeLessThanOrEqualTo(Integer value) { + addCriterion("change_type <=", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeIn(List values) { + addCriterion("change_type in", values, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeNotIn(List values) { + addCriterion("change_type not in", values, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeBetween(Integer value1, Integer value2) { + addCriterion("change_type between", value1, value2, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeNotBetween(Integer value1, Integer value2) { + addCriterion("change_type not between", value1, value2, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeCountIsNull() { + addCriterion("change_count is null"); + return (Criteria) this; + } + + public Criteria andChangeCountIsNotNull() { + addCriterion("change_count is not null"); + return (Criteria) this; + } + + public Criteria andChangeCountEqualTo(Integer value) { + addCriterion("change_count =", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountNotEqualTo(Integer value) { + addCriterion("change_count <>", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountGreaterThan(Integer value) { + addCriterion("change_count >", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountGreaterThanOrEqualTo(Integer value) { + addCriterion("change_count >=", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountLessThan(Integer value) { + addCriterion("change_count <", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountLessThanOrEqualTo(Integer value) { + addCriterion("change_count <=", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountIn(List values) { + addCriterion("change_count in", values, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountNotIn(List values) { + addCriterion("change_count not in", values, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountBetween(Integer value1, Integer value2) { + addCriterion("change_count between", value1, value2, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountNotBetween(Integer value1, Integer value2) { + addCriterion("change_count not between", value1, value2, "changeCount"); + return (Criteria) this; + } + + public Criteria andOperateManIsNull() { + addCriterion("operate_man is null"); + return (Criteria) this; + } + + public Criteria andOperateManIsNotNull() { + addCriterion("operate_man is not null"); + return (Criteria) this; + } + + public Criteria andOperateManEqualTo(String value) { + addCriterion("operate_man =", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotEqualTo(String value) { + addCriterion("operate_man <>", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThan(String value) { + addCriterion("operate_man >", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThanOrEqualTo(String value) { + addCriterion("operate_man >=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThan(String value) { + addCriterion("operate_man <", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThanOrEqualTo(String value) { + addCriterion("operate_man <=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLike(String value) { + addCriterion("operate_man like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotLike(String value) { + addCriterion("operate_man not like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManIn(List values) { + addCriterion("operate_man in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotIn(List values) { + addCriterion("operate_man not in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManBetween(String value1, String value2) { + addCriterion("operate_man between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotBetween(String value1, String value2) { + addCriterion("operate_man not between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateNoteIsNull() { + addCriterion("operate_note is null"); + return (Criteria) this; + } + + public Criteria andOperateNoteIsNotNull() { + addCriterion("operate_note is not null"); + return (Criteria) this; + } + + public Criteria andOperateNoteEqualTo(String value) { + addCriterion("operate_note =", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotEqualTo(String value) { + addCriterion("operate_note <>", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteGreaterThan(String value) { + addCriterion("operate_note >", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteGreaterThanOrEqualTo(String value) { + addCriterion("operate_note >=", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteLessThan(String value) { + addCriterion("operate_note <", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteLessThanOrEqualTo(String value) { + addCriterion("operate_note <=", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteLike(String value) { + addCriterion("operate_note like", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotLike(String value) { + addCriterion("operate_note not like", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteIn(List values) { + addCriterion("operate_note in", values, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotIn(List values) { + addCriterion("operate_note not in", values, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteBetween(String value1, String value2) { + addCriterion("operate_note between", value1, value2, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotBetween(String value1, String value2) { + addCriterion("operate_note not between", value1, value2, "operateNote"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNull() { + addCriterion("source_type is null"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNotNull() { + addCriterion("source_type is not null"); + return (Criteria) this; + } + + public Criteria andSourceTypeEqualTo(Integer value) { + addCriterion("source_type =", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotEqualTo(Integer value) { + addCriterion("source_type <>", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThan(Integer value) { + addCriterion("source_type >", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("source_type >=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThan(Integer value) { + addCriterion("source_type <", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThanOrEqualTo(Integer value) { + addCriterion("source_type <=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeIn(List values) { + addCriterion("source_type in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotIn(List values) { + addCriterion("source_type not in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeBetween(Integer value1, Integer value2) { + addCriterion("source_type between", value1, value2, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotBetween(Integer value1, Integer value2) { + addCriterion("source_type not between", value1, value2, "sourceType"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationConsumeSetting.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationConsumeSetting.java new file mode 100644 index 0000000..1e525e4 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationConsumeSetting.java @@ -0,0 +1,93 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class UmsIntegrationConsumeSetting implements Serializable { + private Long id; + + /** + * 每一元需要抵扣的积分数量 + * + * @mbggenerated + */ + private Integer deductionPerAmount; + + /** + * 每笔订单最高抵用百分比 + * + * @mbggenerated + */ + private Integer maxPercentPerOrder; + + /** + * 每次使用积分最小单位100 + * + * @mbggenerated + */ + private Integer useUnit; + + /** + * 是否可以和优惠券同用;0->不可以;1->可以 + * + * @mbggenerated + */ + private Integer couponStatus; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Integer getDeductionPerAmount() { + return deductionPerAmount; + } + + public void setDeductionPerAmount(Integer deductionPerAmount) { + this.deductionPerAmount = deductionPerAmount; + } + + public Integer getMaxPercentPerOrder() { + return maxPercentPerOrder; + } + + public void setMaxPercentPerOrder(Integer maxPercentPerOrder) { + this.maxPercentPerOrder = maxPercentPerOrder; + } + + public Integer getUseUnit() { + return useUnit; + } + + public void setUseUnit(Integer useUnit) { + this.useUnit = useUnit; + } + + public Integer getCouponStatus() { + return couponStatus; + } + + public void setCouponStatus(Integer couponStatus) { + this.couponStatus = couponStatus; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", deductionPerAmount=").append(deductionPerAmount); + sb.append(", maxPercentPerOrder=").append(maxPercentPerOrder); + sb.append(", useUnit=").append(useUnit); + sb.append(", couponStatus=").append(couponStatus); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationConsumeSettingExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationConsumeSettingExample.java new file mode 100644 index 0000000..a43587c --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsIntegrationConsumeSettingExample.java @@ -0,0 +1,500 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class UmsIntegrationConsumeSettingExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsIntegrationConsumeSettingExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountIsNull() { + addCriterion("deduction_per_amount is null"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountIsNotNull() { + addCriterion("deduction_per_amount is not null"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountEqualTo(Integer value) { + addCriterion("deduction_per_amount =", value, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountNotEqualTo(Integer value) { + addCriterion("deduction_per_amount <>", value, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountGreaterThan(Integer value) { + addCriterion("deduction_per_amount >", value, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountGreaterThanOrEqualTo(Integer value) { + addCriterion("deduction_per_amount >=", value, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountLessThan(Integer value) { + addCriterion("deduction_per_amount <", value, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountLessThanOrEqualTo(Integer value) { + addCriterion("deduction_per_amount <=", value, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountIn(List values) { + addCriterion("deduction_per_amount in", values, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountNotIn(List values) { + addCriterion("deduction_per_amount not in", values, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountBetween(Integer value1, Integer value2) { + addCriterion("deduction_per_amount between", value1, value2, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountNotBetween(Integer value1, Integer value2) { + addCriterion("deduction_per_amount not between", value1, value2, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderIsNull() { + addCriterion("max_percent_per_order is null"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderIsNotNull() { + addCriterion("max_percent_per_order is not null"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderEqualTo(Integer value) { + addCriterion("max_percent_per_order =", value, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderNotEqualTo(Integer value) { + addCriterion("max_percent_per_order <>", value, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderGreaterThan(Integer value) { + addCriterion("max_percent_per_order >", value, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderGreaterThanOrEqualTo(Integer value) { + addCriterion("max_percent_per_order >=", value, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderLessThan(Integer value) { + addCriterion("max_percent_per_order <", value, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderLessThanOrEqualTo(Integer value) { + addCriterion("max_percent_per_order <=", value, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderIn(List values) { + addCriterion("max_percent_per_order in", values, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderNotIn(List values) { + addCriterion("max_percent_per_order not in", values, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderBetween(Integer value1, Integer value2) { + addCriterion("max_percent_per_order between", value1, value2, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderNotBetween(Integer value1, Integer value2) { + addCriterion("max_percent_per_order not between", value1, value2, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andUseUnitIsNull() { + addCriterion("use_unit is null"); + return (Criteria) this; + } + + public Criteria andUseUnitIsNotNull() { + addCriterion("use_unit is not null"); + return (Criteria) this; + } + + public Criteria andUseUnitEqualTo(Integer value) { + addCriterion("use_unit =", value, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitNotEqualTo(Integer value) { + addCriterion("use_unit <>", value, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitGreaterThan(Integer value) { + addCriterion("use_unit >", value, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitGreaterThanOrEqualTo(Integer value) { + addCriterion("use_unit >=", value, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitLessThan(Integer value) { + addCriterion("use_unit <", value, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitLessThanOrEqualTo(Integer value) { + addCriterion("use_unit <=", value, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitIn(List values) { + addCriterion("use_unit in", values, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitNotIn(List values) { + addCriterion("use_unit not in", values, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitBetween(Integer value1, Integer value2) { + addCriterion("use_unit between", value1, value2, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitNotBetween(Integer value1, Integer value2) { + addCriterion("use_unit not between", value1, value2, "useUnit"); + return (Criteria) this; + } + + public Criteria andCouponStatusIsNull() { + addCriterion("coupon_status is null"); + return (Criteria) this; + } + + public Criteria andCouponStatusIsNotNull() { + addCriterion("coupon_status is not null"); + return (Criteria) this; + } + + public Criteria andCouponStatusEqualTo(Integer value) { + addCriterion("coupon_status =", value, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusNotEqualTo(Integer value) { + addCriterion("coupon_status <>", value, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusGreaterThan(Integer value) { + addCriterion("coupon_status >", value, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("coupon_status >=", value, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusLessThan(Integer value) { + addCriterion("coupon_status <", value, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusLessThanOrEqualTo(Integer value) { + addCriterion("coupon_status <=", value, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusIn(List values) { + addCriterion("coupon_status in", values, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusNotIn(List values) { + addCriterion("coupon_status not in", values, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusBetween(Integer value1, Integer value2) { + addCriterion("coupon_status between", value1, value2, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusNotBetween(Integer value1, Integer value2) { + addCriterion("coupon_status not between", value1, value2, "couponStatus"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMember.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMember.java new file mode 100644 index 0000000..30c7fee --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMember.java @@ -0,0 +1,313 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class UmsMember implements Serializable { + private Long id; + + private Long memberLevelId; + + /** + * 用户名 + * + * @mbggenerated + */ + private String username; + + /** + * 密码 + * + * @mbggenerated + */ + private String password; + + /** + * 昵称 + * + * @mbggenerated + */ + private String nickname; + + /** + * 手机号码 + * + * @mbggenerated + */ + private String phone; + + /** + * 帐号启用状态:0->禁用;1->启用 + * + * @mbggenerated + */ + private Integer status; + + /** + * 注册时间 + * + * @mbggenerated + */ + private Date createTime; + + /** + * 头像 + * + * @mbggenerated + */ + private String icon; + + /** + * 性别:0->未知;1->男;2->女 + * + * @mbggenerated + */ + private Integer gender; + + /** + * 生日 + * + * @mbggenerated + */ + private Date birthday; + + /** + * 所做城市 + * + * @mbggenerated + */ + private String city; + + /** + * 职业 + * + * @mbggenerated + */ + private String job; + + /** + * 个性签名 + * + * @mbggenerated + */ + private String personalizedSignature; + + /** + * 用户来源 + * + * @mbggenerated + */ + private Integer sourceType; + + /** + * 积分 + * + * @mbggenerated + */ + private Integer integration; + + /** + * 成长值 + * + * @mbggenerated + */ + private Integer growth; + + /** + * 剩余抽奖次数 + * + * @mbggenerated + */ + private Integer luckeyCount; + + /** + * 历史积分数量 + * + * @mbggenerated + */ + private Integer historyIntegration; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberLevelId() { + return memberLevelId; + } + + public void setMemberLevelId(Long memberLevelId) { + this.memberLevelId = memberLevelId; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public String getNickname() { + return nickname; + } + + public void setNickname(String nickname) { + this.nickname = nickname; + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public Integer getGender() { + return gender; + } + + public void setGender(Integer gender) { + this.gender = gender; + } + + public Date getBirthday() { + return birthday; + } + + public void setBirthday(Date birthday) { + this.birthday = birthday; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public String getJob() { + return job; + } + + public void setJob(String job) { + this.job = job; + } + + public String getPersonalizedSignature() { + return personalizedSignature; + } + + public void setPersonalizedSignature(String personalizedSignature) { + this.personalizedSignature = personalizedSignature; + } + + public Integer getSourceType() { + return sourceType; + } + + public void setSourceType(Integer sourceType) { + this.sourceType = sourceType; + } + + public Integer getIntegration() { + return integration; + } + + public void setIntegration(Integer integration) { + this.integration = integration; + } + + public Integer getGrowth() { + return growth; + } + + public void setGrowth(Integer growth) { + this.growth = growth; + } + + public Integer getLuckeyCount() { + return luckeyCount; + } + + public void setLuckeyCount(Integer luckeyCount) { + this.luckeyCount = luckeyCount; + } + + public Integer getHistoryIntegration() { + return historyIntegration; + } + + public void setHistoryIntegration(Integer historyIntegration) { + this.historyIntegration = historyIntegration; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberLevelId=").append(memberLevelId); + sb.append(", username=").append(username); + sb.append(", password=").append(password); + sb.append(", nickname=").append(nickname); + sb.append(", phone=").append(phone); + sb.append(", status=").append(status); + sb.append(", createTime=").append(createTime); + sb.append(", icon=").append(icon); + sb.append(", gender=").append(gender); + sb.append(", birthday=").append(birthday); + sb.append(", city=").append(city); + sb.append(", job=").append(job); + sb.append(", personalizedSignature=").append(personalizedSignature); + sb.append(", sourceType=").append(sourceType); + sb.append(", integration=").append(integration); + sb.append(", growth=").append(growth); + sb.append(", luckeyCount=").append(luckeyCount); + sb.append(", historyIntegration=").append(historyIntegration); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberExample.java new file mode 100644 index 0000000..a5025ea --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberExample.java @@ -0,0 +1,1448 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.Iterator; +import java.util.List; + +public class UmsMemberExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + protected void addCriterionForJDBCDate(String condition, Date value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Date(value.getTime()), property); + } + + protected void addCriterionForJDBCDate(String condition, List values, String property) { + if (values == null || values.size() == 0) { + throw new RuntimeException("Value list for " + property + " cannot be null or empty"); + } + List dateList = new ArrayList(); + Iterator iter = values.iterator(); + while (iter.hasNext()) { + dateList.add(new java.sql.Date(iter.next().getTime())); + } + addCriterion(condition, dateList, property); + } + + protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdIsNull() { + addCriterion("member_level_id is null"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdIsNotNull() { + addCriterion("member_level_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdEqualTo(Long value) { + addCriterion("member_level_id =", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdNotEqualTo(Long value) { + addCriterion("member_level_id <>", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdGreaterThan(Long value) { + addCriterion("member_level_id >", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_level_id >=", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdLessThan(Long value) { + addCriterion("member_level_id <", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdLessThanOrEqualTo(Long value) { + addCriterion("member_level_id <=", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdIn(List values) { + addCriterion("member_level_id in", values, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdNotIn(List values) { + addCriterion("member_level_id not in", values, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdBetween(Long value1, Long value2) { + addCriterion("member_level_id between", value1, value2, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdNotBetween(Long value1, Long value2) { + addCriterion("member_level_id not between", value1, value2, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andUsernameIsNull() { + addCriterion("username is null"); + return (Criteria) this; + } + + public Criteria andUsernameIsNotNull() { + addCriterion("username is not null"); + return (Criteria) this; + } + + public Criteria andUsernameEqualTo(String value) { + addCriterion("username =", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotEqualTo(String value) { + addCriterion("username <>", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameGreaterThan(String value) { + addCriterion("username >", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameGreaterThanOrEqualTo(String value) { + addCriterion("username >=", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLessThan(String value) { + addCriterion("username <", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLessThanOrEqualTo(String value) { + addCriterion("username <=", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLike(String value) { + addCriterion("username like", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotLike(String value) { + addCriterion("username not like", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameIn(List values) { + addCriterion("username in", values, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotIn(List values) { + addCriterion("username not in", values, "username"); + return (Criteria) this; + } + + public Criteria andUsernameBetween(String value1, String value2) { + addCriterion("username between", value1, value2, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotBetween(String value1, String value2) { + addCriterion("username not between", value1, value2, "username"); + return (Criteria) this; + } + + public Criteria andPasswordIsNull() { + addCriterion("password is null"); + return (Criteria) this; + } + + public Criteria andPasswordIsNotNull() { + addCriterion("password is not null"); + return (Criteria) this; + } + + public Criteria andPasswordEqualTo(String value) { + addCriterion("password =", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotEqualTo(String value) { + addCriterion("password <>", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThan(String value) { + addCriterion("password >", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThanOrEqualTo(String value) { + addCriterion("password >=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThan(String value) { + addCriterion("password <", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThanOrEqualTo(String value) { + addCriterion("password <=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLike(String value) { + addCriterion("password like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotLike(String value) { + addCriterion("password not like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordIn(List values) { + addCriterion("password in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotIn(List values) { + addCriterion("password not in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordBetween(String value1, String value2) { + addCriterion("password between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotBetween(String value1, String value2) { + addCriterion("password not between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andNicknameIsNull() { + addCriterion("nickname is null"); + return (Criteria) this; + } + + public Criteria andNicknameIsNotNull() { + addCriterion("nickname is not null"); + return (Criteria) this; + } + + public Criteria andNicknameEqualTo(String value) { + addCriterion("nickname =", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameNotEqualTo(String value) { + addCriterion("nickname <>", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameGreaterThan(String value) { + addCriterion("nickname >", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameGreaterThanOrEqualTo(String value) { + addCriterion("nickname >=", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameLessThan(String value) { + addCriterion("nickname <", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameLessThanOrEqualTo(String value) { + addCriterion("nickname <=", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameLike(String value) { + addCriterion("nickname like", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameNotLike(String value) { + addCriterion("nickname not like", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameIn(List values) { + addCriterion("nickname in", values, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameNotIn(List values) { + addCriterion("nickname not in", values, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameBetween(String value1, String value2) { + addCriterion("nickname between", value1, value2, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameNotBetween(String value1, String value2) { + addCriterion("nickname not between", value1, value2, "nickname"); + return (Criteria) this; + } + + public Criteria andPhoneIsNull() { + addCriterion("phone is null"); + return (Criteria) this; + } + + public Criteria andPhoneIsNotNull() { + addCriterion("phone is not null"); + return (Criteria) this; + } + + public Criteria andPhoneEqualTo(String value) { + addCriterion("phone =", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotEqualTo(String value) { + addCriterion("phone <>", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneGreaterThan(String value) { + addCriterion("phone >", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneGreaterThanOrEqualTo(String value) { + addCriterion("phone >=", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneLessThan(String value) { + addCriterion("phone <", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneLessThanOrEqualTo(String value) { + addCriterion("phone <=", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneLike(String value) { + addCriterion("phone like", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotLike(String value) { + addCriterion("phone not like", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneIn(List values) { + addCriterion("phone in", values, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotIn(List values) { + addCriterion("phone not in", values, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneBetween(String value1, String value2) { + addCriterion("phone between", value1, value2, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotBetween(String value1, String value2) { + addCriterion("phone not between", value1, value2, "phone"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andGenderIsNull() { + addCriterion("gender is null"); + return (Criteria) this; + } + + public Criteria andGenderIsNotNull() { + addCriterion("gender is not null"); + return (Criteria) this; + } + + public Criteria andGenderEqualTo(Integer value) { + addCriterion("gender =", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotEqualTo(Integer value) { + addCriterion("gender <>", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderGreaterThan(Integer value) { + addCriterion("gender >", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderGreaterThanOrEqualTo(Integer value) { + addCriterion("gender >=", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderLessThan(Integer value) { + addCriterion("gender <", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderLessThanOrEqualTo(Integer value) { + addCriterion("gender <=", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderIn(List values) { + addCriterion("gender in", values, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotIn(List values) { + addCriterion("gender not in", values, "gender"); + return (Criteria) this; + } + + public Criteria andGenderBetween(Integer value1, Integer value2) { + addCriterion("gender between", value1, value2, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotBetween(Integer value1, Integer value2) { + addCriterion("gender not between", value1, value2, "gender"); + return (Criteria) this; + } + + public Criteria andBirthdayIsNull() { + addCriterion("birthday is null"); + return (Criteria) this; + } + + public Criteria andBirthdayIsNotNull() { + addCriterion("birthday is not null"); + return (Criteria) this; + } + + public Criteria andBirthdayEqualTo(Date value) { + addCriterionForJDBCDate("birthday =", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayNotEqualTo(Date value) { + addCriterionForJDBCDate("birthday <>", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayGreaterThan(Date value) { + addCriterionForJDBCDate("birthday >", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayGreaterThanOrEqualTo(Date value) { + addCriterionForJDBCDate("birthday >=", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayLessThan(Date value) { + addCriterionForJDBCDate("birthday <", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayLessThanOrEqualTo(Date value) { + addCriterionForJDBCDate("birthday <=", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayIn(List values) { + addCriterionForJDBCDate("birthday in", values, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayNotIn(List values) { + addCriterionForJDBCDate("birthday not in", values, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayBetween(Date value1, Date value2) { + addCriterionForJDBCDate("birthday between", value1, value2, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayNotBetween(Date value1, Date value2) { + addCriterionForJDBCDate("birthday not between", value1, value2, "birthday"); + return (Criteria) this; + } + + public Criteria andCityIsNull() { + addCriterion("city is null"); + return (Criteria) this; + } + + public Criteria andCityIsNotNull() { + addCriterion("city is not null"); + return (Criteria) this; + } + + public Criteria andCityEqualTo(String value) { + addCriterion("city =", value, "city"); + return (Criteria) this; + } + + public Criteria andCityNotEqualTo(String value) { + addCriterion("city <>", value, "city"); + return (Criteria) this; + } + + public Criteria andCityGreaterThan(String value) { + addCriterion("city >", value, "city"); + return (Criteria) this; + } + + public Criteria andCityGreaterThanOrEqualTo(String value) { + addCriterion("city >=", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLessThan(String value) { + addCriterion("city <", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLessThanOrEqualTo(String value) { + addCriterion("city <=", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLike(String value) { + addCriterion("city like", value, "city"); + return (Criteria) this; + } + + public Criteria andCityNotLike(String value) { + addCriterion("city not like", value, "city"); + return (Criteria) this; + } + + public Criteria andCityIn(List values) { + addCriterion("city in", values, "city"); + return (Criteria) this; + } + + public Criteria andCityNotIn(List values) { + addCriterion("city not in", values, "city"); + return (Criteria) this; + } + + public Criteria andCityBetween(String value1, String value2) { + addCriterion("city between", value1, value2, "city"); + return (Criteria) this; + } + + public Criteria andCityNotBetween(String value1, String value2) { + addCriterion("city not between", value1, value2, "city"); + return (Criteria) this; + } + + public Criteria andJobIsNull() { + addCriterion("job is null"); + return (Criteria) this; + } + + public Criteria andJobIsNotNull() { + addCriterion("job is not null"); + return (Criteria) this; + } + + public Criteria andJobEqualTo(String value) { + addCriterion("job =", value, "job"); + return (Criteria) this; + } + + public Criteria andJobNotEqualTo(String value) { + addCriterion("job <>", value, "job"); + return (Criteria) this; + } + + public Criteria andJobGreaterThan(String value) { + addCriterion("job >", value, "job"); + return (Criteria) this; + } + + public Criteria andJobGreaterThanOrEqualTo(String value) { + addCriterion("job >=", value, "job"); + return (Criteria) this; + } + + public Criteria andJobLessThan(String value) { + addCriterion("job <", value, "job"); + return (Criteria) this; + } + + public Criteria andJobLessThanOrEqualTo(String value) { + addCriterion("job <=", value, "job"); + return (Criteria) this; + } + + public Criteria andJobLike(String value) { + addCriterion("job like", value, "job"); + return (Criteria) this; + } + + public Criteria andJobNotLike(String value) { + addCriterion("job not like", value, "job"); + return (Criteria) this; + } + + public Criteria andJobIn(List values) { + addCriterion("job in", values, "job"); + return (Criteria) this; + } + + public Criteria andJobNotIn(List values) { + addCriterion("job not in", values, "job"); + return (Criteria) this; + } + + public Criteria andJobBetween(String value1, String value2) { + addCriterion("job between", value1, value2, "job"); + return (Criteria) this; + } + + public Criteria andJobNotBetween(String value1, String value2) { + addCriterion("job not between", value1, value2, "job"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureIsNull() { + addCriterion("personalized_signature is null"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureIsNotNull() { + addCriterion("personalized_signature is not null"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureEqualTo(String value) { + addCriterion("personalized_signature =", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureNotEqualTo(String value) { + addCriterion("personalized_signature <>", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureGreaterThan(String value) { + addCriterion("personalized_signature >", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureGreaterThanOrEqualTo(String value) { + addCriterion("personalized_signature >=", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureLessThan(String value) { + addCriterion("personalized_signature <", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureLessThanOrEqualTo(String value) { + addCriterion("personalized_signature <=", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureLike(String value) { + addCriterion("personalized_signature like", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureNotLike(String value) { + addCriterion("personalized_signature not like", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureIn(List values) { + addCriterion("personalized_signature in", values, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureNotIn(List values) { + addCriterion("personalized_signature not in", values, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureBetween(String value1, String value2) { + addCriterion("personalized_signature between", value1, value2, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureNotBetween(String value1, String value2) { + addCriterion("personalized_signature not between", value1, value2, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNull() { + addCriterion("source_type is null"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNotNull() { + addCriterion("source_type is not null"); + return (Criteria) this; + } + + public Criteria andSourceTypeEqualTo(Integer value) { + addCriterion("source_type =", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotEqualTo(Integer value) { + addCriterion("source_type <>", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThan(Integer value) { + addCriterion("source_type >", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("source_type >=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThan(Integer value) { + addCriterion("source_type <", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThanOrEqualTo(Integer value) { + addCriterion("source_type <=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeIn(List values) { + addCriterion("source_type in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotIn(List values) { + addCriterion("source_type not in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeBetween(Integer value1, Integer value2) { + addCriterion("source_type between", value1, value2, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotBetween(Integer value1, Integer value2) { + addCriterion("source_type not between", value1, value2, "sourceType"); + return (Criteria) this; + } + + public Criteria andIntegrationIsNull() { + addCriterion("integration is null"); + return (Criteria) this; + } + + public Criteria andIntegrationIsNotNull() { + addCriterion("integration is not null"); + return (Criteria) this; + } + + public Criteria andIntegrationEqualTo(Integer value) { + addCriterion("integration =", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationNotEqualTo(Integer value) { + addCriterion("integration <>", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationGreaterThan(Integer value) { + addCriterion("integration >", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationGreaterThanOrEqualTo(Integer value) { + addCriterion("integration >=", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationLessThan(Integer value) { + addCriterion("integration <", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationLessThanOrEqualTo(Integer value) { + addCriterion("integration <=", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationIn(List values) { + addCriterion("integration in", values, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationNotIn(List values) { + addCriterion("integration not in", values, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationBetween(Integer value1, Integer value2) { + addCriterion("integration between", value1, value2, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationNotBetween(Integer value1, Integer value2) { + addCriterion("integration not between", value1, value2, "integration"); + return (Criteria) this; + } + + public Criteria andGrowthIsNull() { + addCriterion("growth is null"); + return (Criteria) this; + } + + public Criteria andGrowthIsNotNull() { + addCriterion("growth is not null"); + return (Criteria) this; + } + + public Criteria andGrowthEqualTo(Integer value) { + addCriterion("growth =", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotEqualTo(Integer value) { + addCriterion("growth <>", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthGreaterThan(Integer value) { + addCriterion("growth >", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthGreaterThanOrEqualTo(Integer value) { + addCriterion("growth >=", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthLessThan(Integer value) { + addCriterion("growth <", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthLessThanOrEqualTo(Integer value) { + addCriterion("growth <=", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthIn(List values) { + addCriterion("growth in", values, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotIn(List values) { + addCriterion("growth not in", values, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthBetween(Integer value1, Integer value2) { + addCriterion("growth between", value1, value2, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotBetween(Integer value1, Integer value2) { + addCriterion("growth not between", value1, value2, "growth"); + return (Criteria) this; + } + + public Criteria andLuckeyCountIsNull() { + addCriterion("luckey_count is null"); + return (Criteria) this; + } + + public Criteria andLuckeyCountIsNotNull() { + addCriterion("luckey_count is not null"); + return (Criteria) this; + } + + public Criteria andLuckeyCountEqualTo(Integer value) { + addCriterion("luckey_count =", value, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountNotEqualTo(Integer value) { + addCriterion("luckey_count <>", value, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountGreaterThan(Integer value) { + addCriterion("luckey_count >", value, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountGreaterThanOrEqualTo(Integer value) { + addCriterion("luckey_count >=", value, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountLessThan(Integer value) { + addCriterion("luckey_count <", value, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountLessThanOrEqualTo(Integer value) { + addCriterion("luckey_count <=", value, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountIn(List values) { + addCriterion("luckey_count in", values, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountNotIn(List values) { + addCriterion("luckey_count not in", values, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountBetween(Integer value1, Integer value2) { + addCriterion("luckey_count between", value1, value2, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountNotBetween(Integer value1, Integer value2) { + addCriterion("luckey_count not between", value1, value2, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationIsNull() { + addCriterion("history_integration is null"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationIsNotNull() { + addCriterion("history_integration is not null"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationEqualTo(Integer value) { + addCriterion("history_integration =", value, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationNotEqualTo(Integer value) { + addCriterion("history_integration <>", value, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationGreaterThan(Integer value) { + addCriterion("history_integration >", value, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationGreaterThanOrEqualTo(Integer value) { + addCriterion("history_integration >=", value, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationLessThan(Integer value) { + addCriterion("history_integration <", value, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationLessThanOrEqualTo(Integer value) { + addCriterion("history_integration <=", value, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationIn(List values) { + addCriterion("history_integration in", values, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationNotIn(List values) { + addCriterion("history_integration not in", values, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationBetween(Integer value1, Integer value2) { + addCriterion("history_integration between", value1, value2, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationNotBetween(Integer value1, Integer value2) { + addCriterion("history_integration not between", value1, value2, "historyIntegration"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLevel.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLevel.java new file mode 100644 index 0000000..a028a76 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLevel.java @@ -0,0 +1,207 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class UmsMemberLevel implements Serializable { + private Long id; + + private String name; + + private Integer growthPoint; + + /** + * 是否为默认等级:0->不是;1->是 + * + * @mbggenerated + */ + private Integer defaultStatus; + + /** + * 免运费标准 + * + * @mbggenerated + */ + private BigDecimal freeFreightPoint; + + /** + * 每次评价获取的成长值 + * + * @mbggenerated + */ + private Integer commentGrowthPoint; + + /** + * 是否有免邮特权 + * + * @mbggenerated + */ + private Integer priviledgeFreeFreight; + + /** + * 是否有签到特权 + * + * @mbggenerated + */ + private Integer priviledgeSignIn; + + /** + * 是否有评论获奖励特权 + * + * @mbggenerated + */ + private Integer priviledgeComment; + + /** + * 是否有专享活动特权 + * + * @mbggenerated + */ + private Integer priviledgePromotion; + + /** + * 是否有会员价格特权 + * + * @mbggenerated + */ + private Integer priviledgeMemberPrice; + + /** + * 是否有生日特权 + * + * @mbggenerated + */ + private Integer priviledgeBirthday; + + private String note; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getGrowthPoint() { + return growthPoint; + } + + public void setGrowthPoint(Integer growthPoint) { + this.growthPoint = growthPoint; + } + + public Integer getDefaultStatus() { + return defaultStatus; + } + + public void setDefaultStatus(Integer defaultStatus) { + this.defaultStatus = defaultStatus; + } + + public BigDecimal getFreeFreightPoint() { + return freeFreightPoint; + } + + public void setFreeFreightPoint(BigDecimal freeFreightPoint) { + this.freeFreightPoint = freeFreightPoint; + } + + public Integer getCommentGrowthPoint() { + return commentGrowthPoint; + } + + public void setCommentGrowthPoint(Integer commentGrowthPoint) { + this.commentGrowthPoint = commentGrowthPoint; + } + + public Integer getPriviledgeFreeFreight() { + return priviledgeFreeFreight; + } + + public void setPriviledgeFreeFreight(Integer priviledgeFreeFreight) { + this.priviledgeFreeFreight = priviledgeFreeFreight; + } + + public Integer getPriviledgeSignIn() { + return priviledgeSignIn; + } + + public void setPriviledgeSignIn(Integer priviledgeSignIn) { + this.priviledgeSignIn = priviledgeSignIn; + } + + public Integer getPriviledgeComment() { + return priviledgeComment; + } + + public void setPriviledgeComment(Integer priviledgeComment) { + this.priviledgeComment = priviledgeComment; + } + + public Integer getPriviledgePromotion() { + return priviledgePromotion; + } + + public void setPriviledgePromotion(Integer priviledgePromotion) { + this.priviledgePromotion = priviledgePromotion; + } + + public Integer getPriviledgeMemberPrice() { + return priviledgeMemberPrice; + } + + public void setPriviledgeMemberPrice(Integer priviledgeMemberPrice) { + this.priviledgeMemberPrice = priviledgeMemberPrice; + } + + public Integer getPriviledgeBirthday() { + return priviledgeBirthday; + } + + public void setPriviledgeBirthday(Integer priviledgeBirthday) { + this.priviledgeBirthday = priviledgeBirthday; + } + + public String getNote() { + return note; + } + + public void setNote(String note) { + this.note = note; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", growthPoint=").append(growthPoint); + sb.append(", defaultStatus=").append(defaultStatus); + sb.append(", freeFreightPoint=").append(freeFreightPoint); + sb.append(", commentGrowthPoint=").append(commentGrowthPoint); + sb.append(", priviledgeFreeFreight=").append(priviledgeFreeFreight); + sb.append(", priviledgeSignIn=").append(priviledgeSignIn); + sb.append(", priviledgeComment=").append(priviledgeComment); + sb.append(", priviledgePromotion=").append(priviledgePromotion); + sb.append(", priviledgeMemberPrice=").append(priviledgeMemberPrice); + sb.append(", priviledgeBirthday=").append(priviledgeBirthday); + sb.append(", note=").append(note); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLevelExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLevelExample.java new file mode 100644 index 0000000..ca92bab --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLevelExample.java @@ -0,0 +1,1001 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class UmsMemberLevelExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberLevelExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andGrowthPointIsNull() { + addCriterion("growth_point is null"); + return (Criteria) this; + } + + public Criteria andGrowthPointIsNotNull() { + addCriterion("growth_point is not null"); + return (Criteria) this; + } + + public Criteria andGrowthPointEqualTo(Integer value) { + addCriterion("growth_point =", value, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointNotEqualTo(Integer value) { + addCriterion("growth_point <>", value, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointGreaterThan(Integer value) { + addCriterion("growth_point >", value, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointGreaterThanOrEqualTo(Integer value) { + addCriterion("growth_point >=", value, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointLessThan(Integer value) { + addCriterion("growth_point <", value, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointLessThanOrEqualTo(Integer value) { + addCriterion("growth_point <=", value, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointIn(List values) { + addCriterion("growth_point in", values, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointNotIn(List values) { + addCriterion("growth_point not in", values, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointBetween(Integer value1, Integer value2) { + addCriterion("growth_point between", value1, value2, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointNotBetween(Integer value1, Integer value2) { + addCriterion("growth_point not between", value1, value2, "growthPoint"); + return (Criteria) this; + } + + public Criteria andDefaultStatusIsNull() { + addCriterion("default_status is null"); + return (Criteria) this; + } + + public Criteria andDefaultStatusIsNotNull() { + addCriterion("default_status is not null"); + return (Criteria) this; + } + + public Criteria andDefaultStatusEqualTo(Integer value) { + addCriterion("default_status =", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusNotEqualTo(Integer value) { + addCriterion("default_status <>", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusGreaterThan(Integer value) { + addCriterion("default_status >", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("default_status >=", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusLessThan(Integer value) { + addCriterion("default_status <", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusLessThanOrEqualTo(Integer value) { + addCriterion("default_status <=", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusIn(List values) { + addCriterion("default_status in", values, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusNotIn(List values) { + addCriterion("default_status not in", values, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusBetween(Integer value1, Integer value2) { + addCriterion("default_status between", value1, value2, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusNotBetween(Integer value1, Integer value2) { + addCriterion("default_status not between", value1, value2, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointIsNull() { + addCriterion("free_freight_point is null"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointIsNotNull() { + addCriterion("free_freight_point is not null"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointEqualTo(BigDecimal value) { + addCriterion("free_freight_point =", value, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointNotEqualTo(BigDecimal value) { + addCriterion("free_freight_point <>", value, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointGreaterThan(BigDecimal value) { + addCriterion("free_freight_point >", value, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("free_freight_point >=", value, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointLessThan(BigDecimal value) { + addCriterion("free_freight_point <", value, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointLessThanOrEqualTo(BigDecimal value) { + addCriterion("free_freight_point <=", value, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointIn(List values) { + addCriterion("free_freight_point in", values, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointNotIn(List values) { + addCriterion("free_freight_point not in", values, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("free_freight_point between", value1, value2, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("free_freight_point not between", value1, value2, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointIsNull() { + addCriterion("comment_growth_point is null"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointIsNotNull() { + addCriterion("comment_growth_point is not null"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointEqualTo(Integer value) { + addCriterion("comment_growth_point =", value, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointNotEqualTo(Integer value) { + addCriterion("comment_growth_point <>", value, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointGreaterThan(Integer value) { + addCriterion("comment_growth_point >", value, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointGreaterThanOrEqualTo(Integer value) { + addCriterion("comment_growth_point >=", value, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointLessThan(Integer value) { + addCriterion("comment_growth_point <", value, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointLessThanOrEqualTo(Integer value) { + addCriterion("comment_growth_point <=", value, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointIn(List values) { + addCriterion("comment_growth_point in", values, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointNotIn(List values) { + addCriterion("comment_growth_point not in", values, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointBetween(Integer value1, Integer value2) { + addCriterion("comment_growth_point between", value1, value2, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointNotBetween(Integer value1, Integer value2) { + addCriterion("comment_growth_point not between", value1, value2, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightIsNull() { + addCriterion("priviledge_free_freight is null"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightIsNotNull() { + addCriterion("priviledge_free_freight is not null"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightEqualTo(Integer value) { + addCriterion("priviledge_free_freight =", value, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightNotEqualTo(Integer value) { + addCriterion("priviledge_free_freight <>", value, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightGreaterThan(Integer value) { + addCriterion("priviledge_free_freight >", value, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightGreaterThanOrEqualTo(Integer value) { + addCriterion("priviledge_free_freight >=", value, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightLessThan(Integer value) { + addCriterion("priviledge_free_freight <", value, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightLessThanOrEqualTo(Integer value) { + addCriterion("priviledge_free_freight <=", value, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightIn(List values) { + addCriterion("priviledge_free_freight in", values, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightNotIn(List values) { + addCriterion("priviledge_free_freight not in", values, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightBetween(Integer value1, Integer value2) { + addCriterion("priviledge_free_freight between", value1, value2, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightNotBetween(Integer value1, Integer value2) { + addCriterion("priviledge_free_freight not between", value1, value2, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInIsNull() { + addCriterion("priviledge_sign_in is null"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInIsNotNull() { + addCriterion("priviledge_sign_in is not null"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInEqualTo(Integer value) { + addCriterion("priviledge_sign_in =", value, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInNotEqualTo(Integer value) { + addCriterion("priviledge_sign_in <>", value, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInGreaterThan(Integer value) { + addCriterion("priviledge_sign_in >", value, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInGreaterThanOrEqualTo(Integer value) { + addCriterion("priviledge_sign_in >=", value, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInLessThan(Integer value) { + addCriterion("priviledge_sign_in <", value, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInLessThanOrEqualTo(Integer value) { + addCriterion("priviledge_sign_in <=", value, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInIn(List values) { + addCriterion("priviledge_sign_in in", values, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInNotIn(List values) { + addCriterion("priviledge_sign_in not in", values, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInBetween(Integer value1, Integer value2) { + addCriterion("priviledge_sign_in between", value1, value2, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInNotBetween(Integer value1, Integer value2) { + addCriterion("priviledge_sign_in not between", value1, value2, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentIsNull() { + addCriterion("priviledge_comment is null"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentIsNotNull() { + addCriterion("priviledge_comment is not null"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentEqualTo(Integer value) { + addCriterion("priviledge_comment =", value, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentNotEqualTo(Integer value) { + addCriterion("priviledge_comment <>", value, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentGreaterThan(Integer value) { + addCriterion("priviledge_comment >", value, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentGreaterThanOrEqualTo(Integer value) { + addCriterion("priviledge_comment >=", value, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentLessThan(Integer value) { + addCriterion("priviledge_comment <", value, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentLessThanOrEqualTo(Integer value) { + addCriterion("priviledge_comment <=", value, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentIn(List values) { + addCriterion("priviledge_comment in", values, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentNotIn(List values) { + addCriterion("priviledge_comment not in", values, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentBetween(Integer value1, Integer value2) { + addCriterion("priviledge_comment between", value1, value2, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentNotBetween(Integer value1, Integer value2) { + addCriterion("priviledge_comment not between", value1, value2, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionIsNull() { + addCriterion("priviledge_promotion is null"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionIsNotNull() { + addCriterion("priviledge_promotion is not null"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionEqualTo(Integer value) { + addCriterion("priviledge_promotion =", value, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionNotEqualTo(Integer value) { + addCriterion("priviledge_promotion <>", value, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionGreaterThan(Integer value) { + addCriterion("priviledge_promotion >", value, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionGreaterThanOrEqualTo(Integer value) { + addCriterion("priviledge_promotion >=", value, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionLessThan(Integer value) { + addCriterion("priviledge_promotion <", value, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionLessThanOrEqualTo(Integer value) { + addCriterion("priviledge_promotion <=", value, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionIn(List values) { + addCriterion("priviledge_promotion in", values, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionNotIn(List values) { + addCriterion("priviledge_promotion not in", values, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionBetween(Integer value1, Integer value2) { + addCriterion("priviledge_promotion between", value1, value2, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionNotBetween(Integer value1, Integer value2) { + addCriterion("priviledge_promotion not between", value1, value2, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceIsNull() { + addCriterion("priviledge_member_price is null"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceIsNotNull() { + addCriterion("priviledge_member_price is not null"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceEqualTo(Integer value) { + addCriterion("priviledge_member_price =", value, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceNotEqualTo(Integer value) { + addCriterion("priviledge_member_price <>", value, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceGreaterThan(Integer value) { + addCriterion("priviledge_member_price >", value, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceGreaterThanOrEqualTo(Integer value) { + addCriterion("priviledge_member_price >=", value, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceLessThan(Integer value) { + addCriterion("priviledge_member_price <", value, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceLessThanOrEqualTo(Integer value) { + addCriterion("priviledge_member_price <=", value, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceIn(List values) { + addCriterion("priviledge_member_price in", values, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceNotIn(List values) { + addCriterion("priviledge_member_price not in", values, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceBetween(Integer value1, Integer value2) { + addCriterion("priviledge_member_price between", value1, value2, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceNotBetween(Integer value1, Integer value2) { + addCriterion("priviledge_member_price not between", value1, value2, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayIsNull() { + addCriterion("priviledge_birthday is null"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayIsNotNull() { + addCriterion("priviledge_birthday is not null"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayEqualTo(Integer value) { + addCriterion("priviledge_birthday =", value, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayNotEqualTo(Integer value) { + addCriterion("priviledge_birthday <>", value, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayGreaterThan(Integer value) { + addCriterion("priviledge_birthday >", value, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayGreaterThanOrEqualTo(Integer value) { + addCriterion("priviledge_birthday >=", value, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayLessThan(Integer value) { + addCriterion("priviledge_birthday <", value, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayLessThanOrEqualTo(Integer value) { + addCriterion("priviledge_birthday <=", value, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayIn(List values) { + addCriterion("priviledge_birthday in", values, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayNotIn(List values) { + addCriterion("priviledge_birthday not in", values, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayBetween(Integer value1, Integer value2) { + addCriterion("priviledge_birthday between", value1, value2, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayNotBetween(Integer value1, Integer value2) { + addCriterion("priviledge_birthday not between", value1, value2, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andNoteIsNull() { + addCriterion("note is null"); + return (Criteria) this; + } + + public Criteria andNoteIsNotNull() { + addCriterion("note is not null"); + return (Criteria) this; + } + + public Criteria andNoteEqualTo(String value) { + addCriterion("note =", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotEqualTo(String value) { + addCriterion("note <>", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThan(String value) { + addCriterion("note >", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThanOrEqualTo(String value) { + addCriterion("note >=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThan(String value) { + addCriterion("note <", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThanOrEqualTo(String value) { + addCriterion("note <=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLike(String value) { + addCriterion("note like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotLike(String value) { + addCriterion("note not like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteIn(List values) { + addCriterion("note in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotIn(List values) { + addCriterion("note not in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteBetween(String value1, String value2) { + addCriterion("note between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotBetween(String value1, String value2) { + addCriterion("note not between", value1, value2, "note"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLoginLog.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLoginLog.java new file mode 100644 index 0000000..1dffb73 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLoginLog.java @@ -0,0 +1,101 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class UmsMemberLoginLog implements Serializable { + private Long id; + + private Long memberId; + + private Date createTime; + + private String ip; + + private String city; + + /** + * 登录类型:0->PC;1->android;2->ios;3->小程序 + * + * @mbggenerated + */ + private Integer loginType; + + private String province; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public Integer getLoginType() { + return loginType; + } + + public void setLoginType(Integer loginType) { + this.loginType = loginType; + } + + public String getProvince() { + return province; + } + + public void setProvince(String province) { + this.province = province; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", createTime=").append(createTime); + sb.append(", ip=").append(ip); + sb.append(", city=").append(city); + sb.append(", loginType=").append(loginType); + sb.append(", province=").append(province); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLoginLogExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLoginLogExample.java new file mode 100644 index 0000000..fff95f8 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberLoginLogExample.java @@ -0,0 +1,651 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsMemberLoginLogExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberLoginLogExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andIpIsNull() { + addCriterion("ip is null"); + return (Criteria) this; + } + + public Criteria andIpIsNotNull() { + addCriterion("ip is not null"); + return (Criteria) this; + } + + public Criteria andIpEqualTo(String value) { + addCriterion("ip =", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotEqualTo(String value) { + addCriterion("ip <>", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpGreaterThan(String value) { + addCriterion("ip >", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpGreaterThanOrEqualTo(String value) { + addCriterion("ip >=", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpLessThan(String value) { + addCriterion("ip <", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpLessThanOrEqualTo(String value) { + addCriterion("ip <=", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpLike(String value) { + addCriterion("ip like", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotLike(String value) { + addCriterion("ip not like", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpIn(List values) { + addCriterion("ip in", values, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotIn(List values) { + addCriterion("ip not in", values, "ip"); + return (Criteria) this; + } + + public Criteria andIpBetween(String value1, String value2) { + addCriterion("ip between", value1, value2, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotBetween(String value1, String value2) { + addCriterion("ip not between", value1, value2, "ip"); + return (Criteria) this; + } + + public Criteria andCityIsNull() { + addCriterion("city is null"); + return (Criteria) this; + } + + public Criteria andCityIsNotNull() { + addCriterion("city is not null"); + return (Criteria) this; + } + + public Criteria andCityEqualTo(String value) { + addCriterion("city =", value, "city"); + return (Criteria) this; + } + + public Criteria andCityNotEqualTo(String value) { + addCriterion("city <>", value, "city"); + return (Criteria) this; + } + + public Criteria andCityGreaterThan(String value) { + addCriterion("city >", value, "city"); + return (Criteria) this; + } + + public Criteria andCityGreaterThanOrEqualTo(String value) { + addCriterion("city >=", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLessThan(String value) { + addCriterion("city <", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLessThanOrEqualTo(String value) { + addCriterion("city <=", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLike(String value) { + addCriterion("city like", value, "city"); + return (Criteria) this; + } + + public Criteria andCityNotLike(String value) { + addCriterion("city not like", value, "city"); + return (Criteria) this; + } + + public Criteria andCityIn(List values) { + addCriterion("city in", values, "city"); + return (Criteria) this; + } + + public Criteria andCityNotIn(List values) { + addCriterion("city not in", values, "city"); + return (Criteria) this; + } + + public Criteria andCityBetween(String value1, String value2) { + addCriterion("city between", value1, value2, "city"); + return (Criteria) this; + } + + public Criteria andCityNotBetween(String value1, String value2) { + addCriterion("city not between", value1, value2, "city"); + return (Criteria) this; + } + + public Criteria andLoginTypeIsNull() { + addCriterion("login_type is null"); + return (Criteria) this; + } + + public Criteria andLoginTypeIsNotNull() { + addCriterion("login_type is not null"); + return (Criteria) this; + } + + public Criteria andLoginTypeEqualTo(Integer value) { + addCriterion("login_type =", value, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeNotEqualTo(Integer value) { + addCriterion("login_type <>", value, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeGreaterThan(Integer value) { + addCriterion("login_type >", value, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("login_type >=", value, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeLessThan(Integer value) { + addCriterion("login_type <", value, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeLessThanOrEqualTo(Integer value) { + addCriterion("login_type <=", value, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeIn(List values) { + addCriterion("login_type in", values, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeNotIn(List values) { + addCriterion("login_type not in", values, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeBetween(Integer value1, Integer value2) { + addCriterion("login_type between", value1, value2, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeNotBetween(Integer value1, Integer value2) { + addCriterion("login_type not between", value1, value2, "loginType"); + return (Criteria) this; + } + + public Criteria andProvinceIsNull() { + addCriterion("province is null"); + return (Criteria) this; + } + + public Criteria andProvinceIsNotNull() { + addCriterion("province is not null"); + return (Criteria) this; + } + + public Criteria andProvinceEqualTo(String value) { + addCriterion("province =", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotEqualTo(String value) { + addCriterion("province <>", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceGreaterThan(String value) { + addCriterion("province >", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceGreaterThanOrEqualTo(String value) { + addCriterion("province >=", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceLessThan(String value) { + addCriterion("province <", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceLessThanOrEqualTo(String value) { + addCriterion("province <=", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceLike(String value) { + addCriterion("province like", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotLike(String value) { + addCriterion("province not like", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceIn(List values) { + addCriterion("province in", values, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotIn(List values) { + addCriterion("province not in", values, "province"); + return (Criteria) this; + } + + public Criteria andProvinceBetween(String value1, String value2) { + addCriterion("province between", value1, value2, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotBetween(String value1, String value2) { + addCriterion("province not between", value1, value2, "province"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberMemberTagRelation.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberMemberTagRelation.java new file mode 100644 index 0000000..44a31d3 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberMemberTagRelation.java @@ -0,0 +1,51 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class UmsMemberMemberTagRelation implements Serializable { + private Long id; + + private Long memberId; + + private Long tagId; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public Long getTagId() { + return tagId; + } + + public void setTagId(Long tagId) { + this.tagId = tagId; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", tagId=").append(tagId); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberMemberTagRelationExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberMemberTagRelationExample.java new file mode 100644 index 0000000..bb48b98 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberMemberTagRelationExample.java @@ -0,0 +1,380 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class UmsMemberMemberTagRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberMemberTagRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andTagIdIsNull() { + addCriterion("tag_id is null"); + return (Criteria) this; + } + + public Criteria andTagIdIsNotNull() { + addCriterion("tag_id is not null"); + return (Criteria) this; + } + + public Criteria andTagIdEqualTo(Long value) { + addCriterion("tag_id =", value, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdNotEqualTo(Long value) { + addCriterion("tag_id <>", value, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdGreaterThan(Long value) { + addCriterion("tag_id >", value, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdGreaterThanOrEqualTo(Long value) { + addCriterion("tag_id >=", value, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdLessThan(Long value) { + addCriterion("tag_id <", value, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdLessThanOrEqualTo(Long value) { + addCriterion("tag_id <=", value, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdIn(List values) { + addCriterion("tag_id in", values, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdNotIn(List values) { + addCriterion("tag_id not in", values, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdBetween(Long value1, Long value2) { + addCriterion("tag_id between", value1, value2, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdNotBetween(Long value1, Long value2) { + addCriterion("tag_id not between", value1, value2, "tagId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberProductCategoryRelation.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberProductCategoryRelation.java new file mode 100644 index 0000000..89768cd --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberProductCategoryRelation.java @@ -0,0 +1,51 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class UmsMemberProductCategoryRelation implements Serializable { + private Long id; + + private Long memberId; + + private Long productCategoryId; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public Long getProductCategoryId() { + return productCategoryId; + } + + public void setProductCategoryId(Long productCategoryId) { + this.productCategoryId = productCategoryId; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", productCategoryId=").append(productCategoryId); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberProductCategoryRelationExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberProductCategoryRelationExample.java new file mode 100644 index 0000000..5a00581 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberProductCategoryRelationExample.java @@ -0,0 +1,380 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class UmsMemberProductCategoryRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberProductCategoryRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNull() { + addCriterion("product_category_id is null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNotNull() { + addCriterion("product_category_id is not null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdEqualTo(Long value) { + addCriterion("product_category_id =", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotEqualTo(Long value) { + addCriterion("product_category_id <>", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThan(Long value) { + addCriterion("product_category_id >", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_category_id >=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThan(Long value) { + addCriterion("product_category_id <", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("product_category_id <=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIn(List values) { + addCriterion("product_category_id in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotIn(List values) { + addCriterion("product_category_id not in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdBetween(Long value1, Long value2) { + addCriterion("product_category_id between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("product_category_id not between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberReceiveAddress.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberReceiveAddress.java new file mode 100644 index 0000000..b19f7db --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberReceiveAddress.java @@ -0,0 +1,163 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class UmsMemberReceiveAddress implements Serializable { + private Long id; + + private Long memberId; + + /** + * 收货人名称 + * + * @mbggenerated + */ + private String name; + + private String phoneNumber; + + /** + * 是否为默认 + * + * @mbggenerated + */ + private Integer defaultStatus; + + /** + * 邮政编码 + * + * @mbggenerated + */ + private String postCode; + + /** + * 省份/直辖市 + * + * @mbggenerated + */ + private String province; + + /** + * 城市 + * + * @mbggenerated + */ + private String city; + + /** + * 区 + * + * @mbggenerated + */ + private String region; + + /** + * 详细地址(街道) + * + * @mbggenerated + */ + private String detailAddress; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getPhoneNumber() { + return phoneNumber; + } + + public void setPhoneNumber(String phoneNumber) { + this.phoneNumber = phoneNumber; + } + + public Integer getDefaultStatus() { + return defaultStatus; + } + + public void setDefaultStatus(Integer defaultStatus) { + this.defaultStatus = defaultStatus; + } + + public String getPostCode() { + return postCode; + } + + public void setPostCode(String postCode) { + this.postCode = postCode; + } + + public String getProvince() { + return province; + } + + public void setProvince(String province) { + this.province = province; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public String getRegion() { + return region; + } + + public void setRegion(String region) { + this.region = region; + } + + public String getDetailAddress() { + return detailAddress; + } + + public void setDetailAddress(String detailAddress) { + this.detailAddress = detailAddress; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", name=").append(name); + sb.append(", phoneNumber=").append(phoneNumber); + sb.append(", defaultStatus=").append(defaultStatus); + sb.append(", postCode=").append(postCode); + sb.append(", province=").append(province); + sb.append(", city=").append(city); + sb.append(", region=").append(region); + sb.append(", detailAddress=").append(detailAddress); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberReceiveAddressExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberReceiveAddressExample.java new file mode 100644 index 0000000..20ad275 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberReceiveAddressExample.java @@ -0,0 +1,870 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class UmsMemberReceiveAddressExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberReceiveAddressExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andPhoneNumberIsNull() { + addCriterion("phone_number is null"); + return (Criteria) this; + } + + public Criteria andPhoneNumberIsNotNull() { + addCriterion("phone_number is not null"); + return (Criteria) this; + } + + public Criteria andPhoneNumberEqualTo(String value) { + addCriterion("phone_number =", value, "phoneNumber"); + return (Criteria) this; + } + + public Criteria andPhoneNumberNotEqualTo(String value) { + addCriterion("phone_number <>", value, "phoneNumber"); + return (Criteria) this; + } + + public Criteria andPhoneNumberGreaterThan(String value) { + addCriterion("phone_number >", value, "phoneNumber"); + return (Criteria) this; + } + + public Criteria andPhoneNumberGreaterThanOrEqualTo(String value) { + addCriterion("phone_number >=", value, "phoneNumber"); + return (Criteria) this; + } + + public Criteria andPhoneNumberLessThan(String value) { + addCriterion("phone_number <", value, "phoneNumber"); + return (Criteria) this; + } + + public Criteria andPhoneNumberLessThanOrEqualTo(String value) { + addCriterion("phone_number <=", value, "phoneNumber"); + return (Criteria) this; + } + + public Criteria andPhoneNumberLike(String value) { + addCriterion("phone_number like", value, "phoneNumber"); + return (Criteria) this; + } + + public Criteria andPhoneNumberNotLike(String value) { + addCriterion("phone_number not like", value, "phoneNumber"); + return (Criteria) this; + } + + public Criteria andPhoneNumberIn(List values) { + addCriterion("phone_number in", values, "phoneNumber"); + return (Criteria) this; + } + + public Criteria andPhoneNumberNotIn(List values) { + addCriterion("phone_number not in", values, "phoneNumber"); + return (Criteria) this; + } + + public Criteria andPhoneNumberBetween(String value1, String value2) { + addCriterion("phone_number between", value1, value2, "phoneNumber"); + return (Criteria) this; + } + + public Criteria andPhoneNumberNotBetween(String value1, String value2) { + addCriterion("phone_number not between", value1, value2, "phoneNumber"); + return (Criteria) this; + } + + public Criteria andDefaultStatusIsNull() { + addCriterion("default_status is null"); + return (Criteria) this; + } + + public Criteria andDefaultStatusIsNotNull() { + addCriterion("default_status is not null"); + return (Criteria) this; + } + + public Criteria andDefaultStatusEqualTo(Integer value) { + addCriterion("default_status =", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusNotEqualTo(Integer value) { + addCriterion("default_status <>", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusGreaterThan(Integer value) { + addCriterion("default_status >", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("default_status >=", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusLessThan(Integer value) { + addCriterion("default_status <", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusLessThanOrEqualTo(Integer value) { + addCriterion("default_status <=", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusIn(List values) { + addCriterion("default_status in", values, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusNotIn(List values) { + addCriterion("default_status not in", values, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusBetween(Integer value1, Integer value2) { + addCriterion("default_status between", value1, value2, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusNotBetween(Integer value1, Integer value2) { + addCriterion("default_status not between", value1, value2, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andPostCodeIsNull() { + addCriterion("post_code is null"); + return (Criteria) this; + } + + public Criteria andPostCodeIsNotNull() { + addCriterion("post_code is not null"); + return (Criteria) this; + } + + public Criteria andPostCodeEqualTo(String value) { + addCriterion("post_code =", value, "postCode"); + return (Criteria) this; + } + + public Criteria andPostCodeNotEqualTo(String value) { + addCriterion("post_code <>", value, "postCode"); + return (Criteria) this; + } + + public Criteria andPostCodeGreaterThan(String value) { + addCriterion("post_code >", value, "postCode"); + return (Criteria) this; + } + + public Criteria andPostCodeGreaterThanOrEqualTo(String value) { + addCriterion("post_code >=", value, "postCode"); + return (Criteria) this; + } + + public Criteria andPostCodeLessThan(String value) { + addCriterion("post_code <", value, "postCode"); + return (Criteria) this; + } + + public Criteria andPostCodeLessThanOrEqualTo(String value) { + addCriterion("post_code <=", value, "postCode"); + return (Criteria) this; + } + + public Criteria andPostCodeLike(String value) { + addCriterion("post_code like", value, "postCode"); + return (Criteria) this; + } + + public Criteria andPostCodeNotLike(String value) { + addCriterion("post_code not like", value, "postCode"); + return (Criteria) this; + } + + public Criteria andPostCodeIn(List values) { + addCriterion("post_code in", values, "postCode"); + return (Criteria) this; + } + + public Criteria andPostCodeNotIn(List values) { + addCriterion("post_code not in", values, "postCode"); + return (Criteria) this; + } + + public Criteria andPostCodeBetween(String value1, String value2) { + addCriterion("post_code between", value1, value2, "postCode"); + return (Criteria) this; + } + + public Criteria andPostCodeNotBetween(String value1, String value2) { + addCriterion("post_code not between", value1, value2, "postCode"); + return (Criteria) this; + } + + public Criteria andProvinceIsNull() { + addCriterion("province is null"); + return (Criteria) this; + } + + public Criteria andProvinceIsNotNull() { + addCriterion("province is not null"); + return (Criteria) this; + } + + public Criteria andProvinceEqualTo(String value) { + addCriterion("province =", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotEqualTo(String value) { + addCriterion("province <>", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceGreaterThan(String value) { + addCriterion("province >", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceGreaterThanOrEqualTo(String value) { + addCriterion("province >=", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceLessThan(String value) { + addCriterion("province <", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceLessThanOrEqualTo(String value) { + addCriterion("province <=", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceLike(String value) { + addCriterion("province like", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotLike(String value) { + addCriterion("province not like", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceIn(List values) { + addCriterion("province in", values, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotIn(List values) { + addCriterion("province not in", values, "province"); + return (Criteria) this; + } + + public Criteria andProvinceBetween(String value1, String value2) { + addCriterion("province between", value1, value2, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotBetween(String value1, String value2) { + addCriterion("province not between", value1, value2, "province"); + return (Criteria) this; + } + + public Criteria andCityIsNull() { + addCriterion("city is null"); + return (Criteria) this; + } + + public Criteria andCityIsNotNull() { + addCriterion("city is not null"); + return (Criteria) this; + } + + public Criteria andCityEqualTo(String value) { + addCriterion("city =", value, "city"); + return (Criteria) this; + } + + public Criteria andCityNotEqualTo(String value) { + addCriterion("city <>", value, "city"); + return (Criteria) this; + } + + public Criteria andCityGreaterThan(String value) { + addCriterion("city >", value, "city"); + return (Criteria) this; + } + + public Criteria andCityGreaterThanOrEqualTo(String value) { + addCriterion("city >=", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLessThan(String value) { + addCriterion("city <", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLessThanOrEqualTo(String value) { + addCriterion("city <=", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLike(String value) { + addCriterion("city like", value, "city"); + return (Criteria) this; + } + + public Criteria andCityNotLike(String value) { + addCriterion("city not like", value, "city"); + return (Criteria) this; + } + + public Criteria andCityIn(List values) { + addCriterion("city in", values, "city"); + return (Criteria) this; + } + + public Criteria andCityNotIn(List values) { + addCriterion("city not in", values, "city"); + return (Criteria) this; + } + + public Criteria andCityBetween(String value1, String value2) { + addCriterion("city between", value1, value2, "city"); + return (Criteria) this; + } + + public Criteria andCityNotBetween(String value1, String value2) { + addCriterion("city not between", value1, value2, "city"); + return (Criteria) this; + } + + public Criteria andRegionIsNull() { + addCriterion("region is null"); + return (Criteria) this; + } + + public Criteria andRegionIsNotNull() { + addCriterion("region is not null"); + return (Criteria) this; + } + + public Criteria andRegionEqualTo(String value) { + addCriterion("region =", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionNotEqualTo(String value) { + addCriterion("region <>", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionGreaterThan(String value) { + addCriterion("region >", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionGreaterThanOrEqualTo(String value) { + addCriterion("region >=", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionLessThan(String value) { + addCriterion("region <", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionLessThanOrEqualTo(String value) { + addCriterion("region <=", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionLike(String value) { + addCriterion("region like", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionNotLike(String value) { + addCriterion("region not like", value, "region"); + return (Criteria) this; + } + + public Criteria andRegionIn(List values) { + addCriterion("region in", values, "region"); + return (Criteria) this; + } + + public Criteria andRegionNotIn(List values) { + addCriterion("region not in", values, "region"); + return (Criteria) this; + } + + public Criteria andRegionBetween(String value1, String value2) { + addCriterion("region between", value1, value2, "region"); + return (Criteria) this; + } + + public Criteria andRegionNotBetween(String value1, String value2) { + addCriterion("region not between", value1, value2, "region"); + return (Criteria) this; + } + + public Criteria andDetailAddressIsNull() { + addCriterion("detail_address is null"); + return (Criteria) this; + } + + public Criteria andDetailAddressIsNotNull() { + addCriterion("detail_address is not null"); + return (Criteria) this; + } + + public Criteria andDetailAddressEqualTo(String value) { + addCriterion("detail_address =", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressNotEqualTo(String value) { + addCriterion("detail_address <>", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressGreaterThan(String value) { + addCriterion("detail_address >", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressGreaterThanOrEqualTo(String value) { + addCriterion("detail_address >=", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressLessThan(String value) { + addCriterion("detail_address <", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressLessThanOrEqualTo(String value) { + addCriterion("detail_address <=", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressLike(String value) { + addCriterion("detail_address like", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressNotLike(String value) { + addCriterion("detail_address not like", value, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressIn(List values) { + addCriterion("detail_address in", values, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressNotIn(List values) { + addCriterion("detail_address not in", values, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressBetween(String value1, String value2) { + addCriterion("detail_address between", value1, value2, "detailAddress"); + return (Criteria) this; + } + + public Criteria andDetailAddressNotBetween(String value1, String value2) { + addCriterion("detail_address not between", value1, value2, "detailAddress"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberRuleSetting.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberRuleSetting.java new file mode 100644 index 0000000..dcf8447 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberRuleSetting.java @@ -0,0 +1,126 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class UmsMemberRuleSetting implements Serializable { + private Long id; + + /** + * 连续签到天数 + * + * @mbggenerated + */ + private Integer continueSignDay; + + /** + * 连续签到赠送数量 + * + * @mbggenerated + */ + private Integer continueSignPoint; + + /** + * 每消费多少元获取1个点 + * + * @mbggenerated + */ + private BigDecimal consumePerPoint; + + /** + * 最低获取点数的订单金额 + * + * @mbggenerated + */ + private BigDecimal lowOrderAmount; + + /** + * 每笔订单最高获取点数 + * + * @mbggenerated + */ + private Integer maxPointPerOrder; + + /** + * 类型:0->积分规则;1->成长值规则 + * + * @mbggenerated + */ + private Integer type; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Integer getContinueSignDay() { + return continueSignDay; + } + + public void setContinueSignDay(Integer continueSignDay) { + this.continueSignDay = continueSignDay; + } + + public Integer getContinueSignPoint() { + return continueSignPoint; + } + + public void setContinueSignPoint(Integer continueSignPoint) { + this.continueSignPoint = continueSignPoint; + } + + public BigDecimal getConsumePerPoint() { + return consumePerPoint; + } + + public void setConsumePerPoint(BigDecimal consumePerPoint) { + this.consumePerPoint = consumePerPoint; + } + + public BigDecimal getLowOrderAmount() { + return lowOrderAmount; + } + + public void setLowOrderAmount(BigDecimal lowOrderAmount) { + this.lowOrderAmount = lowOrderAmount; + } + + public Integer getMaxPointPerOrder() { + return maxPointPerOrder; + } + + public void setMaxPointPerOrder(Integer maxPointPerOrder) { + this.maxPointPerOrder = maxPointPerOrder; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", continueSignDay=").append(continueSignDay); + sb.append(", continueSignPoint=").append(continueSignPoint); + sb.append(", consumePerPoint=").append(consumePerPoint); + sb.append(", lowOrderAmount=").append(lowOrderAmount); + sb.append(", maxPointPerOrder=").append(maxPointPerOrder); + sb.append(", type=").append(type); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberRuleSettingExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberRuleSettingExample.java new file mode 100644 index 0000000..fe4ecac --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberRuleSettingExample.java @@ -0,0 +1,621 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class UmsMemberRuleSettingExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberRuleSettingExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andContinueSignDayIsNull() { + addCriterion("continue_sign_day is null"); + return (Criteria) this; + } + + public Criteria andContinueSignDayIsNotNull() { + addCriterion("continue_sign_day is not null"); + return (Criteria) this; + } + + public Criteria andContinueSignDayEqualTo(Integer value) { + addCriterion("continue_sign_day =", value, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayNotEqualTo(Integer value) { + addCriterion("continue_sign_day <>", value, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayGreaterThan(Integer value) { + addCriterion("continue_sign_day >", value, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayGreaterThanOrEqualTo(Integer value) { + addCriterion("continue_sign_day >=", value, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayLessThan(Integer value) { + addCriterion("continue_sign_day <", value, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayLessThanOrEqualTo(Integer value) { + addCriterion("continue_sign_day <=", value, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayIn(List values) { + addCriterion("continue_sign_day in", values, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayNotIn(List values) { + addCriterion("continue_sign_day not in", values, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayBetween(Integer value1, Integer value2) { + addCriterion("continue_sign_day between", value1, value2, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayNotBetween(Integer value1, Integer value2) { + addCriterion("continue_sign_day not between", value1, value2, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignPointIsNull() { + addCriterion("continue_sign_point is null"); + return (Criteria) this; + } + + public Criteria andContinueSignPointIsNotNull() { + addCriterion("continue_sign_point is not null"); + return (Criteria) this; + } + + public Criteria andContinueSignPointEqualTo(Integer value) { + addCriterion("continue_sign_point =", value, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointNotEqualTo(Integer value) { + addCriterion("continue_sign_point <>", value, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointGreaterThan(Integer value) { + addCriterion("continue_sign_point >", value, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointGreaterThanOrEqualTo(Integer value) { + addCriterion("continue_sign_point >=", value, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointLessThan(Integer value) { + addCriterion("continue_sign_point <", value, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointLessThanOrEqualTo(Integer value) { + addCriterion("continue_sign_point <=", value, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointIn(List values) { + addCriterion("continue_sign_point in", values, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointNotIn(List values) { + addCriterion("continue_sign_point not in", values, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointBetween(Integer value1, Integer value2) { + addCriterion("continue_sign_point between", value1, value2, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointNotBetween(Integer value1, Integer value2) { + addCriterion("continue_sign_point not between", value1, value2, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointIsNull() { + addCriterion("consume_per_point is null"); + return (Criteria) this; + } + + public Criteria andConsumePerPointIsNotNull() { + addCriterion("consume_per_point is not null"); + return (Criteria) this; + } + + public Criteria andConsumePerPointEqualTo(BigDecimal value) { + addCriterion("consume_per_point =", value, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointNotEqualTo(BigDecimal value) { + addCriterion("consume_per_point <>", value, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointGreaterThan(BigDecimal value) { + addCriterion("consume_per_point >", value, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("consume_per_point >=", value, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointLessThan(BigDecimal value) { + addCriterion("consume_per_point <", value, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointLessThanOrEqualTo(BigDecimal value) { + addCriterion("consume_per_point <=", value, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointIn(List values) { + addCriterion("consume_per_point in", values, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointNotIn(List values) { + addCriterion("consume_per_point not in", values, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("consume_per_point between", value1, value2, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("consume_per_point not between", value1, value2, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountIsNull() { + addCriterion("low_order_amount is null"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountIsNotNull() { + addCriterion("low_order_amount is not null"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountEqualTo(BigDecimal value) { + addCriterion("low_order_amount =", value, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountNotEqualTo(BigDecimal value) { + addCriterion("low_order_amount <>", value, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountGreaterThan(BigDecimal value) { + addCriterion("low_order_amount >", value, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("low_order_amount >=", value, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountLessThan(BigDecimal value) { + addCriterion("low_order_amount <", value, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("low_order_amount <=", value, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountIn(List values) { + addCriterion("low_order_amount in", values, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountNotIn(List values) { + addCriterion("low_order_amount not in", values, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("low_order_amount between", value1, value2, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("low_order_amount not between", value1, value2, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderIsNull() { + addCriterion("max_point_per_order is null"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderIsNotNull() { + addCriterion("max_point_per_order is not null"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderEqualTo(Integer value) { + addCriterion("max_point_per_order =", value, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderNotEqualTo(Integer value) { + addCriterion("max_point_per_order <>", value, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderGreaterThan(Integer value) { + addCriterion("max_point_per_order >", value, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderGreaterThanOrEqualTo(Integer value) { + addCriterion("max_point_per_order >=", value, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderLessThan(Integer value) { + addCriterion("max_point_per_order <", value, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderLessThanOrEqualTo(Integer value) { + addCriterion("max_point_per_order <=", value, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderIn(List values) { + addCriterion("max_point_per_order in", values, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderNotIn(List values) { + addCriterion("max_point_per_order not in", values, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderBetween(Integer value1, Integer value2) { + addCriterion("max_point_per_order between", value1, value2, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderNotBetween(Integer value1, Integer value2) { + addCriterion("max_point_per_order not between", value1, value2, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberStatisticsInfo.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberStatisticsInfo.java new file mode 100644 index 0000000..ccaedc0 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberStatisticsInfo.java @@ -0,0 +1,241 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class UmsMemberStatisticsInfo implements Serializable { + private Long id; + + private Long memberId; + + /** + * 累计消费金额 + * + * @mbggenerated + */ + private BigDecimal consumeAmount; + + /** + * 订单数量 + * + * @mbggenerated + */ + private Integer orderCount; + + /** + * 优惠券数量 + * + * @mbggenerated + */ + private Integer couponCount; + + /** + * 评价数 + * + * @mbggenerated + */ + private Integer commentCount; + + /** + * 退货数量 + * + * @mbggenerated + */ + private Integer returnOrderCount; + + /** + * 登录次数 + * + * @mbggenerated + */ + private Integer loginCount; + + /** + * 关注数量 + * + * @mbggenerated + */ + private Integer attendCount; + + /** + * 粉丝数量 + * + * @mbggenerated + */ + private Integer fansCount; + + private Integer collectProductCount; + + private Integer collectSubjectCount; + + private Integer collectTopicCount; + + private Integer collectCommentCount; + + private Integer inviteFriendCount; + + /** + * 最后一次下订单时间 + * + * @mbggenerated + */ + private Date recentOrderTime; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public BigDecimal getConsumeAmount() { + return consumeAmount; + } + + public void setConsumeAmount(BigDecimal consumeAmount) { + this.consumeAmount = consumeAmount; + } + + public Integer getOrderCount() { + return orderCount; + } + + public void setOrderCount(Integer orderCount) { + this.orderCount = orderCount; + } + + public Integer getCouponCount() { + return couponCount; + } + + public void setCouponCount(Integer couponCount) { + this.couponCount = couponCount; + } + + public Integer getCommentCount() { + return commentCount; + } + + public void setCommentCount(Integer commentCount) { + this.commentCount = commentCount; + } + + public Integer getReturnOrderCount() { + return returnOrderCount; + } + + public void setReturnOrderCount(Integer returnOrderCount) { + this.returnOrderCount = returnOrderCount; + } + + public Integer getLoginCount() { + return loginCount; + } + + public void setLoginCount(Integer loginCount) { + this.loginCount = loginCount; + } + + public Integer getAttendCount() { + return attendCount; + } + + public void setAttendCount(Integer attendCount) { + this.attendCount = attendCount; + } + + public Integer getFansCount() { + return fansCount; + } + + public void setFansCount(Integer fansCount) { + this.fansCount = fansCount; + } + + public Integer getCollectProductCount() { + return collectProductCount; + } + + public void setCollectProductCount(Integer collectProductCount) { + this.collectProductCount = collectProductCount; + } + + public Integer getCollectSubjectCount() { + return collectSubjectCount; + } + + public void setCollectSubjectCount(Integer collectSubjectCount) { + this.collectSubjectCount = collectSubjectCount; + } + + public Integer getCollectTopicCount() { + return collectTopicCount; + } + + public void setCollectTopicCount(Integer collectTopicCount) { + this.collectTopicCount = collectTopicCount; + } + + public Integer getCollectCommentCount() { + return collectCommentCount; + } + + public void setCollectCommentCount(Integer collectCommentCount) { + this.collectCommentCount = collectCommentCount; + } + + public Integer getInviteFriendCount() { + return inviteFriendCount; + } + + public void setInviteFriendCount(Integer inviteFriendCount) { + this.inviteFriendCount = inviteFriendCount; + } + + public Date getRecentOrderTime() { + return recentOrderTime; + } + + public void setRecentOrderTime(Date recentOrderTime) { + this.recentOrderTime = recentOrderTime; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", consumeAmount=").append(consumeAmount); + sb.append(", orderCount=").append(orderCount); + sb.append(", couponCount=").append(couponCount); + sb.append(", commentCount=").append(commentCount); + sb.append(", returnOrderCount=").append(returnOrderCount); + sb.append(", loginCount=").append(loginCount); + sb.append(", attendCount=").append(attendCount); + sb.append(", fansCount=").append(fansCount); + sb.append(", collectProductCount=").append(collectProductCount); + sb.append(", collectSubjectCount=").append(collectSubjectCount); + sb.append(", collectTopicCount=").append(collectTopicCount); + sb.append(", collectCommentCount=").append(collectCommentCount); + sb.append(", inviteFriendCount=").append(inviteFriendCount); + sb.append(", recentOrderTime=").append(recentOrderTime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberStatisticsInfoExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberStatisticsInfoExample.java new file mode 100644 index 0000000..14a7e24 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberStatisticsInfoExample.java @@ -0,0 +1,1162 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsMemberStatisticsInfoExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberStatisticsInfoExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andConsumeAmountIsNull() { + addCriterion("consume_amount is null"); + return (Criteria) this; + } + + public Criteria andConsumeAmountIsNotNull() { + addCriterion("consume_amount is not null"); + return (Criteria) this; + } + + public Criteria andConsumeAmountEqualTo(BigDecimal value) { + addCriterion("consume_amount =", value, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountNotEqualTo(BigDecimal value) { + addCriterion("consume_amount <>", value, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountGreaterThan(BigDecimal value) { + addCriterion("consume_amount >", value, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("consume_amount >=", value, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountLessThan(BigDecimal value) { + addCriterion("consume_amount <", value, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("consume_amount <=", value, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountIn(List values) { + addCriterion("consume_amount in", values, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountNotIn(List values) { + addCriterion("consume_amount not in", values, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("consume_amount between", value1, value2, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("consume_amount not between", value1, value2, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andOrderCountIsNull() { + addCriterion("order_count is null"); + return (Criteria) this; + } + + public Criteria andOrderCountIsNotNull() { + addCriterion("order_count is not null"); + return (Criteria) this; + } + + public Criteria andOrderCountEqualTo(Integer value) { + addCriterion("order_count =", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountNotEqualTo(Integer value) { + addCriterion("order_count <>", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountGreaterThan(Integer value) { + addCriterion("order_count >", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountGreaterThanOrEqualTo(Integer value) { + addCriterion("order_count >=", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountLessThan(Integer value) { + addCriterion("order_count <", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountLessThanOrEqualTo(Integer value) { + addCriterion("order_count <=", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountIn(List values) { + addCriterion("order_count in", values, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountNotIn(List values) { + addCriterion("order_count not in", values, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountBetween(Integer value1, Integer value2) { + addCriterion("order_count between", value1, value2, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountNotBetween(Integer value1, Integer value2) { + addCriterion("order_count not between", value1, value2, "orderCount"); + return (Criteria) this; + } + + public Criteria andCouponCountIsNull() { + addCriterion("coupon_count is null"); + return (Criteria) this; + } + + public Criteria andCouponCountIsNotNull() { + addCriterion("coupon_count is not null"); + return (Criteria) this; + } + + public Criteria andCouponCountEqualTo(Integer value) { + addCriterion("coupon_count =", value, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountNotEqualTo(Integer value) { + addCriterion("coupon_count <>", value, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountGreaterThan(Integer value) { + addCriterion("coupon_count >", value, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountGreaterThanOrEqualTo(Integer value) { + addCriterion("coupon_count >=", value, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountLessThan(Integer value) { + addCriterion("coupon_count <", value, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountLessThanOrEqualTo(Integer value) { + addCriterion("coupon_count <=", value, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountIn(List values) { + addCriterion("coupon_count in", values, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountNotIn(List values) { + addCriterion("coupon_count not in", values, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountBetween(Integer value1, Integer value2) { + addCriterion("coupon_count between", value1, value2, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountNotBetween(Integer value1, Integer value2) { + addCriterion("coupon_count not between", value1, value2, "couponCount"); + return (Criteria) this; + } + + public Criteria andCommentCountIsNull() { + addCriterion("comment_count is null"); + return (Criteria) this; + } + + public Criteria andCommentCountIsNotNull() { + addCriterion("comment_count is not null"); + return (Criteria) this; + } + + public Criteria andCommentCountEqualTo(Integer value) { + addCriterion("comment_count =", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountNotEqualTo(Integer value) { + addCriterion("comment_count <>", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountGreaterThan(Integer value) { + addCriterion("comment_count >", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountGreaterThanOrEqualTo(Integer value) { + addCriterion("comment_count >=", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountLessThan(Integer value) { + addCriterion("comment_count <", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountLessThanOrEqualTo(Integer value) { + addCriterion("comment_count <=", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountIn(List values) { + addCriterion("comment_count in", values, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountNotIn(List values) { + addCriterion("comment_count not in", values, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountBetween(Integer value1, Integer value2) { + addCriterion("comment_count between", value1, value2, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountNotBetween(Integer value1, Integer value2) { + addCriterion("comment_count not between", value1, value2, "commentCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountIsNull() { + addCriterion("return_order_count is null"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountIsNotNull() { + addCriterion("return_order_count is not null"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountEqualTo(Integer value) { + addCriterion("return_order_count =", value, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountNotEqualTo(Integer value) { + addCriterion("return_order_count <>", value, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountGreaterThan(Integer value) { + addCriterion("return_order_count >", value, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountGreaterThanOrEqualTo(Integer value) { + addCriterion("return_order_count >=", value, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountLessThan(Integer value) { + addCriterion("return_order_count <", value, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountLessThanOrEqualTo(Integer value) { + addCriterion("return_order_count <=", value, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountIn(List values) { + addCriterion("return_order_count in", values, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountNotIn(List values) { + addCriterion("return_order_count not in", values, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountBetween(Integer value1, Integer value2) { + addCriterion("return_order_count between", value1, value2, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountNotBetween(Integer value1, Integer value2) { + addCriterion("return_order_count not between", value1, value2, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andLoginCountIsNull() { + addCriterion("login_count is null"); + return (Criteria) this; + } + + public Criteria andLoginCountIsNotNull() { + addCriterion("login_count is not null"); + return (Criteria) this; + } + + public Criteria andLoginCountEqualTo(Integer value) { + addCriterion("login_count =", value, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountNotEqualTo(Integer value) { + addCriterion("login_count <>", value, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountGreaterThan(Integer value) { + addCriterion("login_count >", value, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountGreaterThanOrEqualTo(Integer value) { + addCriterion("login_count >=", value, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountLessThan(Integer value) { + addCriterion("login_count <", value, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountLessThanOrEqualTo(Integer value) { + addCriterion("login_count <=", value, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountIn(List values) { + addCriterion("login_count in", values, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountNotIn(List values) { + addCriterion("login_count not in", values, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountBetween(Integer value1, Integer value2) { + addCriterion("login_count between", value1, value2, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountNotBetween(Integer value1, Integer value2) { + addCriterion("login_count not between", value1, value2, "loginCount"); + return (Criteria) this; + } + + public Criteria andAttendCountIsNull() { + addCriterion("attend_count is null"); + return (Criteria) this; + } + + public Criteria andAttendCountIsNotNull() { + addCriterion("attend_count is not null"); + return (Criteria) this; + } + + public Criteria andAttendCountEqualTo(Integer value) { + addCriterion("attend_count =", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountNotEqualTo(Integer value) { + addCriterion("attend_count <>", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountGreaterThan(Integer value) { + addCriterion("attend_count >", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountGreaterThanOrEqualTo(Integer value) { + addCriterion("attend_count >=", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountLessThan(Integer value) { + addCriterion("attend_count <", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountLessThanOrEqualTo(Integer value) { + addCriterion("attend_count <=", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountIn(List values) { + addCriterion("attend_count in", values, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountNotIn(List values) { + addCriterion("attend_count not in", values, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountBetween(Integer value1, Integer value2) { + addCriterion("attend_count between", value1, value2, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountNotBetween(Integer value1, Integer value2) { + addCriterion("attend_count not between", value1, value2, "attendCount"); + return (Criteria) this; + } + + public Criteria andFansCountIsNull() { + addCriterion("fans_count is null"); + return (Criteria) this; + } + + public Criteria andFansCountIsNotNull() { + addCriterion("fans_count is not null"); + return (Criteria) this; + } + + public Criteria andFansCountEqualTo(Integer value) { + addCriterion("fans_count =", value, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountNotEqualTo(Integer value) { + addCriterion("fans_count <>", value, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountGreaterThan(Integer value) { + addCriterion("fans_count >", value, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountGreaterThanOrEqualTo(Integer value) { + addCriterion("fans_count >=", value, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountLessThan(Integer value) { + addCriterion("fans_count <", value, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountLessThanOrEqualTo(Integer value) { + addCriterion("fans_count <=", value, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountIn(List values) { + addCriterion("fans_count in", values, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountNotIn(List values) { + addCriterion("fans_count not in", values, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountBetween(Integer value1, Integer value2) { + addCriterion("fans_count between", value1, value2, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountNotBetween(Integer value1, Integer value2) { + addCriterion("fans_count not between", value1, value2, "fansCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountIsNull() { + addCriterion("collect_product_count is null"); + return (Criteria) this; + } + + public Criteria andCollectProductCountIsNotNull() { + addCriterion("collect_product_count is not null"); + return (Criteria) this; + } + + public Criteria andCollectProductCountEqualTo(Integer value) { + addCriterion("collect_product_count =", value, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountNotEqualTo(Integer value) { + addCriterion("collect_product_count <>", value, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountGreaterThan(Integer value) { + addCriterion("collect_product_count >", value, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountGreaterThanOrEqualTo(Integer value) { + addCriterion("collect_product_count >=", value, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountLessThan(Integer value) { + addCriterion("collect_product_count <", value, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountLessThanOrEqualTo(Integer value) { + addCriterion("collect_product_count <=", value, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountIn(List values) { + addCriterion("collect_product_count in", values, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountNotIn(List values) { + addCriterion("collect_product_count not in", values, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountBetween(Integer value1, Integer value2) { + addCriterion("collect_product_count between", value1, value2, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountNotBetween(Integer value1, Integer value2) { + addCriterion("collect_product_count not between", value1, value2, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountIsNull() { + addCriterion("collect_subject_count is null"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountIsNotNull() { + addCriterion("collect_subject_count is not null"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountEqualTo(Integer value) { + addCriterion("collect_subject_count =", value, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountNotEqualTo(Integer value) { + addCriterion("collect_subject_count <>", value, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountGreaterThan(Integer value) { + addCriterion("collect_subject_count >", value, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountGreaterThanOrEqualTo(Integer value) { + addCriterion("collect_subject_count >=", value, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountLessThan(Integer value) { + addCriterion("collect_subject_count <", value, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountLessThanOrEqualTo(Integer value) { + addCriterion("collect_subject_count <=", value, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountIn(List values) { + addCriterion("collect_subject_count in", values, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountNotIn(List values) { + addCriterion("collect_subject_count not in", values, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountBetween(Integer value1, Integer value2) { + addCriterion("collect_subject_count between", value1, value2, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountNotBetween(Integer value1, Integer value2) { + addCriterion("collect_subject_count not between", value1, value2, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountIsNull() { + addCriterion("collect_topic_count is null"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountIsNotNull() { + addCriterion("collect_topic_count is not null"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountEqualTo(Integer value) { + addCriterion("collect_topic_count =", value, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountNotEqualTo(Integer value) { + addCriterion("collect_topic_count <>", value, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountGreaterThan(Integer value) { + addCriterion("collect_topic_count >", value, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountGreaterThanOrEqualTo(Integer value) { + addCriterion("collect_topic_count >=", value, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountLessThan(Integer value) { + addCriterion("collect_topic_count <", value, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountLessThanOrEqualTo(Integer value) { + addCriterion("collect_topic_count <=", value, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountIn(List values) { + addCriterion("collect_topic_count in", values, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountNotIn(List values) { + addCriterion("collect_topic_count not in", values, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountBetween(Integer value1, Integer value2) { + addCriterion("collect_topic_count between", value1, value2, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountNotBetween(Integer value1, Integer value2) { + addCriterion("collect_topic_count not between", value1, value2, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountIsNull() { + addCriterion("collect_comment_count is null"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountIsNotNull() { + addCriterion("collect_comment_count is not null"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountEqualTo(Integer value) { + addCriterion("collect_comment_count =", value, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountNotEqualTo(Integer value) { + addCriterion("collect_comment_count <>", value, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountGreaterThan(Integer value) { + addCriterion("collect_comment_count >", value, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountGreaterThanOrEqualTo(Integer value) { + addCriterion("collect_comment_count >=", value, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountLessThan(Integer value) { + addCriterion("collect_comment_count <", value, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountLessThanOrEqualTo(Integer value) { + addCriterion("collect_comment_count <=", value, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountIn(List values) { + addCriterion("collect_comment_count in", values, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountNotIn(List values) { + addCriterion("collect_comment_count not in", values, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountBetween(Integer value1, Integer value2) { + addCriterion("collect_comment_count between", value1, value2, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountNotBetween(Integer value1, Integer value2) { + addCriterion("collect_comment_count not between", value1, value2, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountIsNull() { + addCriterion("invite_friend_count is null"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountIsNotNull() { + addCriterion("invite_friend_count is not null"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountEqualTo(Integer value) { + addCriterion("invite_friend_count =", value, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountNotEqualTo(Integer value) { + addCriterion("invite_friend_count <>", value, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountGreaterThan(Integer value) { + addCriterion("invite_friend_count >", value, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountGreaterThanOrEqualTo(Integer value) { + addCriterion("invite_friend_count >=", value, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountLessThan(Integer value) { + addCriterion("invite_friend_count <", value, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountLessThanOrEqualTo(Integer value) { + addCriterion("invite_friend_count <=", value, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountIn(List values) { + addCriterion("invite_friend_count in", values, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountNotIn(List values) { + addCriterion("invite_friend_count not in", values, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountBetween(Integer value1, Integer value2) { + addCriterion("invite_friend_count between", value1, value2, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountNotBetween(Integer value1, Integer value2) { + addCriterion("invite_friend_count not between", value1, value2, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeIsNull() { + addCriterion("recent_order_time is null"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeIsNotNull() { + addCriterion("recent_order_time is not null"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeEqualTo(Date value) { + addCriterion("recent_order_time =", value, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeNotEqualTo(Date value) { + addCriterion("recent_order_time <>", value, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeGreaterThan(Date value) { + addCriterion("recent_order_time >", value, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeGreaterThanOrEqualTo(Date value) { + addCriterion("recent_order_time >=", value, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeLessThan(Date value) { + addCriterion("recent_order_time <", value, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeLessThanOrEqualTo(Date value) { + addCriterion("recent_order_time <=", value, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeIn(List values) { + addCriterion("recent_order_time in", values, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeNotIn(List values) { + addCriterion("recent_order_time not in", values, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeBetween(Date value1, Date value2) { + addCriterion("recent_order_time between", value1, value2, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeNotBetween(Date value1, Date value2) { + addCriterion("recent_order_time not between", value1, value2, "recentOrderTime"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTag.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTag.java new file mode 100644 index 0000000..0b453c3 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTag.java @@ -0,0 +1,73 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class UmsMemberTag implements Serializable { + private Long id; + + private String name; + + /** + * 自动打标签完成订单数量 + * + * @mbggenerated + */ + private Integer finishOrderCount; + + /** + * 自动打标签完成订单金额 + * + * @mbggenerated + */ + private BigDecimal finishOrderAmount; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getFinishOrderCount() { + return finishOrderCount; + } + + public void setFinishOrderCount(Integer finishOrderCount) { + this.finishOrderCount = finishOrderCount; + } + + public BigDecimal getFinishOrderAmount() { + return finishOrderAmount; + } + + public void setFinishOrderAmount(BigDecimal finishOrderAmount) { + this.finishOrderAmount = finishOrderAmount; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", finishOrderCount=").append(finishOrderCount); + sb.append(", finishOrderAmount=").append(finishOrderAmount); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTagExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTagExample.java new file mode 100644 index 0000000..b8fd211 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTagExample.java @@ -0,0 +1,451 @@ +package com.sock.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class UmsMemberTagExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberTagExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountIsNull() { + addCriterion("finish_order_count is null"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountIsNotNull() { + addCriterion("finish_order_count is not null"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountEqualTo(Integer value) { + addCriterion("finish_order_count =", value, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountNotEqualTo(Integer value) { + addCriterion("finish_order_count <>", value, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountGreaterThan(Integer value) { + addCriterion("finish_order_count >", value, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountGreaterThanOrEqualTo(Integer value) { + addCriterion("finish_order_count >=", value, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountLessThan(Integer value) { + addCriterion("finish_order_count <", value, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountLessThanOrEqualTo(Integer value) { + addCriterion("finish_order_count <=", value, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountIn(List values) { + addCriterion("finish_order_count in", values, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountNotIn(List values) { + addCriterion("finish_order_count not in", values, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountBetween(Integer value1, Integer value2) { + addCriterion("finish_order_count between", value1, value2, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountNotBetween(Integer value1, Integer value2) { + addCriterion("finish_order_count not between", value1, value2, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountIsNull() { + addCriterion("finish_order_amount is null"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountIsNotNull() { + addCriterion("finish_order_amount is not null"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountEqualTo(BigDecimal value) { + addCriterion("finish_order_amount =", value, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountNotEqualTo(BigDecimal value) { + addCriterion("finish_order_amount <>", value, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountGreaterThan(BigDecimal value) { + addCriterion("finish_order_amount >", value, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("finish_order_amount >=", value, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountLessThan(BigDecimal value) { + addCriterion("finish_order_amount <", value, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("finish_order_amount <=", value, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountIn(List values) { + addCriterion("finish_order_amount in", values, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountNotIn(List values) { + addCriterion("finish_order_amount not in", values, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("finish_order_amount between", value1, value2, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("finish_order_amount not between", value1, value2, "finishOrderAmount"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTask.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTask.java new file mode 100644 index 0000000..c61655b --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTask.java @@ -0,0 +1,88 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class UmsMemberTask implements Serializable { + private Long id; + + private String name; + + /** + * 赠送成长值 + * + * @mbggenerated + */ + private Integer growth; + + /** + * 赠送积分 + * + * @mbggenerated + */ + private Integer intergration; + + /** + * 任务类型:0->新手任务;1->日常任务 + * + * @mbggenerated + */ + private Integer type; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getGrowth() { + return growth; + } + + public void setGrowth(Integer growth) { + this.growth = growth; + } + + public Integer getIntergration() { + return intergration; + } + + public void setIntergration(Integer intergration) { + this.intergration = intergration; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", growth=").append(growth); + sb.append(", intergration=").append(intergration); + sb.append(", type=").append(type); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTaskExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTaskExample.java new file mode 100644 index 0000000..518229a --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsMemberTaskExample.java @@ -0,0 +1,510 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class UmsMemberTaskExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberTaskExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andGrowthIsNull() { + addCriterion("growth is null"); + return (Criteria) this; + } + + public Criteria andGrowthIsNotNull() { + addCriterion("growth is not null"); + return (Criteria) this; + } + + public Criteria andGrowthEqualTo(Integer value) { + addCriterion("growth =", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotEqualTo(Integer value) { + addCriterion("growth <>", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthGreaterThan(Integer value) { + addCriterion("growth >", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthGreaterThanOrEqualTo(Integer value) { + addCriterion("growth >=", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthLessThan(Integer value) { + addCriterion("growth <", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthLessThanOrEqualTo(Integer value) { + addCriterion("growth <=", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthIn(List values) { + addCriterion("growth in", values, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotIn(List values) { + addCriterion("growth not in", values, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthBetween(Integer value1, Integer value2) { + addCriterion("growth between", value1, value2, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotBetween(Integer value1, Integer value2) { + addCriterion("growth not between", value1, value2, "growth"); + return (Criteria) this; + } + + public Criteria andIntergrationIsNull() { + addCriterion("intergration is null"); + return (Criteria) this; + } + + public Criteria andIntergrationIsNotNull() { + addCriterion("intergration is not null"); + return (Criteria) this; + } + + public Criteria andIntergrationEqualTo(Integer value) { + addCriterion("intergration =", value, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationNotEqualTo(Integer value) { + addCriterion("intergration <>", value, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationGreaterThan(Integer value) { + addCriterion("intergration >", value, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationGreaterThanOrEqualTo(Integer value) { + addCriterion("intergration >=", value, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationLessThan(Integer value) { + addCriterion("intergration <", value, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationLessThanOrEqualTo(Integer value) { + addCriterion("intergration <=", value, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationIn(List values) { + addCriterion("intergration in", values, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationNotIn(List values) { + addCriterion("intergration not in", values, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationBetween(Integer value1, Integer value2) { + addCriterion("intergration between", value1, value2, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationNotBetween(Integer value1, Integer value2) { + addCriterion("intergration not between", value1, value2, "intergration"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsPermission.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsPermission.java new file mode 100644 index 0000000..5aa39f6 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsPermission.java @@ -0,0 +1,174 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class UmsPermission implements Serializable { + private Long id; + + /** + * 父级权限id + * + * @mbggenerated + */ + private Long pid; + + /** + * 名称 + * + * @mbggenerated + */ + private String name; + + /** + * 权限值 + * + * @mbggenerated + */ + private String value; + + /** + * 图标 + * + * @mbggenerated + */ + private String icon; + + /** + * 权限类型:0->目录;1->菜单;2->按钮(接口绑定权限) + * + * @mbggenerated + */ + private Integer type; + + /** + * 前端资源路径 + * + * @mbggenerated + */ + private String uri; + + /** + * 启用状态;0->禁用;1->启用 + * + * @mbggenerated + */ + private Integer status; + + /** + * 创建时间 + * + * @mbggenerated + */ + private Date createTime; + + /** + * 排序 + * + * @mbggenerated + */ + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getPid() { + return pid; + } + + public void setPid(Long pid) { + this.pid = pid; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getValue() { + return value; + } + + public void setValue(String value) { + this.value = value; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + public String getUri() { + return uri; + } + + public void setUri(String uri) { + this.uri = uri; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", pid=").append(pid); + sb.append(", name=").append(name); + sb.append(", value=").append(value); + sb.append(", icon=").append(icon); + sb.append(", type=").append(type); + sb.append(", uri=").append(uri); + sb.append(", status=").append(status); + sb.append(", createTime=").append(createTime); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsPermissionExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsPermissionExample.java new file mode 100644 index 0000000..4a73831 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsPermissionExample.java @@ -0,0 +1,841 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsPermissionExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsPermissionExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andPidIsNull() { + addCriterion("pid is null"); + return (Criteria) this; + } + + public Criteria andPidIsNotNull() { + addCriterion("pid is not null"); + return (Criteria) this; + } + + public Criteria andPidEqualTo(Long value) { + addCriterion("pid =", value, "pid"); + return (Criteria) this; + } + + public Criteria andPidNotEqualTo(Long value) { + addCriterion("pid <>", value, "pid"); + return (Criteria) this; + } + + public Criteria andPidGreaterThan(Long value) { + addCriterion("pid >", value, "pid"); + return (Criteria) this; + } + + public Criteria andPidGreaterThanOrEqualTo(Long value) { + addCriterion("pid >=", value, "pid"); + return (Criteria) this; + } + + public Criteria andPidLessThan(Long value) { + addCriterion("pid <", value, "pid"); + return (Criteria) this; + } + + public Criteria andPidLessThanOrEqualTo(Long value) { + addCriterion("pid <=", value, "pid"); + return (Criteria) this; + } + + public Criteria andPidIn(List values) { + addCriterion("pid in", values, "pid"); + return (Criteria) this; + } + + public Criteria andPidNotIn(List values) { + addCriterion("pid not in", values, "pid"); + return (Criteria) this; + } + + public Criteria andPidBetween(Long value1, Long value2) { + addCriterion("pid between", value1, value2, "pid"); + return (Criteria) this; + } + + public Criteria andPidNotBetween(Long value1, Long value2) { + addCriterion("pid not between", value1, value2, "pid"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andValueIsNull() { + addCriterion("value is null"); + return (Criteria) this; + } + + public Criteria andValueIsNotNull() { + addCriterion("value is not null"); + return (Criteria) this; + } + + public Criteria andValueEqualTo(String value) { + addCriterion("value =", value, "value"); + return (Criteria) this; + } + + public Criteria andValueNotEqualTo(String value) { + addCriterion("value <>", value, "value"); + return (Criteria) this; + } + + public Criteria andValueGreaterThan(String value) { + addCriterion("value >", value, "value"); + return (Criteria) this; + } + + public Criteria andValueGreaterThanOrEqualTo(String value) { + addCriterion("value >=", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLessThan(String value) { + addCriterion("value <", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLessThanOrEqualTo(String value) { + addCriterion("value <=", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLike(String value) { + addCriterion("value like", value, "value"); + return (Criteria) this; + } + + public Criteria andValueNotLike(String value) { + addCriterion("value not like", value, "value"); + return (Criteria) this; + } + + public Criteria andValueIn(List values) { + addCriterion("value in", values, "value"); + return (Criteria) this; + } + + public Criteria andValueNotIn(List values) { + addCriterion("value not in", values, "value"); + return (Criteria) this; + } + + public Criteria andValueBetween(String value1, String value2) { + addCriterion("value between", value1, value2, "value"); + return (Criteria) this; + } + + public Criteria andValueNotBetween(String value1, String value2) { + addCriterion("value not between", value1, value2, "value"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andUriIsNull() { + addCriterion("uri is null"); + return (Criteria) this; + } + + public Criteria andUriIsNotNull() { + addCriterion("uri is not null"); + return (Criteria) this; + } + + public Criteria andUriEqualTo(String value) { + addCriterion("uri =", value, "uri"); + return (Criteria) this; + } + + public Criteria andUriNotEqualTo(String value) { + addCriterion("uri <>", value, "uri"); + return (Criteria) this; + } + + public Criteria andUriGreaterThan(String value) { + addCriterion("uri >", value, "uri"); + return (Criteria) this; + } + + public Criteria andUriGreaterThanOrEqualTo(String value) { + addCriterion("uri >=", value, "uri"); + return (Criteria) this; + } + + public Criteria andUriLessThan(String value) { + addCriterion("uri <", value, "uri"); + return (Criteria) this; + } + + public Criteria andUriLessThanOrEqualTo(String value) { + addCriterion("uri <=", value, "uri"); + return (Criteria) this; + } + + public Criteria andUriLike(String value) { + addCriterion("uri like", value, "uri"); + return (Criteria) this; + } + + public Criteria andUriNotLike(String value) { + addCriterion("uri not like", value, "uri"); + return (Criteria) this; + } + + public Criteria andUriIn(List values) { + addCriterion("uri in", values, "uri"); + return (Criteria) this; + } + + public Criteria andUriNotIn(List values) { + addCriterion("uri not in", values, "uri"); + return (Criteria) this; + } + + public Criteria andUriBetween(String value1, String value2) { + addCriterion("uri between", value1, value2, "uri"); + return (Criteria) this; + } + + public Criteria andUriNotBetween(String value1, String value2) { + addCriterion("uri not between", value1, value2, "uri"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRole.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRole.java new file mode 100644 index 0000000..79d3eb8 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRole.java @@ -0,0 +1,121 @@ +package com.sock.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class UmsRole implements Serializable { + private Long id; + + /** + * 名称 + * + * @mbggenerated + */ + private String name; + + /** + * 描述 + * + * @mbggenerated + */ + private String description; + + /** + * 后台用户数量 + * + * @mbggenerated + */ + private Integer adminCount; + + /** + * 创建时间 + * + * @mbggenerated + */ + private Date createTime; + + /** + * 启用状态:0->禁用;1->启用 + * + * @mbggenerated + */ + private Integer status; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + public Integer getAdminCount() { + return adminCount; + } + + public void setAdminCount(Integer adminCount) { + this.adminCount = adminCount; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", description=").append(description); + sb.append(", adminCount=").append(adminCount); + sb.append(", createTime=").append(createTime); + sb.append(", status=").append(status); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRoleExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRoleExample.java new file mode 100644 index 0000000..ffcbc0b --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRoleExample.java @@ -0,0 +1,641 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsRoleExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsRoleExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNull() { + addCriterion("description is null"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNotNull() { + addCriterion("description is not null"); + return (Criteria) this; + } + + public Criteria andDescriptionEqualTo(String value) { + addCriterion("description =", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotEqualTo(String value) { + addCriterion("description <>", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThan(String value) { + addCriterion("description >", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThanOrEqualTo(String value) { + addCriterion("description >=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThan(String value) { + addCriterion("description <", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThanOrEqualTo(String value) { + addCriterion("description <=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLike(String value) { + addCriterion("description like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotLike(String value) { + addCriterion("description not like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionIn(List values) { + addCriterion("description in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotIn(List values) { + addCriterion("description not in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionBetween(String value1, String value2) { + addCriterion("description between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotBetween(String value1, String value2) { + addCriterion("description not between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andAdminCountIsNull() { + addCriterion("admin_count is null"); + return (Criteria) this; + } + + public Criteria andAdminCountIsNotNull() { + addCriterion("admin_count is not null"); + return (Criteria) this; + } + + public Criteria andAdminCountEqualTo(Integer value) { + addCriterion("admin_count =", value, "adminCount"); + return (Criteria) this; + } + + public Criteria andAdminCountNotEqualTo(Integer value) { + addCriterion("admin_count <>", value, "adminCount"); + return (Criteria) this; + } + + public Criteria andAdminCountGreaterThan(Integer value) { + addCriterion("admin_count >", value, "adminCount"); + return (Criteria) this; + } + + public Criteria andAdminCountGreaterThanOrEqualTo(Integer value) { + addCriterion("admin_count >=", value, "adminCount"); + return (Criteria) this; + } + + public Criteria andAdminCountLessThan(Integer value) { + addCriterion("admin_count <", value, "adminCount"); + return (Criteria) this; + } + + public Criteria andAdminCountLessThanOrEqualTo(Integer value) { + addCriterion("admin_count <=", value, "adminCount"); + return (Criteria) this; + } + + public Criteria andAdminCountIn(List values) { + addCriterion("admin_count in", values, "adminCount"); + return (Criteria) this; + } + + public Criteria andAdminCountNotIn(List values) { + addCriterion("admin_count not in", values, "adminCount"); + return (Criteria) this; + } + + public Criteria andAdminCountBetween(Integer value1, Integer value2) { + addCriterion("admin_count between", value1, value2, "adminCount"); + return (Criteria) this; + } + + public Criteria andAdminCountNotBetween(Integer value1, Integer value2) { + addCriterion("admin_count not between", value1, value2, "adminCount"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRolePermissionRelation.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRolePermissionRelation.java new file mode 100644 index 0000000..21e3ba6 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRolePermissionRelation.java @@ -0,0 +1,51 @@ +package com.sock.mall.model; + +import java.io.Serializable; + +public class UmsRolePermissionRelation implements Serializable { + private Long id; + + private Long roleId; + + private Long permissionId; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getRoleId() { + return roleId; + } + + public void setRoleId(Long roleId) { + this.roleId = roleId; + } + + public Long getPermissionId() { + return permissionId; + } + + public void setPermissionId(Long permissionId) { + this.permissionId = permissionId; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", roleId=").append(roleId); + sb.append(", permissionId=").append(permissionId); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRolePermissionRelationExample.java b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRolePermissionRelationExample.java new file mode 100644 index 0000000..b479709 --- /dev/null +++ b/代码库/mall-mbg/src/main/java/com/sock/mall/model/UmsRolePermissionRelationExample.java @@ -0,0 +1,380 @@ +package com.sock.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class UmsRolePermissionRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsRolePermissionRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andRoleIdIsNull() { + addCriterion("role_id is null"); + return (Criteria) this; + } + + public Criteria andRoleIdIsNotNull() { + addCriterion("role_id is not null"); + return (Criteria) this; + } + + public Criteria andRoleIdEqualTo(Long value) { + addCriterion("role_id =", value, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdNotEqualTo(Long value) { + addCriterion("role_id <>", value, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdGreaterThan(Long value) { + addCriterion("role_id >", value, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdGreaterThanOrEqualTo(Long value) { + addCriterion("role_id >=", value, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdLessThan(Long value) { + addCriterion("role_id <", value, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdLessThanOrEqualTo(Long value) { + addCriterion("role_id <=", value, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdIn(List values) { + addCriterion("role_id in", values, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdNotIn(List values) { + addCriterion("role_id not in", values, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdBetween(Long value1, Long value2) { + addCriterion("role_id between", value1, value2, "roleId"); + return (Criteria) this; + } + + public Criteria andRoleIdNotBetween(Long value1, Long value2) { + addCriterion("role_id not between", value1, value2, "roleId"); + return (Criteria) this; + } + + public Criteria andPermissionIdIsNull() { + addCriterion("permission_id is null"); + return (Criteria) this; + } + + public Criteria andPermissionIdIsNotNull() { + addCriterion("permission_id is not null"); + return (Criteria) this; + } + + public Criteria andPermissionIdEqualTo(Long value) { + addCriterion("permission_id =", value, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdNotEqualTo(Long value) { + addCriterion("permission_id <>", value, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdGreaterThan(Long value) { + addCriterion("permission_id >", value, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdGreaterThanOrEqualTo(Long value) { + addCriterion("permission_id >=", value, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdLessThan(Long value) { + addCriterion("permission_id <", value, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdLessThanOrEqualTo(Long value) { + addCriterion("permission_id <=", value, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdIn(List values) { + addCriterion("permission_id in", values, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdNotIn(List values) { + addCriterion("permission_id not in", values, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdBetween(Long value1, Long value2) { + addCriterion("permission_id between", value1, value2, "permissionId"); + return (Criteria) this; + } + + public Criteria andPermissionIdNotBetween(Long value1, Long value2) { + addCriterion("permission_id not between", value1, value2, "permissionId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsHelpCategoryMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsHelpCategoryMapper.xml new file mode 100644 index 0000000..1d7aafa --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsHelpCategoryMapper.xml @@ -0,0 +1,670 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, icon, help_count, show_status, sort + + + + + delete from cms_help_category + where id = #{id,jdbcType=BIGINT} + + + delete from cms_help_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_help_category (name, icon, help_count, + show_status, sort) + values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{helpCount,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_help_category + + + name, + + + icon, + + + help_count, + + + show_status, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{helpCount,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update cms_help_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + help_count = #{record.helpCount,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update cms_help_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + help_count = #{record.helpCount,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update cms_help_category + + + name = #{name,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + help_count = #{helpCount,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_help_category + set name = #{name,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + help_count = #{helpCount,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, icon, help_count, show_status, sort + + + + + delete from cms_help_category + where id = #{id,jdbcType=BIGINT} + + + delete from cms_help_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_help_category (name, icon, help_count, + show_status, sort) + values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{helpCount,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_help_category + + + name, + + + icon, + + + help_count, + + + show_status, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{helpCount,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update cms_help_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + help_count = #{record.helpCount,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update cms_help_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + help_count = #{record.helpCount,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update cms_help_category + + + name = #{name,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + help_count = #{helpCount,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_help_category + set name = #{name,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + help_count = #{helpCount,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, icon, help_count, show_status, sort + + + + + delete from cms_help_category + where id = #{id,jdbcType=BIGINT} + + + delete from cms_help_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_help_category (name, icon, help_count, + show_status, sort) + values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{helpCount,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_help_category + + + name, + + + icon, + + + help_count, + + + show_status, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{helpCount,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update cms_help_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + help_count = #{record.helpCount,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update cms_help_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + help_count = #{record.helpCount,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update cms_help_category + + + name = #{name,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + help_count = #{helpCount,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_help_category + set name = #{name,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + help_count = #{helpCount,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsHelpMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsHelpMapper.xml new file mode 100644 index 0000000..d9315c3 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsHelpMapper.xml @@ -0,0 +1,904 @@ + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, category_id, icon, title, show_status, create_time, read_count + + + content + + + + + + delete from cms_help + where id = #{id,jdbcType=BIGINT} + + + delete from cms_help + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_help (category_id, icon, title, + show_status, create_time, read_count, + content) + values (#{categoryId,jdbcType=BIGINT}, #{icon,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, + #{showStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{readCount,jdbcType=INTEGER}, + #{content,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_help + + + category_id, + + + icon, + + + title, + + + show_status, + + + create_time, + + + read_count, + + + content, + + + + + #{categoryId,jdbcType=BIGINT}, + + + #{icon,jdbcType=VARCHAR}, + + + #{title,jdbcType=VARCHAR}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{readCount,jdbcType=INTEGER}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update cms_help + + + id = #{record.id,jdbcType=BIGINT}, + + + category_id = #{record.categoryId,jdbcType=BIGINT}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + title = #{record.title,jdbcType=VARCHAR}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update cms_help + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + icon = #{record.icon,jdbcType=VARCHAR}, + title = #{record.title,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + read_count = #{record.readCount,jdbcType=INTEGER}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update cms_help + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + icon = #{record.icon,jdbcType=VARCHAR}, + title = #{record.title,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + read_count = #{record.readCount,jdbcType=INTEGER} + + + + + + update cms_help + + + category_id = #{categoryId,jdbcType=BIGINT}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + title = #{title,jdbcType=VARCHAR}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_help + set category_id = #{categoryId,jdbcType=BIGINT}, + icon = #{icon,jdbcType=VARCHAR}, + title = #{title,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + read_count = #{readCount,jdbcType=INTEGER}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update cms_help + set category_id = #{categoryId,jdbcType=BIGINT}, + icon = #{icon,jdbcType=VARCHAR}, + title = #{title,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + read_count = #{readCount,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, category_id, icon, title, show_status, create_time, read_count + + + content + + + + + + delete from cms_help + where id = #{id,jdbcType=BIGINT} + + + delete from cms_help + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_help (category_id, icon, title, + show_status, create_time, read_count, + content) + values (#{categoryId,jdbcType=BIGINT}, #{icon,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, + #{showStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{readCount,jdbcType=INTEGER}, + #{content,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_help + + + category_id, + + + icon, + + + title, + + + show_status, + + + create_time, + + + read_count, + + + content, + + + + + #{categoryId,jdbcType=BIGINT}, + + + #{icon,jdbcType=VARCHAR}, + + + #{title,jdbcType=VARCHAR}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{readCount,jdbcType=INTEGER}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update cms_help + + + id = #{record.id,jdbcType=BIGINT}, + + + category_id = #{record.categoryId,jdbcType=BIGINT}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + title = #{record.title,jdbcType=VARCHAR}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update cms_help + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + icon = #{record.icon,jdbcType=VARCHAR}, + title = #{record.title,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + read_count = #{record.readCount,jdbcType=INTEGER}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update cms_help + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + icon = #{record.icon,jdbcType=VARCHAR}, + title = #{record.title,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + read_count = #{record.readCount,jdbcType=INTEGER} + + + + + + update cms_help + + + category_id = #{categoryId,jdbcType=BIGINT}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + title = #{title,jdbcType=VARCHAR}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_help + set category_id = #{categoryId,jdbcType=BIGINT}, + icon = #{icon,jdbcType=VARCHAR}, + title = #{title,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + read_count = #{readCount,jdbcType=INTEGER}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update cms_help + set category_id = #{categoryId,jdbcType=BIGINT}, + icon = #{icon,jdbcType=VARCHAR}, + title = #{title,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + read_count = #{readCount,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, category_id, icon, title, show_status, create_time, read_count + + + content + + + + + + delete from cms_help + where id = #{id,jdbcType=BIGINT} + + + delete from cms_help + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_help (category_id, icon, title, + show_status, create_time, read_count, + content) + values (#{categoryId,jdbcType=BIGINT}, #{icon,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, + #{showStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{readCount,jdbcType=INTEGER}, + #{content,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_help + + + category_id, + + + icon, + + + title, + + + show_status, + + + create_time, + + + read_count, + + + content, + + + + + #{categoryId,jdbcType=BIGINT}, + + + #{icon,jdbcType=VARCHAR}, + + + #{title,jdbcType=VARCHAR}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{readCount,jdbcType=INTEGER}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update cms_help + + + id = #{record.id,jdbcType=BIGINT}, + + + category_id = #{record.categoryId,jdbcType=BIGINT}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + title = #{record.title,jdbcType=VARCHAR}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update cms_help + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + icon = #{record.icon,jdbcType=VARCHAR}, + title = #{record.title,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + read_count = #{record.readCount,jdbcType=INTEGER}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update cms_help + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + icon = #{record.icon,jdbcType=VARCHAR}, + title = #{record.title,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + read_count = #{record.readCount,jdbcType=INTEGER} + + + + + + update cms_help + + + category_id = #{categoryId,jdbcType=BIGINT}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + title = #{title,jdbcType=VARCHAR}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_help + set category_id = #{categoryId,jdbcType=BIGINT}, + icon = #{icon,jdbcType=VARCHAR}, + title = #{title,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + read_count = #{readCount,jdbcType=INTEGER}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update cms_help + set category_id = #{categoryId,jdbcType=BIGINT}, + icon = #{icon,jdbcType=VARCHAR}, + title = #{title,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + read_count = #{readCount,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsPrefrenceAreaMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsPrefrenceAreaMapper.xml new file mode 100644 index 0000000..343f148 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsPrefrenceAreaMapper.xml @@ -0,0 +1,796 @@ + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, sub_title, sort, show_status + + + pic + + + + + + delete from cms_prefrence_area + where id = #{id,jdbcType=BIGINT} + + + delete from cms_prefrence_area + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area (name, sub_title, sort, + show_status, pic) + values (#{name,jdbcType=VARCHAR}, #{subTitle,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{pic,jdbcType=VARBINARY}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area + + + name, + + + sub_title, + + + sort, + + + show_status, + + + pic, + + + + + #{name,jdbcType=VARCHAR}, + + + #{subTitle,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{pic,jdbcType=VARBINARY}, + + + + + + update cms_prefrence_area + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + pic = #{record.pic,jdbcType=VARBINARY}, + + + + + + + + update cms_prefrence_area + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + pic = #{record.pic,jdbcType=VARBINARY} + + + + + + update cms_prefrence_area + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER} + + + + + + update cms_prefrence_area + + + name = #{name,jdbcType=VARCHAR}, + + + sub_title = #{subTitle,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + pic = #{pic,jdbcType=VARBINARY}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_prefrence_area + set name = #{name,jdbcType=VARCHAR}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + pic = #{pic,jdbcType=VARBINARY} + where id = #{id,jdbcType=BIGINT} + + + update cms_prefrence_area + set name = #{name,jdbcType=VARCHAR}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, sub_title, sort, show_status + + + pic + + + + + + delete from cms_prefrence_area + where id = #{id,jdbcType=BIGINT} + + + delete from cms_prefrence_area + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area (name, sub_title, sort, + show_status, pic) + values (#{name,jdbcType=VARCHAR}, #{subTitle,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{pic,jdbcType=VARBINARY}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area + + + name, + + + sub_title, + + + sort, + + + show_status, + + + pic, + + + + + #{name,jdbcType=VARCHAR}, + + + #{subTitle,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{pic,jdbcType=VARBINARY}, + + + + + + update cms_prefrence_area + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + pic = #{record.pic,jdbcType=VARBINARY}, + + + + + + + + update cms_prefrence_area + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + pic = #{record.pic,jdbcType=VARBINARY} + + + + + + update cms_prefrence_area + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER} + + + + + + update cms_prefrence_area + + + name = #{name,jdbcType=VARCHAR}, + + + sub_title = #{subTitle,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + pic = #{pic,jdbcType=VARBINARY}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_prefrence_area + set name = #{name,jdbcType=VARCHAR}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + pic = #{pic,jdbcType=VARBINARY} + where id = #{id,jdbcType=BIGINT} + + + update cms_prefrence_area + set name = #{name,jdbcType=VARCHAR}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, sub_title, sort, show_status + + + pic + + + + + + delete from cms_prefrence_area + where id = #{id,jdbcType=BIGINT} + + + delete from cms_prefrence_area + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area (name, sub_title, sort, + show_status, pic) + values (#{name,jdbcType=VARCHAR}, #{subTitle,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{pic,jdbcType=VARBINARY}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area + + + name, + + + sub_title, + + + sort, + + + show_status, + + + pic, + + + + + #{name,jdbcType=VARCHAR}, + + + #{subTitle,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{pic,jdbcType=VARBINARY}, + + + + + + update cms_prefrence_area + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + pic = #{record.pic,jdbcType=VARBINARY}, + + + + + + + + update cms_prefrence_area + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + pic = #{record.pic,jdbcType=VARBINARY} + + + + + + update cms_prefrence_area + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER} + + + + + + update cms_prefrence_area + + + name = #{name,jdbcType=VARCHAR}, + + + sub_title = #{subTitle,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + pic = #{pic,jdbcType=VARBINARY}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_prefrence_area + set name = #{name,jdbcType=VARCHAR}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + pic = #{pic,jdbcType=VARBINARY} + where id = #{id,jdbcType=BIGINT} + + + update cms_prefrence_area + set name = #{name,jdbcType=VARCHAR}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml new file mode 100644 index 0000000..4394aed --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml @@ -0,0 +1,529 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, prefrence_area_id, product_id + + + + + delete from cms_prefrence_area_product_relation + where id = #{id,jdbcType=BIGINT} + + + delete from cms_prefrence_area_product_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area_product_relation (prefrence_area_id, product_id) + values (#{prefrenceAreaId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area_product_relation + + + prefrence_area_id, + + + product_id, + + + + + #{prefrenceAreaId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + + + + update cms_prefrence_area_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + + + + + + update cms_prefrence_area_product_relation + set id = #{record.id,jdbcType=BIGINT}, + prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT} + + + + + + update cms_prefrence_area_product_relation + + + prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_prefrence_area_product_relation + set prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, prefrence_area_id, product_id + + + + + delete from cms_prefrence_area_product_relation + where id = #{id,jdbcType=BIGINT} + + + delete from cms_prefrence_area_product_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area_product_relation (prefrence_area_id, product_id) + values (#{prefrenceAreaId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area_product_relation + + + prefrence_area_id, + + + product_id, + + + + + #{prefrenceAreaId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + + + + update cms_prefrence_area_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + + + + + + update cms_prefrence_area_product_relation + set id = #{record.id,jdbcType=BIGINT}, + prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT} + + + + + + update cms_prefrence_area_product_relation + + + prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_prefrence_area_product_relation + set prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, prefrence_area_id, product_id + + + + + delete from cms_prefrence_area_product_relation + where id = #{id,jdbcType=BIGINT} + + + delete from cms_prefrence_area_product_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area_product_relation (prefrence_area_id, product_id) + values (#{prefrenceAreaId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area_product_relation + + + prefrence_area_id, + + + product_id, + + + + + #{prefrenceAreaId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + + + + update cms_prefrence_area_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + + + + + + update cms_prefrence_area_product_relation + set id = #{record.id,jdbcType=BIGINT}, + prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT} + + + + + + update cms_prefrence_area_product_relation + + + prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_prefrence_area_product_relation + set prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectCategoryMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectCategoryMapper.xml new file mode 100644 index 0000000..d5be5db --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectCategoryMapper.xml @@ -0,0 +1,670 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, icon, subject_count, show_status, sort + + + + + delete from cms_subject_category + where id = #{id,jdbcType=BIGINT} + + + delete from cms_subject_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_category (name, icon, subject_count, + show_status, sort) + values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_category + + + name, + + + icon, + + + subject_count, + + + show_status, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{subjectCount,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update cms_subject_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update cms_subject_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update cms_subject_category + + + name = #{name,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + subject_count = #{subjectCount,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject_category + set name = #{name,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + subject_count = #{subjectCount,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, icon, subject_count, show_status, sort + + + + + delete from cms_subject_category + where id = #{id,jdbcType=BIGINT} + + + delete from cms_subject_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_category (name, icon, subject_count, + show_status, sort) + values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_category + + + name, + + + icon, + + + subject_count, + + + show_status, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{subjectCount,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update cms_subject_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update cms_subject_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update cms_subject_category + + + name = #{name,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + subject_count = #{subjectCount,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject_category + set name = #{name,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + subject_count = #{subjectCount,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, icon, subject_count, show_status, sort + + + + + delete from cms_subject_category + where id = #{id,jdbcType=BIGINT} + + + delete from cms_subject_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_category (name, icon, subject_count, + show_status, sort) + values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_category + + + name, + + + icon, + + + subject_count, + + + show_status, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{subjectCount,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update cms_subject_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update cms_subject_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update cms_subject_category + + + name = #{name,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + subject_count = #{subjectCount,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject_category + set name = #{name,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + subject_count = #{subjectCount,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectCommentMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectCommentMapper.xml new file mode 100644 index 0000000..f86e000 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectCommentMapper.xml @@ -0,0 +1,721 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, subject_id, member_nick_name, member_icon, content, create_time, show_status + + + + + delete from cms_subject_comment + where id = #{id,jdbcType=BIGINT} + + + delete from cms_subject_comment + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_comment (subject_id, member_nick_name, member_icon, + content, create_time, show_status + ) + values (#{subjectId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, + #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_comment + + + subject_id, + + + member_nick_name, + + + member_icon, + + + content, + + + create_time, + + + show_status, + + + + + #{subjectId,jdbcType=BIGINT}, + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{content,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{showStatus,jdbcType=INTEGER}, + + + + + + update cms_subject_comment + + + id = #{record.id,jdbcType=BIGINT}, + + + subject_id = #{record.subjectId,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + + + + + + update cms_subject_comment + set id = #{record.id,jdbcType=BIGINT}, + subject_id = #{record.subjectId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER} + + + + + + update cms_subject_comment + + + subject_id = #{subjectId,jdbcType=BIGINT}, + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject_comment + set subject_id = #{subjectId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + content = #{content,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, subject_id, member_nick_name, member_icon, content, create_time, show_status + + + + + delete from cms_subject_comment + where id = #{id,jdbcType=BIGINT} + + + delete from cms_subject_comment + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_comment (subject_id, member_nick_name, member_icon, + content, create_time, show_status + ) + values (#{subjectId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, + #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_comment + + + subject_id, + + + member_nick_name, + + + member_icon, + + + content, + + + create_time, + + + show_status, + + + + + #{subjectId,jdbcType=BIGINT}, + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{content,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{showStatus,jdbcType=INTEGER}, + + + + + + update cms_subject_comment + + + id = #{record.id,jdbcType=BIGINT}, + + + subject_id = #{record.subjectId,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + + + + + + update cms_subject_comment + set id = #{record.id,jdbcType=BIGINT}, + subject_id = #{record.subjectId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER} + + + + + + update cms_subject_comment + + + subject_id = #{subjectId,jdbcType=BIGINT}, + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject_comment + set subject_id = #{subjectId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + content = #{content,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, subject_id, member_nick_name, member_icon, content, create_time, show_status + + + + + delete from cms_subject_comment + where id = #{id,jdbcType=BIGINT} + + + delete from cms_subject_comment + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_comment (subject_id, member_nick_name, member_icon, + content, create_time, show_status + ) + values (#{subjectId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, + #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_comment + + + subject_id, + + + member_nick_name, + + + member_icon, + + + content, + + + create_time, + + + show_status, + + + + + #{subjectId,jdbcType=BIGINT}, + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{content,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{showStatus,jdbcType=INTEGER}, + + + + + + update cms_subject_comment + + + id = #{record.id,jdbcType=BIGINT}, + + + subject_id = #{record.subjectId,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + + + + + + update cms_subject_comment + set id = #{record.id,jdbcType=BIGINT}, + subject_id = #{record.subjectId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER} + + + + + + update cms_subject_comment + + + subject_id = #{subjectId,jdbcType=BIGINT}, + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject_comment + set subject_id = #{subjectId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + content = #{content,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectMapper.xml new file mode 100644 index 0000000..a20a634 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectMapper.xml @@ -0,0 +1,1333 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, category_id, title, pic, product_count, recommend_status, create_time, collect_count, + read_count, comment_count, album_pics, description, show_status, forward_count, category_name + + + content + + + + + + delete from cms_subject + where id = #{id,jdbcType=BIGINT} + + + delete from cms_subject + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject (category_id, title, pic, + product_count, recommend_status, create_time, + collect_count, read_count, comment_count, + album_pics, description, show_status, + forward_count, category_name, content + ) + values (#{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, + #{productCount,jdbcType=INTEGER}, #{recommendStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, + #{collectCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, + #{albumPics,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER}, + #{forwardCount,jdbcType=INTEGER}, #{categoryName,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject + + + category_id, + + + title, + + + pic, + + + product_count, + + + recommend_status, + + + create_time, + + + collect_count, + + + read_count, + + + comment_count, + + + album_pics, + + + description, + + + show_status, + + + forward_count, + + + category_name, + + + content, + + + + + #{categoryId,jdbcType=BIGINT}, + + + #{title,jdbcType=VARCHAR}, + + + #{pic,jdbcType=VARCHAR}, + + + #{productCount,jdbcType=INTEGER}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{collectCount,jdbcType=INTEGER}, + + + #{readCount,jdbcType=INTEGER}, + + + #{commentCount,jdbcType=INTEGER}, + + + #{albumPics,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{forwardCount,jdbcType=INTEGER}, + + + #{categoryName,jdbcType=VARCHAR}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update cms_subject + + + id = #{record.id,jdbcType=BIGINT}, + + + category_id = #{record.categoryId,jdbcType=BIGINT}, + + + title = #{record.title,jdbcType=VARCHAR}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + collect_count = #{record.collectCount,jdbcType=INTEGER}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + comment_count = #{record.commentCount,jdbcType=INTEGER}, + + + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + forward_count = #{record.forwardCount,jdbcType=INTEGER}, + + + category_name = #{record.categoryName,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update cms_subject + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + title = #{record.title,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + product_count = #{record.productCount,jdbcType=INTEGER}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + collect_count = #{record.collectCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + comment_count = #{record.commentCount,jdbcType=INTEGER}, + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + forward_count = #{record.forwardCount,jdbcType=INTEGER}, + category_name = #{record.categoryName,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update cms_subject + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + title = #{record.title,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + product_count = #{record.productCount,jdbcType=INTEGER}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + collect_count = #{record.collectCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + comment_count = #{record.commentCount,jdbcType=INTEGER}, + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + forward_count = #{record.forwardCount,jdbcType=INTEGER}, + category_name = #{record.categoryName,jdbcType=VARCHAR} + + + + + + update cms_subject + + + category_id = #{categoryId,jdbcType=BIGINT}, + + + title = #{title,jdbcType=VARCHAR}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + collect_count = #{collectCount,jdbcType=INTEGER}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + comment_count = #{commentCount,jdbcType=INTEGER}, + + + album_pics = #{albumPics,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + forward_count = #{forwardCount,jdbcType=INTEGER}, + + + category_name = #{categoryName,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject + set category_id = #{categoryId,jdbcType=BIGINT}, + title = #{title,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + product_count = #{productCount,jdbcType=INTEGER}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + collect_count = #{collectCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + comment_count = #{commentCount,jdbcType=INTEGER}, + album_pics = #{albumPics,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + forward_count = #{forwardCount,jdbcType=INTEGER}, + category_name = #{categoryName,jdbcType=VARCHAR}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update cms_subject + set category_id = #{categoryId,jdbcType=BIGINT}, + title = #{title,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + product_count = #{productCount,jdbcType=INTEGER}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + collect_count = #{collectCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + comment_count = #{commentCount,jdbcType=INTEGER}, + album_pics = #{albumPics,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + forward_count = #{forwardCount,jdbcType=INTEGER}, + category_name = #{categoryName,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, category_id, title, pic, product_count, recommend_status, create_time, collect_count, + read_count, comment_count, album_pics, description, show_status, forward_count, category_name + + + content + + + + + + delete from cms_subject + where id = #{id,jdbcType=BIGINT} + + + delete from cms_subject + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject (category_id, title, pic, + product_count, recommend_status, create_time, + collect_count, read_count, comment_count, + album_pics, description, show_status, + forward_count, category_name, content + ) + values (#{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, + #{productCount,jdbcType=INTEGER}, #{recommendStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, + #{collectCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, + #{albumPics,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER}, + #{forwardCount,jdbcType=INTEGER}, #{categoryName,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject + + + category_id, + + + title, + + + pic, + + + product_count, + + + recommend_status, + + + create_time, + + + collect_count, + + + read_count, + + + comment_count, + + + album_pics, + + + description, + + + show_status, + + + forward_count, + + + category_name, + + + content, + + + + + #{categoryId,jdbcType=BIGINT}, + + + #{title,jdbcType=VARCHAR}, + + + #{pic,jdbcType=VARCHAR}, + + + #{productCount,jdbcType=INTEGER}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{collectCount,jdbcType=INTEGER}, + + + #{readCount,jdbcType=INTEGER}, + + + #{commentCount,jdbcType=INTEGER}, + + + #{albumPics,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{forwardCount,jdbcType=INTEGER}, + + + #{categoryName,jdbcType=VARCHAR}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update cms_subject + + + id = #{record.id,jdbcType=BIGINT}, + + + category_id = #{record.categoryId,jdbcType=BIGINT}, + + + title = #{record.title,jdbcType=VARCHAR}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + collect_count = #{record.collectCount,jdbcType=INTEGER}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + comment_count = #{record.commentCount,jdbcType=INTEGER}, + + + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + forward_count = #{record.forwardCount,jdbcType=INTEGER}, + + + category_name = #{record.categoryName,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update cms_subject + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + title = #{record.title,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + product_count = #{record.productCount,jdbcType=INTEGER}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + collect_count = #{record.collectCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + comment_count = #{record.commentCount,jdbcType=INTEGER}, + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + forward_count = #{record.forwardCount,jdbcType=INTEGER}, + category_name = #{record.categoryName,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update cms_subject + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + title = #{record.title,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + product_count = #{record.productCount,jdbcType=INTEGER}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + collect_count = #{record.collectCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + comment_count = #{record.commentCount,jdbcType=INTEGER}, + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + forward_count = #{record.forwardCount,jdbcType=INTEGER}, + category_name = #{record.categoryName,jdbcType=VARCHAR} + + + + + + update cms_subject + + + category_id = #{categoryId,jdbcType=BIGINT}, + + + title = #{title,jdbcType=VARCHAR}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + collect_count = #{collectCount,jdbcType=INTEGER}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + comment_count = #{commentCount,jdbcType=INTEGER}, + + + album_pics = #{albumPics,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + forward_count = #{forwardCount,jdbcType=INTEGER}, + + + category_name = #{categoryName,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject + set category_id = #{categoryId,jdbcType=BIGINT}, + title = #{title,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + product_count = #{productCount,jdbcType=INTEGER}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + collect_count = #{collectCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + comment_count = #{commentCount,jdbcType=INTEGER}, + album_pics = #{albumPics,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + forward_count = #{forwardCount,jdbcType=INTEGER}, + category_name = #{categoryName,jdbcType=VARCHAR}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update cms_subject + set category_id = #{categoryId,jdbcType=BIGINT}, + title = #{title,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + product_count = #{productCount,jdbcType=INTEGER}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + collect_count = #{collectCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + comment_count = #{commentCount,jdbcType=INTEGER}, + album_pics = #{albumPics,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + forward_count = #{forwardCount,jdbcType=INTEGER}, + category_name = #{categoryName,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, category_id, title, pic, product_count, recommend_status, create_time, collect_count, + read_count, comment_count, album_pics, description, show_status, forward_count, category_name + + + content + + + + + + delete from cms_subject + where id = #{id,jdbcType=BIGINT} + + + delete from cms_subject + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject (category_id, title, pic, + product_count, recommend_status, create_time, + collect_count, read_count, comment_count, + album_pics, description, show_status, + forward_count, category_name, content + ) + values (#{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, + #{productCount,jdbcType=INTEGER}, #{recommendStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, + #{collectCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, + #{albumPics,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER}, + #{forwardCount,jdbcType=INTEGER}, #{categoryName,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject + + + category_id, + + + title, + + + pic, + + + product_count, + + + recommend_status, + + + create_time, + + + collect_count, + + + read_count, + + + comment_count, + + + album_pics, + + + description, + + + show_status, + + + forward_count, + + + category_name, + + + content, + + + + + #{categoryId,jdbcType=BIGINT}, + + + #{title,jdbcType=VARCHAR}, + + + #{pic,jdbcType=VARCHAR}, + + + #{productCount,jdbcType=INTEGER}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{collectCount,jdbcType=INTEGER}, + + + #{readCount,jdbcType=INTEGER}, + + + #{commentCount,jdbcType=INTEGER}, + + + #{albumPics,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{forwardCount,jdbcType=INTEGER}, + + + #{categoryName,jdbcType=VARCHAR}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update cms_subject + + + id = #{record.id,jdbcType=BIGINT}, + + + category_id = #{record.categoryId,jdbcType=BIGINT}, + + + title = #{record.title,jdbcType=VARCHAR}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + collect_count = #{record.collectCount,jdbcType=INTEGER}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + comment_count = #{record.commentCount,jdbcType=INTEGER}, + + + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + forward_count = #{record.forwardCount,jdbcType=INTEGER}, + + + category_name = #{record.categoryName,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update cms_subject + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + title = #{record.title,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + product_count = #{record.productCount,jdbcType=INTEGER}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + collect_count = #{record.collectCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + comment_count = #{record.commentCount,jdbcType=INTEGER}, + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + forward_count = #{record.forwardCount,jdbcType=INTEGER}, + category_name = #{record.categoryName,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update cms_subject + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + title = #{record.title,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + product_count = #{record.productCount,jdbcType=INTEGER}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + collect_count = #{record.collectCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + comment_count = #{record.commentCount,jdbcType=INTEGER}, + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + forward_count = #{record.forwardCount,jdbcType=INTEGER}, + category_name = #{record.categoryName,jdbcType=VARCHAR} + + + + + + update cms_subject + + + category_id = #{categoryId,jdbcType=BIGINT}, + + + title = #{title,jdbcType=VARCHAR}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + collect_count = #{collectCount,jdbcType=INTEGER}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + comment_count = #{commentCount,jdbcType=INTEGER}, + + + album_pics = #{albumPics,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + forward_count = #{forwardCount,jdbcType=INTEGER}, + + + category_name = #{categoryName,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject + set category_id = #{categoryId,jdbcType=BIGINT}, + title = #{title,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + product_count = #{productCount,jdbcType=INTEGER}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + collect_count = #{collectCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + comment_count = #{commentCount,jdbcType=INTEGER}, + album_pics = #{albumPics,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + forward_count = #{forwardCount,jdbcType=INTEGER}, + category_name = #{categoryName,jdbcType=VARCHAR}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update cms_subject + set category_id = #{categoryId,jdbcType=BIGINT}, + title = #{title,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + product_count = #{productCount,jdbcType=INTEGER}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + collect_count = #{collectCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + comment_count = #{commentCount,jdbcType=INTEGER}, + album_pics = #{albumPics,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + forward_count = #{forwardCount,jdbcType=INTEGER}, + category_name = #{categoryName,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectProductRelationMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectProductRelationMapper.xml new file mode 100644 index 0000000..2f128e3 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsSubjectProductRelationMapper.xml @@ -0,0 +1,529 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, subject_id, product_id + + + + + delete from cms_subject_product_relation + where id = #{id,jdbcType=BIGINT} + + + delete from cms_subject_product_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_product_relation (subject_id, product_id) + values (#{subjectId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_product_relation + + + subject_id, + + + product_id, + + + + + #{subjectId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + + + + update cms_subject_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + subject_id = #{record.subjectId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + + + + + + update cms_subject_product_relation + set id = #{record.id,jdbcType=BIGINT}, + subject_id = #{record.subjectId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT} + + + + + + update cms_subject_product_relation + + + subject_id = #{subjectId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject_product_relation + set subject_id = #{subjectId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, subject_id, product_id + + + + + delete from cms_subject_product_relation + where id = #{id,jdbcType=BIGINT} + + + delete from cms_subject_product_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_product_relation (subject_id, product_id) + values (#{subjectId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_product_relation + + + subject_id, + + + product_id, + + + + + #{subjectId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + + + + update cms_subject_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + subject_id = #{record.subjectId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + + + + + + update cms_subject_product_relation + set id = #{record.id,jdbcType=BIGINT}, + subject_id = #{record.subjectId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT} + + + + + + update cms_subject_product_relation + + + subject_id = #{subjectId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject_product_relation + set subject_id = #{subjectId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, subject_id, product_id + + + + + delete from cms_subject_product_relation + where id = #{id,jdbcType=BIGINT} + + + delete from cms_subject_product_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_product_relation (subject_id, product_id) + values (#{subjectId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_product_relation + + + subject_id, + + + product_id, + + + + + #{subjectId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + + + + update cms_subject_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + subject_id = #{record.subjectId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + + + + + + update cms_subject_product_relation + set id = #{record.id,jdbcType=BIGINT}, + subject_id = #{record.subjectId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT} + + + + + + update cms_subject_product_relation + + + subject_id = #{subjectId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject_product_relation + set subject_id = #{subjectId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsTopicCategoryMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsTopicCategoryMapper.xml new file mode 100644 index 0000000..744ab9d --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsTopicCategoryMapper.xml @@ -0,0 +1,670 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, icon, subject_count, show_status, sort + + + + + delete from cms_topic_category + where id = #{id,jdbcType=BIGINT} + + + delete from cms_topic_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic_category (name, icon, subject_count, + show_status, sort) + values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic_category + + + name, + + + icon, + + + subject_count, + + + show_status, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{subjectCount,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update cms_topic_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update cms_topic_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update cms_topic_category + + + name = #{name,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + subject_count = #{subjectCount,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_topic_category + set name = #{name,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + subject_count = #{subjectCount,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, icon, subject_count, show_status, sort + + + + + delete from cms_topic_category + where id = #{id,jdbcType=BIGINT} + + + delete from cms_topic_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic_category (name, icon, subject_count, + show_status, sort) + values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic_category + + + name, + + + icon, + + + subject_count, + + + show_status, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{subjectCount,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update cms_topic_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update cms_topic_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update cms_topic_category + + + name = #{name,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + subject_count = #{subjectCount,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_topic_category + set name = #{name,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + subject_count = #{subjectCount,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, icon, subject_count, show_status, sort + + + + + delete from cms_topic_category + where id = #{id,jdbcType=BIGINT} + + + delete from cms_topic_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic_category (name, icon, subject_count, + show_status, sort) + values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic_category + + + name, + + + icon, + + + subject_count, + + + show_status, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{subjectCount,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update cms_topic_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update cms_topic_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update cms_topic_category + + + name = #{name,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + subject_count = #{subjectCount,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_topic_category + set name = #{name,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + subject_count = #{subjectCount,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsTopicCommentMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsTopicCommentMapper.xml new file mode 100644 index 0000000..a1ca049 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsTopicCommentMapper.xml @@ -0,0 +1,721 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_nick_name, topic_id, member_icon, content, create_time, show_status + + + + + delete from cms_topic_comment + where id = #{id,jdbcType=BIGINT} + + + delete from cms_topic_comment + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic_comment (member_nick_name, topic_id, member_icon, + content, create_time, show_status + ) + values (#{memberNickName,jdbcType=VARCHAR}, #{topicId,jdbcType=BIGINT}, #{memberIcon,jdbcType=VARCHAR}, + #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic_comment + + + member_nick_name, + + + topic_id, + + + member_icon, + + + content, + + + create_time, + + + show_status, + + + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{topicId,jdbcType=BIGINT}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{content,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{showStatus,jdbcType=INTEGER}, + + + + + + update cms_topic_comment + + + id = #{record.id,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + topic_id = #{record.topicId,jdbcType=BIGINT}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + + + + + + update cms_topic_comment + set id = #{record.id,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + topic_id = #{record.topicId,jdbcType=BIGINT}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER} + + + + + + update cms_topic_comment + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + topic_id = #{topicId,jdbcType=BIGINT}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_topic_comment + set member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + topic_id = #{topicId,jdbcType=BIGINT}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + content = #{content,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_nick_name, topic_id, member_icon, content, create_time, show_status + + + + + delete from cms_topic_comment + where id = #{id,jdbcType=BIGINT} + + + delete from cms_topic_comment + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic_comment (member_nick_name, topic_id, member_icon, + content, create_time, show_status + ) + values (#{memberNickName,jdbcType=VARCHAR}, #{topicId,jdbcType=BIGINT}, #{memberIcon,jdbcType=VARCHAR}, + #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic_comment + + + member_nick_name, + + + topic_id, + + + member_icon, + + + content, + + + create_time, + + + show_status, + + + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{topicId,jdbcType=BIGINT}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{content,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{showStatus,jdbcType=INTEGER}, + + + + + + update cms_topic_comment + + + id = #{record.id,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + topic_id = #{record.topicId,jdbcType=BIGINT}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + + + + + + update cms_topic_comment + set id = #{record.id,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + topic_id = #{record.topicId,jdbcType=BIGINT}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER} + + + + + + update cms_topic_comment + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + topic_id = #{topicId,jdbcType=BIGINT}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_topic_comment + set member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + topic_id = #{topicId,jdbcType=BIGINT}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + content = #{content,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_nick_name, topic_id, member_icon, content, create_time, show_status + + + + + delete from cms_topic_comment + where id = #{id,jdbcType=BIGINT} + + + delete from cms_topic_comment + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic_comment (member_nick_name, topic_id, member_icon, + content, create_time, show_status + ) + values (#{memberNickName,jdbcType=VARCHAR}, #{topicId,jdbcType=BIGINT}, #{memberIcon,jdbcType=VARCHAR}, + #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic_comment + + + member_nick_name, + + + topic_id, + + + member_icon, + + + content, + + + create_time, + + + show_status, + + + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{topicId,jdbcType=BIGINT}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{content,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{showStatus,jdbcType=INTEGER}, + + + + + + update cms_topic_comment + + + id = #{record.id,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + topic_id = #{record.topicId,jdbcType=BIGINT}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + + + + + + update cms_topic_comment + set id = #{record.id,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + topic_id = #{record.topicId,jdbcType=BIGINT}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER} + + + + + + update cms_topic_comment + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + topic_id = #{topicId,jdbcType=BIGINT}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_topic_comment + set member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + topic_id = #{topicId,jdbcType=BIGINT}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + content = #{content,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsTopicMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsTopicMapper.xml new file mode 100644 index 0000000..f779b34 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/CmsTopicMapper.xml @@ -0,0 +1,1117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, category_id, name, create_time, start_time, end_time, attend_count, attention_count, + read_count, award_name, attend_type + + + content + + + + + + delete from cms_topic + where id = #{id,jdbcType=BIGINT} + + + delete from cms_topic + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic (category_id, name, create_time, + start_time, end_time, attend_count, + attention_count, read_count, award_name, + attend_type, content) + values (#{categoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, + #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{attendCount,jdbcType=INTEGER}, + #{attentionCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{awardName,jdbcType=VARCHAR}, + #{attendType,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic + + + category_id, + + + name, + + + create_time, + + + start_time, + + + end_time, + + + attend_count, + + + attention_count, + + + read_count, + + + award_name, + + + attend_type, + + + content, + + + + + #{categoryId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{startTime,jdbcType=TIMESTAMP}, + + + #{endTime,jdbcType=TIMESTAMP}, + + + #{attendCount,jdbcType=INTEGER}, + + + #{attentionCount,jdbcType=INTEGER}, + + + #{readCount,jdbcType=INTEGER}, + + + #{awardName,jdbcType=VARCHAR}, + + + #{attendType,jdbcType=VARCHAR}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update cms_topic + + + id = #{record.id,jdbcType=BIGINT}, + + + category_id = #{record.categoryId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + + + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + + + attend_count = #{record.attendCount,jdbcType=INTEGER}, + + + attention_count = #{record.attentionCount,jdbcType=INTEGER}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + award_name = #{record.awardName,jdbcType=VARCHAR}, + + + attend_type = #{record.attendType,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update cms_topic + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + attend_count = #{record.attendCount,jdbcType=INTEGER}, + attention_count = #{record.attentionCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + award_name = #{record.awardName,jdbcType=VARCHAR}, + attend_type = #{record.attendType,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update cms_topic + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + attend_count = #{record.attendCount,jdbcType=INTEGER}, + attention_count = #{record.attentionCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + award_name = #{record.awardName,jdbcType=VARCHAR}, + attend_type = #{record.attendType,jdbcType=VARCHAR} + + + + + + update cms_topic + + + category_id = #{categoryId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + start_time = #{startTime,jdbcType=TIMESTAMP}, + + + end_time = #{endTime,jdbcType=TIMESTAMP}, + + + attend_count = #{attendCount,jdbcType=INTEGER}, + + + attention_count = #{attentionCount,jdbcType=INTEGER}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + award_name = #{awardName,jdbcType=VARCHAR}, + + + attend_type = #{attendType,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_topic + set category_id = #{categoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + attend_count = #{attendCount,jdbcType=INTEGER}, + attention_count = #{attentionCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + award_name = #{awardName,jdbcType=VARCHAR}, + attend_type = #{attendType,jdbcType=VARCHAR}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update cms_topic + set category_id = #{categoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + attend_count = #{attendCount,jdbcType=INTEGER}, + attention_count = #{attentionCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + award_name = #{awardName,jdbcType=VARCHAR}, + attend_type = #{attendType,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, category_id, name, create_time, start_time, end_time, attend_count, attention_count, + read_count, award_name, attend_type + + + content + + + + + + delete from cms_topic + where id = #{id,jdbcType=BIGINT} + + + delete from cms_topic + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic (category_id, name, create_time, + start_time, end_time, attend_count, + attention_count, read_count, award_name, + attend_type, content) + values (#{categoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, + #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{attendCount,jdbcType=INTEGER}, + #{attentionCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{awardName,jdbcType=VARCHAR}, + #{attendType,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic + + + category_id, + + + name, + + + create_time, + + + start_time, + + + end_time, + + + attend_count, + + + attention_count, + + + read_count, + + + award_name, + + + attend_type, + + + content, + + + + + #{categoryId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{startTime,jdbcType=TIMESTAMP}, + + + #{endTime,jdbcType=TIMESTAMP}, + + + #{attendCount,jdbcType=INTEGER}, + + + #{attentionCount,jdbcType=INTEGER}, + + + #{readCount,jdbcType=INTEGER}, + + + #{awardName,jdbcType=VARCHAR}, + + + #{attendType,jdbcType=VARCHAR}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update cms_topic + + + id = #{record.id,jdbcType=BIGINT}, + + + category_id = #{record.categoryId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + + + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + + + attend_count = #{record.attendCount,jdbcType=INTEGER}, + + + attention_count = #{record.attentionCount,jdbcType=INTEGER}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + award_name = #{record.awardName,jdbcType=VARCHAR}, + + + attend_type = #{record.attendType,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update cms_topic + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + attend_count = #{record.attendCount,jdbcType=INTEGER}, + attention_count = #{record.attentionCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + award_name = #{record.awardName,jdbcType=VARCHAR}, + attend_type = #{record.attendType,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update cms_topic + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + attend_count = #{record.attendCount,jdbcType=INTEGER}, + attention_count = #{record.attentionCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + award_name = #{record.awardName,jdbcType=VARCHAR}, + attend_type = #{record.attendType,jdbcType=VARCHAR} + + + + + + update cms_topic + + + category_id = #{categoryId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + start_time = #{startTime,jdbcType=TIMESTAMP}, + + + end_time = #{endTime,jdbcType=TIMESTAMP}, + + + attend_count = #{attendCount,jdbcType=INTEGER}, + + + attention_count = #{attentionCount,jdbcType=INTEGER}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + award_name = #{awardName,jdbcType=VARCHAR}, + + + attend_type = #{attendType,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_topic + set category_id = #{categoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + attend_count = #{attendCount,jdbcType=INTEGER}, + attention_count = #{attentionCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + award_name = #{awardName,jdbcType=VARCHAR}, + attend_type = #{attendType,jdbcType=VARCHAR}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update cms_topic + set category_id = #{categoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + attend_count = #{attendCount,jdbcType=INTEGER}, + attention_count = #{attentionCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + award_name = #{awardName,jdbcType=VARCHAR}, + attend_type = #{attendType,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, category_id, name, create_time, start_time, end_time, attend_count, attention_count, + read_count, award_name, attend_type + + + content + + + + + + delete from cms_topic + where id = #{id,jdbcType=BIGINT} + + + delete from cms_topic + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic (category_id, name, create_time, + start_time, end_time, attend_count, + attention_count, read_count, award_name, + attend_type, content) + values (#{categoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, + #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{attendCount,jdbcType=INTEGER}, + #{attentionCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{awardName,jdbcType=VARCHAR}, + #{attendType,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic + + + category_id, + + + name, + + + create_time, + + + start_time, + + + end_time, + + + attend_count, + + + attention_count, + + + read_count, + + + award_name, + + + attend_type, + + + content, + + + + + #{categoryId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{startTime,jdbcType=TIMESTAMP}, + + + #{endTime,jdbcType=TIMESTAMP}, + + + #{attendCount,jdbcType=INTEGER}, + + + #{attentionCount,jdbcType=INTEGER}, + + + #{readCount,jdbcType=INTEGER}, + + + #{awardName,jdbcType=VARCHAR}, + + + #{attendType,jdbcType=VARCHAR}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update cms_topic + + + id = #{record.id,jdbcType=BIGINT}, + + + category_id = #{record.categoryId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + + + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + + + attend_count = #{record.attendCount,jdbcType=INTEGER}, + + + attention_count = #{record.attentionCount,jdbcType=INTEGER}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + award_name = #{record.awardName,jdbcType=VARCHAR}, + + + attend_type = #{record.attendType,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update cms_topic + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + attend_count = #{record.attendCount,jdbcType=INTEGER}, + attention_count = #{record.attentionCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + award_name = #{record.awardName,jdbcType=VARCHAR}, + attend_type = #{record.attendType,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update cms_topic + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + attend_count = #{record.attendCount,jdbcType=INTEGER}, + attention_count = #{record.attentionCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + award_name = #{record.awardName,jdbcType=VARCHAR}, + attend_type = #{record.attendType,jdbcType=VARCHAR} + + + + + + update cms_topic + + + category_id = #{categoryId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + start_time = #{startTime,jdbcType=TIMESTAMP}, + + + end_time = #{endTime,jdbcType=TIMESTAMP}, + + + attend_count = #{attendCount,jdbcType=INTEGER}, + + + attention_count = #{attentionCount,jdbcType=INTEGER}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + award_name = #{awardName,jdbcType=VARCHAR}, + + + attend_type = #{attendType,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_topic + set category_id = #{categoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + attend_count = #{attendCount,jdbcType=INTEGER}, + attention_count = #{attentionCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + award_name = #{awardName,jdbcType=VARCHAR}, + attend_type = #{attendType,jdbcType=VARCHAR}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update cms_topic + set category_id = #{categoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + attend_count = #{attendCount,jdbcType=INTEGER}, + attention_count = #{attentionCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + award_name = #{awardName,jdbcType=VARCHAR}, + attend_type = #{attendType,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsCartItemMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsCartItemMapper.xml new file mode 100644 index 0000000..4b74357 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsCartItemMapper.xml @@ -0,0 +1,1381 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, product_sku_id, member_id, quantity, price, sp1, sp2, sp3, product_pic, + product_name, product_sub_title, product_sku_code, member_nickname, create_date, + modify_date, delete_status, product_category_id, product_brand, product_sn, product_attr + + + + + delete from oms_cart_item + where id = #{id,jdbcType=BIGINT} + + + delete from oms_cart_item + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_cart_item (product_id, product_sku_id, member_id, + quantity, price, sp1, + sp2, sp3, product_pic, + product_name, product_sub_title, product_sku_code, + member_nickname, create_date, modify_date, + delete_status, product_category_id, product_brand, + product_sn, product_attr) + values (#{productId,jdbcType=BIGINT}, #{productSkuId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, + #{quantity,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, #{sp1,jdbcType=VARCHAR}, + #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{productPic,jdbcType=VARCHAR}, + #{productName,jdbcType=VARCHAR}, #{productSubTitle,jdbcType=VARCHAR}, #{productSkuCode,jdbcType=VARCHAR}, + #{memberNickname,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modifyDate,jdbcType=TIMESTAMP}, + #{deleteStatus,jdbcType=INTEGER}, #{productCategoryId,jdbcType=BIGINT}, #{productBrand,jdbcType=VARCHAR}, + #{productSn,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_cart_item + + + product_id, + + + product_sku_id, + + + member_id, + + + quantity, + + + price, + + + sp1, + + + sp2, + + + sp3, + + + product_pic, + + + product_name, + + + product_sub_title, + + + product_sku_code, + + + member_nickname, + + + create_date, + + + modify_date, + + + delete_status, + + + product_category_id, + + + product_brand, + + + product_sn, + + + product_attr, + + + + + #{productId,jdbcType=BIGINT}, + + + #{productSkuId,jdbcType=BIGINT}, + + + #{memberId,jdbcType=BIGINT}, + + + #{quantity,jdbcType=INTEGER}, + + + #{price,jdbcType=DECIMAL}, + + + #{sp1,jdbcType=VARCHAR}, + + + #{sp2,jdbcType=VARCHAR}, + + + #{sp3,jdbcType=VARCHAR}, + + + #{productPic,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productSubTitle,jdbcType=VARCHAR}, + + + #{productSkuCode,jdbcType=VARCHAR}, + + + #{memberNickname,jdbcType=VARCHAR}, + + + #{createDate,jdbcType=TIMESTAMP}, + + + #{modifyDate,jdbcType=TIMESTAMP}, + + + #{deleteStatus,jdbcType=INTEGER}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{productBrand,jdbcType=VARCHAR}, + + + #{productSn,jdbcType=VARCHAR}, + + + #{productAttr,jdbcType=VARCHAR}, + + + + + + update oms_cart_item + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + quantity = #{record.quantity,jdbcType=INTEGER}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + sp1 = #{record.sp1,jdbcType=VARCHAR}, + + + sp2 = #{record.sp2,jdbcType=VARCHAR}, + + + sp3 = #{record.sp3,jdbcType=VARCHAR}, + + + product_pic = #{record.productPic,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + product_sub_title = #{record.productSubTitle,jdbcType=VARCHAR}, + + + product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, + + + member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, + + + create_date = #{record.createDate,jdbcType=TIMESTAMP}, + + + modify_date = #{record.modifyDate,jdbcType=TIMESTAMP}, + + + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + + + product_sn = #{record.productSn,jdbcType=VARCHAR}, + + + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + + + + + + + + update oms_cart_item + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + quantity = #{record.quantity,jdbcType=INTEGER}, + price = #{record.price,jdbcType=DECIMAL}, + sp1 = #{record.sp1,jdbcType=VARCHAR}, + sp2 = #{record.sp2,jdbcType=VARCHAR}, + sp3 = #{record.sp3,jdbcType=VARCHAR}, + product_pic = #{record.productPic,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + product_sub_title = #{record.productSubTitle,jdbcType=VARCHAR}, + product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, + member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, + create_date = #{record.createDate,jdbcType=TIMESTAMP}, + modify_date = #{record.modifyDate,jdbcType=TIMESTAMP}, + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR}, + product_attr = #{record.productAttr,jdbcType=VARCHAR} + + + + + + update oms_cart_item + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_sku_id = #{productSkuId,jdbcType=BIGINT}, + + + member_id = #{memberId,jdbcType=BIGINT}, + + + quantity = #{quantity,jdbcType=INTEGER}, + + + price = #{price,jdbcType=DECIMAL}, + + + sp1 = #{sp1,jdbcType=VARCHAR}, + + + sp2 = #{sp2,jdbcType=VARCHAR}, + + + sp3 = #{sp3,jdbcType=VARCHAR}, + + + product_pic = #{productPic,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_sub_title = #{productSubTitle,jdbcType=VARCHAR}, + + + product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, + + + member_nickname = #{memberNickname,jdbcType=VARCHAR}, + + + create_date = #{createDate,jdbcType=TIMESTAMP}, + + + modify_date = #{modifyDate,jdbcType=TIMESTAMP}, + + + delete_status = #{deleteStatus,jdbcType=INTEGER}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + product_brand = #{productBrand,jdbcType=VARCHAR}, + + + product_sn = #{productSn,jdbcType=VARCHAR}, + + + product_attr = #{productAttr,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_cart_item + set product_id = #{productId,jdbcType=BIGINT}, + product_sku_id = #{productSkuId,jdbcType=BIGINT}, + member_id = #{memberId,jdbcType=BIGINT}, + quantity = #{quantity,jdbcType=INTEGER}, + price = #{price,jdbcType=DECIMAL}, + sp1 = #{sp1,jdbcType=VARCHAR}, + sp2 = #{sp2,jdbcType=VARCHAR}, + sp3 = #{sp3,jdbcType=VARCHAR}, + product_pic = #{productPic,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + product_sub_title = #{productSubTitle,jdbcType=VARCHAR}, + product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, + member_nickname = #{memberNickname,jdbcType=VARCHAR}, + create_date = #{createDate,jdbcType=TIMESTAMP}, + modify_date = #{modifyDate,jdbcType=TIMESTAMP}, + delete_status = #{deleteStatus,jdbcType=INTEGER}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + product_brand = #{productBrand,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR}, + product_attr = #{productAttr,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, product_sku_id, member_id, quantity, price, sp1, sp2, sp3, product_pic, + product_name, product_sub_title, product_sku_code, member_nickname, create_date, + modify_date, delete_status, product_category_id, product_brand, product_sn, product_attr + + + + + delete from oms_cart_item + where id = #{id,jdbcType=BIGINT} + + + delete from oms_cart_item + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_cart_item (product_id, product_sku_id, member_id, + quantity, price, sp1, + sp2, sp3, product_pic, + product_name, product_sub_title, product_sku_code, + member_nickname, create_date, modify_date, + delete_status, product_category_id, product_brand, + product_sn, product_attr) + values (#{productId,jdbcType=BIGINT}, #{productSkuId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, + #{quantity,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, #{sp1,jdbcType=VARCHAR}, + #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{productPic,jdbcType=VARCHAR}, + #{productName,jdbcType=VARCHAR}, #{productSubTitle,jdbcType=VARCHAR}, #{productSkuCode,jdbcType=VARCHAR}, + #{memberNickname,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modifyDate,jdbcType=TIMESTAMP}, + #{deleteStatus,jdbcType=INTEGER}, #{productCategoryId,jdbcType=BIGINT}, #{productBrand,jdbcType=VARCHAR}, + #{productSn,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_cart_item + + + product_id, + + + product_sku_id, + + + member_id, + + + quantity, + + + price, + + + sp1, + + + sp2, + + + sp3, + + + product_pic, + + + product_name, + + + product_sub_title, + + + product_sku_code, + + + member_nickname, + + + create_date, + + + modify_date, + + + delete_status, + + + product_category_id, + + + product_brand, + + + product_sn, + + + product_attr, + + + + + #{productId,jdbcType=BIGINT}, + + + #{productSkuId,jdbcType=BIGINT}, + + + #{memberId,jdbcType=BIGINT}, + + + #{quantity,jdbcType=INTEGER}, + + + #{price,jdbcType=DECIMAL}, + + + #{sp1,jdbcType=VARCHAR}, + + + #{sp2,jdbcType=VARCHAR}, + + + #{sp3,jdbcType=VARCHAR}, + + + #{productPic,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productSubTitle,jdbcType=VARCHAR}, + + + #{productSkuCode,jdbcType=VARCHAR}, + + + #{memberNickname,jdbcType=VARCHAR}, + + + #{createDate,jdbcType=TIMESTAMP}, + + + #{modifyDate,jdbcType=TIMESTAMP}, + + + #{deleteStatus,jdbcType=INTEGER}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{productBrand,jdbcType=VARCHAR}, + + + #{productSn,jdbcType=VARCHAR}, + + + #{productAttr,jdbcType=VARCHAR}, + + + + + + update oms_cart_item + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + quantity = #{record.quantity,jdbcType=INTEGER}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + sp1 = #{record.sp1,jdbcType=VARCHAR}, + + + sp2 = #{record.sp2,jdbcType=VARCHAR}, + + + sp3 = #{record.sp3,jdbcType=VARCHAR}, + + + product_pic = #{record.productPic,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + product_sub_title = #{record.productSubTitle,jdbcType=VARCHAR}, + + + product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, + + + member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, + + + create_date = #{record.createDate,jdbcType=TIMESTAMP}, + + + modify_date = #{record.modifyDate,jdbcType=TIMESTAMP}, + + + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + + + product_sn = #{record.productSn,jdbcType=VARCHAR}, + + + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + + + + + + + + update oms_cart_item + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + quantity = #{record.quantity,jdbcType=INTEGER}, + price = #{record.price,jdbcType=DECIMAL}, + sp1 = #{record.sp1,jdbcType=VARCHAR}, + sp2 = #{record.sp2,jdbcType=VARCHAR}, + sp3 = #{record.sp3,jdbcType=VARCHAR}, + product_pic = #{record.productPic,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + product_sub_title = #{record.productSubTitle,jdbcType=VARCHAR}, + product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, + member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, + create_date = #{record.createDate,jdbcType=TIMESTAMP}, + modify_date = #{record.modifyDate,jdbcType=TIMESTAMP}, + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR}, + product_attr = #{record.productAttr,jdbcType=VARCHAR} + + + + + + update oms_cart_item + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_sku_id = #{productSkuId,jdbcType=BIGINT}, + + + member_id = #{memberId,jdbcType=BIGINT}, + + + quantity = #{quantity,jdbcType=INTEGER}, + + + price = #{price,jdbcType=DECIMAL}, + + + sp1 = #{sp1,jdbcType=VARCHAR}, + + + sp2 = #{sp2,jdbcType=VARCHAR}, + + + sp3 = #{sp3,jdbcType=VARCHAR}, + + + product_pic = #{productPic,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_sub_title = #{productSubTitle,jdbcType=VARCHAR}, + + + product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, + + + member_nickname = #{memberNickname,jdbcType=VARCHAR}, + + + create_date = #{createDate,jdbcType=TIMESTAMP}, + + + modify_date = #{modifyDate,jdbcType=TIMESTAMP}, + + + delete_status = #{deleteStatus,jdbcType=INTEGER}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + product_brand = #{productBrand,jdbcType=VARCHAR}, + + + product_sn = #{productSn,jdbcType=VARCHAR}, + + + product_attr = #{productAttr,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_cart_item + set product_id = #{productId,jdbcType=BIGINT}, + product_sku_id = #{productSkuId,jdbcType=BIGINT}, + member_id = #{memberId,jdbcType=BIGINT}, + quantity = #{quantity,jdbcType=INTEGER}, + price = #{price,jdbcType=DECIMAL}, + sp1 = #{sp1,jdbcType=VARCHAR}, + sp2 = #{sp2,jdbcType=VARCHAR}, + sp3 = #{sp3,jdbcType=VARCHAR}, + product_pic = #{productPic,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + product_sub_title = #{productSubTitle,jdbcType=VARCHAR}, + product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, + member_nickname = #{memberNickname,jdbcType=VARCHAR}, + create_date = #{createDate,jdbcType=TIMESTAMP}, + modify_date = #{modifyDate,jdbcType=TIMESTAMP}, + delete_status = #{deleteStatus,jdbcType=INTEGER}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + product_brand = #{productBrand,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR}, + product_attr = #{productAttr,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, product_sku_id, member_id, quantity, price, sp1, sp2, sp3, product_pic, + product_name, product_sub_title, product_sku_code, member_nickname, create_date, + modify_date, delete_status, product_category_id, product_brand, product_sn, product_attr + + + + + delete from oms_cart_item + where id = #{id,jdbcType=BIGINT} + + + delete from oms_cart_item + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_cart_item (product_id, product_sku_id, member_id, + quantity, price, sp1, + sp2, sp3, product_pic, + product_name, product_sub_title, product_sku_code, + member_nickname, create_date, modify_date, + delete_status, product_category_id, product_brand, + product_sn, product_attr) + values (#{productId,jdbcType=BIGINT}, #{productSkuId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, + #{quantity,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, #{sp1,jdbcType=VARCHAR}, + #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{productPic,jdbcType=VARCHAR}, + #{productName,jdbcType=VARCHAR}, #{productSubTitle,jdbcType=VARCHAR}, #{productSkuCode,jdbcType=VARCHAR}, + #{memberNickname,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modifyDate,jdbcType=TIMESTAMP}, + #{deleteStatus,jdbcType=INTEGER}, #{productCategoryId,jdbcType=BIGINT}, #{productBrand,jdbcType=VARCHAR}, + #{productSn,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_cart_item + + + product_id, + + + product_sku_id, + + + member_id, + + + quantity, + + + price, + + + sp1, + + + sp2, + + + sp3, + + + product_pic, + + + product_name, + + + product_sub_title, + + + product_sku_code, + + + member_nickname, + + + create_date, + + + modify_date, + + + delete_status, + + + product_category_id, + + + product_brand, + + + product_sn, + + + product_attr, + + + + + #{productId,jdbcType=BIGINT}, + + + #{productSkuId,jdbcType=BIGINT}, + + + #{memberId,jdbcType=BIGINT}, + + + #{quantity,jdbcType=INTEGER}, + + + #{price,jdbcType=DECIMAL}, + + + #{sp1,jdbcType=VARCHAR}, + + + #{sp2,jdbcType=VARCHAR}, + + + #{sp3,jdbcType=VARCHAR}, + + + #{productPic,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productSubTitle,jdbcType=VARCHAR}, + + + #{productSkuCode,jdbcType=VARCHAR}, + + + #{memberNickname,jdbcType=VARCHAR}, + + + #{createDate,jdbcType=TIMESTAMP}, + + + #{modifyDate,jdbcType=TIMESTAMP}, + + + #{deleteStatus,jdbcType=INTEGER}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{productBrand,jdbcType=VARCHAR}, + + + #{productSn,jdbcType=VARCHAR}, + + + #{productAttr,jdbcType=VARCHAR}, + + + + + + update oms_cart_item + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + quantity = #{record.quantity,jdbcType=INTEGER}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + sp1 = #{record.sp1,jdbcType=VARCHAR}, + + + sp2 = #{record.sp2,jdbcType=VARCHAR}, + + + sp3 = #{record.sp3,jdbcType=VARCHAR}, + + + product_pic = #{record.productPic,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + product_sub_title = #{record.productSubTitle,jdbcType=VARCHAR}, + + + product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, + + + member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, + + + create_date = #{record.createDate,jdbcType=TIMESTAMP}, + + + modify_date = #{record.modifyDate,jdbcType=TIMESTAMP}, + + + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + + + product_sn = #{record.productSn,jdbcType=VARCHAR}, + + + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + + + + + + + + update oms_cart_item + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + quantity = #{record.quantity,jdbcType=INTEGER}, + price = #{record.price,jdbcType=DECIMAL}, + sp1 = #{record.sp1,jdbcType=VARCHAR}, + sp2 = #{record.sp2,jdbcType=VARCHAR}, + sp3 = #{record.sp3,jdbcType=VARCHAR}, + product_pic = #{record.productPic,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + product_sub_title = #{record.productSubTitle,jdbcType=VARCHAR}, + product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, + member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, + create_date = #{record.createDate,jdbcType=TIMESTAMP}, + modify_date = #{record.modifyDate,jdbcType=TIMESTAMP}, + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR}, + product_attr = #{record.productAttr,jdbcType=VARCHAR} + + + + + + update oms_cart_item + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_sku_id = #{productSkuId,jdbcType=BIGINT}, + + + member_id = #{memberId,jdbcType=BIGINT}, + + + quantity = #{quantity,jdbcType=INTEGER}, + + + price = #{price,jdbcType=DECIMAL}, + + + sp1 = #{sp1,jdbcType=VARCHAR}, + + + sp2 = #{sp2,jdbcType=VARCHAR}, + + + sp3 = #{sp3,jdbcType=VARCHAR}, + + + product_pic = #{productPic,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_sub_title = #{productSubTitle,jdbcType=VARCHAR}, + + + product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, + + + member_nickname = #{memberNickname,jdbcType=VARCHAR}, + + + create_date = #{createDate,jdbcType=TIMESTAMP}, + + + modify_date = #{modifyDate,jdbcType=TIMESTAMP}, + + + delete_status = #{deleteStatus,jdbcType=INTEGER}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + product_brand = #{productBrand,jdbcType=VARCHAR}, + + + product_sn = #{productSn,jdbcType=VARCHAR}, + + + product_attr = #{productAttr,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_cart_item + set product_id = #{productId,jdbcType=BIGINT}, + product_sku_id = #{productSkuId,jdbcType=BIGINT}, + member_id = #{memberId,jdbcType=BIGINT}, + quantity = #{quantity,jdbcType=INTEGER}, + price = #{price,jdbcType=DECIMAL}, + sp1 = #{sp1,jdbcType=VARCHAR}, + sp2 = #{sp2,jdbcType=VARCHAR}, + sp3 = #{sp3,jdbcType=VARCHAR}, + product_pic = #{productPic,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + product_sub_title = #{productSubTitle,jdbcType=VARCHAR}, + product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, + member_nickname = #{memberNickname,jdbcType=VARCHAR}, + create_date = #{createDate,jdbcType=TIMESTAMP}, + modify_date = #{modifyDate,jdbcType=TIMESTAMP}, + delete_status = #{deleteStatus,jdbcType=INTEGER}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + product_brand = #{productBrand,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR}, + product_attr = #{productAttr,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsCompanyAddressMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsCompanyAddressMapper.xml new file mode 100644 index 0000000..e839a52 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsCompanyAddressMapper.xml @@ -0,0 +1,865 @@ + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, address_name, send_status, receive_status, name, phone, province, city, region, + detail_address + + + + + delete from oms_company_address + where id = #{id,jdbcType=BIGINT} + + + delete from oms_company_address + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_company_address (address_name, send_status, receive_status, + name, phone, province, + city, region, detail_address + ) + values (#{addressName,jdbcType=VARCHAR}, #{sendStatus,jdbcType=INTEGER}, #{receiveStatus,jdbcType=INTEGER}, + #{name,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, + #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into oms_company_address + + + address_name, + + + send_status, + + + receive_status, + + + name, + + + phone, + + + province, + + + city, + + + region, + + + detail_address, + + + + + #{addressName,jdbcType=VARCHAR}, + + + #{sendStatus,jdbcType=INTEGER}, + + + #{receiveStatus,jdbcType=INTEGER}, + + + #{name,jdbcType=VARCHAR}, + + + #{phone,jdbcType=VARCHAR}, + + + #{province,jdbcType=VARCHAR}, + + + #{city,jdbcType=VARCHAR}, + + + #{region,jdbcType=VARCHAR}, + + + #{detailAddress,jdbcType=VARCHAR}, + + + + + + update oms_company_address + + + id = #{record.id,jdbcType=BIGINT}, + + + address_name = #{record.addressName,jdbcType=VARCHAR}, + + + send_status = #{record.sendStatus,jdbcType=INTEGER}, + + + receive_status = #{record.receiveStatus,jdbcType=INTEGER}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + phone = #{record.phone,jdbcType=VARCHAR}, + + + province = #{record.province,jdbcType=VARCHAR}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + region = #{record.region,jdbcType=VARCHAR}, + + + detail_address = #{record.detailAddress,jdbcType=VARCHAR}, + + + + + + + + update oms_company_address + set id = #{record.id,jdbcType=BIGINT}, + address_name = #{record.addressName,jdbcType=VARCHAR}, + send_status = #{record.sendStatus,jdbcType=INTEGER}, + receive_status = #{record.receiveStatus,jdbcType=INTEGER}, + name = #{record.name,jdbcType=VARCHAR}, + phone = #{record.phone,jdbcType=VARCHAR}, + province = #{record.province,jdbcType=VARCHAR}, + city = #{record.city,jdbcType=VARCHAR}, + region = #{record.region,jdbcType=VARCHAR}, + detail_address = #{record.detailAddress,jdbcType=VARCHAR} + + + + + + update oms_company_address + + + address_name = #{addressName,jdbcType=VARCHAR}, + + + send_status = #{sendStatus,jdbcType=INTEGER}, + + + receive_status = #{receiveStatus,jdbcType=INTEGER}, + + + name = #{name,jdbcType=VARCHAR}, + + + phone = #{phone,jdbcType=VARCHAR}, + + + province = #{province,jdbcType=VARCHAR}, + + + city = #{city,jdbcType=VARCHAR}, + + + region = #{region,jdbcType=VARCHAR}, + + + detail_address = #{detailAddress,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_company_address + set address_name = #{addressName,jdbcType=VARCHAR}, + send_status = #{sendStatus,jdbcType=INTEGER}, + receive_status = #{receiveStatus,jdbcType=INTEGER}, + name = #{name,jdbcType=VARCHAR}, + phone = #{phone,jdbcType=VARCHAR}, + province = #{province,jdbcType=VARCHAR}, + city = #{city,jdbcType=VARCHAR}, + region = #{region,jdbcType=VARCHAR}, + detail_address = #{detailAddress,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, address_name, send_status, receive_status, name, phone, province, city, region, + detail_address + + + + + delete from oms_company_address + where id = #{id,jdbcType=BIGINT} + + + delete from oms_company_address + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_company_address (address_name, send_status, receive_status, + name, phone, province, + city, region, detail_address + ) + values (#{addressName,jdbcType=VARCHAR}, #{sendStatus,jdbcType=INTEGER}, #{receiveStatus,jdbcType=INTEGER}, + #{name,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, + #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into oms_company_address + + + address_name, + + + send_status, + + + receive_status, + + + name, + + + phone, + + + province, + + + city, + + + region, + + + detail_address, + + + + + #{addressName,jdbcType=VARCHAR}, + + + #{sendStatus,jdbcType=INTEGER}, + + + #{receiveStatus,jdbcType=INTEGER}, + + + #{name,jdbcType=VARCHAR}, + + + #{phone,jdbcType=VARCHAR}, + + + #{province,jdbcType=VARCHAR}, + + + #{city,jdbcType=VARCHAR}, + + + #{region,jdbcType=VARCHAR}, + + + #{detailAddress,jdbcType=VARCHAR}, + + + + + + update oms_company_address + + + id = #{record.id,jdbcType=BIGINT}, + + + address_name = #{record.addressName,jdbcType=VARCHAR}, + + + send_status = #{record.sendStatus,jdbcType=INTEGER}, + + + receive_status = #{record.receiveStatus,jdbcType=INTEGER}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + phone = #{record.phone,jdbcType=VARCHAR}, + + + province = #{record.province,jdbcType=VARCHAR}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + region = #{record.region,jdbcType=VARCHAR}, + + + detail_address = #{record.detailAddress,jdbcType=VARCHAR}, + + + + + + + + update oms_company_address + set id = #{record.id,jdbcType=BIGINT}, + address_name = #{record.addressName,jdbcType=VARCHAR}, + send_status = #{record.sendStatus,jdbcType=INTEGER}, + receive_status = #{record.receiveStatus,jdbcType=INTEGER}, + name = #{record.name,jdbcType=VARCHAR}, + phone = #{record.phone,jdbcType=VARCHAR}, + province = #{record.province,jdbcType=VARCHAR}, + city = #{record.city,jdbcType=VARCHAR}, + region = #{record.region,jdbcType=VARCHAR}, + detail_address = #{record.detailAddress,jdbcType=VARCHAR} + + + + + + update oms_company_address + + + address_name = #{addressName,jdbcType=VARCHAR}, + + + send_status = #{sendStatus,jdbcType=INTEGER}, + + + receive_status = #{receiveStatus,jdbcType=INTEGER}, + + + name = #{name,jdbcType=VARCHAR}, + + + phone = #{phone,jdbcType=VARCHAR}, + + + province = #{province,jdbcType=VARCHAR}, + + + city = #{city,jdbcType=VARCHAR}, + + + region = #{region,jdbcType=VARCHAR}, + + + detail_address = #{detailAddress,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_company_address + set address_name = #{addressName,jdbcType=VARCHAR}, + send_status = #{sendStatus,jdbcType=INTEGER}, + receive_status = #{receiveStatus,jdbcType=INTEGER}, + name = #{name,jdbcType=VARCHAR}, + phone = #{phone,jdbcType=VARCHAR}, + province = #{province,jdbcType=VARCHAR}, + city = #{city,jdbcType=VARCHAR}, + region = #{region,jdbcType=VARCHAR}, + detail_address = #{detailAddress,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, address_name, send_status, receive_status, name, phone, province, city, region, + detail_address + + + + + delete from oms_company_address + where id = #{id,jdbcType=BIGINT} + + + delete from oms_company_address + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_company_address (address_name, send_status, receive_status, + name, phone, province, + city, region, detail_address + ) + values (#{addressName,jdbcType=VARCHAR}, #{sendStatus,jdbcType=INTEGER}, #{receiveStatus,jdbcType=INTEGER}, + #{name,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, + #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into oms_company_address + + + address_name, + + + send_status, + + + receive_status, + + + name, + + + phone, + + + province, + + + city, + + + region, + + + detail_address, + + + + + #{addressName,jdbcType=VARCHAR}, + + + #{sendStatus,jdbcType=INTEGER}, + + + #{receiveStatus,jdbcType=INTEGER}, + + + #{name,jdbcType=VARCHAR}, + + + #{phone,jdbcType=VARCHAR}, + + + #{province,jdbcType=VARCHAR}, + + + #{city,jdbcType=VARCHAR}, + + + #{region,jdbcType=VARCHAR}, + + + #{detailAddress,jdbcType=VARCHAR}, + + + + + + update oms_company_address + + + id = #{record.id,jdbcType=BIGINT}, + + + address_name = #{record.addressName,jdbcType=VARCHAR}, + + + send_status = #{record.sendStatus,jdbcType=INTEGER}, + + + receive_status = #{record.receiveStatus,jdbcType=INTEGER}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + phone = #{record.phone,jdbcType=VARCHAR}, + + + province = #{record.province,jdbcType=VARCHAR}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + region = #{record.region,jdbcType=VARCHAR}, + + + detail_address = #{record.detailAddress,jdbcType=VARCHAR}, + + + + + + + + update oms_company_address + set id = #{record.id,jdbcType=BIGINT}, + address_name = #{record.addressName,jdbcType=VARCHAR}, + send_status = #{record.sendStatus,jdbcType=INTEGER}, + receive_status = #{record.receiveStatus,jdbcType=INTEGER}, + name = #{record.name,jdbcType=VARCHAR}, + phone = #{record.phone,jdbcType=VARCHAR}, + province = #{record.province,jdbcType=VARCHAR}, + city = #{record.city,jdbcType=VARCHAR}, + region = #{record.region,jdbcType=VARCHAR}, + detail_address = #{record.detailAddress,jdbcType=VARCHAR} + + + + + + update oms_company_address + + + address_name = #{addressName,jdbcType=VARCHAR}, + + + send_status = #{sendStatus,jdbcType=INTEGER}, + + + receive_status = #{receiveStatus,jdbcType=INTEGER}, + + + name = #{name,jdbcType=VARCHAR}, + + + phone = #{phone,jdbcType=VARCHAR}, + + + province = #{province,jdbcType=VARCHAR}, + + + city = #{city,jdbcType=VARCHAR}, + + + region = #{region,jdbcType=VARCHAR}, + + + detail_address = #{detailAddress,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_company_address + set address_name = #{addressName,jdbcType=VARCHAR}, + send_status = #{sendStatus,jdbcType=INTEGER}, + receive_status = #{receiveStatus,jdbcType=INTEGER}, + name = #{name,jdbcType=VARCHAR}, + phone = #{phone,jdbcType=VARCHAR}, + province = #{province,jdbcType=VARCHAR}, + city = #{city,jdbcType=VARCHAR}, + region = #{region,jdbcType=VARCHAR}, + detail_address = #{detailAddress,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderItemMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderItemMapper.xml new file mode 100644 index 0000000..9c4bd22 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderItemMapper.xml @@ -0,0 +1,1525 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, order_id, order_sn, product_id, product_pic, product_name, product_brand, product_sn, + product_price, product_quantity, product_sku_id, product_sku_code, product_category_id, + sp1, sp2, sp3, promotion_name, promotion_amount, coupon_amount, integration_amount, + real_amount, gift_integration, gift_growth, product_attr + + + + + delete from oms_order_item + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_item + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_item (order_id, order_sn, product_id, + product_pic, product_name, product_brand, + product_sn, product_price, product_quantity, + product_sku_id, product_sku_code, product_category_id, + sp1, sp2, sp3, promotion_name, + promotion_amount, coupon_amount, integration_amount, + real_amount, gift_integration, gift_growth, + product_attr) + values (#{orderId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, #{productId,jdbcType=BIGINT}, + #{productPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR}, + #{productSn,jdbcType=VARCHAR}, #{productPrice,jdbcType=DECIMAL}, #{productQuantity,jdbcType=INTEGER}, + #{productSkuId,jdbcType=BIGINT}, #{productSkuCode,jdbcType=VARCHAR}, #{productCategoryId,jdbcType=BIGINT}, + #{sp1,jdbcType=VARCHAR}, #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{promotionName,jdbcType=VARCHAR}, + #{promotionAmount,jdbcType=DECIMAL}, #{couponAmount,jdbcType=DECIMAL}, #{integrationAmount,jdbcType=DECIMAL}, + #{realAmount,jdbcType=DECIMAL}, #{giftIntegration,jdbcType=INTEGER}, #{giftGrowth,jdbcType=INTEGER}, + #{productAttr,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_item + + + order_id, + + + order_sn, + + + product_id, + + + product_pic, + + + product_name, + + + product_brand, + + + product_sn, + + + product_price, + + + product_quantity, + + + product_sku_id, + + + product_sku_code, + + + product_category_id, + + + sp1, + + + sp2, + + + sp3, + + + promotion_name, + + + promotion_amount, + + + coupon_amount, + + + integration_amount, + + + real_amount, + + + gift_integration, + + + gift_growth, + + + product_attr, + + + + + #{orderId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + #{productId,jdbcType=BIGINT}, + + + #{productPic,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productBrand,jdbcType=VARCHAR}, + + + #{productSn,jdbcType=VARCHAR}, + + + #{productPrice,jdbcType=DECIMAL}, + + + #{productQuantity,jdbcType=INTEGER}, + + + #{productSkuId,jdbcType=BIGINT}, + + + #{productSkuCode,jdbcType=VARCHAR}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{sp1,jdbcType=VARCHAR}, + + + #{sp2,jdbcType=VARCHAR}, + + + #{sp3,jdbcType=VARCHAR}, + + + #{promotionName,jdbcType=VARCHAR}, + + + #{promotionAmount,jdbcType=DECIMAL}, + + + #{couponAmount,jdbcType=DECIMAL}, + + + #{integrationAmount,jdbcType=DECIMAL}, + + + #{realAmount,jdbcType=DECIMAL}, + + + #{giftIntegration,jdbcType=INTEGER}, + + + #{giftGrowth,jdbcType=INTEGER}, + + + #{productAttr,jdbcType=VARCHAR}, + + + + + + update oms_order_item + + + id = #{record.id,jdbcType=BIGINT}, + + + order_id = #{record.orderId,jdbcType=BIGINT}, + + + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_pic = #{record.productPic,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + + + product_sn = #{record.productSn,jdbcType=VARCHAR}, + + + product_price = #{record.productPrice,jdbcType=DECIMAL}, + + + product_quantity = #{record.productQuantity,jdbcType=INTEGER}, + + + product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, + + + product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + sp1 = #{record.sp1,jdbcType=VARCHAR}, + + + sp2 = #{record.sp2,jdbcType=VARCHAR}, + + + sp3 = #{record.sp3,jdbcType=VARCHAR}, + + + promotion_name = #{record.promotionName,jdbcType=VARCHAR}, + + + promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, + + + coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, + + + integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, + + + real_amount = #{record.realAmount,jdbcType=DECIMAL}, + + + gift_integration = #{record.giftIntegration,jdbcType=INTEGER}, + + + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + + + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + + + + + + + + update oms_order_item + set id = #{record.id,jdbcType=BIGINT}, + order_id = #{record.orderId,jdbcType=BIGINT}, + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_pic = #{record.productPic,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR}, + product_price = #{record.productPrice,jdbcType=DECIMAL}, + product_quantity = #{record.productQuantity,jdbcType=INTEGER}, + product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, + product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + sp1 = #{record.sp1,jdbcType=VARCHAR}, + sp2 = #{record.sp2,jdbcType=VARCHAR}, + sp3 = #{record.sp3,jdbcType=VARCHAR}, + promotion_name = #{record.promotionName,jdbcType=VARCHAR}, + promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, + coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, + integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, + real_amount = #{record.realAmount,jdbcType=DECIMAL}, + gift_integration = #{record.giftIntegration,jdbcType=INTEGER}, + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + product_attr = #{record.productAttr,jdbcType=VARCHAR} + + + + + + update oms_order_item + + + order_id = #{orderId,jdbcType=BIGINT}, + + + order_sn = #{orderSn,jdbcType=VARCHAR}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_pic = #{productPic,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_brand = #{productBrand,jdbcType=VARCHAR}, + + + product_sn = #{productSn,jdbcType=VARCHAR}, + + + product_price = #{productPrice,jdbcType=DECIMAL}, + + + product_quantity = #{productQuantity,jdbcType=INTEGER}, + + + product_sku_id = #{productSkuId,jdbcType=BIGINT}, + + + product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + sp1 = #{sp1,jdbcType=VARCHAR}, + + + sp2 = #{sp2,jdbcType=VARCHAR}, + + + sp3 = #{sp3,jdbcType=VARCHAR}, + + + promotion_name = #{promotionName,jdbcType=VARCHAR}, + + + promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, + + + coupon_amount = #{couponAmount,jdbcType=DECIMAL}, + + + integration_amount = #{integrationAmount,jdbcType=DECIMAL}, + + + real_amount = #{realAmount,jdbcType=DECIMAL}, + + + gift_integration = #{giftIntegration,jdbcType=INTEGER}, + + + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + + + product_attr = #{productAttr,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_item + set order_id = #{orderId,jdbcType=BIGINT}, + order_sn = #{orderSn,jdbcType=VARCHAR}, + product_id = #{productId,jdbcType=BIGINT}, + product_pic = #{productPic,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + product_brand = #{productBrand,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR}, + product_price = #{productPrice,jdbcType=DECIMAL}, + product_quantity = #{productQuantity,jdbcType=INTEGER}, + product_sku_id = #{productSkuId,jdbcType=BIGINT}, + product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + sp1 = #{sp1,jdbcType=VARCHAR}, + sp2 = #{sp2,jdbcType=VARCHAR}, + sp3 = #{sp3,jdbcType=VARCHAR}, + promotion_name = #{promotionName,jdbcType=VARCHAR}, + promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, + coupon_amount = #{couponAmount,jdbcType=DECIMAL}, + integration_amount = #{integrationAmount,jdbcType=DECIMAL}, + real_amount = #{realAmount,jdbcType=DECIMAL}, + gift_integration = #{giftIntegration,jdbcType=INTEGER}, + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + product_attr = #{productAttr,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, order_id, order_sn, product_id, product_pic, product_name, product_brand, product_sn, + product_price, product_quantity, product_sku_id, product_sku_code, product_category_id, + sp1, sp2, sp3, promotion_name, promotion_amount, coupon_amount, integration_amount, + real_amount, gift_integration, gift_growth, product_attr + + + + + delete from oms_order_item + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_item + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_item (order_id, order_sn, product_id, + product_pic, product_name, product_brand, + product_sn, product_price, product_quantity, + product_sku_id, product_sku_code, product_category_id, + sp1, sp2, sp3, promotion_name, + promotion_amount, coupon_amount, integration_amount, + real_amount, gift_integration, gift_growth, + product_attr) + values (#{orderId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, #{productId,jdbcType=BIGINT}, + #{productPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR}, + #{productSn,jdbcType=VARCHAR}, #{productPrice,jdbcType=DECIMAL}, #{productQuantity,jdbcType=INTEGER}, + #{productSkuId,jdbcType=BIGINT}, #{productSkuCode,jdbcType=VARCHAR}, #{productCategoryId,jdbcType=BIGINT}, + #{sp1,jdbcType=VARCHAR}, #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{promotionName,jdbcType=VARCHAR}, + #{promotionAmount,jdbcType=DECIMAL}, #{couponAmount,jdbcType=DECIMAL}, #{integrationAmount,jdbcType=DECIMAL}, + #{realAmount,jdbcType=DECIMAL}, #{giftIntegration,jdbcType=INTEGER}, #{giftGrowth,jdbcType=INTEGER}, + #{productAttr,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_item + + + order_id, + + + order_sn, + + + product_id, + + + product_pic, + + + product_name, + + + product_brand, + + + product_sn, + + + product_price, + + + product_quantity, + + + product_sku_id, + + + product_sku_code, + + + product_category_id, + + + sp1, + + + sp2, + + + sp3, + + + promotion_name, + + + promotion_amount, + + + coupon_amount, + + + integration_amount, + + + real_amount, + + + gift_integration, + + + gift_growth, + + + product_attr, + + + + + #{orderId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + #{productId,jdbcType=BIGINT}, + + + #{productPic,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productBrand,jdbcType=VARCHAR}, + + + #{productSn,jdbcType=VARCHAR}, + + + #{productPrice,jdbcType=DECIMAL}, + + + #{productQuantity,jdbcType=INTEGER}, + + + #{productSkuId,jdbcType=BIGINT}, + + + #{productSkuCode,jdbcType=VARCHAR}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{sp1,jdbcType=VARCHAR}, + + + #{sp2,jdbcType=VARCHAR}, + + + #{sp3,jdbcType=VARCHAR}, + + + #{promotionName,jdbcType=VARCHAR}, + + + #{promotionAmount,jdbcType=DECIMAL}, + + + #{couponAmount,jdbcType=DECIMAL}, + + + #{integrationAmount,jdbcType=DECIMAL}, + + + #{realAmount,jdbcType=DECIMAL}, + + + #{giftIntegration,jdbcType=INTEGER}, + + + #{giftGrowth,jdbcType=INTEGER}, + + + #{productAttr,jdbcType=VARCHAR}, + + + + + + update oms_order_item + + + id = #{record.id,jdbcType=BIGINT}, + + + order_id = #{record.orderId,jdbcType=BIGINT}, + + + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_pic = #{record.productPic,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + + + product_sn = #{record.productSn,jdbcType=VARCHAR}, + + + product_price = #{record.productPrice,jdbcType=DECIMAL}, + + + product_quantity = #{record.productQuantity,jdbcType=INTEGER}, + + + product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, + + + product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + sp1 = #{record.sp1,jdbcType=VARCHAR}, + + + sp2 = #{record.sp2,jdbcType=VARCHAR}, + + + sp3 = #{record.sp3,jdbcType=VARCHAR}, + + + promotion_name = #{record.promotionName,jdbcType=VARCHAR}, + + + promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, + + + coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, + + + integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, + + + real_amount = #{record.realAmount,jdbcType=DECIMAL}, + + + gift_integration = #{record.giftIntegration,jdbcType=INTEGER}, + + + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + + + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + + + + + + + + update oms_order_item + set id = #{record.id,jdbcType=BIGINT}, + order_id = #{record.orderId,jdbcType=BIGINT}, + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_pic = #{record.productPic,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR}, + product_price = #{record.productPrice,jdbcType=DECIMAL}, + product_quantity = #{record.productQuantity,jdbcType=INTEGER}, + product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, + product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + sp1 = #{record.sp1,jdbcType=VARCHAR}, + sp2 = #{record.sp2,jdbcType=VARCHAR}, + sp3 = #{record.sp3,jdbcType=VARCHAR}, + promotion_name = #{record.promotionName,jdbcType=VARCHAR}, + promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, + coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, + integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, + real_amount = #{record.realAmount,jdbcType=DECIMAL}, + gift_integration = #{record.giftIntegration,jdbcType=INTEGER}, + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + product_attr = #{record.productAttr,jdbcType=VARCHAR} + + + + + + update oms_order_item + + + order_id = #{orderId,jdbcType=BIGINT}, + + + order_sn = #{orderSn,jdbcType=VARCHAR}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_pic = #{productPic,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_brand = #{productBrand,jdbcType=VARCHAR}, + + + product_sn = #{productSn,jdbcType=VARCHAR}, + + + product_price = #{productPrice,jdbcType=DECIMAL}, + + + product_quantity = #{productQuantity,jdbcType=INTEGER}, + + + product_sku_id = #{productSkuId,jdbcType=BIGINT}, + + + product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + sp1 = #{sp1,jdbcType=VARCHAR}, + + + sp2 = #{sp2,jdbcType=VARCHAR}, + + + sp3 = #{sp3,jdbcType=VARCHAR}, + + + promotion_name = #{promotionName,jdbcType=VARCHAR}, + + + promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, + + + coupon_amount = #{couponAmount,jdbcType=DECIMAL}, + + + integration_amount = #{integrationAmount,jdbcType=DECIMAL}, + + + real_amount = #{realAmount,jdbcType=DECIMAL}, + + + gift_integration = #{giftIntegration,jdbcType=INTEGER}, + + + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + + + product_attr = #{productAttr,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_item + set order_id = #{orderId,jdbcType=BIGINT}, + order_sn = #{orderSn,jdbcType=VARCHAR}, + product_id = #{productId,jdbcType=BIGINT}, + product_pic = #{productPic,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + product_brand = #{productBrand,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR}, + product_price = #{productPrice,jdbcType=DECIMAL}, + product_quantity = #{productQuantity,jdbcType=INTEGER}, + product_sku_id = #{productSkuId,jdbcType=BIGINT}, + product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + sp1 = #{sp1,jdbcType=VARCHAR}, + sp2 = #{sp2,jdbcType=VARCHAR}, + sp3 = #{sp3,jdbcType=VARCHAR}, + promotion_name = #{promotionName,jdbcType=VARCHAR}, + promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, + coupon_amount = #{couponAmount,jdbcType=DECIMAL}, + integration_amount = #{integrationAmount,jdbcType=DECIMAL}, + real_amount = #{realAmount,jdbcType=DECIMAL}, + gift_integration = #{giftIntegration,jdbcType=INTEGER}, + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + product_attr = #{productAttr,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, order_id, order_sn, product_id, product_pic, product_name, product_brand, product_sn, + product_price, product_quantity, product_sku_id, product_sku_code, product_category_id, + sp1, sp2, sp3, promotion_name, promotion_amount, coupon_amount, integration_amount, + real_amount, gift_integration, gift_growth, product_attr + + + + + delete from oms_order_item + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_item + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_item (order_id, order_sn, product_id, + product_pic, product_name, product_brand, + product_sn, product_price, product_quantity, + product_sku_id, product_sku_code, product_category_id, + sp1, sp2, sp3, promotion_name, + promotion_amount, coupon_amount, integration_amount, + real_amount, gift_integration, gift_growth, + product_attr) + values (#{orderId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, #{productId,jdbcType=BIGINT}, + #{productPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR}, + #{productSn,jdbcType=VARCHAR}, #{productPrice,jdbcType=DECIMAL}, #{productQuantity,jdbcType=INTEGER}, + #{productSkuId,jdbcType=BIGINT}, #{productSkuCode,jdbcType=VARCHAR}, #{productCategoryId,jdbcType=BIGINT}, + #{sp1,jdbcType=VARCHAR}, #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{promotionName,jdbcType=VARCHAR}, + #{promotionAmount,jdbcType=DECIMAL}, #{couponAmount,jdbcType=DECIMAL}, #{integrationAmount,jdbcType=DECIMAL}, + #{realAmount,jdbcType=DECIMAL}, #{giftIntegration,jdbcType=INTEGER}, #{giftGrowth,jdbcType=INTEGER}, + #{productAttr,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_item + + + order_id, + + + order_sn, + + + product_id, + + + product_pic, + + + product_name, + + + product_brand, + + + product_sn, + + + product_price, + + + product_quantity, + + + product_sku_id, + + + product_sku_code, + + + product_category_id, + + + sp1, + + + sp2, + + + sp3, + + + promotion_name, + + + promotion_amount, + + + coupon_amount, + + + integration_amount, + + + real_amount, + + + gift_integration, + + + gift_growth, + + + product_attr, + + + + + #{orderId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + #{productId,jdbcType=BIGINT}, + + + #{productPic,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productBrand,jdbcType=VARCHAR}, + + + #{productSn,jdbcType=VARCHAR}, + + + #{productPrice,jdbcType=DECIMAL}, + + + #{productQuantity,jdbcType=INTEGER}, + + + #{productSkuId,jdbcType=BIGINT}, + + + #{productSkuCode,jdbcType=VARCHAR}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{sp1,jdbcType=VARCHAR}, + + + #{sp2,jdbcType=VARCHAR}, + + + #{sp3,jdbcType=VARCHAR}, + + + #{promotionName,jdbcType=VARCHAR}, + + + #{promotionAmount,jdbcType=DECIMAL}, + + + #{couponAmount,jdbcType=DECIMAL}, + + + #{integrationAmount,jdbcType=DECIMAL}, + + + #{realAmount,jdbcType=DECIMAL}, + + + #{giftIntegration,jdbcType=INTEGER}, + + + #{giftGrowth,jdbcType=INTEGER}, + + + #{productAttr,jdbcType=VARCHAR}, + + + + + + update oms_order_item + + + id = #{record.id,jdbcType=BIGINT}, + + + order_id = #{record.orderId,jdbcType=BIGINT}, + + + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_pic = #{record.productPic,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + + + product_sn = #{record.productSn,jdbcType=VARCHAR}, + + + product_price = #{record.productPrice,jdbcType=DECIMAL}, + + + product_quantity = #{record.productQuantity,jdbcType=INTEGER}, + + + product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, + + + product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + sp1 = #{record.sp1,jdbcType=VARCHAR}, + + + sp2 = #{record.sp2,jdbcType=VARCHAR}, + + + sp3 = #{record.sp3,jdbcType=VARCHAR}, + + + promotion_name = #{record.promotionName,jdbcType=VARCHAR}, + + + promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, + + + coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, + + + integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, + + + real_amount = #{record.realAmount,jdbcType=DECIMAL}, + + + gift_integration = #{record.giftIntegration,jdbcType=INTEGER}, + + + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + + + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + + + + + + + + update oms_order_item + set id = #{record.id,jdbcType=BIGINT}, + order_id = #{record.orderId,jdbcType=BIGINT}, + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_pic = #{record.productPic,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR}, + product_price = #{record.productPrice,jdbcType=DECIMAL}, + product_quantity = #{record.productQuantity,jdbcType=INTEGER}, + product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, + product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + sp1 = #{record.sp1,jdbcType=VARCHAR}, + sp2 = #{record.sp2,jdbcType=VARCHAR}, + sp3 = #{record.sp3,jdbcType=VARCHAR}, + promotion_name = #{record.promotionName,jdbcType=VARCHAR}, + promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, + coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, + integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, + real_amount = #{record.realAmount,jdbcType=DECIMAL}, + gift_integration = #{record.giftIntegration,jdbcType=INTEGER}, + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + product_attr = #{record.productAttr,jdbcType=VARCHAR} + + + + + + update oms_order_item + + + order_id = #{orderId,jdbcType=BIGINT}, + + + order_sn = #{orderSn,jdbcType=VARCHAR}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_pic = #{productPic,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_brand = #{productBrand,jdbcType=VARCHAR}, + + + product_sn = #{productSn,jdbcType=VARCHAR}, + + + product_price = #{productPrice,jdbcType=DECIMAL}, + + + product_quantity = #{productQuantity,jdbcType=INTEGER}, + + + product_sku_id = #{productSkuId,jdbcType=BIGINT}, + + + product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + sp1 = #{sp1,jdbcType=VARCHAR}, + + + sp2 = #{sp2,jdbcType=VARCHAR}, + + + sp3 = #{sp3,jdbcType=VARCHAR}, + + + promotion_name = #{promotionName,jdbcType=VARCHAR}, + + + promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, + + + coupon_amount = #{couponAmount,jdbcType=DECIMAL}, + + + integration_amount = #{integrationAmount,jdbcType=DECIMAL}, + + + real_amount = #{realAmount,jdbcType=DECIMAL}, + + + gift_integration = #{giftIntegration,jdbcType=INTEGER}, + + + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + + + product_attr = #{productAttr,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_item + set order_id = #{orderId,jdbcType=BIGINT}, + order_sn = #{orderSn,jdbcType=VARCHAR}, + product_id = #{productId,jdbcType=BIGINT}, + product_pic = #{productPic,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + product_brand = #{productBrand,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR}, + product_price = #{productPrice,jdbcType=DECIMAL}, + product_quantity = #{productQuantity,jdbcType=INTEGER}, + product_sku_id = #{productSkuId,jdbcType=BIGINT}, + product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + sp1 = #{sp1,jdbcType=VARCHAR}, + sp2 = #{sp2,jdbcType=VARCHAR}, + sp3 = #{sp3,jdbcType=VARCHAR}, + promotion_name = #{promotionName,jdbcType=VARCHAR}, + promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, + coupon_amount = #{couponAmount,jdbcType=DECIMAL}, + integration_amount = #{integrationAmount,jdbcType=DECIMAL}, + real_amount = #{realAmount,jdbcType=DECIMAL}, + gift_integration = #{giftIntegration,jdbcType=INTEGER}, + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + product_attr = #{productAttr,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderMapper.xml new file mode 100644 index 0000000..e239497 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderMapper.xml @@ -0,0 +1,2476 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, coupon_id, order_sn, create_time, member_username, total_amount, pay_amount, + freight_amount, promotion_amount, integration_amount, coupon_amount, discount_amount, + pay_type, source_type, status, order_type, delivery_company, delivery_sn, auto_confirm_day, + integration, growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone, + bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province, + receiver_city, receiver_region, receiver_detail_address, note, confirm_status, delete_status, + use_integration, payment_time, delivery_time, receive_time, comment_time, modify_time + + + + + delete from oms_order + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order (member_id, coupon_id, order_sn, + create_time, member_username, total_amount, + pay_amount, freight_amount, promotion_amount, + integration_amount, coupon_amount, discount_amount, + pay_type, source_type, status, + order_type, delivery_company, delivery_sn, + auto_confirm_day, integration, growth, + promotion_info, bill_type, bill_header, + bill_content, bill_receiver_phone, bill_receiver_email, + receiver_name, receiver_phone, receiver_post_code, + receiver_province, receiver_city, receiver_region, + receiver_detail_address, note, confirm_status, + delete_status, use_integration, payment_time, + delivery_time, receive_time, comment_time, + modify_time) + values (#{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, + #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL}, + #{payAmount,jdbcType=DECIMAL}, #{freightAmount,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL}, + #{integrationAmount,jdbcType=DECIMAL}, #{couponAmount,jdbcType=DECIMAL}, #{discountAmount,jdbcType=DECIMAL}, + #{payType,jdbcType=INTEGER}, #{sourceType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, + #{orderType,jdbcType=INTEGER}, #{deliveryCompany,jdbcType=VARCHAR}, #{deliverySn,jdbcType=VARCHAR}, + #{autoConfirmDay,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, + #{promotionInfo,jdbcType=VARCHAR}, #{billType,jdbcType=INTEGER}, #{billHeader,jdbcType=VARCHAR}, + #{billContent,jdbcType=VARCHAR}, #{billReceiverPhone,jdbcType=VARCHAR}, #{billReceiverEmail,jdbcType=VARCHAR}, + #{receiverName,jdbcType=VARCHAR}, #{receiverPhone,jdbcType=VARCHAR}, #{receiverPostCode,jdbcType=VARCHAR}, + #{receiverProvince,jdbcType=VARCHAR}, #{receiverCity,jdbcType=VARCHAR}, #{receiverRegion,jdbcType=VARCHAR}, + #{receiverDetailAddress,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{confirmStatus,jdbcType=INTEGER}, + #{deleteStatus,jdbcType=INTEGER}, #{useIntegration,jdbcType=INTEGER}, #{paymentTime,jdbcType=TIMESTAMP}, + #{deliveryTime,jdbcType=TIMESTAMP}, #{receiveTime,jdbcType=TIMESTAMP}, #{commentTime,jdbcType=TIMESTAMP}, + #{modifyTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order + + + member_id, + + + coupon_id, + + + order_sn, + + + create_time, + + + member_username, + + + total_amount, + + + pay_amount, + + + freight_amount, + + + promotion_amount, + + + integration_amount, + + + coupon_amount, + + + discount_amount, + + + pay_type, + + + source_type, + + + status, + + + order_type, + + + delivery_company, + + + delivery_sn, + + + auto_confirm_day, + + + integration, + + + growth, + + + promotion_info, + + + bill_type, + + + bill_header, + + + bill_content, + + + bill_receiver_phone, + + + bill_receiver_email, + + + receiver_name, + + + receiver_phone, + + + receiver_post_code, + + + receiver_province, + + + receiver_city, + + + receiver_region, + + + receiver_detail_address, + + + note, + + + confirm_status, + + + delete_status, + + + use_integration, + + + payment_time, + + + delivery_time, + + + receive_time, + + + comment_time, + + + modify_time, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{couponId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{memberUsername,jdbcType=VARCHAR}, + + + #{totalAmount,jdbcType=DECIMAL}, + + + #{payAmount,jdbcType=DECIMAL}, + + + #{freightAmount,jdbcType=DECIMAL}, + + + #{promotionAmount,jdbcType=DECIMAL}, + + + #{integrationAmount,jdbcType=DECIMAL}, + + + #{couponAmount,jdbcType=DECIMAL}, + + + #{discountAmount,jdbcType=DECIMAL}, + + + #{payType,jdbcType=INTEGER}, + + + #{sourceType,jdbcType=INTEGER}, + + + #{status,jdbcType=INTEGER}, + + + #{orderType,jdbcType=INTEGER}, + + + #{deliveryCompany,jdbcType=VARCHAR}, + + + #{deliverySn,jdbcType=VARCHAR}, + + + #{autoConfirmDay,jdbcType=INTEGER}, + + + #{integration,jdbcType=INTEGER}, + + + #{growth,jdbcType=INTEGER}, + + + #{promotionInfo,jdbcType=VARCHAR}, + + + #{billType,jdbcType=INTEGER}, + + + #{billHeader,jdbcType=VARCHAR}, + + + #{billContent,jdbcType=VARCHAR}, + + + #{billReceiverPhone,jdbcType=VARCHAR}, + + + #{billReceiverEmail,jdbcType=VARCHAR}, + + + #{receiverName,jdbcType=VARCHAR}, + + + #{receiverPhone,jdbcType=VARCHAR}, + + + #{receiverPostCode,jdbcType=VARCHAR}, + + + #{receiverProvince,jdbcType=VARCHAR}, + + + #{receiverCity,jdbcType=VARCHAR}, + + + #{receiverRegion,jdbcType=VARCHAR}, + + + #{receiverDetailAddress,jdbcType=VARCHAR}, + + + #{note,jdbcType=VARCHAR}, + + + #{confirmStatus,jdbcType=INTEGER}, + + + #{deleteStatus,jdbcType=INTEGER}, + + + #{useIntegration,jdbcType=INTEGER}, + + + #{paymentTime,jdbcType=TIMESTAMP}, + + + #{deliveryTime,jdbcType=TIMESTAMP}, + + + #{receiveTime,jdbcType=TIMESTAMP}, + + + #{commentTime,jdbcType=TIMESTAMP}, + + + #{modifyTime,jdbcType=TIMESTAMP}, + + + + + + update oms_order + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=BIGINT}, + + + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + member_username = #{record.memberUsername,jdbcType=VARCHAR}, + + + total_amount = #{record.totalAmount,jdbcType=DECIMAL}, + + + pay_amount = #{record.payAmount,jdbcType=DECIMAL}, + + + freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, + + + promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, + + + integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, + + + coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, + + + discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, + + + pay_type = #{record.payType,jdbcType=INTEGER}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + status = #{record.status,jdbcType=INTEGER}, + + + order_type = #{record.orderType,jdbcType=INTEGER}, + + + delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, + + + delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, + + + auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, + + + integration = #{record.integration,jdbcType=INTEGER}, + + + growth = #{record.growth,jdbcType=INTEGER}, + + + promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, + + + bill_type = #{record.billType,jdbcType=INTEGER}, + + + bill_header = #{record.billHeader,jdbcType=VARCHAR}, + + + bill_content = #{record.billContent,jdbcType=VARCHAR}, + + + bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, + + + bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, + + + receiver_name = #{record.receiverName,jdbcType=VARCHAR}, + + + receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, + + + receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, + + + receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, + + + receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, + + + receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, + + + receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + confirm_status = #{record.confirmStatus,jdbcType=INTEGER}, + + + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + + + use_integration = #{record.useIntegration,jdbcType=INTEGER}, + + + payment_time = #{record.paymentTime,jdbcType=TIMESTAMP}, + + + delivery_time = #{record.deliveryTime,jdbcType=TIMESTAMP}, + + + receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, + + + comment_time = #{record.commentTime,jdbcType=TIMESTAMP}, + + + modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, + + + + + + + + update oms_order + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + member_username = #{record.memberUsername,jdbcType=VARCHAR}, + total_amount = #{record.totalAmount,jdbcType=DECIMAL}, + pay_amount = #{record.payAmount,jdbcType=DECIMAL}, + freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, + promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, + integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, + coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, + discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, + pay_type = #{record.payType,jdbcType=INTEGER}, + source_type = #{record.sourceType,jdbcType=INTEGER}, + status = #{record.status,jdbcType=INTEGER}, + order_type = #{record.orderType,jdbcType=INTEGER}, + delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, + delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, + auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, + integration = #{record.integration,jdbcType=INTEGER}, + growth = #{record.growth,jdbcType=INTEGER}, + promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, + bill_type = #{record.billType,jdbcType=INTEGER}, + bill_header = #{record.billHeader,jdbcType=VARCHAR}, + bill_content = #{record.billContent,jdbcType=VARCHAR}, + bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, + bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, + receiver_name = #{record.receiverName,jdbcType=VARCHAR}, + receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, + receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, + receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, + receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, + receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, + receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + confirm_status = #{record.confirmStatus,jdbcType=INTEGER}, + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + use_integration = #{record.useIntegration,jdbcType=INTEGER}, + payment_time = #{record.paymentTime,jdbcType=TIMESTAMP}, + delivery_time = #{record.deliveryTime,jdbcType=TIMESTAMP}, + receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, + comment_time = #{record.commentTime,jdbcType=TIMESTAMP}, + modify_time = #{record.modifyTime,jdbcType=TIMESTAMP} + + + + + + update oms_order + + + member_id = #{memberId,jdbcType=BIGINT}, + + + coupon_id = #{couponId,jdbcType=BIGINT}, + + + order_sn = #{orderSn,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + member_username = #{memberUsername,jdbcType=VARCHAR}, + + + total_amount = #{totalAmount,jdbcType=DECIMAL}, + + + pay_amount = #{payAmount,jdbcType=DECIMAL}, + + + freight_amount = #{freightAmount,jdbcType=DECIMAL}, + + + promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, + + + integration_amount = #{integrationAmount,jdbcType=DECIMAL}, + + + coupon_amount = #{couponAmount,jdbcType=DECIMAL}, + + + discount_amount = #{discountAmount,jdbcType=DECIMAL}, + + + pay_type = #{payType,jdbcType=INTEGER}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + status = #{status,jdbcType=INTEGER}, + + + order_type = #{orderType,jdbcType=INTEGER}, + + + delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, + + + delivery_sn = #{deliverySn,jdbcType=VARCHAR}, + + + auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, + + + integration = #{integration,jdbcType=INTEGER}, + + + growth = #{growth,jdbcType=INTEGER}, + + + promotion_info = #{promotionInfo,jdbcType=VARCHAR}, + + + bill_type = #{billType,jdbcType=INTEGER}, + + + bill_header = #{billHeader,jdbcType=VARCHAR}, + + + bill_content = #{billContent,jdbcType=VARCHAR}, + + + bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, + + + bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, + + + receiver_name = #{receiverName,jdbcType=VARCHAR}, + + + receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, + + + receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, + + + receiver_province = #{receiverProvince,jdbcType=VARCHAR}, + + + receiver_city = #{receiverCity,jdbcType=VARCHAR}, + + + receiver_region = #{receiverRegion,jdbcType=VARCHAR}, + + + receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, + + + note = #{note,jdbcType=VARCHAR}, + + + confirm_status = #{confirmStatus,jdbcType=INTEGER}, + + + delete_status = #{deleteStatus,jdbcType=INTEGER}, + + + use_integration = #{useIntegration,jdbcType=INTEGER}, + + + payment_time = #{paymentTime,jdbcType=TIMESTAMP}, + + + delivery_time = #{deliveryTime,jdbcType=TIMESTAMP}, + + + receive_time = #{receiveTime,jdbcType=TIMESTAMP}, + + + comment_time = #{commentTime,jdbcType=TIMESTAMP}, + + + modify_time = #{modifyTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order + set member_id = #{memberId,jdbcType=BIGINT}, + coupon_id = #{couponId,jdbcType=BIGINT}, + order_sn = #{orderSn,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + member_username = #{memberUsername,jdbcType=VARCHAR}, + total_amount = #{totalAmount,jdbcType=DECIMAL}, + pay_amount = #{payAmount,jdbcType=DECIMAL}, + freight_amount = #{freightAmount,jdbcType=DECIMAL}, + promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, + integration_amount = #{integrationAmount,jdbcType=DECIMAL}, + coupon_amount = #{couponAmount,jdbcType=DECIMAL}, + discount_amount = #{discountAmount,jdbcType=DECIMAL}, + pay_type = #{payType,jdbcType=INTEGER}, + source_type = #{sourceType,jdbcType=INTEGER}, + status = #{status,jdbcType=INTEGER}, + order_type = #{orderType,jdbcType=INTEGER}, + delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, + delivery_sn = #{deliverySn,jdbcType=VARCHAR}, + auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, + integration = #{integration,jdbcType=INTEGER}, + growth = #{growth,jdbcType=INTEGER}, + promotion_info = #{promotionInfo,jdbcType=VARCHAR}, + bill_type = #{billType,jdbcType=INTEGER}, + bill_header = #{billHeader,jdbcType=VARCHAR}, + bill_content = #{billContent,jdbcType=VARCHAR}, + bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, + bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, + receiver_name = #{receiverName,jdbcType=VARCHAR}, + receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, + receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, + receiver_province = #{receiverProvince,jdbcType=VARCHAR}, + receiver_city = #{receiverCity,jdbcType=VARCHAR}, + receiver_region = #{receiverRegion,jdbcType=VARCHAR}, + receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + confirm_status = #{confirmStatus,jdbcType=INTEGER}, + delete_status = #{deleteStatus,jdbcType=INTEGER}, + use_integration = #{useIntegration,jdbcType=INTEGER}, + payment_time = #{paymentTime,jdbcType=TIMESTAMP}, + delivery_time = #{deliveryTime,jdbcType=TIMESTAMP}, + receive_time = #{receiveTime,jdbcType=TIMESTAMP}, + comment_time = #{commentTime,jdbcType=TIMESTAMP}, + modify_time = #{modifyTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, coupon_id, order_sn, create_time, member_username, total_amount, pay_amount, + freight_amount, promotion_amount, integration_amount, coupon_amount, discount_amount, + pay_type, source_type, status, order_type, delivery_company, delivery_sn, auto_confirm_day, + integration, growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone, + bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province, + receiver_city, receiver_region, receiver_detail_address, note, confirm_status, delete_status, + use_integration, payment_time, delivery_time, receive_time, comment_time, modify_time + + + + + delete from oms_order + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order (member_id, coupon_id, order_sn, + create_time, member_username, total_amount, + pay_amount, freight_amount, promotion_amount, + integration_amount, coupon_amount, discount_amount, + pay_type, source_type, status, + order_type, delivery_company, delivery_sn, + auto_confirm_day, integration, growth, + promotion_info, bill_type, bill_header, + bill_content, bill_receiver_phone, bill_receiver_email, + receiver_name, receiver_phone, receiver_post_code, + receiver_province, receiver_city, receiver_region, + receiver_detail_address, note, confirm_status, + delete_status, use_integration, payment_time, + delivery_time, receive_time, comment_time, + modify_time) + values (#{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, + #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL}, + #{payAmount,jdbcType=DECIMAL}, #{freightAmount,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL}, + #{integrationAmount,jdbcType=DECIMAL}, #{couponAmount,jdbcType=DECIMAL}, #{discountAmount,jdbcType=DECIMAL}, + #{payType,jdbcType=INTEGER}, #{sourceType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, + #{orderType,jdbcType=INTEGER}, #{deliveryCompany,jdbcType=VARCHAR}, #{deliverySn,jdbcType=VARCHAR}, + #{autoConfirmDay,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, + #{promotionInfo,jdbcType=VARCHAR}, #{billType,jdbcType=INTEGER}, #{billHeader,jdbcType=VARCHAR}, + #{billContent,jdbcType=VARCHAR}, #{billReceiverPhone,jdbcType=VARCHAR}, #{billReceiverEmail,jdbcType=VARCHAR}, + #{receiverName,jdbcType=VARCHAR}, #{receiverPhone,jdbcType=VARCHAR}, #{receiverPostCode,jdbcType=VARCHAR}, + #{receiverProvince,jdbcType=VARCHAR}, #{receiverCity,jdbcType=VARCHAR}, #{receiverRegion,jdbcType=VARCHAR}, + #{receiverDetailAddress,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{confirmStatus,jdbcType=INTEGER}, + #{deleteStatus,jdbcType=INTEGER}, #{useIntegration,jdbcType=INTEGER}, #{paymentTime,jdbcType=TIMESTAMP}, + #{deliveryTime,jdbcType=TIMESTAMP}, #{receiveTime,jdbcType=TIMESTAMP}, #{commentTime,jdbcType=TIMESTAMP}, + #{modifyTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order + + + member_id, + + + coupon_id, + + + order_sn, + + + create_time, + + + member_username, + + + total_amount, + + + pay_amount, + + + freight_amount, + + + promotion_amount, + + + integration_amount, + + + coupon_amount, + + + discount_amount, + + + pay_type, + + + source_type, + + + status, + + + order_type, + + + delivery_company, + + + delivery_sn, + + + auto_confirm_day, + + + integration, + + + growth, + + + promotion_info, + + + bill_type, + + + bill_header, + + + bill_content, + + + bill_receiver_phone, + + + bill_receiver_email, + + + receiver_name, + + + receiver_phone, + + + receiver_post_code, + + + receiver_province, + + + receiver_city, + + + receiver_region, + + + receiver_detail_address, + + + note, + + + confirm_status, + + + delete_status, + + + use_integration, + + + payment_time, + + + delivery_time, + + + receive_time, + + + comment_time, + + + modify_time, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{couponId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{memberUsername,jdbcType=VARCHAR}, + + + #{totalAmount,jdbcType=DECIMAL}, + + + #{payAmount,jdbcType=DECIMAL}, + + + #{freightAmount,jdbcType=DECIMAL}, + + + #{promotionAmount,jdbcType=DECIMAL}, + + + #{integrationAmount,jdbcType=DECIMAL}, + + + #{couponAmount,jdbcType=DECIMAL}, + + + #{discountAmount,jdbcType=DECIMAL}, + + + #{payType,jdbcType=INTEGER}, + + + #{sourceType,jdbcType=INTEGER}, + + + #{status,jdbcType=INTEGER}, + + + #{orderType,jdbcType=INTEGER}, + + + #{deliveryCompany,jdbcType=VARCHAR}, + + + #{deliverySn,jdbcType=VARCHAR}, + + + #{autoConfirmDay,jdbcType=INTEGER}, + + + #{integration,jdbcType=INTEGER}, + + + #{growth,jdbcType=INTEGER}, + + + #{promotionInfo,jdbcType=VARCHAR}, + + + #{billType,jdbcType=INTEGER}, + + + #{billHeader,jdbcType=VARCHAR}, + + + #{billContent,jdbcType=VARCHAR}, + + + #{billReceiverPhone,jdbcType=VARCHAR}, + + + #{billReceiverEmail,jdbcType=VARCHAR}, + + + #{receiverName,jdbcType=VARCHAR}, + + + #{receiverPhone,jdbcType=VARCHAR}, + + + #{receiverPostCode,jdbcType=VARCHAR}, + + + #{receiverProvince,jdbcType=VARCHAR}, + + + #{receiverCity,jdbcType=VARCHAR}, + + + #{receiverRegion,jdbcType=VARCHAR}, + + + #{receiverDetailAddress,jdbcType=VARCHAR}, + + + #{note,jdbcType=VARCHAR}, + + + #{confirmStatus,jdbcType=INTEGER}, + + + #{deleteStatus,jdbcType=INTEGER}, + + + #{useIntegration,jdbcType=INTEGER}, + + + #{paymentTime,jdbcType=TIMESTAMP}, + + + #{deliveryTime,jdbcType=TIMESTAMP}, + + + #{receiveTime,jdbcType=TIMESTAMP}, + + + #{commentTime,jdbcType=TIMESTAMP}, + + + #{modifyTime,jdbcType=TIMESTAMP}, + + + + + + update oms_order + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=BIGINT}, + + + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + member_username = #{record.memberUsername,jdbcType=VARCHAR}, + + + total_amount = #{record.totalAmount,jdbcType=DECIMAL}, + + + pay_amount = #{record.payAmount,jdbcType=DECIMAL}, + + + freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, + + + promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, + + + integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, + + + coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, + + + discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, + + + pay_type = #{record.payType,jdbcType=INTEGER}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + status = #{record.status,jdbcType=INTEGER}, + + + order_type = #{record.orderType,jdbcType=INTEGER}, + + + delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, + + + delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, + + + auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, + + + integration = #{record.integration,jdbcType=INTEGER}, + + + growth = #{record.growth,jdbcType=INTEGER}, + + + promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, + + + bill_type = #{record.billType,jdbcType=INTEGER}, + + + bill_header = #{record.billHeader,jdbcType=VARCHAR}, + + + bill_content = #{record.billContent,jdbcType=VARCHAR}, + + + bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, + + + bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, + + + receiver_name = #{record.receiverName,jdbcType=VARCHAR}, + + + receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, + + + receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, + + + receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, + + + receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, + + + receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, + + + receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + confirm_status = #{record.confirmStatus,jdbcType=INTEGER}, + + + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + + + use_integration = #{record.useIntegration,jdbcType=INTEGER}, + + + payment_time = #{record.paymentTime,jdbcType=TIMESTAMP}, + + + delivery_time = #{record.deliveryTime,jdbcType=TIMESTAMP}, + + + receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, + + + comment_time = #{record.commentTime,jdbcType=TIMESTAMP}, + + + modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, + + + + + + + + update oms_order + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + member_username = #{record.memberUsername,jdbcType=VARCHAR}, + total_amount = #{record.totalAmount,jdbcType=DECIMAL}, + pay_amount = #{record.payAmount,jdbcType=DECIMAL}, + freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, + promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, + integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, + coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, + discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, + pay_type = #{record.payType,jdbcType=INTEGER}, + source_type = #{record.sourceType,jdbcType=INTEGER}, + status = #{record.status,jdbcType=INTEGER}, + order_type = #{record.orderType,jdbcType=INTEGER}, + delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, + delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, + auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, + integration = #{record.integration,jdbcType=INTEGER}, + growth = #{record.growth,jdbcType=INTEGER}, + promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, + bill_type = #{record.billType,jdbcType=INTEGER}, + bill_header = #{record.billHeader,jdbcType=VARCHAR}, + bill_content = #{record.billContent,jdbcType=VARCHAR}, + bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, + bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, + receiver_name = #{record.receiverName,jdbcType=VARCHAR}, + receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, + receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, + receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, + receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, + receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, + receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + confirm_status = #{record.confirmStatus,jdbcType=INTEGER}, + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + use_integration = #{record.useIntegration,jdbcType=INTEGER}, + payment_time = #{record.paymentTime,jdbcType=TIMESTAMP}, + delivery_time = #{record.deliveryTime,jdbcType=TIMESTAMP}, + receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, + comment_time = #{record.commentTime,jdbcType=TIMESTAMP}, + modify_time = #{record.modifyTime,jdbcType=TIMESTAMP} + + + + + + update oms_order + + + member_id = #{memberId,jdbcType=BIGINT}, + + + coupon_id = #{couponId,jdbcType=BIGINT}, + + + order_sn = #{orderSn,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + member_username = #{memberUsername,jdbcType=VARCHAR}, + + + total_amount = #{totalAmount,jdbcType=DECIMAL}, + + + pay_amount = #{payAmount,jdbcType=DECIMAL}, + + + freight_amount = #{freightAmount,jdbcType=DECIMAL}, + + + promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, + + + integration_amount = #{integrationAmount,jdbcType=DECIMAL}, + + + coupon_amount = #{couponAmount,jdbcType=DECIMAL}, + + + discount_amount = #{discountAmount,jdbcType=DECIMAL}, + + + pay_type = #{payType,jdbcType=INTEGER}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + status = #{status,jdbcType=INTEGER}, + + + order_type = #{orderType,jdbcType=INTEGER}, + + + delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, + + + delivery_sn = #{deliverySn,jdbcType=VARCHAR}, + + + auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, + + + integration = #{integration,jdbcType=INTEGER}, + + + growth = #{growth,jdbcType=INTEGER}, + + + promotion_info = #{promotionInfo,jdbcType=VARCHAR}, + + + bill_type = #{billType,jdbcType=INTEGER}, + + + bill_header = #{billHeader,jdbcType=VARCHAR}, + + + bill_content = #{billContent,jdbcType=VARCHAR}, + + + bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, + + + bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, + + + receiver_name = #{receiverName,jdbcType=VARCHAR}, + + + receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, + + + receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, + + + receiver_province = #{receiverProvince,jdbcType=VARCHAR}, + + + receiver_city = #{receiverCity,jdbcType=VARCHAR}, + + + receiver_region = #{receiverRegion,jdbcType=VARCHAR}, + + + receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, + + + note = #{note,jdbcType=VARCHAR}, + + + confirm_status = #{confirmStatus,jdbcType=INTEGER}, + + + delete_status = #{deleteStatus,jdbcType=INTEGER}, + + + use_integration = #{useIntegration,jdbcType=INTEGER}, + + + payment_time = #{paymentTime,jdbcType=TIMESTAMP}, + + + delivery_time = #{deliveryTime,jdbcType=TIMESTAMP}, + + + receive_time = #{receiveTime,jdbcType=TIMESTAMP}, + + + comment_time = #{commentTime,jdbcType=TIMESTAMP}, + + + modify_time = #{modifyTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order + set member_id = #{memberId,jdbcType=BIGINT}, + coupon_id = #{couponId,jdbcType=BIGINT}, + order_sn = #{orderSn,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + member_username = #{memberUsername,jdbcType=VARCHAR}, + total_amount = #{totalAmount,jdbcType=DECIMAL}, + pay_amount = #{payAmount,jdbcType=DECIMAL}, + freight_amount = #{freightAmount,jdbcType=DECIMAL}, + promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, + integration_amount = #{integrationAmount,jdbcType=DECIMAL}, + coupon_amount = #{couponAmount,jdbcType=DECIMAL}, + discount_amount = #{discountAmount,jdbcType=DECIMAL}, + pay_type = #{payType,jdbcType=INTEGER}, + source_type = #{sourceType,jdbcType=INTEGER}, + status = #{status,jdbcType=INTEGER}, + order_type = #{orderType,jdbcType=INTEGER}, + delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, + delivery_sn = #{deliverySn,jdbcType=VARCHAR}, + auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, + integration = #{integration,jdbcType=INTEGER}, + growth = #{growth,jdbcType=INTEGER}, + promotion_info = #{promotionInfo,jdbcType=VARCHAR}, + bill_type = #{billType,jdbcType=INTEGER}, + bill_header = #{billHeader,jdbcType=VARCHAR}, + bill_content = #{billContent,jdbcType=VARCHAR}, + bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, + bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, + receiver_name = #{receiverName,jdbcType=VARCHAR}, + receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, + receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, + receiver_province = #{receiverProvince,jdbcType=VARCHAR}, + receiver_city = #{receiverCity,jdbcType=VARCHAR}, + receiver_region = #{receiverRegion,jdbcType=VARCHAR}, + receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + confirm_status = #{confirmStatus,jdbcType=INTEGER}, + delete_status = #{deleteStatus,jdbcType=INTEGER}, + use_integration = #{useIntegration,jdbcType=INTEGER}, + payment_time = #{paymentTime,jdbcType=TIMESTAMP}, + delivery_time = #{deliveryTime,jdbcType=TIMESTAMP}, + receive_time = #{receiveTime,jdbcType=TIMESTAMP}, + comment_time = #{commentTime,jdbcType=TIMESTAMP}, + modify_time = #{modifyTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, coupon_id, order_sn, create_time, member_username, total_amount, pay_amount, + freight_amount, promotion_amount, integration_amount, coupon_amount, discount_amount, + pay_type, source_type, status, order_type, delivery_company, delivery_sn, auto_confirm_day, + integration, growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone, + bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province, + receiver_city, receiver_region, receiver_detail_address, note, confirm_status, delete_status, + use_integration, payment_time, delivery_time, receive_time, comment_time, modify_time + + + + + delete from oms_order + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order (member_id, coupon_id, order_sn, + create_time, member_username, total_amount, + pay_amount, freight_amount, promotion_amount, + integration_amount, coupon_amount, discount_amount, + pay_type, source_type, status, + order_type, delivery_company, delivery_sn, + auto_confirm_day, integration, growth, + promotion_info, bill_type, bill_header, + bill_content, bill_receiver_phone, bill_receiver_email, + receiver_name, receiver_phone, receiver_post_code, + receiver_province, receiver_city, receiver_region, + receiver_detail_address, note, confirm_status, + delete_status, use_integration, payment_time, + delivery_time, receive_time, comment_time, + modify_time) + values (#{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, + #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL}, + #{payAmount,jdbcType=DECIMAL}, #{freightAmount,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL}, + #{integrationAmount,jdbcType=DECIMAL}, #{couponAmount,jdbcType=DECIMAL}, #{discountAmount,jdbcType=DECIMAL}, + #{payType,jdbcType=INTEGER}, #{sourceType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, + #{orderType,jdbcType=INTEGER}, #{deliveryCompany,jdbcType=VARCHAR}, #{deliverySn,jdbcType=VARCHAR}, + #{autoConfirmDay,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, + #{promotionInfo,jdbcType=VARCHAR}, #{billType,jdbcType=INTEGER}, #{billHeader,jdbcType=VARCHAR}, + #{billContent,jdbcType=VARCHAR}, #{billReceiverPhone,jdbcType=VARCHAR}, #{billReceiverEmail,jdbcType=VARCHAR}, + #{receiverName,jdbcType=VARCHAR}, #{receiverPhone,jdbcType=VARCHAR}, #{receiverPostCode,jdbcType=VARCHAR}, + #{receiverProvince,jdbcType=VARCHAR}, #{receiverCity,jdbcType=VARCHAR}, #{receiverRegion,jdbcType=VARCHAR}, + #{receiverDetailAddress,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{confirmStatus,jdbcType=INTEGER}, + #{deleteStatus,jdbcType=INTEGER}, #{useIntegration,jdbcType=INTEGER}, #{paymentTime,jdbcType=TIMESTAMP}, + #{deliveryTime,jdbcType=TIMESTAMP}, #{receiveTime,jdbcType=TIMESTAMP}, #{commentTime,jdbcType=TIMESTAMP}, + #{modifyTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order + + + member_id, + + + coupon_id, + + + order_sn, + + + create_time, + + + member_username, + + + total_amount, + + + pay_amount, + + + freight_amount, + + + promotion_amount, + + + integration_amount, + + + coupon_amount, + + + discount_amount, + + + pay_type, + + + source_type, + + + status, + + + order_type, + + + delivery_company, + + + delivery_sn, + + + auto_confirm_day, + + + integration, + + + growth, + + + promotion_info, + + + bill_type, + + + bill_header, + + + bill_content, + + + bill_receiver_phone, + + + bill_receiver_email, + + + receiver_name, + + + receiver_phone, + + + receiver_post_code, + + + receiver_province, + + + receiver_city, + + + receiver_region, + + + receiver_detail_address, + + + note, + + + confirm_status, + + + delete_status, + + + use_integration, + + + payment_time, + + + delivery_time, + + + receive_time, + + + comment_time, + + + modify_time, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{couponId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{memberUsername,jdbcType=VARCHAR}, + + + #{totalAmount,jdbcType=DECIMAL}, + + + #{payAmount,jdbcType=DECIMAL}, + + + #{freightAmount,jdbcType=DECIMAL}, + + + #{promotionAmount,jdbcType=DECIMAL}, + + + #{integrationAmount,jdbcType=DECIMAL}, + + + #{couponAmount,jdbcType=DECIMAL}, + + + #{discountAmount,jdbcType=DECIMAL}, + + + #{payType,jdbcType=INTEGER}, + + + #{sourceType,jdbcType=INTEGER}, + + + #{status,jdbcType=INTEGER}, + + + #{orderType,jdbcType=INTEGER}, + + + #{deliveryCompany,jdbcType=VARCHAR}, + + + #{deliverySn,jdbcType=VARCHAR}, + + + #{autoConfirmDay,jdbcType=INTEGER}, + + + #{integration,jdbcType=INTEGER}, + + + #{growth,jdbcType=INTEGER}, + + + #{promotionInfo,jdbcType=VARCHAR}, + + + #{billType,jdbcType=INTEGER}, + + + #{billHeader,jdbcType=VARCHAR}, + + + #{billContent,jdbcType=VARCHAR}, + + + #{billReceiverPhone,jdbcType=VARCHAR}, + + + #{billReceiverEmail,jdbcType=VARCHAR}, + + + #{receiverName,jdbcType=VARCHAR}, + + + #{receiverPhone,jdbcType=VARCHAR}, + + + #{receiverPostCode,jdbcType=VARCHAR}, + + + #{receiverProvince,jdbcType=VARCHAR}, + + + #{receiverCity,jdbcType=VARCHAR}, + + + #{receiverRegion,jdbcType=VARCHAR}, + + + #{receiverDetailAddress,jdbcType=VARCHAR}, + + + #{note,jdbcType=VARCHAR}, + + + #{confirmStatus,jdbcType=INTEGER}, + + + #{deleteStatus,jdbcType=INTEGER}, + + + #{useIntegration,jdbcType=INTEGER}, + + + #{paymentTime,jdbcType=TIMESTAMP}, + + + #{deliveryTime,jdbcType=TIMESTAMP}, + + + #{receiveTime,jdbcType=TIMESTAMP}, + + + #{commentTime,jdbcType=TIMESTAMP}, + + + #{modifyTime,jdbcType=TIMESTAMP}, + + + + + + update oms_order + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=BIGINT}, + + + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + member_username = #{record.memberUsername,jdbcType=VARCHAR}, + + + total_amount = #{record.totalAmount,jdbcType=DECIMAL}, + + + pay_amount = #{record.payAmount,jdbcType=DECIMAL}, + + + freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, + + + promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, + + + integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, + + + coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, + + + discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, + + + pay_type = #{record.payType,jdbcType=INTEGER}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + status = #{record.status,jdbcType=INTEGER}, + + + order_type = #{record.orderType,jdbcType=INTEGER}, + + + delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, + + + delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, + + + auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, + + + integration = #{record.integration,jdbcType=INTEGER}, + + + growth = #{record.growth,jdbcType=INTEGER}, + + + promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, + + + bill_type = #{record.billType,jdbcType=INTEGER}, + + + bill_header = #{record.billHeader,jdbcType=VARCHAR}, + + + bill_content = #{record.billContent,jdbcType=VARCHAR}, + + + bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, + + + bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, + + + receiver_name = #{record.receiverName,jdbcType=VARCHAR}, + + + receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, + + + receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, + + + receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, + + + receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, + + + receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, + + + receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + confirm_status = #{record.confirmStatus,jdbcType=INTEGER}, + + + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + + + use_integration = #{record.useIntegration,jdbcType=INTEGER}, + + + payment_time = #{record.paymentTime,jdbcType=TIMESTAMP}, + + + delivery_time = #{record.deliveryTime,jdbcType=TIMESTAMP}, + + + receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, + + + comment_time = #{record.commentTime,jdbcType=TIMESTAMP}, + + + modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, + + + + + + + + update oms_order + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + member_username = #{record.memberUsername,jdbcType=VARCHAR}, + total_amount = #{record.totalAmount,jdbcType=DECIMAL}, + pay_amount = #{record.payAmount,jdbcType=DECIMAL}, + freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, + promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, + integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, + coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, + discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, + pay_type = #{record.payType,jdbcType=INTEGER}, + source_type = #{record.sourceType,jdbcType=INTEGER}, + status = #{record.status,jdbcType=INTEGER}, + order_type = #{record.orderType,jdbcType=INTEGER}, + delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, + delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, + auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, + integration = #{record.integration,jdbcType=INTEGER}, + growth = #{record.growth,jdbcType=INTEGER}, + promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, + bill_type = #{record.billType,jdbcType=INTEGER}, + bill_header = #{record.billHeader,jdbcType=VARCHAR}, + bill_content = #{record.billContent,jdbcType=VARCHAR}, + bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, + bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, + receiver_name = #{record.receiverName,jdbcType=VARCHAR}, + receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, + receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, + receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, + receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, + receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, + receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + confirm_status = #{record.confirmStatus,jdbcType=INTEGER}, + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + use_integration = #{record.useIntegration,jdbcType=INTEGER}, + payment_time = #{record.paymentTime,jdbcType=TIMESTAMP}, + delivery_time = #{record.deliveryTime,jdbcType=TIMESTAMP}, + receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, + comment_time = #{record.commentTime,jdbcType=TIMESTAMP}, + modify_time = #{record.modifyTime,jdbcType=TIMESTAMP} + + + + + + update oms_order + + + member_id = #{memberId,jdbcType=BIGINT}, + + + coupon_id = #{couponId,jdbcType=BIGINT}, + + + order_sn = #{orderSn,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + member_username = #{memberUsername,jdbcType=VARCHAR}, + + + total_amount = #{totalAmount,jdbcType=DECIMAL}, + + + pay_amount = #{payAmount,jdbcType=DECIMAL}, + + + freight_amount = #{freightAmount,jdbcType=DECIMAL}, + + + promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, + + + integration_amount = #{integrationAmount,jdbcType=DECIMAL}, + + + coupon_amount = #{couponAmount,jdbcType=DECIMAL}, + + + discount_amount = #{discountAmount,jdbcType=DECIMAL}, + + + pay_type = #{payType,jdbcType=INTEGER}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + status = #{status,jdbcType=INTEGER}, + + + order_type = #{orderType,jdbcType=INTEGER}, + + + delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, + + + delivery_sn = #{deliverySn,jdbcType=VARCHAR}, + + + auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, + + + integration = #{integration,jdbcType=INTEGER}, + + + growth = #{growth,jdbcType=INTEGER}, + + + promotion_info = #{promotionInfo,jdbcType=VARCHAR}, + + + bill_type = #{billType,jdbcType=INTEGER}, + + + bill_header = #{billHeader,jdbcType=VARCHAR}, + + + bill_content = #{billContent,jdbcType=VARCHAR}, + + + bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, + + + bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, + + + receiver_name = #{receiverName,jdbcType=VARCHAR}, + + + receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, + + + receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, + + + receiver_province = #{receiverProvince,jdbcType=VARCHAR}, + + + receiver_city = #{receiverCity,jdbcType=VARCHAR}, + + + receiver_region = #{receiverRegion,jdbcType=VARCHAR}, + + + receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, + + + note = #{note,jdbcType=VARCHAR}, + + + confirm_status = #{confirmStatus,jdbcType=INTEGER}, + + + delete_status = #{deleteStatus,jdbcType=INTEGER}, + + + use_integration = #{useIntegration,jdbcType=INTEGER}, + + + payment_time = #{paymentTime,jdbcType=TIMESTAMP}, + + + delivery_time = #{deliveryTime,jdbcType=TIMESTAMP}, + + + receive_time = #{receiveTime,jdbcType=TIMESTAMP}, + + + comment_time = #{commentTime,jdbcType=TIMESTAMP}, + + + modify_time = #{modifyTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order + set member_id = #{memberId,jdbcType=BIGINT}, + coupon_id = #{couponId,jdbcType=BIGINT}, + order_sn = #{orderSn,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + member_username = #{memberUsername,jdbcType=VARCHAR}, + total_amount = #{totalAmount,jdbcType=DECIMAL}, + pay_amount = #{payAmount,jdbcType=DECIMAL}, + freight_amount = #{freightAmount,jdbcType=DECIMAL}, + promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, + integration_amount = #{integrationAmount,jdbcType=DECIMAL}, + coupon_amount = #{couponAmount,jdbcType=DECIMAL}, + discount_amount = #{discountAmount,jdbcType=DECIMAL}, + pay_type = #{payType,jdbcType=INTEGER}, + source_type = #{sourceType,jdbcType=INTEGER}, + status = #{status,jdbcType=INTEGER}, + order_type = #{orderType,jdbcType=INTEGER}, + delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, + delivery_sn = #{deliverySn,jdbcType=VARCHAR}, + auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, + integration = #{integration,jdbcType=INTEGER}, + growth = #{growth,jdbcType=INTEGER}, + promotion_info = #{promotionInfo,jdbcType=VARCHAR}, + bill_type = #{billType,jdbcType=INTEGER}, + bill_header = #{billHeader,jdbcType=VARCHAR}, + bill_content = #{billContent,jdbcType=VARCHAR}, + bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, + bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, + receiver_name = #{receiverName,jdbcType=VARCHAR}, + receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, + receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, + receiver_province = #{receiverProvince,jdbcType=VARCHAR}, + receiver_city = #{receiverCity,jdbcType=VARCHAR}, + receiver_region = #{receiverRegion,jdbcType=VARCHAR}, + receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + confirm_status = #{confirmStatus,jdbcType=INTEGER}, + delete_status = #{deleteStatus,jdbcType=INTEGER}, + use_integration = #{useIntegration,jdbcType=INTEGER}, + payment_time = #{paymentTime,jdbcType=TIMESTAMP}, + delivery_time = #{deliveryTime,jdbcType=TIMESTAMP}, + receive_time = #{receiveTime,jdbcType=TIMESTAMP}, + comment_time = #{commentTime,jdbcType=TIMESTAMP}, + modify_time = #{modifyTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderOperateHistoryMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderOperateHistoryMapper.xml new file mode 100644 index 0000000..1921162 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderOperateHistoryMapper.xml @@ -0,0 +1,670 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, order_id, operate_man, create_time, order_status, note + + + + + delete from oms_order_operate_history + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_operate_history + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_operate_history (order_id, operate_man, create_time, + order_status, note) + values (#{orderId,jdbcType=BIGINT}, #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, + #{orderStatus,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_operate_history + + + order_id, + + + operate_man, + + + create_time, + + + order_status, + + + note, + + + + + #{orderId,jdbcType=BIGINT}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{orderStatus,jdbcType=INTEGER}, + + + #{note,jdbcType=VARCHAR}, + + + + + + update oms_order_operate_history + + + id = #{record.id,jdbcType=BIGINT}, + + + order_id = #{record.orderId,jdbcType=BIGINT}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + order_status = #{record.orderStatus,jdbcType=INTEGER}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + + + + + + update oms_order_operate_history + set id = #{record.id,jdbcType=BIGINT}, + order_id = #{record.orderId,jdbcType=BIGINT}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + order_status = #{record.orderStatus,jdbcType=INTEGER}, + note = #{record.note,jdbcType=VARCHAR} + + + + + + update oms_order_operate_history + + + order_id = #{orderId,jdbcType=BIGINT}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + order_status = #{orderStatus,jdbcType=INTEGER}, + + + note = #{note,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_operate_history + set order_id = #{orderId,jdbcType=BIGINT}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + order_status = #{orderStatus,jdbcType=INTEGER}, + note = #{note,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, order_id, operate_man, create_time, order_status, note + + + + + delete from oms_order_operate_history + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_operate_history + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_operate_history (order_id, operate_man, create_time, + order_status, note) + values (#{orderId,jdbcType=BIGINT}, #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, + #{orderStatus,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_operate_history + + + order_id, + + + operate_man, + + + create_time, + + + order_status, + + + note, + + + + + #{orderId,jdbcType=BIGINT}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{orderStatus,jdbcType=INTEGER}, + + + #{note,jdbcType=VARCHAR}, + + + + + + update oms_order_operate_history + + + id = #{record.id,jdbcType=BIGINT}, + + + order_id = #{record.orderId,jdbcType=BIGINT}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + order_status = #{record.orderStatus,jdbcType=INTEGER}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + + + + + + update oms_order_operate_history + set id = #{record.id,jdbcType=BIGINT}, + order_id = #{record.orderId,jdbcType=BIGINT}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + order_status = #{record.orderStatus,jdbcType=INTEGER}, + note = #{record.note,jdbcType=VARCHAR} + + + + + + update oms_order_operate_history + + + order_id = #{orderId,jdbcType=BIGINT}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + order_status = #{orderStatus,jdbcType=INTEGER}, + + + note = #{note,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_operate_history + set order_id = #{orderId,jdbcType=BIGINT}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + order_status = #{orderStatus,jdbcType=INTEGER}, + note = #{note,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, order_id, operate_man, create_time, order_status, note + + + + + delete from oms_order_operate_history + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_operate_history + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_operate_history (order_id, operate_man, create_time, + order_status, note) + values (#{orderId,jdbcType=BIGINT}, #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, + #{orderStatus,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_operate_history + + + order_id, + + + operate_man, + + + create_time, + + + order_status, + + + note, + + + + + #{orderId,jdbcType=BIGINT}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{orderStatus,jdbcType=INTEGER}, + + + #{note,jdbcType=VARCHAR}, + + + + + + update oms_order_operate_history + + + id = #{record.id,jdbcType=BIGINT}, + + + order_id = #{record.orderId,jdbcType=BIGINT}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + order_status = #{record.orderStatus,jdbcType=INTEGER}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + + + + + + update oms_order_operate_history + set id = #{record.id,jdbcType=BIGINT}, + order_id = #{record.orderId,jdbcType=BIGINT}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + order_status = #{record.orderStatus,jdbcType=INTEGER}, + note = #{record.note,jdbcType=VARCHAR} + + + + + + update oms_order_operate_history + + + order_id = #{orderId,jdbcType=BIGINT}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + order_status = #{orderStatus,jdbcType=INTEGER}, + + + note = #{note,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_operate_history + set order_id = #{orderId,jdbcType=BIGINT}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + order_status = #{orderStatus,jdbcType=INTEGER}, + note = #{note,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderReturnApplyMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderReturnApplyMapper.xml new file mode 100644 index 0000000..28b6843 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderReturnApplyMapper.xml @@ -0,0 +1,1666 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, order_id, company_address_id, product_id, order_sn, create_time, member_username, + return_amount, return_name, return_phone, status, handle_time, product_pic, product_name, + product_brand, product_attr, product_count, product_price, product_real_price, reason, + description, proof_pics, handle_note, handle_man, receive_man, receive_time, receive_note + + + + + delete from oms_order_return_apply + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_return_apply + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_return_apply (order_id, company_address_id, product_id, + order_sn, create_time, member_username, + return_amount, return_name, return_phone, + status, handle_time, product_pic, + product_name, product_brand, product_attr, + product_count, product_price, product_real_price, + reason, description, proof_pics, + handle_note, handle_man, receive_man, + receive_time, receive_note) + values (#{orderId,jdbcType=BIGINT}, #{companyAddressId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, + #{orderSn,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, + #{returnAmount,jdbcType=DECIMAL}, #{returnName,jdbcType=VARCHAR}, #{returnPhone,jdbcType=VARCHAR}, + #{status,jdbcType=INTEGER}, #{handleTime,jdbcType=TIMESTAMP}, #{productPic,jdbcType=VARCHAR}, + #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}, + #{productCount,jdbcType=INTEGER}, #{productPrice,jdbcType=DECIMAL}, #{productRealPrice,jdbcType=DECIMAL}, + #{reason,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{proofPics,jdbcType=VARCHAR}, + #{handleNote,jdbcType=VARCHAR}, #{handleMan,jdbcType=VARCHAR}, #{receiveMan,jdbcType=VARCHAR}, + #{receiveTime,jdbcType=TIMESTAMP}, #{receiveNote,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_return_apply + + + order_id, + + + company_address_id, + + + product_id, + + + order_sn, + + + create_time, + + + member_username, + + + return_amount, + + + return_name, + + + return_phone, + + + status, + + + handle_time, + + + product_pic, + + + product_name, + + + product_brand, + + + product_attr, + + + product_count, + + + product_price, + + + product_real_price, + + + reason, + + + description, + + + proof_pics, + + + handle_note, + + + handle_man, + + + receive_man, + + + receive_time, + + + receive_note, + + + + + #{orderId,jdbcType=BIGINT}, + + + #{companyAddressId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{memberUsername,jdbcType=VARCHAR}, + + + #{returnAmount,jdbcType=DECIMAL}, + + + #{returnName,jdbcType=VARCHAR}, + + + #{returnPhone,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{handleTime,jdbcType=TIMESTAMP}, + + + #{productPic,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productBrand,jdbcType=VARCHAR}, + + + #{productAttr,jdbcType=VARCHAR}, + + + #{productCount,jdbcType=INTEGER}, + + + #{productPrice,jdbcType=DECIMAL}, + + + #{productRealPrice,jdbcType=DECIMAL}, + + + #{reason,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + #{proofPics,jdbcType=VARCHAR}, + + + #{handleNote,jdbcType=VARCHAR}, + + + #{handleMan,jdbcType=VARCHAR}, + + + #{receiveMan,jdbcType=VARCHAR}, + + + #{receiveTime,jdbcType=TIMESTAMP}, + + + #{receiveNote,jdbcType=VARCHAR}, + + + + + + update oms_order_return_apply + + + id = #{record.id,jdbcType=BIGINT}, + + + order_id = #{record.orderId,jdbcType=BIGINT}, + + + company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + member_username = #{record.memberUsername,jdbcType=VARCHAR}, + + + return_amount = #{record.returnAmount,jdbcType=DECIMAL}, + + + return_name = #{record.returnName,jdbcType=VARCHAR}, + + + return_phone = #{record.returnPhone,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, + + + product_pic = #{record.productPic,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + + + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + product_price = #{record.productPrice,jdbcType=DECIMAL}, + + + product_real_price = #{record.productRealPrice,jdbcType=DECIMAL}, + + + reason = #{record.reason,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + proof_pics = #{record.proofPics,jdbcType=VARCHAR}, + + + handle_note = #{record.handleNote,jdbcType=VARCHAR}, + + + handle_man = #{record.handleMan,jdbcType=VARCHAR}, + + + receive_man = #{record.receiveMan,jdbcType=VARCHAR}, + + + receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, + + + receive_note = #{record.receiveNote,jdbcType=VARCHAR}, + + + + + + + + update oms_order_return_apply + set id = #{record.id,jdbcType=BIGINT}, + order_id = #{record.orderId,jdbcType=BIGINT}, + company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + member_username = #{record.memberUsername,jdbcType=VARCHAR}, + return_amount = #{record.returnAmount,jdbcType=DECIMAL}, + return_name = #{record.returnName,jdbcType=VARCHAR}, + return_phone = #{record.returnPhone,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, + product_pic = #{record.productPic,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_price = #{record.productPrice,jdbcType=DECIMAL}, + product_real_price = #{record.productRealPrice,jdbcType=DECIMAL}, + reason = #{record.reason,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + proof_pics = #{record.proofPics,jdbcType=VARCHAR}, + handle_note = #{record.handleNote,jdbcType=VARCHAR}, + handle_man = #{record.handleMan,jdbcType=VARCHAR}, + receive_man = #{record.receiveMan,jdbcType=VARCHAR}, + receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, + receive_note = #{record.receiveNote,jdbcType=VARCHAR} + + + + + + update oms_order_return_apply + + + order_id = #{orderId,jdbcType=BIGINT}, + + + company_address_id = #{companyAddressId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + order_sn = #{orderSn,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + member_username = #{memberUsername,jdbcType=VARCHAR}, + + + return_amount = #{returnAmount,jdbcType=DECIMAL}, + + + return_name = #{returnName,jdbcType=VARCHAR}, + + + return_phone = #{returnPhone,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + handle_time = #{handleTime,jdbcType=TIMESTAMP}, + + + product_pic = #{productPic,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_brand = #{productBrand,jdbcType=VARCHAR}, + + + product_attr = #{productAttr,jdbcType=VARCHAR}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + product_price = #{productPrice,jdbcType=DECIMAL}, + + + product_real_price = #{productRealPrice,jdbcType=DECIMAL}, + + + reason = #{reason,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + proof_pics = #{proofPics,jdbcType=VARCHAR}, + + + handle_note = #{handleNote,jdbcType=VARCHAR}, + + + handle_man = #{handleMan,jdbcType=VARCHAR}, + + + receive_man = #{receiveMan,jdbcType=VARCHAR}, + + + receive_time = #{receiveTime,jdbcType=TIMESTAMP}, + + + receive_note = #{receiveNote,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_return_apply + set order_id = #{orderId,jdbcType=BIGINT}, + company_address_id = #{companyAddressId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT}, + order_sn = #{orderSn,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + member_username = #{memberUsername,jdbcType=VARCHAR}, + return_amount = #{returnAmount,jdbcType=DECIMAL}, + return_name = #{returnName,jdbcType=VARCHAR}, + return_phone = #{returnPhone,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + handle_time = #{handleTime,jdbcType=TIMESTAMP}, + product_pic = #{productPic,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + product_brand = #{productBrand,jdbcType=VARCHAR}, + product_attr = #{productAttr,jdbcType=VARCHAR}, + product_count = #{productCount,jdbcType=INTEGER}, + product_price = #{productPrice,jdbcType=DECIMAL}, + product_real_price = #{productRealPrice,jdbcType=DECIMAL}, + reason = #{reason,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + proof_pics = #{proofPics,jdbcType=VARCHAR}, + handle_note = #{handleNote,jdbcType=VARCHAR}, + handle_man = #{handleMan,jdbcType=VARCHAR}, + receive_man = #{receiveMan,jdbcType=VARCHAR}, + receive_time = #{receiveTime,jdbcType=TIMESTAMP}, + receive_note = #{receiveNote,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, order_id, company_address_id, product_id, order_sn, create_time, member_username, + return_amount, return_name, return_phone, status, handle_time, product_pic, product_name, + product_brand, product_attr, product_count, product_price, product_real_price, reason, + description, proof_pics, handle_note, handle_man, receive_man, receive_time, receive_note + + + + + delete from oms_order_return_apply + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_return_apply + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_return_apply (order_id, company_address_id, product_id, + order_sn, create_time, member_username, + return_amount, return_name, return_phone, + status, handle_time, product_pic, + product_name, product_brand, product_attr, + product_count, product_price, product_real_price, + reason, description, proof_pics, + handle_note, handle_man, receive_man, + receive_time, receive_note) + values (#{orderId,jdbcType=BIGINT}, #{companyAddressId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, + #{orderSn,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, + #{returnAmount,jdbcType=DECIMAL}, #{returnName,jdbcType=VARCHAR}, #{returnPhone,jdbcType=VARCHAR}, + #{status,jdbcType=INTEGER}, #{handleTime,jdbcType=TIMESTAMP}, #{productPic,jdbcType=VARCHAR}, + #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}, + #{productCount,jdbcType=INTEGER}, #{productPrice,jdbcType=DECIMAL}, #{productRealPrice,jdbcType=DECIMAL}, + #{reason,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{proofPics,jdbcType=VARCHAR}, + #{handleNote,jdbcType=VARCHAR}, #{handleMan,jdbcType=VARCHAR}, #{receiveMan,jdbcType=VARCHAR}, + #{receiveTime,jdbcType=TIMESTAMP}, #{receiveNote,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_return_apply + + + order_id, + + + company_address_id, + + + product_id, + + + order_sn, + + + create_time, + + + member_username, + + + return_amount, + + + return_name, + + + return_phone, + + + status, + + + handle_time, + + + product_pic, + + + product_name, + + + product_brand, + + + product_attr, + + + product_count, + + + product_price, + + + product_real_price, + + + reason, + + + description, + + + proof_pics, + + + handle_note, + + + handle_man, + + + receive_man, + + + receive_time, + + + receive_note, + + + + + #{orderId,jdbcType=BIGINT}, + + + #{companyAddressId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{memberUsername,jdbcType=VARCHAR}, + + + #{returnAmount,jdbcType=DECIMAL}, + + + #{returnName,jdbcType=VARCHAR}, + + + #{returnPhone,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{handleTime,jdbcType=TIMESTAMP}, + + + #{productPic,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productBrand,jdbcType=VARCHAR}, + + + #{productAttr,jdbcType=VARCHAR}, + + + #{productCount,jdbcType=INTEGER}, + + + #{productPrice,jdbcType=DECIMAL}, + + + #{productRealPrice,jdbcType=DECIMAL}, + + + #{reason,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + #{proofPics,jdbcType=VARCHAR}, + + + #{handleNote,jdbcType=VARCHAR}, + + + #{handleMan,jdbcType=VARCHAR}, + + + #{receiveMan,jdbcType=VARCHAR}, + + + #{receiveTime,jdbcType=TIMESTAMP}, + + + #{receiveNote,jdbcType=VARCHAR}, + + + + + + update oms_order_return_apply + + + id = #{record.id,jdbcType=BIGINT}, + + + order_id = #{record.orderId,jdbcType=BIGINT}, + + + company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + member_username = #{record.memberUsername,jdbcType=VARCHAR}, + + + return_amount = #{record.returnAmount,jdbcType=DECIMAL}, + + + return_name = #{record.returnName,jdbcType=VARCHAR}, + + + return_phone = #{record.returnPhone,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, + + + product_pic = #{record.productPic,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + + + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + product_price = #{record.productPrice,jdbcType=DECIMAL}, + + + product_real_price = #{record.productRealPrice,jdbcType=DECIMAL}, + + + reason = #{record.reason,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + proof_pics = #{record.proofPics,jdbcType=VARCHAR}, + + + handle_note = #{record.handleNote,jdbcType=VARCHAR}, + + + handle_man = #{record.handleMan,jdbcType=VARCHAR}, + + + receive_man = #{record.receiveMan,jdbcType=VARCHAR}, + + + receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, + + + receive_note = #{record.receiveNote,jdbcType=VARCHAR}, + + + + + + + + update oms_order_return_apply + set id = #{record.id,jdbcType=BIGINT}, + order_id = #{record.orderId,jdbcType=BIGINT}, + company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + member_username = #{record.memberUsername,jdbcType=VARCHAR}, + return_amount = #{record.returnAmount,jdbcType=DECIMAL}, + return_name = #{record.returnName,jdbcType=VARCHAR}, + return_phone = #{record.returnPhone,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, + product_pic = #{record.productPic,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_price = #{record.productPrice,jdbcType=DECIMAL}, + product_real_price = #{record.productRealPrice,jdbcType=DECIMAL}, + reason = #{record.reason,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + proof_pics = #{record.proofPics,jdbcType=VARCHAR}, + handle_note = #{record.handleNote,jdbcType=VARCHAR}, + handle_man = #{record.handleMan,jdbcType=VARCHAR}, + receive_man = #{record.receiveMan,jdbcType=VARCHAR}, + receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, + receive_note = #{record.receiveNote,jdbcType=VARCHAR} + + + + + + update oms_order_return_apply + + + order_id = #{orderId,jdbcType=BIGINT}, + + + company_address_id = #{companyAddressId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + order_sn = #{orderSn,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + member_username = #{memberUsername,jdbcType=VARCHAR}, + + + return_amount = #{returnAmount,jdbcType=DECIMAL}, + + + return_name = #{returnName,jdbcType=VARCHAR}, + + + return_phone = #{returnPhone,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + handle_time = #{handleTime,jdbcType=TIMESTAMP}, + + + product_pic = #{productPic,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_brand = #{productBrand,jdbcType=VARCHAR}, + + + product_attr = #{productAttr,jdbcType=VARCHAR}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + product_price = #{productPrice,jdbcType=DECIMAL}, + + + product_real_price = #{productRealPrice,jdbcType=DECIMAL}, + + + reason = #{reason,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + proof_pics = #{proofPics,jdbcType=VARCHAR}, + + + handle_note = #{handleNote,jdbcType=VARCHAR}, + + + handle_man = #{handleMan,jdbcType=VARCHAR}, + + + receive_man = #{receiveMan,jdbcType=VARCHAR}, + + + receive_time = #{receiveTime,jdbcType=TIMESTAMP}, + + + receive_note = #{receiveNote,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_return_apply + set order_id = #{orderId,jdbcType=BIGINT}, + company_address_id = #{companyAddressId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT}, + order_sn = #{orderSn,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + member_username = #{memberUsername,jdbcType=VARCHAR}, + return_amount = #{returnAmount,jdbcType=DECIMAL}, + return_name = #{returnName,jdbcType=VARCHAR}, + return_phone = #{returnPhone,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + handle_time = #{handleTime,jdbcType=TIMESTAMP}, + product_pic = #{productPic,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + product_brand = #{productBrand,jdbcType=VARCHAR}, + product_attr = #{productAttr,jdbcType=VARCHAR}, + product_count = #{productCount,jdbcType=INTEGER}, + product_price = #{productPrice,jdbcType=DECIMAL}, + product_real_price = #{productRealPrice,jdbcType=DECIMAL}, + reason = #{reason,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + proof_pics = #{proofPics,jdbcType=VARCHAR}, + handle_note = #{handleNote,jdbcType=VARCHAR}, + handle_man = #{handleMan,jdbcType=VARCHAR}, + receive_man = #{receiveMan,jdbcType=VARCHAR}, + receive_time = #{receiveTime,jdbcType=TIMESTAMP}, + receive_note = #{receiveNote,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, order_id, company_address_id, product_id, order_sn, create_time, member_username, + return_amount, return_name, return_phone, status, handle_time, product_pic, product_name, + product_brand, product_attr, product_count, product_price, product_real_price, reason, + description, proof_pics, handle_note, handle_man, receive_man, receive_time, receive_note + + + + + delete from oms_order_return_apply + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_return_apply + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_return_apply (order_id, company_address_id, product_id, + order_sn, create_time, member_username, + return_amount, return_name, return_phone, + status, handle_time, product_pic, + product_name, product_brand, product_attr, + product_count, product_price, product_real_price, + reason, description, proof_pics, + handle_note, handle_man, receive_man, + receive_time, receive_note) + values (#{orderId,jdbcType=BIGINT}, #{companyAddressId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, + #{orderSn,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, + #{returnAmount,jdbcType=DECIMAL}, #{returnName,jdbcType=VARCHAR}, #{returnPhone,jdbcType=VARCHAR}, + #{status,jdbcType=INTEGER}, #{handleTime,jdbcType=TIMESTAMP}, #{productPic,jdbcType=VARCHAR}, + #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}, + #{productCount,jdbcType=INTEGER}, #{productPrice,jdbcType=DECIMAL}, #{productRealPrice,jdbcType=DECIMAL}, + #{reason,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{proofPics,jdbcType=VARCHAR}, + #{handleNote,jdbcType=VARCHAR}, #{handleMan,jdbcType=VARCHAR}, #{receiveMan,jdbcType=VARCHAR}, + #{receiveTime,jdbcType=TIMESTAMP}, #{receiveNote,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_return_apply + + + order_id, + + + company_address_id, + + + product_id, + + + order_sn, + + + create_time, + + + member_username, + + + return_amount, + + + return_name, + + + return_phone, + + + status, + + + handle_time, + + + product_pic, + + + product_name, + + + product_brand, + + + product_attr, + + + product_count, + + + product_price, + + + product_real_price, + + + reason, + + + description, + + + proof_pics, + + + handle_note, + + + handle_man, + + + receive_man, + + + receive_time, + + + receive_note, + + + + + #{orderId,jdbcType=BIGINT}, + + + #{companyAddressId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{memberUsername,jdbcType=VARCHAR}, + + + #{returnAmount,jdbcType=DECIMAL}, + + + #{returnName,jdbcType=VARCHAR}, + + + #{returnPhone,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{handleTime,jdbcType=TIMESTAMP}, + + + #{productPic,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productBrand,jdbcType=VARCHAR}, + + + #{productAttr,jdbcType=VARCHAR}, + + + #{productCount,jdbcType=INTEGER}, + + + #{productPrice,jdbcType=DECIMAL}, + + + #{productRealPrice,jdbcType=DECIMAL}, + + + #{reason,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + #{proofPics,jdbcType=VARCHAR}, + + + #{handleNote,jdbcType=VARCHAR}, + + + #{handleMan,jdbcType=VARCHAR}, + + + #{receiveMan,jdbcType=VARCHAR}, + + + #{receiveTime,jdbcType=TIMESTAMP}, + + + #{receiveNote,jdbcType=VARCHAR}, + + + + + + update oms_order_return_apply + + + id = #{record.id,jdbcType=BIGINT}, + + + order_id = #{record.orderId,jdbcType=BIGINT}, + + + company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + member_username = #{record.memberUsername,jdbcType=VARCHAR}, + + + return_amount = #{record.returnAmount,jdbcType=DECIMAL}, + + + return_name = #{record.returnName,jdbcType=VARCHAR}, + + + return_phone = #{record.returnPhone,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, + + + product_pic = #{record.productPic,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + + + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + product_price = #{record.productPrice,jdbcType=DECIMAL}, + + + product_real_price = #{record.productRealPrice,jdbcType=DECIMAL}, + + + reason = #{record.reason,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + proof_pics = #{record.proofPics,jdbcType=VARCHAR}, + + + handle_note = #{record.handleNote,jdbcType=VARCHAR}, + + + handle_man = #{record.handleMan,jdbcType=VARCHAR}, + + + receive_man = #{record.receiveMan,jdbcType=VARCHAR}, + + + receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, + + + receive_note = #{record.receiveNote,jdbcType=VARCHAR}, + + + + + + + + update oms_order_return_apply + set id = #{record.id,jdbcType=BIGINT}, + order_id = #{record.orderId,jdbcType=BIGINT}, + company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + member_username = #{record.memberUsername,jdbcType=VARCHAR}, + return_amount = #{record.returnAmount,jdbcType=DECIMAL}, + return_name = #{record.returnName,jdbcType=VARCHAR}, + return_phone = #{record.returnPhone,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, + product_pic = #{record.productPic,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_price = #{record.productPrice,jdbcType=DECIMAL}, + product_real_price = #{record.productRealPrice,jdbcType=DECIMAL}, + reason = #{record.reason,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + proof_pics = #{record.proofPics,jdbcType=VARCHAR}, + handle_note = #{record.handleNote,jdbcType=VARCHAR}, + handle_man = #{record.handleMan,jdbcType=VARCHAR}, + receive_man = #{record.receiveMan,jdbcType=VARCHAR}, + receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, + receive_note = #{record.receiveNote,jdbcType=VARCHAR} + + + + + + update oms_order_return_apply + + + order_id = #{orderId,jdbcType=BIGINT}, + + + company_address_id = #{companyAddressId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + order_sn = #{orderSn,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + member_username = #{memberUsername,jdbcType=VARCHAR}, + + + return_amount = #{returnAmount,jdbcType=DECIMAL}, + + + return_name = #{returnName,jdbcType=VARCHAR}, + + + return_phone = #{returnPhone,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + handle_time = #{handleTime,jdbcType=TIMESTAMP}, + + + product_pic = #{productPic,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_brand = #{productBrand,jdbcType=VARCHAR}, + + + product_attr = #{productAttr,jdbcType=VARCHAR}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + product_price = #{productPrice,jdbcType=DECIMAL}, + + + product_real_price = #{productRealPrice,jdbcType=DECIMAL}, + + + reason = #{reason,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + proof_pics = #{proofPics,jdbcType=VARCHAR}, + + + handle_note = #{handleNote,jdbcType=VARCHAR}, + + + handle_man = #{handleMan,jdbcType=VARCHAR}, + + + receive_man = #{receiveMan,jdbcType=VARCHAR}, + + + receive_time = #{receiveTime,jdbcType=TIMESTAMP}, + + + receive_note = #{receiveNote,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_return_apply + set order_id = #{orderId,jdbcType=BIGINT}, + company_address_id = #{companyAddressId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT}, + order_sn = #{orderSn,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + member_username = #{memberUsername,jdbcType=VARCHAR}, + return_amount = #{returnAmount,jdbcType=DECIMAL}, + return_name = #{returnName,jdbcType=VARCHAR}, + return_phone = #{returnPhone,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + handle_time = #{handleTime,jdbcType=TIMESTAMP}, + product_pic = #{productPic,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + product_brand = #{productBrand,jdbcType=VARCHAR}, + product_attr = #{productAttr,jdbcType=VARCHAR}, + product_count = #{productCount,jdbcType=INTEGER}, + product_price = #{productPrice,jdbcType=DECIMAL}, + product_real_price = #{productRealPrice,jdbcType=DECIMAL}, + reason = #{reason,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + proof_pics = #{proofPics,jdbcType=VARCHAR}, + handle_note = #{handleNote,jdbcType=VARCHAR}, + handle_man = #{handleMan,jdbcType=VARCHAR}, + receive_man = #{receiveMan,jdbcType=VARCHAR}, + receive_time = #{receiveTime,jdbcType=TIMESTAMP}, + receive_note = #{receiveNote,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderReturnReasonMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderReturnReasonMapper.xml new file mode 100644 index 0000000..79909d4 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderReturnReasonMapper.xml @@ -0,0 +1,625 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, sort, status, create_time + + + + + delete from oms_order_return_reason + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_return_reason + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_return_reason (name, sort, status, + create_time) + values (#{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, + #{createTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_return_reason + + + name, + + + sort, + + + status, + + + create_time, + + + + + #{name,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + + + + update oms_order_return_reason + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + + + + + + update oms_order_return_reason + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update oms_order_return_reason + + + name = #{name,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_return_reason + set name = #{name,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, sort, status, create_time + + + + + delete from oms_order_return_reason + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_return_reason + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_return_reason (name, sort, status, + create_time) + values (#{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, + #{createTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_return_reason + + + name, + + + sort, + + + status, + + + create_time, + + + + + #{name,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + + + + update oms_order_return_reason + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + + + + + + update oms_order_return_reason + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update oms_order_return_reason + + + name = #{name,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_return_reason + set name = #{name,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, sort, status, create_time + + + + + delete from oms_order_return_reason + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_return_reason + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_return_reason (name, sort, status, + create_time) + values (#{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, + #{createTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_return_reason + + + name, + + + sort, + + + status, + + + create_time, + + + + + #{name,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + + + + update oms_order_return_reason + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + + + + + + update oms_order_return_reason + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update oms_order_return_reason + + + name = #{name,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_return_reason + set name = #{name,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderSettingMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderSettingMapper.xml new file mode 100644 index 0000000..ef50144 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/OmsOrderSettingMapper.xml @@ -0,0 +1,679 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, flash_order_overtime, normal_order_overtime, confirm_overtime, finish_overtime, + comment_overtime + + + + + delete from oms_order_setting + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_setting + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_setting (flash_order_overtime, normal_order_overtime, + confirm_overtime, finish_overtime, comment_overtime + ) + values (#{flashOrderOvertime,jdbcType=INTEGER}, #{normalOrderOvertime,jdbcType=INTEGER}, + #{confirmOvertime,jdbcType=INTEGER}, #{finishOvertime,jdbcType=INTEGER}, #{commentOvertime,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_setting + + + flash_order_overtime, + + + normal_order_overtime, + + + confirm_overtime, + + + finish_overtime, + + + comment_overtime, + + + + + #{flashOrderOvertime,jdbcType=INTEGER}, + + + #{normalOrderOvertime,jdbcType=INTEGER}, + + + #{confirmOvertime,jdbcType=INTEGER}, + + + #{finishOvertime,jdbcType=INTEGER}, + + + #{commentOvertime,jdbcType=INTEGER}, + + + + + + update oms_order_setting + + + id = #{record.id,jdbcType=BIGINT}, + + + flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, + + + normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, + + + confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, + + + finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, + + + comment_overtime = #{record.commentOvertime,jdbcType=INTEGER}, + + + + + + + + update oms_order_setting + set id = #{record.id,jdbcType=BIGINT}, + flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, + normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, + confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, + finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, + comment_overtime = #{record.commentOvertime,jdbcType=INTEGER} + + + + + + update oms_order_setting + + + flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, + + + normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, + + + confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, + + + finish_overtime = #{finishOvertime,jdbcType=INTEGER}, + + + comment_overtime = #{commentOvertime,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_setting + set flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, + normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, + confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, + finish_overtime = #{finishOvertime,jdbcType=INTEGER}, + comment_overtime = #{commentOvertime,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, flash_order_overtime, normal_order_overtime, confirm_overtime, finish_overtime, + comment_overtime + + + + + delete from oms_order_setting + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_setting + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_setting (flash_order_overtime, normal_order_overtime, + confirm_overtime, finish_overtime, comment_overtime + ) + values (#{flashOrderOvertime,jdbcType=INTEGER}, #{normalOrderOvertime,jdbcType=INTEGER}, + #{confirmOvertime,jdbcType=INTEGER}, #{finishOvertime,jdbcType=INTEGER}, #{commentOvertime,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_setting + + + flash_order_overtime, + + + normal_order_overtime, + + + confirm_overtime, + + + finish_overtime, + + + comment_overtime, + + + + + #{flashOrderOvertime,jdbcType=INTEGER}, + + + #{normalOrderOvertime,jdbcType=INTEGER}, + + + #{confirmOvertime,jdbcType=INTEGER}, + + + #{finishOvertime,jdbcType=INTEGER}, + + + #{commentOvertime,jdbcType=INTEGER}, + + + + + + update oms_order_setting + + + id = #{record.id,jdbcType=BIGINT}, + + + flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, + + + normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, + + + confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, + + + finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, + + + comment_overtime = #{record.commentOvertime,jdbcType=INTEGER}, + + + + + + + + update oms_order_setting + set id = #{record.id,jdbcType=BIGINT}, + flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, + normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, + confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, + finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, + comment_overtime = #{record.commentOvertime,jdbcType=INTEGER} + + + + + + update oms_order_setting + + + flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, + + + normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, + + + confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, + + + finish_overtime = #{finishOvertime,jdbcType=INTEGER}, + + + comment_overtime = #{commentOvertime,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_setting + set flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, + normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, + confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, + finish_overtime = #{finishOvertime,jdbcType=INTEGER}, + comment_overtime = #{commentOvertime,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, flash_order_overtime, normal_order_overtime, confirm_overtime, finish_overtime, + comment_overtime + + + + + delete from oms_order_setting + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_setting + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_setting (flash_order_overtime, normal_order_overtime, + confirm_overtime, finish_overtime, comment_overtime + ) + values (#{flashOrderOvertime,jdbcType=INTEGER}, #{normalOrderOvertime,jdbcType=INTEGER}, + #{confirmOvertime,jdbcType=INTEGER}, #{finishOvertime,jdbcType=INTEGER}, #{commentOvertime,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_setting + + + flash_order_overtime, + + + normal_order_overtime, + + + confirm_overtime, + + + finish_overtime, + + + comment_overtime, + + + + + #{flashOrderOvertime,jdbcType=INTEGER}, + + + #{normalOrderOvertime,jdbcType=INTEGER}, + + + #{confirmOvertime,jdbcType=INTEGER}, + + + #{finishOvertime,jdbcType=INTEGER}, + + + #{commentOvertime,jdbcType=INTEGER}, + + + + + + update oms_order_setting + + + id = #{record.id,jdbcType=BIGINT}, + + + flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, + + + normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, + + + confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, + + + finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, + + + comment_overtime = #{record.commentOvertime,jdbcType=INTEGER}, + + + + + + + + update oms_order_setting + set id = #{record.id,jdbcType=BIGINT}, + flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, + normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, + confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, + finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, + comment_overtime = #{record.commentOvertime,jdbcType=INTEGER} + + + + + + update oms_order_setting + + + flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, + + + normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, + + + confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, + + + finish_overtime = #{finishOvertime,jdbcType=INTEGER}, + + + comment_overtime = #{commentOvertime,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_setting + set flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, + normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, + confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, + finish_overtime = #{finishOvertime,jdbcType=INTEGER}, + comment_overtime = #{commentOvertime,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsAlbumMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsAlbumMapper.xml new file mode 100644 index 0000000..0df7562 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsAlbumMapper.xml @@ -0,0 +1,670 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, cover_pic, pic_count, sort, description + + + + + delete from pms_album + where id = #{id,jdbcType=BIGINT} + + + delete from pms_album + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_album (name, cover_pic, pic_count, + sort, description) + values (#{name,jdbcType=VARCHAR}, #{coverPic,jdbcType=VARCHAR}, #{picCount,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_album + + + name, + + + cover_pic, + + + pic_count, + + + sort, + + + description, + + + + + #{name,jdbcType=VARCHAR}, + + + #{coverPic,jdbcType=VARCHAR}, + + + #{picCount,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + #{description,jdbcType=VARCHAR}, + + + + + + update pms_album + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + cover_pic = #{record.coverPic,jdbcType=VARCHAR}, + + + pic_count = #{record.picCount,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + + + + + + update pms_album + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + cover_pic = #{record.coverPic,jdbcType=VARCHAR}, + pic_count = #{record.picCount,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + description = #{record.description,jdbcType=VARCHAR} + + + + + + update pms_album + + + name = #{name,jdbcType=VARCHAR}, + + + cover_pic = #{coverPic,jdbcType=VARCHAR}, + + + pic_count = #{picCount,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + description = #{description,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_album + set name = #{name,jdbcType=VARCHAR}, + cover_pic = #{coverPic,jdbcType=VARCHAR}, + pic_count = #{picCount,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + description = #{description,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, cover_pic, pic_count, sort, description + + + + + delete from pms_album + where id = #{id,jdbcType=BIGINT} + + + delete from pms_album + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_album (name, cover_pic, pic_count, + sort, description) + values (#{name,jdbcType=VARCHAR}, #{coverPic,jdbcType=VARCHAR}, #{picCount,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_album + + + name, + + + cover_pic, + + + pic_count, + + + sort, + + + description, + + + + + #{name,jdbcType=VARCHAR}, + + + #{coverPic,jdbcType=VARCHAR}, + + + #{picCount,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + #{description,jdbcType=VARCHAR}, + + + + + + update pms_album + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + cover_pic = #{record.coverPic,jdbcType=VARCHAR}, + + + pic_count = #{record.picCount,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + + + + + + update pms_album + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + cover_pic = #{record.coverPic,jdbcType=VARCHAR}, + pic_count = #{record.picCount,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + description = #{record.description,jdbcType=VARCHAR} + + + + + + update pms_album + + + name = #{name,jdbcType=VARCHAR}, + + + cover_pic = #{coverPic,jdbcType=VARCHAR}, + + + pic_count = #{picCount,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + description = #{description,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_album + set name = #{name,jdbcType=VARCHAR}, + cover_pic = #{coverPic,jdbcType=VARCHAR}, + pic_count = #{picCount,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + description = #{description,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, cover_pic, pic_count, sort, description + + + + + delete from pms_album + where id = #{id,jdbcType=BIGINT} + + + delete from pms_album + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_album (name, cover_pic, pic_count, + sort, description) + values (#{name,jdbcType=VARCHAR}, #{coverPic,jdbcType=VARCHAR}, #{picCount,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_album + + + name, + + + cover_pic, + + + pic_count, + + + sort, + + + description, + + + + + #{name,jdbcType=VARCHAR}, + + + #{coverPic,jdbcType=VARCHAR}, + + + #{picCount,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + #{description,jdbcType=VARCHAR}, + + + + + + update pms_album + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + cover_pic = #{record.coverPic,jdbcType=VARCHAR}, + + + pic_count = #{record.picCount,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + + + + + + update pms_album + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + cover_pic = #{record.coverPic,jdbcType=VARCHAR}, + pic_count = #{record.picCount,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + description = #{record.description,jdbcType=VARCHAR} + + + + + + update pms_album + + + name = #{name,jdbcType=VARCHAR}, + + + cover_pic = #{coverPic,jdbcType=VARCHAR}, + + + pic_count = #{picCount,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + description = #{description,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_album + set name = #{name,jdbcType=VARCHAR}, + cover_pic = #{coverPic,jdbcType=VARCHAR}, + pic_count = #{picCount,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + description = #{description,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsAlbumPicMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsAlbumPicMapper.xml new file mode 100644 index 0000000..24f3b16 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsAlbumPicMapper.xml @@ -0,0 +1,529 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, album_id, pic + + + + + delete from pms_album_pic + where id = #{id,jdbcType=BIGINT} + + + delete from pms_album_pic + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_album_pic (album_id, pic) + values (#{albumId,jdbcType=BIGINT}, #{pic,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_album_pic + + + album_id, + + + pic, + + + + + #{albumId,jdbcType=BIGINT}, + + + #{pic,jdbcType=VARCHAR}, + + + + + + update pms_album_pic + + + id = #{record.id,jdbcType=BIGINT}, + + + album_id = #{record.albumId,jdbcType=BIGINT}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + + + + + + update pms_album_pic + set id = #{record.id,jdbcType=BIGINT}, + album_id = #{record.albumId,jdbcType=BIGINT}, + pic = #{record.pic,jdbcType=VARCHAR} + + + + + + update pms_album_pic + + + album_id = #{albumId,jdbcType=BIGINT}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_album_pic + set album_id = #{albumId,jdbcType=BIGINT}, + pic = #{pic,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, album_id, pic + + + + + delete from pms_album_pic + where id = #{id,jdbcType=BIGINT} + + + delete from pms_album_pic + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_album_pic (album_id, pic) + values (#{albumId,jdbcType=BIGINT}, #{pic,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_album_pic + + + album_id, + + + pic, + + + + + #{albumId,jdbcType=BIGINT}, + + + #{pic,jdbcType=VARCHAR}, + + + + + + update pms_album_pic + + + id = #{record.id,jdbcType=BIGINT}, + + + album_id = #{record.albumId,jdbcType=BIGINT}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + + + + + + update pms_album_pic + set id = #{record.id,jdbcType=BIGINT}, + album_id = #{record.albumId,jdbcType=BIGINT}, + pic = #{record.pic,jdbcType=VARCHAR} + + + + + + update pms_album_pic + + + album_id = #{albumId,jdbcType=BIGINT}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_album_pic + set album_id = #{albumId,jdbcType=BIGINT}, + pic = #{pic,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, album_id, pic + + + + + delete from pms_album_pic + where id = #{id,jdbcType=BIGINT} + + + delete from pms_album_pic + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_album_pic (album_id, pic) + values (#{albumId,jdbcType=BIGINT}, #{pic,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_album_pic + + + album_id, + + + pic, + + + + + #{albumId,jdbcType=BIGINT}, + + + #{pic,jdbcType=VARCHAR}, + + + + + + update pms_album_pic + + + id = #{record.id,jdbcType=BIGINT}, + + + album_id = #{record.albumId,jdbcType=BIGINT}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + + + + + + update pms_album_pic + set id = #{record.id,jdbcType=BIGINT}, + album_id = #{record.albumId,jdbcType=BIGINT}, + pic = #{record.pic,jdbcType=VARCHAR} + + + + + + update pms_album_pic + + + album_id = #{albumId,jdbcType=BIGINT}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_album_pic + set album_id = #{albumId,jdbcType=BIGINT}, + pic = #{pic,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsBrandMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsBrandMapper.xml new file mode 100644 index 0000000..fbd1ca1 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsBrandMapper.xml @@ -0,0 +1,1066 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, first_letter, sort, factory_status, show_status, product_count, product_comment_count, + logo, big_pic + + + brand_story + + + + + + delete from pms_brand + where id = #{id,jdbcType=BIGINT} + + + delete from pms_brand + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_brand (name, first_letter, sort, + factory_status, show_status, product_count, + product_comment_count, logo, big_pic, + brand_story) + values (#{name,jdbcType=VARCHAR}, #{firstLetter,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, + #{factoryStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER}, + #{productCommentCount,jdbcType=INTEGER}, #{logo,jdbcType=VARCHAR}, #{bigPic,jdbcType=VARCHAR}, + #{brandStory,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_brand + + + name, + + + first_letter, + + + sort, + + + factory_status, + + + show_status, + + + product_count, + + + product_comment_count, + + + logo, + + + big_pic, + + + brand_story, + + + + + #{name,jdbcType=VARCHAR}, + + + #{firstLetter,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{factoryStatus,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{productCount,jdbcType=INTEGER}, + + + #{productCommentCount,jdbcType=INTEGER}, + + + #{logo,jdbcType=VARCHAR}, + + + #{bigPic,jdbcType=VARCHAR}, + + + #{brandStory,jdbcType=LONGVARCHAR}, + + + + + + update pms_brand + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + first_letter = #{record.firstLetter,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + factory_status = #{record.factoryStatus,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, + + + logo = #{record.logo,jdbcType=VARCHAR}, + + + big_pic = #{record.bigPic,jdbcType=VARCHAR}, + + + brand_story = #{record.brandStory,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_brand + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + first_letter = #{record.firstLetter,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + factory_status = #{record.factoryStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, + logo = #{record.logo,jdbcType=VARCHAR}, + big_pic = #{record.bigPic,jdbcType=VARCHAR}, + brand_story = #{record.brandStory,jdbcType=LONGVARCHAR} + + + + + + update pms_brand + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + first_letter = #{record.firstLetter,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + factory_status = #{record.factoryStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, + logo = #{record.logo,jdbcType=VARCHAR}, + big_pic = #{record.bigPic,jdbcType=VARCHAR} + + + + + + update pms_brand + + + name = #{name,jdbcType=VARCHAR}, + + + first_letter = #{firstLetter,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + factory_status = #{factoryStatus,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + product_comment_count = #{productCommentCount,jdbcType=INTEGER}, + + + logo = #{logo,jdbcType=VARCHAR}, + + + big_pic = #{bigPic,jdbcType=VARCHAR}, + + + brand_story = #{brandStory,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_brand + set name = #{name,jdbcType=VARCHAR}, + first_letter = #{firstLetter,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + factory_status = #{factoryStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_comment_count = #{productCommentCount,jdbcType=INTEGER}, + logo = #{logo,jdbcType=VARCHAR}, + big_pic = #{bigPic,jdbcType=VARCHAR}, + brand_story = #{brandStory,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_brand + set name = #{name,jdbcType=VARCHAR}, + first_letter = #{firstLetter,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + factory_status = #{factoryStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_comment_count = #{productCommentCount,jdbcType=INTEGER}, + logo = #{logo,jdbcType=VARCHAR}, + big_pic = #{bigPic,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, first_letter, sort, factory_status, show_status, product_count, product_comment_count, + logo, big_pic + + + brand_story + + + + + + delete from pms_brand + where id = #{id,jdbcType=BIGINT} + + + delete from pms_brand + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_brand (name, first_letter, sort, + factory_status, show_status, product_count, + product_comment_count, logo, big_pic, + brand_story) + values (#{name,jdbcType=VARCHAR}, #{firstLetter,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, + #{factoryStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER}, + #{productCommentCount,jdbcType=INTEGER}, #{logo,jdbcType=VARCHAR}, #{bigPic,jdbcType=VARCHAR}, + #{brandStory,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_brand + + + name, + + + first_letter, + + + sort, + + + factory_status, + + + show_status, + + + product_count, + + + product_comment_count, + + + logo, + + + big_pic, + + + brand_story, + + + + + #{name,jdbcType=VARCHAR}, + + + #{firstLetter,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{factoryStatus,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{productCount,jdbcType=INTEGER}, + + + #{productCommentCount,jdbcType=INTEGER}, + + + #{logo,jdbcType=VARCHAR}, + + + #{bigPic,jdbcType=VARCHAR}, + + + #{brandStory,jdbcType=LONGVARCHAR}, + + + + + + update pms_brand + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + first_letter = #{record.firstLetter,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + factory_status = #{record.factoryStatus,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, + + + logo = #{record.logo,jdbcType=VARCHAR}, + + + big_pic = #{record.bigPic,jdbcType=VARCHAR}, + + + brand_story = #{record.brandStory,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_brand + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + first_letter = #{record.firstLetter,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + factory_status = #{record.factoryStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, + logo = #{record.logo,jdbcType=VARCHAR}, + big_pic = #{record.bigPic,jdbcType=VARCHAR}, + brand_story = #{record.brandStory,jdbcType=LONGVARCHAR} + + + + + + update pms_brand + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + first_letter = #{record.firstLetter,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + factory_status = #{record.factoryStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, + logo = #{record.logo,jdbcType=VARCHAR}, + big_pic = #{record.bigPic,jdbcType=VARCHAR} + + + + + + update pms_brand + + + name = #{name,jdbcType=VARCHAR}, + + + first_letter = #{firstLetter,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + factory_status = #{factoryStatus,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + product_comment_count = #{productCommentCount,jdbcType=INTEGER}, + + + logo = #{logo,jdbcType=VARCHAR}, + + + big_pic = #{bigPic,jdbcType=VARCHAR}, + + + brand_story = #{brandStory,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_brand + set name = #{name,jdbcType=VARCHAR}, + first_letter = #{firstLetter,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + factory_status = #{factoryStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_comment_count = #{productCommentCount,jdbcType=INTEGER}, + logo = #{logo,jdbcType=VARCHAR}, + big_pic = #{bigPic,jdbcType=VARCHAR}, + brand_story = #{brandStory,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_brand + set name = #{name,jdbcType=VARCHAR}, + first_letter = #{firstLetter,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + factory_status = #{factoryStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_comment_count = #{productCommentCount,jdbcType=INTEGER}, + logo = #{logo,jdbcType=VARCHAR}, + big_pic = #{bigPic,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, first_letter, sort, factory_status, show_status, product_count, product_comment_count, + logo, big_pic + + + brand_story + + + + + + delete from pms_brand + where id = #{id,jdbcType=BIGINT} + + + delete from pms_brand + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_brand (name, first_letter, sort, + factory_status, show_status, product_count, + product_comment_count, logo, big_pic, + brand_story) + values (#{name,jdbcType=VARCHAR}, #{firstLetter,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, + #{factoryStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER}, + #{productCommentCount,jdbcType=INTEGER}, #{logo,jdbcType=VARCHAR}, #{bigPic,jdbcType=VARCHAR}, + #{brandStory,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_brand + + + name, + + + first_letter, + + + sort, + + + factory_status, + + + show_status, + + + product_count, + + + product_comment_count, + + + logo, + + + big_pic, + + + brand_story, + + + + + #{name,jdbcType=VARCHAR}, + + + #{firstLetter,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{factoryStatus,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{productCount,jdbcType=INTEGER}, + + + #{productCommentCount,jdbcType=INTEGER}, + + + #{logo,jdbcType=VARCHAR}, + + + #{bigPic,jdbcType=VARCHAR}, + + + #{brandStory,jdbcType=LONGVARCHAR}, + + + + + + update pms_brand + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + first_letter = #{record.firstLetter,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + factory_status = #{record.factoryStatus,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, + + + logo = #{record.logo,jdbcType=VARCHAR}, + + + big_pic = #{record.bigPic,jdbcType=VARCHAR}, + + + brand_story = #{record.brandStory,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_brand + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + first_letter = #{record.firstLetter,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + factory_status = #{record.factoryStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, + logo = #{record.logo,jdbcType=VARCHAR}, + big_pic = #{record.bigPic,jdbcType=VARCHAR}, + brand_story = #{record.brandStory,jdbcType=LONGVARCHAR} + + + + + + update pms_brand + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + first_letter = #{record.firstLetter,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + factory_status = #{record.factoryStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, + logo = #{record.logo,jdbcType=VARCHAR}, + big_pic = #{record.bigPic,jdbcType=VARCHAR} + + + + + + update pms_brand + + + name = #{name,jdbcType=VARCHAR}, + + + first_letter = #{firstLetter,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + factory_status = #{factoryStatus,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + product_comment_count = #{productCommentCount,jdbcType=INTEGER}, + + + logo = #{logo,jdbcType=VARCHAR}, + + + big_pic = #{bigPic,jdbcType=VARCHAR}, + + + brand_story = #{brandStory,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_brand + set name = #{name,jdbcType=VARCHAR}, + first_letter = #{firstLetter,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + factory_status = #{factoryStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_comment_count = #{productCommentCount,jdbcType=INTEGER}, + logo = #{logo,jdbcType=VARCHAR}, + big_pic = #{bigPic,jdbcType=VARCHAR}, + brand_story = #{brandStory,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_brand + set name = #{name,jdbcType=VARCHAR}, + first_letter = #{firstLetter,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + factory_status = #{factoryStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_comment_count = #{productCommentCount,jdbcType=INTEGER}, + logo = #{logo,jdbcType=VARCHAR}, + big_pic = #{bigPic,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsCommentMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsCommentMapper.xml new file mode 100644 index 0000000..d133942 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsCommentMapper.xml @@ -0,0 +1,1276 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, member_nick_name, product_name, star, member_ip, create_time, show_status, + product_attribute, collect_couont, read_count, pics, member_icon, replay_count + + + content + + + + + + delete from pms_comment + where id = #{id,jdbcType=BIGINT} + + + delete from pms_comment + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_comment (product_id, member_nick_name, product_name, + star, member_ip, create_time, + show_status, product_attribute, collect_couont, + read_count, pics, member_icon, + replay_count, content) + values (#{productId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, + #{star,jdbcType=INTEGER}, #{memberIp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, + #{showStatus,jdbcType=INTEGER}, #{productAttribute,jdbcType=VARCHAR}, #{collectCouont,jdbcType=INTEGER}, + #{readCount,jdbcType=INTEGER}, #{pics,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, + #{replayCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_comment + + + product_id, + + + member_nick_name, + + + product_name, + + + star, + + + member_ip, + + + create_time, + + + show_status, + + + product_attribute, + + + collect_couont, + + + read_count, + + + pics, + + + member_icon, + + + replay_count, + + + content, + + + + + #{productId,jdbcType=BIGINT}, + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{star,jdbcType=INTEGER}, + + + #{memberIp,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{productAttribute,jdbcType=VARCHAR}, + + + #{collectCouont,jdbcType=INTEGER}, + + + #{readCount,jdbcType=INTEGER}, + + + #{pics,jdbcType=VARCHAR}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{replayCount,jdbcType=INTEGER}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update pms_comment + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + star = #{record.star,jdbcType=INTEGER}, + + + member_ip = #{record.memberIp,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, + + + collect_couont = #{record.collectCouont,jdbcType=INTEGER}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + pics = #{record.pics,jdbcType=VARCHAR}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + replay_count = #{record.replayCount,jdbcType=INTEGER}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_comment + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + star = #{record.star,jdbcType=INTEGER}, + member_ip = #{record.memberIp,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, + collect_couont = #{record.collectCouont,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + pics = #{record.pics,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + replay_count = #{record.replayCount,jdbcType=INTEGER}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update pms_comment + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + star = #{record.star,jdbcType=INTEGER}, + member_ip = #{record.memberIp,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, + collect_couont = #{record.collectCouont,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + pics = #{record.pics,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + replay_count = #{record.replayCount,jdbcType=INTEGER} + + + + + + update pms_comment + + + product_id = #{productId,jdbcType=BIGINT}, + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + star = #{star,jdbcType=INTEGER}, + + + member_ip = #{memberIp,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + product_attribute = #{productAttribute,jdbcType=VARCHAR}, + + + collect_couont = #{collectCouont,jdbcType=INTEGER}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + pics = #{pics,jdbcType=VARCHAR}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + replay_count = #{replayCount,jdbcType=INTEGER}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_comment + set product_id = #{productId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + star = #{star,jdbcType=INTEGER}, + member_ip = #{memberIp,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_attribute = #{productAttribute,jdbcType=VARCHAR}, + collect_couont = #{collectCouont,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + pics = #{pics,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + replay_count = #{replayCount,jdbcType=INTEGER}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_comment + set product_id = #{productId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + star = #{star,jdbcType=INTEGER}, + member_ip = #{memberIp,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_attribute = #{productAttribute,jdbcType=VARCHAR}, + collect_couont = #{collectCouont,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + pics = #{pics,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + replay_count = #{replayCount,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, member_nick_name, product_name, star, member_ip, create_time, show_status, + product_attribute, collect_couont, read_count, pics, member_icon, replay_count + + + content + + + + + + delete from pms_comment + where id = #{id,jdbcType=BIGINT} + + + delete from pms_comment + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_comment (product_id, member_nick_name, product_name, + star, member_ip, create_time, + show_status, product_attribute, collect_couont, + read_count, pics, member_icon, + replay_count, content) + values (#{productId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, + #{star,jdbcType=INTEGER}, #{memberIp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, + #{showStatus,jdbcType=INTEGER}, #{productAttribute,jdbcType=VARCHAR}, #{collectCouont,jdbcType=INTEGER}, + #{readCount,jdbcType=INTEGER}, #{pics,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, + #{replayCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_comment + + + product_id, + + + member_nick_name, + + + product_name, + + + star, + + + member_ip, + + + create_time, + + + show_status, + + + product_attribute, + + + collect_couont, + + + read_count, + + + pics, + + + member_icon, + + + replay_count, + + + content, + + + + + #{productId,jdbcType=BIGINT}, + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{star,jdbcType=INTEGER}, + + + #{memberIp,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{productAttribute,jdbcType=VARCHAR}, + + + #{collectCouont,jdbcType=INTEGER}, + + + #{readCount,jdbcType=INTEGER}, + + + #{pics,jdbcType=VARCHAR}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{replayCount,jdbcType=INTEGER}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update pms_comment + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + star = #{record.star,jdbcType=INTEGER}, + + + member_ip = #{record.memberIp,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, + + + collect_couont = #{record.collectCouont,jdbcType=INTEGER}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + pics = #{record.pics,jdbcType=VARCHAR}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + replay_count = #{record.replayCount,jdbcType=INTEGER}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_comment + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + star = #{record.star,jdbcType=INTEGER}, + member_ip = #{record.memberIp,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, + collect_couont = #{record.collectCouont,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + pics = #{record.pics,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + replay_count = #{record.replayCount,jdbcType=INTEGER}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update pms_comment + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + star = #{record.star,jdbcType=INTEGER}, + member_ip = #{record.memberIp,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, + collect_couont = #{record.collectCouont,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + pics = #{record.pics,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + replay_count = #{record.replayCount,jdbcType=INTEGER} + + + + + + update pms_comment + + + product_id = #{productId,jdbcType=BIGINT}, + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + star = #{star,jdbcType=INTEGER}, + + + member_ip = #{memberIp,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + product_attribute = #{productAttribute,jdbcType=VARCHAR}, + + + collect_couont = #{collectCouont,jdbcType=INTEGER}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + pics = #{pics,jdbcType=VARCHAR}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + replay_count = #{replayCount,jdbcType=INTEGER}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_comment + set product_id = #{productId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + star = #{star,jdbcType=INTEGER}, + member_ip = #{memberIp,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_attribute = #{productAttribute,jdbcType=VARCHAR}, + collect_couont = #{collectCouont,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + pics = #{pics,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + replay_count = #{replayCount,jdbcType=INTEGER}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_comment + set product_id = #{productId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + star = #{star,jdbcType=INTEGER}, + member_ip = #{memberIp,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_attribute = #{productAttribute,jdbcType=VARCHAR}, + collect_couont = #{collectCouont,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + pics = #{pics,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + replay_count = #{replayCount,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, member_nick_name, product_name, star, member_ip, create_time, show_status, + product_attribute, collect_couont, read_count, pics, member_icon, replay_count + + + content + + + + + + delete from pms_comment + where id = #{id,jdbcType=BIGINT} + + + delete from pms_comment + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_comment (product_id, member_nick_name, product_name, + star, member_ip, create_time, + show_status, product_attribute, collect_couont, + read_count, pics, member_icon, + replay_count, content) + values (#{productId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, + #{star,jdbcType=INTEGER}, #{memberIp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, + #{showStatus,jdbcType=INTEGER}, #{productAttribute,jdbcType=VARCHAR}, #{collectCouont,jdbcType=INTEGER}, + #{readCount,jdbcType=INTEGER}, #{pics,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, + #{replayCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_comment + + + product_id, + + + member_nick_name, + + + product_name, + + + star, + + + member_ip, + + + create_time, + + + show_status, + + + product_attribute, + + + collect_couont, + + + read_count, + + + pics, + + + member_icon, + + + replay_count, + + + content, + + + + + #{productId,jdbcType=BIGINT}, + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{star,jdbcType=INTEGER}, + + + #{memberIp,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{productAttribute,jdbcType=VARCHAR}, + + + #{collectCouont,jdbcType=INTEGER}, + + + #{readCount,jdbcType=INTEGER}, + + + #{pics,jdbcType=VARCHAR}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{replayCount,jdbcType=INTEGER}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update pms_comment + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + star = #{record.star,jdbcType=INTEGER}, + + + member_ip = #{record.memberIp,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, + + + collect_couont = #{record.collectCouont,jdbcType=INTEGER}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + pics = #{record.pics,jdbcType=VARCHAR}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + replay_count = #{record.replayCount,jdbcType=INTEGER}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_comment + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + star = #{record.star,jdbcType=INTEGER}, + member_ip = #{record.memberIp,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, + collect_couont = #{record.collectCouont,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + pics = #{record.pics,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + replay_count = #{record.replayCount,jdbcType=INTEGER}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update pms_comment + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + star = #{record.star,jdbcType=INTEGER}, + member_ip = #{record.memberIp,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, + collect_couont = #{record.collectCouont,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + pics = #{record.pics,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + replay_count = #{record.replayCount,jdbcType=INTEGER} + + + + + + update pms_comment + + + product_id = #{productId,jdbcType=BIGINT}, + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + star = #{star,jdbcType=INTEGER}, + + + member_ip = #{memberIp,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + product_attribute = #{productAttribute,jdbcType=VARCHAR}, + + + collect_couont = #{collectCouont,jdbcType=INTEGER}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + pics = #{pics,jdbcType=VARCHAR}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + replay_count = #{replayCount,jdbcType=INTEGER}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_comment + set product_id = #{productId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + star = #{star,jdbcType=INTEGER}, + member_ip = #{memberIp,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_attribute = #{productAttribute,jdbcType=VARCHAR}, + collect_couont = #{collectCouont,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + pics = #{pics,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + replay_count = #{replayCount,jdbcType=INTEGER}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_comment + set product_id = #{productId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + star = #{star,jdbcType=INTEGER}, + member_ip = #{memberIp,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_attribute = #{productAttribute,jdbcType=VARCHAR}, + collect_couont = #{collectCouont,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + pics = #{pics,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + replay_count = #{replayCount,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsCommentReplayMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsCommentReplayMapper.xml new file mode 100644 index 0000000..6230b6e --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsCommentReplayMapper.xml @@ -0,0 +1,721 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, comment_id, member_nick_name, member_icon, content, create_time, type + + + + + delete from pms_comment_replay + where id = #{id,jdbcType=BIGINT} + + + delete from pms_comment_replay + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_comment_replay (comment_id, member_nick_name, member_icon, + content, create_time, type + ) + values (#{commentId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, + #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_comment_replay + + + comment_id, + + + member_nick_name, + + + member_icon, + + + content, + + + create_time, + + + type, + + + + + #{commentId,jdbcType=BIGINT}, + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{content,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{type,jdbcType=INTEGER}, + + + + + + update pms_comment_replay + + + id = #{record.id,jdbcType=BIGINT}, + + + comment_id = #{record.commentId,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update pms_comment_replay + set id = #{record.id,jdbcType=BIGINT}, + comment_id = #{record.commentId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update pms_comment_replay + + + comment_id = #{commentId,jdbcType=BIGINT}, + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_comment_replay + set comment_id = #{commentId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + content = #{content,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, comment_id, member_nick_name, member_icon, content, create_time, type + + + + + delete from pms_comment_replay + where id = #{id,jdbcType=BIGINT} + + + delete from pms_comment_replay + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_comment_replay (comment_id, member_nick_name, member_icon, + content, create_time, type + ) + values (#{commentId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, + #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_comment_replay + + + comment_id, + + + member_nick_name, + + + member_icon, + + + content, + + + create_time, + + + type, + + + + + #{commentId,jdbcType=BIGINT}, + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{content,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{type,jdbcType=INTEGER}, + + + + + + update pms_comment_replay + + + id = #{record.id,jdbcType=BIGINT}, + + + comment_id = #{record.commentId,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update pms_comment_replay + set id = #{record.id,jdbcType=BIGINT}, + comment_id = #{record.commentId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update pms_comment_replay + + + comment_id = #{commentId,jdbcType=BIGINT}, + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_comment_replay + set comment_id = #{commentId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + content = #{content,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, comment_id, member_nick_name, member_icon, content, create_time, type + + + + + delete from pms_comment_replay + where id = #{id,jdbcType=BIGINT} + + + delete from pms_comment_replay + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_comment_replay (comment_id, member_nick_name, member_icon, + content, create_time, type + ) + values (#{commentId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, + #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_comment_replay + + + comment_id, + + + member_nick_name, + + + member_icon, + + + content, + + + create_time, + + + type, + + + + + #{commentId,jdbcType=BIGINT}, + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{content,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{type,jdbcType=INTEGER}, + + + + + + update pms_comment_replay + + + id = #{record.id,jdbcType=BIGINT}, + + + comment_id = #{record.commentId,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update pms_comment_replay + set id = #{record.id,jdbcType=BIGINT}, + comment_id = #{record.commentId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update pms_comment_replay + + + comment_id = #{commentId,jdbcType=BIGINT}, + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_comment_replay + set comment_id = #{commentId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + content = #{content,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsFeightTemplateMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsFeightTemplateMapper.xml new file mode 100644 index 0000000..ffd86b0 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsFeightTemplateMapper.xml @@ -0,0 +1,766 @@ + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, charge_type, first_weight, first_fee, continue_weight, continme_fee, dest + + + + + delete from pms_feight_template + where id = #{id,jdbcType=BIGINT} + + + delete from pms_feight_template + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_feight_template (name, charge_type, first_weight, + first_fee, continue_weight, continme_fee, + dest) + values (#{name,jdbcType=VARCHAR}, #{chargeType,jdbcType=INTEGER}, #{firstWeight,jdbcType=DECIMAL}, + #{firstFee,jdbcType=DECIMAL}, #{continueWeight,jdbcType=DECIMAL}, #{continmeFee,jdbcType=DECIMAL}, + #{dest,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_feight_template + + + name, + + + charge_type, + + + first_weight, + + + first_fee, + + + continue_weight, + + + continme_fee, + + + dest, + + + + + #{name,jdbcType=VARCHAR}, + + + #{chargeType,jdbcType=INTEGER}, + + + #{firstWeight,jdbcType=DECIMAL}, + + + #{firstFee,jdbcType=DECIMAL}, + + + #{continueWeight,jdbcType=DECIMAL}, + + + #{continmeFee,jdbcType=DECIMAL}, + + + #{dest,jdbcType=VARCHAR}, + + + + + + update pms_feight_template + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + charge_type = #{record.chargeType,jdbcType=INTEGER}, + + + first_weight = #{record.firstWeight,jdbcType=DECIMAL}, + + + first_fee = #{record.firstFee,jdbcType=DECIMAL}, + + + continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, + + + continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, + + + dest = #{record.dest,jdbcType=VARCHAR}, + + + + + + + + update pms_feight_template + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + charge_type = #{record.chargeType,jdbcType=INTEGER}, + first_weight = #{record.firstWeight,jdbcType=DECIMAL}, + first_fee = #{record.firstFee,jdbcType=DECIMAL}, + continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, + continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, + dest = #{record.dest,jdbcType=VARCHAR} + + + + + + update pms_feight_template + + + name = #{name,jdbcType=VARCHAR}, + + + charge_type = #{chargeType,jdbcType=INTEGER}, + + + first_weight = #{firstWeight,jdbcType=DECIMAL}, + + + first_fee = #{firstFee,jdbcType=DECIMAL}, + + + continue_weight = #{continueWeight,jdbcType=DECIMAL}, + + + continme_fee = #{continmeFee,jdbcType=DECIMAL}, + + + dest = #{dest,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_feight_template + set name = #{name,jdbcType=VARCHAR}, + charge_type = #{chargeType,jdbcType=INTEGER}, + first_weight = #{firstWeight,jdbcType=DECIMAL}, + first_fee = #{firstFee,jdbcType=DECIMAL}, + continue_weight = #{continueWeight,jdbcType=DECIMAL}, + continme_fee = #{continmeFee,jdbcType=DECIMAL}, + dest = #{dest,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, charge_type, first_weight, first_fee, continue_weight, continme_fee, dest + + + + + delete from pms_feight_template + where id = #{id,jdbcType=BIGINT} + + + delete from pms_feight_template + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_feight_template (name, charge_type, first_weight, + first_fee, continue_weight, continme_fee, + dest) + values (#{name,jdbcType=VARCHAR}, #{chargeType,jdbcType=INTEGER}, #{firstWeight,jdbcType=DECIMAL}, + #{firstFee,jdbcType=DECIMAL}, #{continueWeight,jdbcType=DECIMAL}, #{continmeFee,jdbcType=DECIMAL}, + #{dest,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_feight_template + + + name, + + + charge_type, + + + first_weight, + + + first_fee, + + + continue_weight, + + + continme_fee, + + + dest, + + + + + #{name,jdbcType=VARCHAR}, + + + #{chargeType,jdbcType=INTEGER}, + + + #{firstWeight,jdbcType=DECIMAL}, + + + #{firstFee,jdbcType=DECIMAL}, + + + #{continueWeight,jdbcType=DECIMAL}, + + + #{continmeFee,jdbcType=DECIMAL}, + + + #{dest,jdbcType=VARCHAR}, + + + + + + update pms_feight_template + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + charge_type = #{record.chargeType,jdbcType=INTEGER}, + + + first_weight = #{record.firstWeight,jdbcType=DECIMAL}, + + + first_fee = #{record.firstFee,jdbcType=DECIMAL}, + + + continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, + + + continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, + + + dest = #{record.dest,jdbcType=VARCHAR}, + + + + + + + + update pms_feight_template + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + charge_type = #{record.chargeType,jdbcType=INTEGER}, + first_weight = #{record.firstWeight,jdbcType=DECIMAL}, + first_fee = #{record.firstFee,jdbcType=DECIMAL}, + continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, + continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, + dest = #{record.dest,jdbcType=VARCHAR} + + + + + + update pms_feight_template + + + name = #{name,jdbcType=VARCHAR}, + + + charge_type = #{chargeType,jdbcType=INTEGER}, + + + first_weight = #{firstWeight,jdbcType=DECIMAL}, + + + first_fee = #{firstFee,jdbcType=DECIMAL}, + + + continue_weight = #{continueWeight,jdbcType=DECIMAL}, + + + continme_fee = #{continmeFee,jdbcType=DECIMAL}, + + + dest = #{dest,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_feight_template + set name = #{name,jdbcType=VARCHAR}, + charge_type = #{chargeType,jdbcType=INTEGER}, + first_weight = #{firstWeight,jdbcType=DECIMAL}, + first_fee = #{firstFee,jdbcType=DECIMAL}, + continue_weight = #{continueWeight,jdbcType=DECIMAL}, + continme_fee = #{continmeFee,jdbcType=DECIMAL}, + dest = #{dest,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, charge_type, first_weight, first_fee, continue_weight, continme_fee, dest + + + + + delete from pms_feight_template + where id = #{id,jdbcType=BIGINT} + + + delete from pms_feight_template + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_feight_template (name, charge_type, first_weight, + first_fee, continue_weight, continme_fee, + dest) + values (#{name,jdbcType=VARCHAR}, #{chargeType,jdbcType=INTEGER}, #{firstWeight,jdbcType=DECIMAL}, + #{firstFee,jdbcType=DECIMAL}, #{continueWeight,jdbcType=DECIMAL}, #{continmeFee,jdbcType=DECIMAL}, + #{dest,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_feight_template + + + name, + + + charge_type, + + + first_weight, + + + first_fee, + + + continue_weight, + + + continme_fee, + + + dest, + + + + + #{name,jdbcType=VARCHAR}, + + + #{chargeType,jdbcType=INTEGER}, + + + #{firstWeight,jdbcType=DECIMAL}, + + + #{firstFee,jdbcType=DECIMAL}, + + + #{continueWeight,jdbcType=DECIMAL}, + + + #{continmeFee,jdbcType=DECIMAL}, + + + #{dest,jdbcType=VARCHAR}, + + + + + + update pms_feight_template + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + charge_type = #{record.chargeType,jdbcType=INTEGER}, + + + first_weight = #{record.firstWeight,jdbcType=DECIMAL}, + + + first_fee = #{record.firstFee,jdbcType=DECIMAL}, + + + continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, + + + continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, + + + dest = #{record.dest,jdbcType=VARCHAR}, + + + + + + + + update pms_feight_template + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + charge_type = #{record.chargeType,jdbcType=INTEGER}, + first_weight = #{record.firstWeight,jdbcType=DECIMAL}, + first_fee = #{record.firstFee,jdbcType=DECIMAL}, + continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, + continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, + dest = #{record.dest,jdbcType=VARCHAR} + + + + + + update pms_feight_template + + + name = #{name,jdbcType=VARCHAR}, + + + charge_type = #{chargeType,jdbcType=INTEGER}, + + + first_weight = #{firstWeight,jdbcType=DECIMAL}, + + + first_fee = #{firstFee,jdbcType=DECIMAL}, + + + continue_weight = #{continueWeight,jdbcType=DECIMAL}, + + + continme_fee = #{continmeFee,jdbcType=DECIMAL}, + + + dest = #{dest,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_feight_template + set name = #{name,jdbcType=VARCHAR}, + charge_type = #{chargeType,jdbcType=INTEGER}, + first_weight = #{firstWeight,jdbcType=DECIMAL}, + first_fee = #{firstFee,jdbcType=DECIMAL}, + continue_weight = #{continueWeight,jdbcType=DECIMAL}, + continme_fee = #{continmeFee,jdbcType=DECIMAL}, + dest = #{dest,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsMemberPriceMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsMemberPriceMapper.xml new file mode 100644 index 0000000..43949b9 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsMemberPriceMapper.xml @@ -0,0 +1,625 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, member_level_id, member_price, member_level_name + + + + + delete from pms_member_price + where id = #{id,jdbcType=BIGINT} + + + delete from pms_member_price + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_member_price (product_id, member_level_id, member_price, + member_level_name) + values (#{productId,jdbcType=BIGINT}, #{memberLevelId,jdbcType=BIGINT}, #{memberPrice,jdbcType=DECIMAL}, + #{memberLevelName,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_member_price + + + product_id, + + + member_level_id, + + + member_price, + + + member_level_name, + + + + + #{productId,jdbcType=BIGINT}, + + + #{memberLevelId,jdbcType=BIGINT}, + + + #{memberPrice,jdbcType=DECIMAL}, + + + #{memberLevelName,jdbcType=VARCHAR}, + + + + + + update pms_member_price + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + + + member_price = #{record.memberPrice,jdbcType=DECIMAL}, + + + member_level_name = #{record.memberLevelName,jdbcType=VARCHAR}, + + + + + + + + update pms_member_price + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + member_price = #{record.memberPrice,jdbcType=DECIMAL}, + member_level_name = #{record.memberLevelName,jdbcType=VARCHAR} + + + + + + update pms_member_price + + + product_id = #{productId,jdbcType=BIGINT}, + + + member_level_id = #{memberLevelId,jdbcType=BIGINT}, + + + member_price = #{memberPrice,jdbcType=DECIMAL}, + + + member_level_name = #{memberLevelName,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_member_price + set product_id = #{productId,jdbcType=BIGINT}, + member_level_id = #{memberLevelId,jdbcType=BIGINT}, + member_price = #{memberPrice,jdbcType=DECIMAL}, + member_level_name = #{memberLevelName,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, member_level_id, member_price, member_level_name + + + + + delete from pms_member_price + where id = #{id,jdbcType=BIGINT} + + + delete from pms_member_price + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_member_price (product_id, member_level_id, member_price, + member_level_name) + values (#{productId,jdbcType=BIGINT}, #{memberLevelId,jdbcType=BIGINT}, #{memberPrice,jdbcType=DECIMAL}, + #{memberLevelName,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_member_price + + + product_id, + + + member_level_id, + + + member_price, + + + member_level_name, + + + + + #{productId,jdbcType=BIGINT}, + + + #{memberLevelId,jdbcType=BIGINT}, + + + #{memberPrice,jdbcType=DECIMAL}, + + + #{memberLevelName,jdbcType=VARCHAR}, + + + + + + update pms_member_price + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + + + member_price = #{record.memberPrice,jdbcType=DECIMAL}, + + + member_level_name = #{record.memberLevelName,jdbcType=VARCHAR}, + + + + + + + + update pms_member_price + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + member_price = #{record.memberPrice,jdbcType=DECIMAL}, + member_level_name = #{record.memberLevelName,jdbcType=VARCHAR} + + + + + + update pms_member_price + + + product_id = #{productId,jdbcType=BIGINT}, + + + member_level_id = #{memberLevelId,jdbcType=BIGINT}, + + + member_price = #{memberPrice,jdbcType=DECIMAL}, + + + member_level_name = #{memberLevelName,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_member_price + set product_id = #{productId,jdbcType=BIGINT}, + member_level_id = #{memberLevelId,jdbcType=BIGINT}, + member_price = #{memberPrice,jdbcType=DECIMAL}, + member_level_name = #{memberLevelName,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, member_level_id, member_price, member_level_name + + + + + delete from pms_member_price + where id = #{id,jdbcType=BIGINT} + + + delete from pms_member_price + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_member_price (product_id, member_level_id, member_price, + member_level_name) + values (#{productId,jdbcType=BIGINT}, #{memberLevelId,jdbcType=BIGINT}, #{memberPrice,jdbcType=DECIMAL}, + #{memberLevelName,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_member_price + + + product_id, + + + member_level_id, + + + member_price, + + + member_level_name, + + + + + #{productId,jdbcType=BIGINT}, + + + #{memberLevelId,jdbcType=BIGINT}, + + + #{memberPrice,jdbcType=DECIMAL}, + + + #{memberLevelName,jdbcType=VARCHAR}, + + + + + + update pms_member_price + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + + + member_price = #{record.memberPrice,jdbcType=DECIMAL}, + + + member_level_name = #{record.memberLevelName,jdbcType=VARCHAR}, + + + + + + + + update pms_member_price + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + member_price = #{record.memberPrice,jdbcType=DECIMAL}, + member_level_name = #{record.memberLevelName,jdbcType=VARCHAR} + + + + + + update pms_member_price + + + product_id = #{productId,jdbcType=BIGINT}, + + + member_level_id = #{memberLevelId,jdbcType=BIGINT}, + + + member_price = #{memberPrice,jdbcType=DECIMAL}, + + + member_level_name = #{memberLevelName,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_member_price + set product_id = #{productId,jdbcType=BIGINT}, + member_level_id = #{memberLevelId,jdbcType=BIGINT}, + member_price = #{memberPrice,jdbcType=DECIMAL}, + member_level_name = #{memberLevelName,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductAttributeCategoryMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductAttributeCategoryMapper.xml new file mode 100644 index 0000000..64ce011 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductAttributeCategoryMapper.xml @@ -0,0 +1,580 @@ + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, attribute_count, param_count + + + + + delete from pms_product_attribute_category + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_attribute_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_category (name, attribute_count, param_count + ) + values (#{name,jdbcType=VARCHAR}, #{attributeCount,jdbcType=INTEGER}, #{paramCount,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_category + + + name, + + + attribute_count, + + + param_count, + + + + + #{name,jdbcType=VARCHAR}, + + + #{attributeCount,jdbcType=INTEGER}, + + + #{paramCount,jdbcType=INTEGER}, + + + + + + update pms_product_attribute_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + attribute_count = #{record.attributeCount,jdbcType=INTEGER}, + + + param_count = #{record.paramCount,jdbcType=INTEGER}, + + + + + + + + update pms_product_attribute_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + attribute_count = #{record.attributeCount,jdbcType=INTEGER}, + param_count = #{record.paramCount,jdbcType=INTEGER} + + + + + + update pms_product_attribute_category + + + name = #{name,jdbcType=VARCHAR}, + + + attribute_count = #{attributeCount,jdbcType=INTEGER}, + + + param_count = #{paramCount,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_attribute_category + set name = #{name,jdbcType=VARCHAR}, + attribute_count = #{attributeCount,jdbcType=INTEGER}, + param_count = #{paramCount,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, attribute_count, param_count + + + + + delete from pms_product_attribute_category + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_attribute_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_category (name, attribute_count, param_count + ) + values (#{name,jdbcType=VARCHAR}, #{attributeCount,jdbcType=INTEGER}, #{paramCount,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_category + + + name, + + + attribute_count, + + + param_count, + + + + + #{name,jdbcType=VARCHAR}, + + + #{attributeCount,jdbcType=INTEGER}, + + + #{paramCount,jdbcType=INTEGER}, + + + + + + update pms_product_attribute_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + attribute_count = #{record.attributeCount,jdbcType=INTEGER}, + + + param_count = #{record.paramCount,jdbcType=INTEGER}, + + + + + + + + update pms_product_attribute_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + attribute_count = #{record.attributeCount,jdbcType=INTEGER}, + param_count = #{record.paramCount,jdbcType=INTEGER} + + + + + + update pms_product_attribute_category + + + name = #{name,jdbcType=VARCHAR}, + + + attribute_count = #{attributeCount,jdbcType=INTEGER}, + + + param_count = #{paramCount,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_attribute_category + set name = #{name,jdbcType=VARCHAR}, + attribute_count = #{attributeCount,jdbcType=INTEGER}, + param_count = #{paramCount,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, attribute_count, param_count + + + + + delete from pms_product_attribute_category + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_attribute_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_category (name, attribute_count, param_count + ) + values (#{name,jdbcType=VARCHAR}, #{attributeCount,jdbcType=INTEGER}, #{paramCount,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_category + + + name, + + + attribute_count, + + + param_count, + + + + + #{name,jdbcType=VARCHAR}, + + + #{attributeCount,jdbcType=INTEGER}, + + + #{paramCount,jdbcType=INTEGER}, + + + + + + update pms_product_attribute_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + attribute_count = #{record.attributeCount,jdbcType=INTEGER}, + + + param_count = #{record.paramCount,jdbcType=INTEGER}, + + + + + + + + update pms_product_attribute_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + attribute_count = #{record.attributeCount,jdbcType=INTEGER}, + param_count = #{record.paramCount,jdbcType=INTEGER} + + + + + + update pms_product_attribute_category + + + name = #{name,jdbcType=VARCHAR}, + + + attribute_count = #{attributeCount,jdbcType=INTEGER}, + + + param_count = #{paramCount,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_attribute_category + set name = #{name,jdbcType=VARCHAR}, + attribute_count = #{attributeCount,jdbcType=INTEGER}, + param_count = #{paramCount,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductAttributeMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductAttributeMapper.xml new file mode 100644 index 0000000..c009272 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductAttributeMapper.xml @@ -0,0 +1,961 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_attribute_category_id, name, select_type, input_type, input_list, sort, + filter_type, search_type, related_status, hand_add_status, type + + + + + delete from pms_product_attribute + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_attribute + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute (product_attribute_category_id, name, + select_type, input_type, input_list, + sort, filter_type, search_type, + related_status, hand_add_status, type + ) + values (#{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, + #{selectType,jdbcType=INTEGER}, #{inputType,jdbcType=INTEGER}, #{inputList,jdbcType=VARCHAR}, + #{sort,jdbcType=INTEGER}, #{filterType,jdbcType=INTEGER}, #{searchType,jdbcType=INTEGER}, + #{relatedStatus,jdbcType=INTEGER}, #{handAddStatus,jdbcType=INTEGER}, #{type,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute + + + product_attribute_category_id, + + + name, + + + select_type, + + + input_type, + + + input_list, + + + sort, + + + filter_type, + + + search_type, + + + related_status, + + + hand_add_status, + + + type, + + + + + #{productAttributeCategoryId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{selectType,jdbcType=INTEGER}, + + + #{inputType,jdbcType=INTEGER}, + + + #{inputList,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{filterType,jdbcType=INTEGER}, + + + #{searchType,jdbcType=INTEGER}, + + + #{relatedStatus,jdbcType=INTEGER}, + + + #{handAddStatus,jdbcType=INTEGER}, + + + #{type,jdbcType=INTEGER}, + + + + + + update pms_product_attribute + + + id = #{record.id,jdbcType=BIGINT}, + + + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + select_type = #{record.selectType,jdbcType=INTEGER}, + + + input_type = #{record.inputType,jdbcType=INTEGER}, + + + input_list = #{record.inputList,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + filter_type = #{record.filterType,jdbcType=INTEGER}, + + + search_type = #{record.searchType,jdbcType=INTEGER}, + + + related_status = #{record.relatedStatus,jdbcType=INTEGER}, + + + hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update pms_product_attribute + set id = #{record.id,jdbcType=BIGINT}, + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + select_type = #{record.selectType,jdbcType=INTEGER}, + input_type = #{record.inputType,jdbcType=INTEGER}, + input_list = #{record.inputList,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + filter_type = #{record.filterType,jdbcType=INTEGER}, + search_type = #{record.searchType,jdbcType=INTEGER}, + related_status = #{record.relatedStatus,jdbcType=INTEGER}, + hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update pms_product_attribute + + + product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + select_type = #{selectType,jdbcType=INTEGER}, + + + input_type = #{inputType,jdbcType=INTEGER}, + + + input_list = #{inputList,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + filter_type = #{filterType,jdbcType=INTEGER}, + + + search_type = #{searchType,jdbcType=INTEGER}, + + + related_status = #{relatedStatus,jdbcType=INTEGER}, + + + hand_add_status = #{handAddStatus,jdbcType=INTEGER}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_attribute + set product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + select_type = #{selectType,jdbcType=INTEGER}, + input_type = #{inputType,jdbcType=INTEGER}, + input_list = #{inputList,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + filter_type = #{filterType,jdbcType=INTEGER}, + search_type = #{searchType,jdbcType=INTEGER}, + related_status = #{relatedStatus,jdbcType=INTEGER}, + hand_add_status = #{handAddStatus,jdbcType=INTEGER}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_attribute_category_id, name, select_type, input_type, input_list, sort, + filter_type, search_type, related_status, hand_add_status, type + + + + + delete from pms_product_attribute + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_attribute + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute (product_attribute_category_id, name, + select_type, input_type, input_list, + sort, filter_type, search_type, + related_status, hand_add_status, type + ) + values (#{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, + #{selectType,jdbcType=INTEGER}, #{inputType,jdbcType=INTEGER}, #{inputList,jdbcType=VARCHAR}, + #{sort,jdbcType=INTEGER}, #{filterType,jdbcType=INTEGER}, #{searchType,jdbcType=INTEGER}, + #{relatedStatus,jdbcType=INTEGER}, #{handAddStatus,jdbcType=INTEGER}, #{type,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute + + + product_attribute_category_id, + + + name, + + + select_type, + + + input_type, + + + input_list, + + + sort, + + + filter_type, + + + search_type, + + + related_status, + + + hand_add_status, + + + type, + + + + + #{productAttributeCategoryId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{selectType,jdbcType=INTEGER}, + + + #{inputType,jdbcType=INTEGER}, + + + #{inputList,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{filterType,jdbcType=INTEGER}, + + + #{searchType,jdbcType=INTEGER}, + + + #{relatedStatus,jdbcType=INTEGER}, + + + #{handAddStatus,jdbcType=INTEGER}, + + + #{type,jdbcType=INTEGER}, + + + + + + update pms_product_attribute + + + id = #{record.id,jdbcType=BIGINT}, + + + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + select_type = #{record.selectType,jdbcType=INTEGER}, + + + input_type = #{record.inputType,jdbcType=INTEGER}, + + + input_list = #{record.inputList,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + filter_type = #{record.filterType,jdbcType=INTEGER}, + + + search_type = #{record.searchType,jdbcType=INTEGER}, + + + related_status = #{record.relatedStatus,jdbcType=INTEGER}, + + + hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update pms_product_attribute + set id = #{record.id,jdbcType=BIGINT}, + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + select_type = #{record.selectType,jdbcType=INTEGER}, + input_type = #{record.inputType,jdbcType=INTEGER}, + input_list = #{record.inputList,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + filter_type = #{record.filterType,jdbcType=INTEGER}, + search_type = #{record.searchType,jdbcType=INTEGER}, + related_status = #{record.relatedStatus,jdbcType=INTEGER}, + hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update pms_product_attribute + + + product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + select_type = #{selectType,jdbcType=INTEGER}, + + + input_type = #{inputType,jdbcType=INTEGER}, + + + input_list = #{inputList,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + filter_type = #{filterType,jdbcType=INTEGER}, + + + search_type = #{searchType,jdbcType=INTEGER}, + + + related_status = #{relatedStatus,jdbcType=INTEGER}, + + + hand_add_status = #{handAddStatus,jdbcType=INTEGER}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_attribute + set product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + select_type = #{selectType,jdbcType=INTEGER}, + input_type = #{inputType,jdbcType=INTEGER}, + input_list = #{inputList,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + filter_type = #{filterType,jdbcType=INTEGER}, + search_type = #{searchType,jdbcType=INTEGER}, + related_status = #{relatedStatus,jdbcType=INTEGER}, + hand_add_status = #{handAddStatus,jdbcType=INTEGER}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_attribute_category_id, name, select_type, input_type, input_list, sort, + filter_type, search_type, related_status, hand_add_status, type + + + + + delete from pms_product_attribute + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_attribute + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute (product_attribute_category_id, name, + select_type, input_type, input_list, + sort, filter_type, search_type, + related_status, hand_add_status, type + ) + values (#{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, + #{selectType,jdbcType=INTEGER}, #{inputType,jdbcType=INTEGER}, #{inputList,jdbcType=VARCHAR}, + #{sort,jdbcType=INTEGER}, #{filterType,jdbcType=INTEGER}, #{searchType,jdbcType=INTEGER}, + #{relatedStatus,jdbcType=INTEGER}, #{handAddStatus,jdbcType=INTEGER}, #{type,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute + + + product_attribute_category_id, + + + name, + + + select_type, + + + input_type, + + + input_list, + + + sort, + + + filter_type, + + + search_type, + + + related_status, + + + hand_add_status, + + + type, + + + + + #{productAttributeCategoryId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{selectType,jdbcType=INTEGER}, + + + #{inputType,jdbcType=INTEGER}, + + + #{inputList,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{filterType,jdbcType=INTEGER}, + + + #{searchType,jdbcType=INTEGER}, + + + #{relatedStatus,jdbcType=INTEGER}, + + + #{handAddStatus,jdbcType=INTEGER}, + + + #{type,jdbcType=INTEGER}, + + + + + + update pms_product_attribute + + + id = #{record.id,jdbcType=BIGINT}, + + + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + select_type = #{record.selectType,jdbcType=INTEGER}, + + + input_type = #{record.inputType,jdbcType=INTEGER}, + + + input_list = #{record.inputList,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + filter_type = #{record.filterType,jdbcType=INTEGER}, + + + search_type = #{record.searchType,jdbcType=INTEGER}, + + + related_status = #{record.relatedStatus,jdbcType=INTEGER}, + + + hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update pms_product_attribute + set id = #{record.id,jdbcType=BIGINT}, + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + select_type = #{record.selectType,jdbcType=INTEGER}, + input_type = #{record.inputType,jdbcType=INTEGER}, + input_list = #{record.inputList,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + filter_type = #{record.filterType,jdbcType=INTEGER}, + search_type = #{record.searchType,jdbcType=INTEGER}, + related_status = #{record.relatedStatus,jdbcType=INTEGER}, + hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update pms_product_attribute + + + product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + select_type = #{selectType,jdbcType=INTEGER}, + + + input_type = #{inputType,jdbcType=INTEGER}, + + + input_list = #{inputList,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + filter_type = #{filterType,jdbcType=INTEGER}, + + + search_type = #{searchType,jdbcType=INTEGER}, + + + related_status = #{relatedStatus,jdbcType=INTEGER}, + + + hand_add_status = #{handAddStatus,jdbcType=INTEGER}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_attribute + set product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + select_type = #{selectType,jdbcType=INTEGER}, + input_type = #{inputType,jdbcType=INTEGER}, + input_list = #{inputList,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + filter_type = #{filterType,jdbcType=INTEGER}, + search_type = #{searchType,jdbcType=INTEGER}, + related_status = #{relatedStatus,jdbcType=INTEGER}, + hand_add_status = #{handAddStatus,jdbcType=INTEGER}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductAttributeValueMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductAttributeValueMapper.xml new file mode 100644 index 0000000..795d7a3 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductAttributeValueMapper.xml @@ -0,0 +1,580 @@ + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, product_attribute_id, value + + + + + delete from pms_product_attribute_value + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_attribute_value + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_value (product_id, product_attribute_id, value + ) + values (#{productId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT}, #{value,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_value + + + product_id, + + + product_attribute_id, + + + value, + + + + + #{productId,jdbcType=BIGINT}, + + + #{productAttributeId,jdbcType=BIGINT}, + + + #{value,jdbcType=VARCHAR}, + + + + + + update pms_product_attribute_value + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, + + + value = #{record.value,jdbcType=VARCHAR}, + + + + + + + + update pms_product_attribute_value + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, + value = #{record.value,jdbcType=VARCHAR} + + + + + + update pms_product_attribute_value + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, + + + value = #{value,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_attribute_value + set product_id = #{productId,jdbcType=BIGINT}, + product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, + value = #{value,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, product_attribute_id, value + + + + + delete from pms_product_attribute_value + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_attribute_value + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_value (product_id, product_attribute_id, value + ) + values (#{productId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT}, #{value,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_value + + + product_id, + + + product_attribute_id, + + + value, + + + + + #{productId,jdbcType=BIGINT}, + + + #{productAttributeId,jdbcType=BIGINT}, + + + #{value,jdbcType=VARCHAR}, + + + + + + update pms_product_attribute_value + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, + + + value = #{record.value,jdbcType=VARCHAR}, + + + + + + + + update pms_product_attribute_value + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, + value = #{record.value,jdbcType=VARCHAR} + + + + + + update pms_product_attribute_value + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, + + + value = #{value,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_attribute_value + set product_id = #{productId,jdbcType=BIGINT}, + product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, + value = #{value,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, product_attribute_id, value + + + + + delete from pms_product_attribute_value + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_attribute_value + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_value (product_id, product_attribute_id, value + ) + values (#{productId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT}, #{value,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_value + + + product_id, + + + product_attribute_id, + + + value, + + + + + #{productId,jdbcType=BIGINT}, + + + #{productAttributeId,jdbcType=BIGINT}, + + + #{value,jdbcType=VARCHAR}, + + + + + + update pms_product_attribute_value + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, + + + value = #{record.value,jdbcType=VARCHAR}, + + + + + + + + update pms_product_attribute_value + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, + value = #{record.value,jdbcType=VARCHAR} + + + + + + update pms_product_attribute_value + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, + + + value = #{value,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_attribute_value + set product_id = #{productId,jdbcType=BIGINT}, + product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, + value = #{value,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml new file mode 100644 index 0000000..b70338e --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml @@ -0,0 +1,535 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_category_id, product_attribute_id + + + + + delete from pms_product_category_attribute_relation + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_category_attribute_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_category_attribute_relation (product_category_id, product_attribute_id + ) + values (#{productCategoryId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_category_attribute_relation + + + product_category_id, + + + product_attribute_id, + + + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{productAttributeId,jdbcType=BIGINT}, + + + + + + update pms_product_category_attribute_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, + + + + + + + + update pms_product_category_attribute_relation + set id = #{record.id,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT} + + + + + + update pms_product_category_attribute_relation + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_category_attribute_relation + set product_category_id = #{productCategoryId,jdbcType=BIGINT}, + product_attribute_id = #{productAttributeId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_category_id, product_attribute_id + + + + + delete from pms_product_category_attribute_relation + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_category_attribute_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_category_attribute_relation (product_category_id, product_attribute_id + ) + values (#{productCategoryId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_category_attribute_relation + + + product_category_id, + + + product_attribute_id, + + + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{productAttributeId,jdbcType=BIGINT}, + + + + + + update pms_product_category_attribute_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, + + + + + + + + update pms_product_category_attribute_relation + set id = #{record.id,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT} + + + + + + update pms_product_category_attribute_relation + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_category_attribute_relation + set product_category_id = #{productCategoryId,jdbcType=BIGINT}, + product_attribute_id = #{productAttributeId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_category_id, product_attribute_id + + + + + delete from pms_product_category_attribute_relation + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_category_attribute_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_category_attribute_relation (product_category_id, product_attribute_id + ) + values (#{productCategoryId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_category_attribute_relation + + + product_category_id, + + + product_attribute_id, + + + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{productAttributeId,jdbcType=BIGINT}, + + + + + + update pms_product_category_attribute_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, + + + + + + + + update pms_product_category_attribute_relation + set id = #{record.id,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT} + + + + + + update pms_product_category_attribute_relation + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_category_attribute_relation + set product_category_id = #{productCategoryId,jdbcType=BIGINT}, + product_attribute_id = #{productAttributeId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductCategoryMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductCategoryMapper.xml new file mode 100644 index 0000000..21166df --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductCategoryMapper.xml @@ -0,0 +1,1117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, parent_id, name, level, product_count, product_unit, nav_status, show_status, + sort, icon, keywords + + + description + + + + + + delete from pms_product_category + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_category (parent_id, name, level, + product_count, product_unit, nav_status, + show_status, sort, icon, + keywords, description) + values (#{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER}, + #{productCount,jdbcType=INTEGER}, #{productUnit,jdbcType=VARCHAR}, #{navStatus,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR}, + #{keywords,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_category + + + parent_id, + + + name, + + + level, + + + product_count, + + + product_unit, + + + nav_status, + + + show_status, + + + sort, + + + icon, + + + keywords, + + + description, + + + + + #{parentId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{level,jdbcType=INTEGER}, + + + #{productCount,jdbcType=INTEGER}, + + + #{productUnit,jdbcType=VARCHAR}, + + + #{navStatus,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + #{icon,jdbcType=VARCHAR}, + + + #{keywords,jdbcType=VARCHAR}, + + + #{description,jdbcType=LONGVARCHAR}, + + + + + + update pms_product_category + + + id = #{record.id,jdbcType=BIGINT}, + + + parent_id = #{record.parentId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + level = #{record.level,jdbcType=INTEGER}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + product_unit = #{record.productUnit,jdbcType=VARCHAR}, + + + nav_status = #{record.navStatus,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + keywords = #{record.keywords,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_product_category + set id = #{record.id,jdbcType=BIGINT}, + parent_id = #{record.parentId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + level = #{record.level,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_unit = #{record.productUnit,jdbcType=VARCHAR}, + nav_status = #{record.navStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + icon = #{record.icon,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=LONGVARCHAR} + + + + + + update pms_product_category + set id = #{record.id,jdbcType=BIGINT}, + parent_id = #{record.parentId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + level = #{record.level,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_unit = #{record.productUnit,jdbcType=VARCHAR}, + nav_status = #{record.navStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + icon = #{record.icon,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR} + + + + + + update pms_product_category + + + parent_id = #{parentId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + level = #{level,jdbcType=INTEGER}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + product_unit = #{productUnit,jdbcType=VARCHAR}, + + + nav_status = #{navStatus,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + keywords = #{keywords,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_category + set parent_id = #{parentId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + level = #{level,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_unit = #{productUnit,jdbcType=VARCHAR}, + nav_status = #{navStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + icon = #{icon,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR}, + description = #{description,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_product_category + set parent_id = #{parentId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + level = #{level,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_unit = #{productUnit,jdbcType=VARCHAR}, + nav_status = #{navStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + icon = #{icon,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, parent_id, name, level, product_count, product_unit, nav_status, show_status, + sort, icon, keywords + + + description + + + + + + delete from pms_product_category + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_category (parent_id, name, level, + product_count, product_unit, nav_status, + show_status, sort, icon, + keywords, description) + values (#{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER}, + #{productCount,jdbcType=INTEGER}, #{productUnit,jdbcType=VARCHAR}, #{navStatus,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR}, + #{keywords,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_category + + + parent_id, + + + name, + + + level, + + + product_count, + + + product_unit, + + + nav_status, + + + show_status, + + + sort, + + + icon, + + + keywords, + + + description, + + + + + #{parentId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{level,jdbcType=INTEGER}, + + + #{productCount,jdbcType=INTEGER}, + + + #{productUnit,jdbcType=VARCHAR}, + + + #{navStatus,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + #{icon,jdbcType=VARCHAR}, + + + #{keywords,jdbcType=VARCHAR}, + + + #{description,jdbcType=LONGVARCHAR}, + + + + + + update pms_product_category + + + id = #{record.id,jdbcType=BIGINT}, + + + parent_id = #{record.parentId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + level = #{record.level,jdbcType=INTEGER}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + product_unit = #{record.productUnit,jdbcType=VARCHAR}, + + + nav_status = #{record.navStatus,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + keywords = #{record.keywords,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_product_category + set id = #{record.id,jdbcType=BIGINT}, + parent_id = #{record.parentId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + level = #{record.level,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_unit = #{record.productUnit,jdbcType=VARCHAR}, + nav_status = #{record.navStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + icon = #{record.icon,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=LONGVARCHAR} + + + + + + update pms_product_category + set id = #{record.id,jdbcType=BIGINT}, + parent_id = #{record.parentId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + level = #{record.level,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_unit = #{record.productUnit,jdbcType=VARCHAR}, + nav_status = #{record.navStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + icon = #{record.icon,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR} + + + + + + update pms_product_category + + + parent_id = #{parentId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + level = #{level,jdbcType=INTEGER}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + product_unit = #{productUnit,jdbcType=VARCHAR}, + + + nav_status = #{navStatus,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + keywords = #{keywords,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_category + set parent_id = #{parentId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + level = #{level,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_unit = #{productUnit,jdbcType=VARCHAR}, + nav_status = #{navStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + icon = #{icon,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR}, + description = #{description,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_product_category + set parent_id = #{parentId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + level = #{level,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_unit = #{productUnit,jdbcType=VARCHAR}, + nav_status = #{navStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + icon = #{icon,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, parent_id, name, level, product_count, product_unit, nav_status, show_status, + sort, icon, keywords + + + description + + + + + + delete from pms_product_category + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_category + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_category (parent_id, name, level, + product_count, product_unit, nav_status, + show_status, sort, icon, + keywords, description) + values (#{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER}, + #{productCount,jdbcType=INTEGER}, #{productUnit,jdbcType=VARCHAR}, #{navStatus,jdbcType=INTEGER}, + #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR}, + #{keywords,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_category + + + parent_id, + + + name, + + + level, + + + product_count, + + + product_unit, + + + nav_status, + + + show_status, + + + sort, + + + icon, + + + keywords, + + + description, + + + + + #{parentId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{level,jdbcType=INTEGER}, + + + #{productCount,jdbcType=INTEGER}, + + + #{productUnit,jdbcType=VARCHAR}, + + + #{navStatus,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + #{icon,jdbcType=VARCHAR}, + + + #{keywords,jdbcType=VARCHAR}, + + + #{description,jdbcType=LONGVARCHAR}, + + + + + + update pms_product_category + + + id = #{record.id,jdbcType=BIGINT}, + + + parent_id = #{record.parentId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + level = #{record.level,jdbcType=INTEGER}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + product_unit = #{record.productUnit,jdbcType=VARCHAR}, + + + nav_status = #{record.navStatus,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + keywords = #{record.keywords,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_product_category + set id = #{record.id,jdbcType=BIGINT}, + parent_id = #{record.parentId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + level = #{record.level,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_unit = #{record.productUnit,jdbcType=VARCHAR}, + nav_status = #{record.navStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + icon = #{record.icon,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=LONGVARCHAR} + + + + + + update pms_product_category + set id = #{record.id,jdbcType=BIGINT}, + parent_id = #{record.parentId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + level = #{record.level,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_unit = #{record.productUnit,jdbcType=VARCHAR}, + nav_status = #{record.navStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + icon = #{record.icon,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR} + + + + + + update pms_product_category + + + parent_id = #{parentId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + level = #{level,jdbcType=INTEGER}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + product_unit = #{productUnit,jdbcType=VARCHAR}, + + + nav_status = #{navStatus,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + keywords = #{keywords,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_category + set parent_id = #{parentId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + level = #{level,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_unit = #{productUnit,jdbcType=VARCHAR}, + nav_status = #{navStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + icon = #{icon,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR}, + description = #{description,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_product_category + set parent_id = #{parentId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + level = #{level,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_unit = #{productUnit,jdbcType=VARCHAR}, + nav_status = #{navStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + icon = #{icon,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductFullReductionMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductFullReductionMapper.xml new file mode 100644 index 0000000..eb5d6a2 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductFullReductionMapper.xml @@ -0,0 +1,580 @@ + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, full_price, reduce_price + + + + + delete from pms_product_full_reduction + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_full_reduction + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_full_reduction (product_id, full_price, reduce_price + ) + values (#{productId,jdbcType=BIGINT}, #{fullPrice,jdbcType=DECIMAL}, #{reducePrice,jdbcType=DECIMAL} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_full_reduction + + + product_id, + + + full_price, + + + reduce_price, + + + + + #{productId,jdbcType=BIGINT}, + + + #{fullPrice,jdbcType=DECIMAL}, + + + #{reducePrice,jdbcType=DECIMAL}, + + + + + + update pms_product_full_reduction + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + full_price = #{record.fullPrice,jdbcType=DECIMAL}, + + + reduce_price = #{record.reducePrice,jdbcType=DECIMAL}, + + + + + + + + update pms_product_full_reduction + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + full_price = #{record.fullPrice,jdbcType=DECIMAL}, + reduce_price = #{record.reducePrice,jdbcType=DECIMAL} + + + + + + update pms_product_full_reduction + + + product_id = #{productId,jdbcType=BIGINT}, + + + full_price = #{fullPrice,jdbcType=DECIMAL}, + + + reduce_price = #{reducePrice,jdbcType=DECIMAL}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_full_reduction + set product_id = #{productId,jdbcType=BIGINT}, + full_price = #{fullPrice,jdbcType=DECIMAL}, + reduce_price = #{reducePrice,jdbcType=DECIMAL} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, full_price, reduce_price + + + + + delete from pms_product_full_reduction + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_full_reduction + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_full_reduction (product_id, full_price, reduce_price + ) + values (#{productId,jdbcType=BIGINT}, #{fullPrice,jdbcType=DECIMAL}, #{reducePrice,jdbcType=DECIMAL} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_full_reduction + + + product_id, + + + full_price, + + + reduce_price, + + + + + #{productId,jdbcType=BIGINT}, + + + #{fullPrice,jdbcType=DECIMAL}, + + + #{reducePrice,jdbcType=DECIMAL}, + + + + + + update pms_product_full_reduction + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + full_price = #{record.fullPrice,jdbcType=DECIMAL}, + + + reduce_price = #{record.reducePrice,jdbcType=DECIMAL}, + + + + + + + + update pms_product_full_reduction + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + full_price = #{record.fullPrice,jdbcType=DECIMAL}, + reduce_price = #{record.reducePrice,jdbcType=DECIMAL} + + + + + + update pms_product_full_reduction + + + product_id = #{productId,jdbcType=BIGINT}, + + + full_price = #{fullPrice,jdbcType=DECIMAL}, + + + reduce_price = #{reducePrice,jdbcType=DECIMAL}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_full_reduction + set product_id = #{productId,jdbcType=BIGINT}, + full_price = #{fullPrice,jdbcType=DECIMAL}, + reduce_price = #{reducePrice,jdbcType=DECIMAL} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, full_price, reduce_price + + + + + delete from pms_product_full_reduction + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_full_reduction + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_full_reduction (product_id, full_price, reduce_price + ) + values (#{productId,jdbcType=BIGINT}, #{fullPrice,jdbcType=DECIMAL}, #{reducePrice,jdbcType=DECIMAL} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_full_reduction + + + product_id, + + + full_price, + + + reduce_price, + + + + + #{productId,jdbcType=BIGINT}, + + + #{fullPrice,jdbcType=DECIMAL}, + + + #{reducePrice,jdbcType=DECIMAL}, + + + + + + update pms_product_full_reduction + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + full_price = #{record.fullPrice,jdbcType=DECIMAL}, + + + reduce_price = #{record.reducePrice,jdbcType=DECIMAL}, + + + + + + + + update pms_product_full_reduction + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + full_price = #{record.fullPrice,jdbcType=DECIMAL}, + reduce_price = #{record.reducePrice,jdbcType=DECIMAL} + + + + + + update pms_product_full_reduction + + + product_id = #{productId,jdbcType=BIGINT}, + + + full_price = #{fullPrice,jdbcType=DECIMAL}, + + + reduce_price = #{reducePrice,jdbcType=DECIMAL}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_full_reduction + set product_id = #{productId,jdbcType=BIGINT}, + full_price = #{fullPrice,jdbcType=DECIMAL}, + reduce_price = #{reducePrice,jdbcType=DECIMAL} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductLadderMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductLadderMapper.xml new file mode 100644 index 0000000..54d6abe --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductLadderMapper.xml @@ -0,0 +1,625 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, count, discount, price + + + + + delete from pms_product_ladder + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_ladder + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_ladder (product_id, count, discount, + price) + values (#{productId,jdbcType=BIGINT}, #{count,jdbcType=INTEGER}, #{discount,jdbcType=DECIMAL}, + #{price,jdbcType=DECIMAL}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_ladder + + + product_id, + + + count, + + + discount, + + + price, + + + + + #{productId,jdbcType=BIGINT}, + + + #{count,jdbcType=INTEGER}, + + + #{discount,jdbcType=DECIMAL}, + + + #{price,jdbcType=DECIMAL}, + + + + + + update pms_product_ladder + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + count = #{record.count,jdbcType=INTEGER}, + + + discount = #{record.discount,jdbcType=DECIMAL}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + + + + + + update pms_product_ladder + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + count = #{record.count,jdbcType=INTEGER}, + discount = #{record.discount,jdbcType=DECIMAL}, + price = #{record.price,jdbcType=DECIMAL} + + + + + + update pms_product_ladder + + + product_id = #{productId,jdbcType=BIGINT}, + + + count = #{count,jdbcType=INTEGER}, + + + discount = #{discount,jdbcType=DECIMAL}, + + + price = #{price,jdbcType=DECIMAL}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_ladder + set product_id = #{productId,jdbcType=BIGINT}, + count = #{count,jdbcType=INTEGER}, + discount = #{discount,jdbcType=DECIMAL}, + price = #{price,jdbcType=DECIMAL} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, count, discount, price + + + + + delete from pms_product_ladder + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_ladder + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_ladder (product_id, count, discount, + price) + values (#{productId,jdbcType=BIGINT}, #{count,jdbcType=INTEGER}, #{discount,jdbcType=DECIMAL}, + #{price,jdbcType=DECIMAL}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_ladder + + + product_id, + + + count, + + + discount, + + + price, + + + + + #{productId,jdbcType=BIGINT}, + + + #{count,jdbcType=INTEGER}, + + + #{discount,jdbcType=DECIMAL}, + + + #{price,jdbcType=DECIMAL}, + + + + + + update pms_product_ladder + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + count = #{record.count,jdbcType=INTEGER}, + + + discount = #{record.discount,jdbcType=DECIMAL}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + + + + + + update pms_product_ladder + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + count = #{record.count,jdbcType=INTEGER}, + discount = #{record.discount,jdbcType=DECIMAL}, + price = #{record.price,jdbcType=DECIMAL} + + + + + + update pms_product_ladder + + + product_id = #{productId,jdbcType=BIGINT}, + + + count = #{count,jdbcType=INTEGER}, + + + discount = #{discount,jdbcType=DECIMAL}, + + + price = #{price,jdbcType=DECIMAL}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_ladder + set product_id = #{productId,jdbcType=BIGINT}, + count = #{count,jdbcType=INTEGER}, + discount = #{discount,jdbcType=DECIMAL}, + price = #{price,jdbcType=DECIMAL} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, count, discount, price + + + + + delete from pms_product_ladder + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_ladder + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_ladder (product_id, count, discount, + price) + values (#{productId,jdbcType=BIGINT}, #{count,jdbcType=INTEGER}, #{discount,jdbcType=DECIMAL}, + #{price,jdbcType=DECIMAL}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_ladder + + + product_id, + + + count, + + + discount, + + + price, + + + + + #{productId,jdbcType=BIGINT}, + + + #{count,jdbcType=INTEGER}, + + + #{discount,jdbcType=DECIMAL}, + + + #{price,jdbcType=DECIMAL}, + + + + + + update pms_product_ladder + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + count = #{record.count,jdbcType=INTEGER}, + + + discount = #{record.discount,jdbcType=DECIMAL}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + + + + + + update pms_product_ladder + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + count = #{record.count,jdbcType=INTEGER}, + discount = #{record.discount,jdbcType=DECIMAL}, + price = #{record.price,jdbcType=DECIMAL} + + + + + + update pms_product_ladder + + + product_id = #{productId,jdbcType=BIGINT}, + + + count = #{count,jdbcType=INTEGER}, + + + discount = #{discount,jdbcType=DECIMAL}, + + + price = #{price,jdbcType=DECIMAL}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_ladder + set product_id = #{productId,jdbcType=BIGINT}, + count = #{count,jdbcType=INTEGER}, + discount = #{discount,jdbcType=DECIMAL}, + price = #{price,jdbcType=DECIMAL} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductMapper.xml new file mode 100644 index 0000000..daae50e --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductMapper.xml @@ -0,0 +1,2701 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, brand_id, product_category_id, feight_template_id, product_attribute_category_id, + name, pic, product_sn, delete_status, publish_status, new_status, recommand_status, + verify_status, sort, sale, price, promotion_price, gift_growth, gift_point, use_point_limit, + sub_title, original_price, stock, low_stock, unit, weight, preview_status, service_ids, + keywords, note, album_pics, detail_title, promotion_start_time, promotion_end_time, + promotion_per_limit, promotion_type, brand_name, product_category_name + + + description, detail_desc, detail_html, detail_mobile_html + + + + + + delete from pms_product + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product (brand_id, product_category_id, feight_template_id, + product_attribute_category_id, name, pic, + product_sn, delete_status, publish_status, + new_status, recommand_status, verify_status, + sort, sale, price, + promotion_price, gift_growth, gift_point, + use_point_limit, sub_title, original_price, + stock, low_stock, unit, + weight, preview_status, service_ids, + keywords, note, album_pics, + detail_title, promotion_start_time, promotion_end_time, + promotion_per_limit, promotion_type, brand_name, + product_category_name, description, detail_desc, + detail_html, detail_mobile_html) + values (#{brandId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{feightTemplateId,jdbcType=BIGINT}, + #{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, + #{productSn,jdbcType=VARCHAR}, #{deleteStatus,jdbcType=INTEGER}, #{publishStatus,jdbcType=INTEGER}, + #{newStatus,jdbcType=INTEGER}, #{recommandStatus,jdbcType=INTEGER}, #{verifyStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}, #{sale,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, + #{promotionPrice,jdbcType=DECIMAL}, #{giftGrowth,jdbcType=INTEGER}, #{giftPoint,jdbcType=INTEGER}, + #{usePointLimit,jdbcType=INTEGER}, #{subTitle,jdbcType=VARCHAR}, #{originalPrice,jdbcType=DECIMAL}, + #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{unit,jdbcType=VARCHAR}, + #{weight,jdbcType=DECIMAL}, #{previewStatus,jdbcType=INTEGER}, #{serviceIds,jdbcType=VARCHAR}, + #{keywords,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{albumPics,jdbcType=VARCHAR}, + #{detailTitle,jdbcType=VARCHAR}, #{promotionStartTime,jdbcType=TIMESTAMP}, #{promotionEndTime,jdbcType=TIMESTAMP}, + #{promotionPerLimit,jdbcType=INTEGER}, #{promotionType,jdbcType=INTEGER}, #{brandName,jdbcType=VARCHAR}, + #{productCategoryName,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}, #{detailDesc,jdbcType=LONGVARCHAR}, + #{detailHtml,jdbcType=LONGVARCHAR}, #{detailMobileHtml,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product + + + brand_id, + + + product_category_id, + + + feight_template_id, + + + product_attribute_category_id, + + + name, + + + pic, + + + product_sn, + + + delete_status, + + + publish_status, + + + new_status, + + + recommand_status, + + + verify_status, + + + sort, + + + sale, + + + price, + + + promotion_price, + + + gift_growth, + + + gift_point, + + + use_point_limit, + + + sub_title, + + + original_price, + + + stock, + + + low_stock, + + + unit, + + + weight, + + + preview_status, + + + service_ids, + + + keywords, + + + note, + + + album_pics, + + + detail_title, + + + promotion_start_time, + + + promotion_end_time, + + + promotion_per_limit, + + + promotion_type, + + + brand_name, + + + product_category_name, + + + description, + + + detail_desc, + + + detail_html, + + + detail_mobile_html, + + + + + #{brandId,jdbcType=BIGINT}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{feightTemplateId,jdbcType=BIGINT}, + + + #{productAttributeCategoryId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{pic,jdbcType=VARCHAR}, + + + #{productSn,jdbcType=VARCHAR}, + + + #{deleteStatus,jdbcType=INTEGER}, + + + #{publishStatus,jdbcType=INTEGER}, + + + #{newStatus,jdbcType=INTEGER}, + + + #{recommandStatus,jdbcType=INTEGER}, + + + #{verifyStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + #{sale,jdbcType=INTEGER}, + + + #{price,jdbcType=DECIMAL}, + + + #{promotionPrice,jdbcType=DECIMAL}, + + + #{giftGrowth,jdbcType=INTEGER}, + + + #{giftPoint,jdbcType=INTEGER}, + + + #{usePointLimit,jdbcType=INTEGER}, + + + #{subTitle,jdbcType=VARCHAR}, + + + #{originalPrice,jdbcType=DECIMAL}, + + + #{stock,jdbcType=INTEGER}, + + + #{lowStock,jdbcType=INTEGER}, + + + #{unit,jdbcType=VARCHAR}, + + + #{weight,jdbcType=DECIMAL}, + + + #{previewStatus,jdbcType=INTEGER}, + + + #{serviceIds,jdbcType=VARCHAR}, + + + #{keywords,jdbcType=VARCHAR}, + + + #{note,jdbcType=VARCHAR}, + + + #{albumPics,jdbcType=VARCHAR}, + + + #{detailTitle,jdbcType=VARCHAR}, + + + #{promotionStartTime,jdbcType=TIMESTAMP}, + + + #{promotionEndTime,jdbcType=TIMESTAMP}, + + + #{promotionPerLimit,jdbcType=INTEGER}, + + + #{promotionType,jdbcType=INTEGER}, + + + #{brandName,jdbcType=VARCHAR}, + + + #{productCategoryName,jdbcType=VARCHAR}, + + + #{description,jdbcType=LONGVARCHAR}, + + + #{detailDesc,jdbcType=LONGVARCHAR}, + + + #{detailHtml,jdbcType=LONGVARCHAR}, + + + #{detailMobileHtml,jdbcType=LONGVARCHAR}, + + + + + + update pms_product + + + id = #{record.id,jdbcType=BIGINT}, + + + brand_id = #{record.brandId,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, + + + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + product_sn = #{record.productSn,jdbcType=VARCHAR}, + + + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + + + publish_status = #{record.publishStatus,jdbcType=INTEGER}, + + + new_status = #{record.newStatus,jdbcType=INTEGER}, + + + recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, + + + verify_status = #{record.verifyStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + sale = #{record.sale,jdbcType=INTEGER}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + + + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + + + gift_point = #{record.giftPoint,jdbcType=INTEGER}, + + + use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, + + + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + + + original_price = #{record.originalPrice,jdbcType=DECIMAL}, + + + stock = #{record.stock,jdbcType=INTEGER}, + + + low_stock = #{record.lowStock,jdbcType=INTEGER}, + + + unit = #{record.unit,jdbcType=VARCHAR}, + + + weight = #{record.weight,jdbcType=DECIMAL}, + + + preview_status = #{record.previewStatus,jdbcType=INTEGER}, + + + service_ids = #{record.serviceIds,jdbcType=VARCHAR}, + + + keywords = #{record.keywords,jdbcType=VARCHAR}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + + + detail_title = #{record.detailTitle,jdbcType=VARCHAR}, + + + promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, + + + promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, + + + promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, + + + promotion_type = #{record.promotionType,jdbcType=INTEGER}, + + + brand_name = #{record.brandName,jdbcType=VARCHAR}, + + + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=LONGVARCHAR}, + + + detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, + + + detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, + + + detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_product + set id = #{record.id,jdbcType=BIGINT}, + brand_id = #{record.brandId,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR}, + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + publish_status = #{record.publishStatus,jdbcType=INTEGER}, + new_status = #{record.newStatus,jdbcType=INTEGER}, + recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, + verify_status = #{record.verifyStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + sale = #{record.sale,jdbcType=INTEGER}, + price = #{record.price,jdbcType=DECIMAL}, + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + gift_point = #{record.giftPoint,jdbcType=INTEGER}, + use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + original_price = #{record.originalPrice,jdbcType=DECIMAL}, + stock = #{record.stock,jdbcType=INTEGER}, + low_stock = #{record.lowStock,jdbcType=INTEGER}, + unit = #{record.unit,jdbcType=VARCHAR}, + weight = #{record.weight,jdbcType=DECIMAL}, + preview_status = #{record.previewStatus,jdbcType=INTEGER}, + service_ids = #{record.serviceIds,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + detail_title = #{record.detailTitle,jdbcType=VARCHAR}, + promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{record.promotionType,jdbcType=INTEGER}, + brand_name = #{record.brandName,jdbcType=VARCHAR}, + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=LONGVARCHAR}, + detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, + detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, + detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR} + + + + + + update pms_product + set id = #{record.id,jdbcType=BIGINT}, + brand_id = #{record.brandId,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR}, + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + publish_status = #{record.publishStatus,jdbcType=INTEGER}, + new_status = #{record.newStatus,jdbcType=INTEGER}, + recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, + verify_status = #{record.verifyStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + sale = #{record.sale,jdbcType=INTEGER}, + price = #{record.price,jdbcType=DECIMAL}, + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + gift_point = #{record.giftPoint,jdbcType=INTEGER}, + use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + original_price = #{record.originalPrice,jdbcType=DECIMAL}, + stock = #{record.stock,jdbcType=INTEGER}, + low_stock = #{record.lowStock,jdbcType=INTEGER}, + unit = #{record.unit,jdbcType=VARCHAR}, + weight = #{record.weight,jdbcType=DECIMAL}, + preview_status = #{record.previewStatus,jdbcType=INTEGER}, + service_ids = #{record.serviceIds,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + detail_title = #{record.detailTitle,jdbcType=VARCHAR}, + promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{record.promotionType,jdbcType=INTEGER}, + brand_name = #{record.brandName,jdbcType=VARCHAR}, + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR} + + + + + + update pms_product + + + brand_id = #{brandId,jdbcType=BIGINT}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, + + + product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + product_sn = #{productSn,jdbcType=VARCHAR}, + + + delete_status = #{deleteStatus,jdbcType=INTEGER}, + + + publish_status = #{publishStatus,jdbcType=INTEGER}, + + + new_status = #{newStatus,jdbcType=INTEGER}, + + + recommand_status = #{recommandStatus,jdbcType=INTEGER}, + + + verify_status = #{verifyStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + sale = #{sale,jdbcType=INTEGER}, + + + price = #{price,jdbcType=DECIMAL}, + + + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + + + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + + + gift_point = #{giftPoint,jdbcType=INTEGER}, + + + use_point_limit = #{usePointLimit,jdbcType=INTEGER}, + + + sub_title = #{subTitle,jdbcType=VARCHAR}, + + + original_price = #{originalPrice,jdbcType=DECIMAL}, + + + stock = #{stock,jdbcType=INTEGER}, + + + low_stock = #{lowStock,jdbcType=INTEGER}, + + + unit = #{unit,jdbcType=VARCHAR}, + + + weight = #{weight,jdbcType=DECIMAL}, + + + preview_status = #{previewStatus,jdbcType=INTEGER}, + + + service_ids = #{serviceIds,jdbcType=VARCHAR}, + + + keywords = #{keywords,jdbcType=VARCHAR}, + + + note = #{note,jdbcType=VARCHAR}, + + + album_pics = #{albumPics,jdbcType=VARCHAR}, + + + detail_title = #{detailTitle,jdbcType=VARCHAR}, + + + promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, + + + promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, + + + promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, + + + promotion_type = #{promotionType,jdbcType=INTEGER}, + + + brand_name = #{brandName,jdbcType=VARCHAR}, + + + product_category_name = #{productCategoryName,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=LONGVARCHAR}, + + + detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, + + + detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, + + + detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product + set brand_id = #{brandId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, + product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR}, + delete_status = #{deleteStatus,jdbcType=INTEGER}, + publish_status = #{publishStatus,jdbcType=INTEGER}, + new_status = #{newStatus,jdbcType=INTEGER}, + recommand_status = #{recommandStatus,jdbcType=INTEGER}, + verify_status = #{verifyStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + sale = #{sale,jdbcType=INTEGER}, + price = #{price,jdbcType=DECIMAL}, + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + gift_point = #{giftPoint,jdbcType=INTEGER}, + use_point_limit = #{usePointLimit,jdbcType=INTEGER}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + original_price = #{originalPrice,jdbcType=DECIMAL}, + stock = #{stock,jdbcType=INTEGER}, + low_stock = #{lowStock,jdbcType=INTEGER}, + unit = #{unit,jdbcType=VARCHAR}, + weight = #{weight,jdbcType=DECIMAL}, + preview_status = #{previewStatus,jdbcType=INTEGER}, + service_ids = #{serviceIds,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + album_pics = #{albumPics,jdbcType=VARCHAR}, + detail_title = #{detailTitle,jdbcType=VARCHAR}, + promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{promotionType,jdbcType=INTEGER}, + brand_name = #{brandName,jdbcType=VARCHAR}, + product_category_name = #{productCategoryName,jdbcType=VARCHAR}, + description = #{description,jdbcType=LONGVARCHAR}, + detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, + detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, + detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_product + set brand_id = #{brandId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, + product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR}, + delete_status = #{deleteStatus,jdbcType=INTEGER}, + publish_status = #{publishStatus,jdbcType=INTEGER}, + new_status = #{newStatus,jdbcType=INTEGER}, + recommand_status = #{recommandStatus,jdbcType=INTEGER}, + verify_status = #{verifyStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + sale = #{sale,jdbcType=INTEGER}, + price = #{price,jdbcType=DECIMAL}, + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + gift_point = #{giftPoint,jdbcType=INTEGER}, + use_point_limit = #{usePointLimit,jdbcType=INTEGER}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + original_price = #{originalPrice,jdbcType=DECIMAL}, + stock = #{stock,jdbcType=INTEGER}, + low_stock = #{lowStock,jdbcType=INTEGER}, + unit = #{unit,jdbcType=VARCHAR}, + weight = #{weight,jdbcType=DECIMAL}, + preview_status = #{previewStatus,jdbcType=INTEGER}, + service_ids = #{serviceIds,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + album_pics = #{albumPics,jdbcType=VARCHAR}, + detail_title = #{detailTitle,jdbcType=VARCHAR}, + promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{promotionType,jdbcType=INTEGER}, + brand_name = #{brandName,jdbcType=VARCHAR}, + product_category_name = #{productCategoryName,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, brand_id, product_category_id, feight_template_id, product_attribute_category_id, + name, pic, product_sn, delete_status, publish_status, new_status, recommand_status, + verify_status, sort, sale, price, promotion_price, gift_growth, gift_point, use_point_limit, + sub_title, original_price, stock, low_stock, unit, weight, preview_status, service_ids, + keywords, note, album_pics, detail_title, promotion_start_time, promotion_end_time, + promotion_per_limit, promotion_type, brand_name, product_category_name + + + description, detail_desc, detail_html, detail_mobile_html + + + + + + delete from pms_product + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product (brand_id, product_category_id, feight_template_id, + product_attribute_category_id, name, pic, + product_sn, delete_status, publish_status, + new_status, recommand_status, verify_status, + sort, sale, price, + promotion_price, gift_growth, gift_point, + use_point_limit, sub_title, original_price, + stock, low_stock, unit, + weight, preview_status, service_ids, + keywords, note, album_pics, + detail_title, promotion_start_time, promotion_end_time, + promotion_per_limit, promotion_type, brand_name, + product_category_name, description, detail_desc, + detail_html, detail_mobile_html) + values (#{brandId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{feightTemplateId,jdbcType=BIGINT}, + #{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, + #{productSn,jdbcType=VARCHAR}, #{deleteStatus,jdbcType=INTEGER}, #{publishStatus,jdbcType=INTEGER}, + #{newStatus,jdbcType=INTEGER}, #{recommandStatus,jdbcType=INTEGER}, #{verifyStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}, #{sale,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, + #{promotionPrice,jdbcType=DECIMAL}, #{giftGrowth,jdbcType=INTEGER}, #{giftPoint,jdbcType=INTEGER}, + #{usePointLimit,jdbcType=INTEGER}, #{subTitle,jdbcType=VARCHAR}, #{originalPrice,jdbcType=DECIMAL}, + #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{unit,jdbcType=VARCHAR}, + #{weight,jdbcType=DECIMAL}, #{previewStatus,jdbcType=INTEGER}, #{serviceIds,jdbcType=VARCHAR}, + #{keywords,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{albumPics,jdbcType=VARCHAR}, + #{detailTitle,jdbcType=VARCHAR}, #{promotionStartTime,jdbcType=TIMESTAMP}, #{promotionEndTime,jdbcType=TIMESTAMP}, + #{promotionPerLimit,jdbcType=INTEGER}, #{promotionType,jdbcType=INTEGER}, #{brandName,jdbcType=VARCHAR}, + #{productCategoryName,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}, #{detailDesc,jdbcType=LONGVARCHAR}, + #{detailHtml,jdbcType=LONGVARCHAR}, #{detailMobileHtml,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product + + + brand_id, + + + product_category_id, + + + feight_template_id, + + + product_attribute_category_id, + + + name, + + + pic, + + + product_sn, + + + delete_status, + + + publish_status, + + + new_status, + + + recommand_status, + + + verify_status, + + + sort, + + + sale, + + + price, + + + promotion_price, + + + gift_growth, + + + gift_point, + + + use_point_limit, + + + sub_title, + + + original_price, + + + stock, + + + low_stock, + + + unit, + + + weight, + + + preview_status, + + + service_ids, + + + keywords, + + + note, + + + album_pics, + + + detail_title, + + + promotion_start_time, + + + promotion_end_time, + + + promotion_per_limit, + + + promotion_type, + + + brand_name, + + + product_category_name, + + + description, + + + detail_desc, + + + detail_html, + + + detail_mobile_html, + + + + + #{brandId,jdbcType=BIGINT}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{feightTemplateId,jdbcType=BIGINT}, + + + #{productAttributeCategoryId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{pic,jdbcType=VARCHAR}, + + + #{productSn,jdbcType=VARCHAR}, + + + #{deleteStatus,jdbcType=INTEGER}, + + + #{publishStatus,jdbcType=INTEGER}, + + + #{newStatus,jdbcType=INTEGER}, + + + #{recommandStatus,jdbcType=INTEGER}, + + + #{verifyStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + #{sale,jdbcType=INTEGER}, + + + #{price,jdbcType=DECIMAL}, + + + #{promotionPrice,jdbcType=DECIMAL}, + + + #{giftGrowth,jdbcType=INTEGER}, + + + #{giftPoint,jdbcType=INTEGER}, + + + #{usePointLimit,jdbcType=INTEGER}, + + + #{subTitle,jdbcType=VARCHAR}, + + + #{originalPrice,jdbcType=DECIMAL}, + + + #{stock,jdbcType=INTEGER}, + + + #{lowStock,jdbcType=INTEGER}, + + + #{unit,jdbcType=VARCHAR}, + + + #{weight,jdbcType=DECIMAL}, + + + #{previewStatus,jdbcType=INTEGER}, + + + #{serviceIds,jdbcType=VARCHAR}, + + + #{keywords,jdbcType=VARCHAR}, + + + #{note,jdbcType=VARCHAR}, + + + #{albumPics,jdbcType=VARCHAR}, + + + #{detailTitle,jdbcType=VARCHAR}, + + + #{promotionStartTime,jdbcType=TIMESTAMP}, + + + #{promotionEndTime,jdbcType=TIMESTAMP}, + + + #{promotionPerLimit,jdbcType=INTEGER}, + + + #{promotionType,jdbcType=INTEGER}, + + + #{brandName,jdbcType=VARCHAR}, + + + #{productCategoryName,jdbcType=VARCHAR}, + + + #{description,jdbcType=LONGVARCHAR}, + + + #{detailDesc,jdbcType=LONGVARCHAR}, + + + #{detailHtml,jdbcType=LONGVARCHAR}, + + + #{detailMobileHtml,jdbcType=LONGVARCHAR}, + + + + + + update pms_product + + + id = #{record.id,jdbcType=BIGINT}, + + + brand_id = #{record.brandId,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, + + + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + product_sn = #{record.productSn,jdbcType=VARCHAR}, + + + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + + + publish_status = #{record.publishStatus,jdbcType=INTEGER}, + + + new_status = #{record.newStatus,jdbcType=INTEGER}, + + + recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, + + + verify_status = #{record.verifyStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + sale = #{record.sale,jdbcType=INTEGER}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + + + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + + + gift_point = #{record.giftPoint,jdbcType=INTEGER}, + + + use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, + + + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + + + original_price = #{record.originalPrice,jdbcType=DECIMAL}, + + + stock = #{record.stock,jdbcType=INTEGER}, + + + low_stock = #{record.lowStock,jdbcType=INTEGER}, + + + unit = #{record.unit,jdbcType=VARCHAR}, + + + weight = #{record.weight,jdbcType=DECIMAL}, + + + preview_status = #{record.previewStatus,jdbcType=INTEGER}, + + + service_ids = #{record.serviceIds,jdbcType=VARCHAR}, + + + keywords = #{record.keywords,jdbcType=VARCHAR}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + + + detail_title = #{record.detailTitle,jdbcType=VARCHAR}, + + + promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, + + + promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, + + + promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, + + + promotion_type = #{record.promotionType,jdbcType=INTEGER}, + + + brand_name = #{record.brandName,jdbcType=VARCHAR}, + + + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=LONGVARCHAR}, + + + detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, + + + detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, + + + detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_product + set id = #{record.id,jdbcType=BIGINT}, + brand_id = #{record.brandId,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR}, + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + publish_status = #{record.publishStatus,jdbcType=INTEGER}, + new_status = #{record.newStatus,jdbcType=INTEGER}, + recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, + verify_status = #{record.verifyStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + sale = #{record.sale,jdbcType=INTEGER}, + price = #{record.price,jdbcType=DECIMAL}, + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + gift_point = #{record.giftPoint,jdbcType=INTEGER}, + use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + original_price = #{record.originalPrice,jdbcType=DECIMAL}, + stock = #{record.stock,jdbcType=INTEGER}, + low_stock = #{record.lowStock,jdbcType=INTEGER}, + unit = #{record.unit,jdbcType=VARCHAR}, + weight = #{record.weight,jdbcType=DECIMAL}, + preview_status = #{record.previewStatus,jdbcType=INTEGER}, + service_ids = #{record.serviceIds,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + detail_title = #{record.detailTitle,jdbcType=VARCHAR}, + promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{record.promotionType,jdbcType=INTEGER}, + brand_name = #{record.brandName,jdbcType=VARCHAR}, + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=LONGVARCHAR}, + detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, + detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, + detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR} + + + + + + update pms_product + set id = #{record.id,jdbcType=BIGINT}, + brand_id = #{record.brandId,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR}, + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + publish_status = #{record.publishStatus,jdbcType=INTEGER}, + new_status = #{record.newStatus,jdbcType=INTEGER}, + recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, + verify_status = #{record.verifyStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + sale = #{record.sale,jdbcType=INTEGER}, + price = #{record.price,jdbcType=DECIMAL}, + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + gift_point = #{record.giftPoint,jdbcType=INTEGER}, + use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + original_price = #{record.originalPrice,jdbcType=DECIMAL}, + stock = #{record.stock,jdbcType=INTEGER}, + low_stock = #{record.lowStock,jdbcType=INTEGER}, + unit = #{record.unit,jdbcType=VARCHAR}, + weight = #{record.weight,jdbcType=DECIMAL}, + preview_status = #{record.previewStatus,jdbcType=INTEGER}, + service_ids = #{record.serviceIds,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + detail_title = #{record.detailTitle,jdbcType=VARCHAR}, + promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{record.promotionType,jdbcType=INTEGER}, + brand_name = #{record.brandName,jdbcType=VARCHAR}, + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR} + + + + + + update pms_product + + + brand_id = #{brandId,jdbcType=BIGINT}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, + + + product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + product_sn = #{productSn,jdbcType=VARCHAR}, + + + delete_status = #{deleteStatus,jdbcType=INTEGER}, + + + publish_status = #{publishStatus,jdbcType=INTEGER}, + + + new_status = #{newStatus,jdbcType=INTEGER}, + + + recommand_status = #{recommandStatus,jdbcType=INTEGER}, + + + verify_status = #{verifyStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + sale = #{sale,jdbcType=INTEGER}, + + + price = #{price,jdbcType=DECIMAL}, + + + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + + + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + + + gift_point = #{giftPoint,jdbcType=INTEGER}, + + + use_point_limit = #{usePointLimit,jdbcType=INTEGER}, + + + sub_title = #{subTitle,jdbcType=VARCHAR}, + + + original_price = #{originalPrice,jdbcType=DECIMAL}, + + + stock = #{stock,jdbcType=INTEGER}, + + + low_stock = #{lowStock,jdbcType=INTEGER}, + + + unit = #{unit,jdbcType=VARCHAR}, + + + weight = #{weight,jdbcType=DECIMAL}, + + + preview_status = #{previewStatus,jdbcType=INTEGER}, + + + service_ids = #{serviceIds,jdbcType=VARCHAR}, + + + keywords = #{keywords,jdbcType=VARCHAR}, + + + note = #{note,jdbcType=VARCHAR}, + + + album_pics = #{albumPics,jdbcType=VARCHAR}, + + + detail_title = #{detailTitle,jdbcType=VARCHAR}, + + + promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, + + + promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, + + + promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, + + + promotion_type = #{promotionType,jdbcType=INTEGER}, + + + brand_name = #{brandName,jdbcType=VARCHAR}, + + + product_category_name = #{productCategoryName,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=LONGVARCHAR}, + + + detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, + + + detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, + + + detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product + set brand_id = #{brandId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, + product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR}, + delete_status = #{deleteStatus,jdbcType=INTEGER}, + publish_status = #{publishStatus,jdbcType=INTEGER}, + new_status = #{newStatus,jdbcType=INTEGER}, + recommand_status = #{recommandStatus,jdbcType=INTEGER}, + verify_status = #{verifyStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + sale = #{sale,jdbcType=INTEGER}, + price = #{price,jdbcType=DECIMAL}, + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + gift_point = #{giftPoint,jdbcType=INTEGER}, + use_point_limit = #{usePointLimit,jdbcType=INTEGER}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + original_price = #{originalPrice,jdbcType=DECIMAL}, + stock = #{stock,jdbcType=INTEGER}, + low_stock = #{lowStock,jdbcType=INTEGER}, + unit = #{unit,jdbcType=VARCHAR}, + weight = #{weight,jdbcType=DECIMAL}, + preview_status = #{previewStatus,jdbcType=INTEGER}, + service_ids = #{serviceIds,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + album_pics = #{albumPics,jdbcType=VARCHAR}, + detail_title = #{detailTitle,jdbcType=VARCHAR}, + promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{promotionType,jdbcType=INTEGER}, + brand_name = #{brandName,jdbcType=VARCHAR}, + product_category_name = #{productCategoryName,jdbcType=VARCHAR}, + description = #{description,jdbcType=LONGVARCHAR}, + detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, + detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, + detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_product + set brand_id = #{brandId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, + product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR}, + delete_status = #{deleteStatus,jdbcType=INTEGER}, + publish_status = #{publishStatus,jdbcType=INTEGER}, + new_status = #{newStatus,jdbcType=INTEGER}, + recommand_status = #{recommandStatus,jdbcType=INTEGER}, + verify_status = #{verifyStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + sale = #{sale,jdbcType=INTEGER}, + price = #{price,jdbcType=DECIMAL}, + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + gift_point = #{giftPoint,jdbcType=INTEGER}, + use_point_limit = #{usePointLimit,jdbcType=INTEGER}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + original_price = #{originalPrice,jdbcType=DECIMAL}, + stock = #{stock,jdbcType=INTEGER}, + low_stock = #{lowStock,jdbcType=INTEGER}, + unit = #{unit,jdbcType=VARCHAR}, + weight = #{weight,jdbcType=DECIMAL}, + preview_status = #{previewStatus,jdbcType=INTEGER}, + service_ids = #{serviceIds,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + album_pics = #{albumPics,jdbcType=VARCHAR}, + detail_title = #{detailTitle,jdbcType=VARCHAR}, + promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{promotionType,jdbcType=INTEGER}, + brand_name = #{brandName,jdbcType=VARCHAR}, + product_category_name = #{productCategoryName,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, brand_id, product_category_id, feight_template_id, product_attribute_category_id, + name, pic, product_sn, delete_status, publish_status, new_status, recommand_status, + verify_status, sort, sale, price, promotion_price, gift_growth, gift_point, use_point_limit, + sub_title, original_price, stock, low_stock, unit, weight, preview_status, service_ids, + keywords, note, album_pics, detail_title, promotion_start_time, promotion_end_time, + promotion_per_limit, promotion_type, brand_name, product_category_name + + + description, detail_desc, detail_html, detail_mobile_html + + + + + + delete from pms_product + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product (brand_id, product_category_id, feight_template_id, + product_attribute_category_id, name, pic, + product_sn, delete_status, publish_status, + new_status, recommand_status, verify_status, + sort, sale, price, + promotion_price, gift_growth, gift_point, + use_point_limit, sub_title, original_price, + stock, low_stock, unit, + weight, preview_status, service_ids, + keywords, note, album_pics, + detail_title, promotion_start_time, promotion_end_time, + promotion_per_limit, promotion_type, brand_name, + product_category_name, description, detail_desc, + detail_html, detail_mobile_html) + values (#{brandId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{feightTemplateId,jdbcType=BIGINT}, + #{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, + #{productSn,jdbcType=VARCHAR}, #{deleteStatus,jdbcType=INTEGER}, #{publishStatus,jdbcType=INTEGER}, + #{newStatus,jdbcType=INTEGER}, #{recommandStatus,jdbcType=INTEGER}, #{verifyStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}, #{sale,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, + #{promotionPrice,jdbcType=DECIMAL}, #{giftGrowth,jdbcType=INTEGER}, #{giftPoint,jdbcType=INTEGER}, + #{usePointLimit,jdbcType=INTEGER}, #{subTitle,jdbcType=VARCHAR}, #{originalPrice,jdbcType=DECIMAL}, + #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{unit,jdbcType=VARCHAR}, + #{weight,jdbcType=DECIMAL}, #{previewStatus,jdbcType=INTEGER}, #{serviceIds,jdbcType=VARCHAR}, + #{keywords,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{albumPics,jdbcType=VARCHAR}, + #{detailTitle,jdbcType=VARCHAR}, #{promotionStartTime,jdbcType=TIMESTAMP}, #{promotionEndTime,jdbcType=TIMESTAMP}, + #{promotionPerLimit,jdbcType=INTEGER}, #{promotionType,jdbcType=INTEGER}, #{brandName,jdbcType=VARCHAR}, + #{productCategoryName,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}, #{detailDesc,jdbcType=LONGVARCHAR}, + #{detailHtml,jdbcType=LONGVARCHAR}, #{detailMobileHtml,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product + + + brand_id, + + + product_category_id, + + + feight_template_id, + + + product_attribute_category_id, + + + name, + + + pic, + + + product_sn, + + + delete_status, + + + publish_status, + + + new_status, + + + recommand_status, + + + verify_status, + + + sort, + + + sale, + + + price, + + + promotion_price, + + + gift_growth, + + + gift_point, + + + use_point_limit, + + + sub_title, + + + original_price, + + + stock, + + + low_stock, + + + unit, + + + weight, + + + preview_status, + + + service_ids, + + + keywords, + + + note, + + + album_pics, + + + detail_title, + + + promotion_start_time, + + + promotion_end_time, + + + promotion_per_limit, + + + promotion_type, + + + brand_name, + + + product_category_name, + + + description, + + + detail_desc, + + + detail_html, + + + detail_mobile_html, + + + + + #{brandId,jdbcType=BIGINT}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{feightTemplateId,jdbcType=BIGINT}, + + + #{productAttributeCategoryId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{pic,jdbcType=VARCHAR}, + + + #{productSn,jdbcType=VARCHAR}, + + + #{deleteStatus,jdbcType=INTEGER}, + + + #{publishStatus,jdbcType=INTEGER}, + + + #{newStatus,jdbcType=INTEGER}, + + + #{recommandStatus,jdbcType=INTEGER}, + + + #{verifyStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + #{sale,jdbcType=INTEGER}, + + + #{price,jdbcType=DECIMAL}, + + + #{promotionPrice,jdbcType=DECIMAL}, + + + #{giftGrowth,jdbcType=INTEGER}, + + + #{giftPoint,jdbcType=INTEGER}, + + + #{usePointLimit,jdbcType=INTEGER}, + + + #{subTitle,jdbcType=VARCHAR}, + + + #{originalPrice,jdbcType=DECIMAL}, + + + #{stock,jdbcType=INTEGER}, + + + #{lowStock,jdbcType=INTEGER}, + + + #{unit,jdbcType=VARCHAR}, + + + #{weight,jdbcType=DECIMAL}, + + + #{previewStatus,jdbcType=INTEGER}, + + + #{serviceIds,jdbcType=VARCHAR}, + + + #{keywords,jdbcType=VARCHAR}, + + + #{note,jdbcType=VARCHAR}, + + + #{albumPics,jdbcType=VARCHAR}, + + + #{detailTitle,jdbcType=VARCHAR}, + + + #{promotionStartTime,jdbcType=TIMESTAMP}, + + + #{promotionEndTime,jdbcType=TIMESTAMP}, + + + #{promotionPerLimit,jdbcType=INTEGER}, + + + #{promotionType,jdbcType=INTEGER}, + + + #{brandName,jdbcType=VARCHAR}, + + + #{productCategoryName,jdbcType=VARCHAR}, + + + #{description,jdbcType=LONGVARCHAR}, + + + #{detailDesc,jdbcType=LONGVARCHAR}, + + + #{detailHtml,jdbcType=LONGVARCHAR}, + + + #{detailMobileHtml,jdbcType=LONGVARCHAR}, + + + + + + update pms_product + + + id = #{record.id,jdbcType=BIGINT}, + + + brand_id = #{record.brandId,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, + + + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + product_sn = #{record.productSn,jdbcType=VARCHAR}, + + + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + + + publish_status = #{record.publishStatus,jdbcType=INTEGER}, + + + new_status = #{record.newStatus,jdbcType=INTEGER}, + + + recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, + + + verify_status = #{record.verifyStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + sale = #{record.sale,jdbcType=INTEGER}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + + + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + + + gift_point = #{record.giftPoint,jdbcType=INTEGER}, + + + use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, + + + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + + + original_price = #{record.originalPrice,jdbcType=DECIMAL}, + + + stock = #{record.stock,jdbcType=INTEGER}, + + + low_stock = #{record.lowStock,jdbcType=INTEGER}, + + + unit = #{record.unit,jdbcType=VARCHAR}, + + + weight = #{record.weight,jdbcType=DECIMAL}, + + + preview_status = #{record.previewStatus,jdbcType=INTEGER}, + + + service_ids = #{record.serviceIds,jdbcType=VARCHAR}, + + + keywords = #{record.keywords,jdbcType=VARCHAR}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + + + detail_title = #{record.detailTitle,jdbcType=VARCHAR}, + + + promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, + + + promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, + + + promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, + + + promotion_type = #{record.promotionType,jdbcType=INTEGER}, + + + brand_name = #{record.brandName,jdbcType=VARCHAR}, + + + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=LONGVARCHAR}, + + + detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, + + + detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, + + + detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_product + set id = #{record.id,jdbcType=BIGINT}, + brand_id = #{record.brandId,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR}, + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + publish_status = #{record.publishStatus,jdbcType=INTEGER}, + new_status = #{record.newStatus,jdbcType=INTEGER}, + recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, + verify_status = #{record.verifyStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + sale = #{record.sale,jdbcType=INTEGER}, + price = #{record.price,jdbcType=DECIMAL}, + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + gift_point = #{record.giftPoint,jdbcType=INTEGER}, + use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + original_price = #{record.originalPrice,jdbcType=DECIMAL}, + stock = #{record.stock,jdbcType=INTEGER}, + low_stock = #{record.lowStock,jdbcType=INTEGER}, + unit = #{record.unit,jdbcType=VARCHAR}, + weight = #{record.weight,jdbcType=DECIMAL}, + preview_status = #{record.previewStatus,jdbcType=INTEGER}, + service_ids = #{record.serviceIds,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + detail_title = #{record.detailTitle,jdbcType=VARCHAR}, + promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{record.promotionType,jdbcType=INTEGER}, + brand_name = #{record.brandName,jdbcType=VARCHAR}, + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=LONGVARCHAR}, + detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, + detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, + detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR} + + + + + + update pms_product + set id = #{record.id,jdbcType=BIGINT}, + brand_id = #{record.brandId,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR}, + delete_status = #{record.deleteStatus,jdbcType=INTEGER}, + publish_status = #{record.publishStatus,jdbcType=INTEGER}, + new_status = #{record.newStatus,jdbcType=INTEGER}, + recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, + verify_status = #{record.verifyStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + sale = #{record.sale,jdbcType=INTEGER}, + price = #{record.price,jdbcType=DECIMAL}, + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, + gift_point = #{record.giftPoint,jdbcType=INTEGER}, + use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + original_price = #{record.originalPrice,jdbcType=DECIMAL}, + stock = #{record.stock,jdbcType=INTEGER}, + low_stock = #{record.lowStock,jdbcType=INTEGER}, + unit = #{record.unit,jdbcType=VARCHAR}, + weight = #{record.weight,jdbcType=DECIMAL}, + preview_status = #{record.previewStatus,jdbcType=INTEGER}, + service_ids = #{record.serviceIds,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + album_pics = #{record.albumPics,jdbcType=VARCHAR}, + detail_title = #{record.detailTitle,jdbcType=VARCHAR}, + promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{record.promotionType,jdbcType=INTEGER}, + brand_name = #{record.brandName,jdbcType=VARCHAR}, + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR} + + + + + + update pms_product + + + brand_id = #{brandId,jdbcType=BIGINT}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, + + + product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + product_sn = #{productSn,jdbcType=VARCHAR}, + + + delete_status = #{deleteStatus,jdbcType=INTEGER}, + + + publish_status = #{publishStatus,jdbcType=INTEGER}, + + + new_status = #{newStatus,jdbcType=INTEGER}, + + + recommand_status = #{recommandStatus,jdbcType=INTEGER}, + + + verify_status = #{verifyStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + sale = #{sale,jdbcType=INTEGER}, + + + price = #{price,jdbcType=DECIMAL}, + + + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + + + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + + + gift_point = #{giftPoint,jdbcType=INTEGER}, + + + use_point_limit = #{usePointLimit,jdbcType=INTEGER}, + + + sub_title = #{subTitle,jdbcType=VARCHAR}, + + + original_price = #{originalPrice,jdbcType=DECIMAL}, + + + stock = #{stock,jdbcType=INTEGER}, + + + low_stock = #{lowStock,jdbcType=INTEGER}, + + + unit = #{unit,jdbcType=VARCHAR}, + + + weight = #{weight,jdbcType=DECIMAL}, + + + preview_status = #{previewStatus,jdbcType=INTEGER}, + + + service_ids = #{serviceIds,jdbcType=VARCHAR}, + + + keywords = #{keywords,jdbcType=VARCHAR}, + + + note = #{note,jdbcType=VARCHAR}, + + + album_pics = #{albumPics,jdbcType=VARCHAR}, + + + detail_title = #{detailTitle,jdbcType=VARCHAR}, + + + promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, + + + promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, + + + promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, + + + promotion_type = #{promotionType,jdbcType=INTEGER}, + + + brand_name = #{brandName,jdbcType=VARCHAR}, + + + product_category_name = #{productCategoryName,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=LONGVARCHAR}, + + + detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, + + + detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, + + + detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product + set brand_id = #{brandId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, + product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR}, + delete_status = #{deleteStatus,jdbcType=INTEGER}, + publish_status = #{publishStatus,jdbcType=INTEGER}, + new_status = #{newStatus,jdbcType=INTEGER}, + recommand_status = #{recommandStatus,jdbcType=INTEGER}, + verify_status = #{verifyStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + sale = #{sale,jdbcType=INTEGER}, + price = #{price,jdbcType=DECIMAL}, + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + gift_point = #{giftPoint,jdbcType=INTEGER}, + use_point_limit = #{usePointLimit,jdbcType=INTEGER}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + original_price = #{originalPrice,jdbcType=DECIMAL}, + stock = #{stock,jdbcType=INTEGER}, + low_stock = #{lowStock,jdbcType=INTEGER}, + unit = #{unit,jdbcType=VARCHAR}, + weight = #{weight,jdbcType=DECIMAL}, + preview_status = #{previewStatus,jdbcType=INTEGER}, + service_ids = #{serviceIds,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + album_pics = #{albumPics,jdbcType=VARCHAR}, + detail_title = #{detailTitle,jdbcType=VARCHAR}, + promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{promotionType,jdbcType=INTEGER}, + brand_name = #{brandName,jdbcType=VARCHAR}, + product_category_name = #{productCategoryName,jdbcType=VARCHAR}, + description = #{description,jdbcType=LONGVARCHAR}, + detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, + detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, + detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_product + set brand_id = #{brandId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, + product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR}, + delete_status = #{deleteStatus,jdbcType=INTEGER}, + publish_status = #{publishStatus,jdbcType=INTEGER}, + new_status = #{newStatus,jdbcType=INTEGER}, + recommand_status = #{recommandStatus,jdbcType=INTEGER}, + verify_status = #{verifyStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + sale = #{sale,jdbcType=INTEGER}, + price = #{price,jdbcType=DECIMAL}, + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + gift_growth = #{giftGrowth,jdbcType=INTEGER}, + gift_point = #{giftPoint,jdbcType=INTEGER}, + use_point_limit = #{usePointLimit,jdbcType=INTEGER}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + original_price = #{originalPrice,jdbcType=DECIMAL}, + stock = #{stock,jdbcType=INTEGER}, + low_stock = #{lowStock,jdbcType=INTEGER}, + unit = #{unit,jdbcType=VARCHAR}, + weight = #{weight,jdbcType=DECIMAL}, + preview_status = #{previewStatus,jdbcType=INTEGER}, + service_ids = #{serviceIds,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + album_pics = #{albumPics,jdbcType=VARCHAR}, + detail_title = #{detailTitle,jdbcType=VARCHAR}, + promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{promotionType,jdbcType=INTEGER}, + brand_name = #{brandName,jdbcType=VARCHAR}, + product_category_name = #{productCategoryName,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductOperateLogMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductOperateLogMapper.xml new file mode 100644 index 0000000..edee03f --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductOperateLogMapper.xml @@ -0,0 +1,955 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, price_old, price_new, sale_price_old, sale_price_new, gift_point_old, + gift_point_new, use_point_limit_old, use_point_limit_new, operate_man, create_time + + + + + delete from pms_product_operate_log + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_operate_log + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_operate_log (product_id, price_old, price_new, + sale_price_old, sale_price_new, gift_point_old, + gift_point_new, use_point_limit_old, use_point_limit_new, + operate_man, create_time) + values (#{productId,jdbcType=BIGINT}, #{priceOld,jdbcType=DECIMAL}, #{priceNew,jdbcType=DECIMAL}, + #{salePriceOld,jdbcType=DECIMAL}, #{salePriceNew,jdbcType=DECIMAL}, #{giftPointOld,jdbcType=INTEGER}, + #{giftPointNew,jdbcType=INTEGER}, #{usePointLimitOld,jdbcType=INTEGER}, #{usePointLimitNew,jdbcType=INTEGER}, + #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_operate_log + + + product_id, + + + price_old, + + + price_new, + + + sale_price_old, + + + sale_price_new, + + + gift_point_old, + + + gift_point_new, + + + use_point_limit_old, + + + use_point_limit_new, + + + operate_man, + + + create_time, + + + + + #{productId,jdbcType=BIGINT}, + + + #{priceOld,jdbcType=DECIMAL}, + + + #{priceNew,jdbcType=DECIMAL}, + + + #{salePriceOld,jdbcType=DECIMAL}, + + + #{salePriceNew,jdbcType=DECIMAL}, + + + #{giftPointOld,jdbcType=INTEGER}, + + + #{giftPointNew,jdbcType=INTEGER}, + + + #{usePointLimitOld,jdbcType=INTEGER}, + + + #{usePointLimitNew,jdbcType=INTEGER}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + + + + update pms_product_operate_log + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + price_old = #{record.priceOld,jdbcType=DECIMAL}, + + + price_new = #{record.priceNew,jdbcType=DECIMAL}, + + + sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, + + + sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, + + + gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, + + + gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, + + + use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, + + + use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + + + + + + update pms_product_operate_log + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + price_old = #{record.priceOld,jdbcType=DECIMAL}, + price_new = #{record.priceNew,jdbcType=DECIMAL}, + sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, + sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, + gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, + gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, + use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, + use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update pms_product_operate_log + + + product_id = #{productId,jdbcType=BIGINT}, + + + price_old = #{priceOld,jdbcType=DECIMAL}, + + + price_new = #{priceNew,jdbcType=DECIMAL}, + + + sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, + + + sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, + + + gift_point_old = #{giftPointOld,jdbcType=INTEGER}, + + + gift_point_new = #{giftPointNew,jdbcType=INTEGER}, + + + use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, + + + use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_operate_log + set product_id = #{productId,jdbcType=BIGINT}, + price_old = #{priceOld,jdbcType=DECIMAL}, + price_new = #{priceNew,jdbcType=DECIMAL}, + sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, + sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, + gift_point_old = #{giftPointOld,jdbcType=INTEGER}, + gift_point_new = #{giftPointNew,jdbcType=INTEGER}, + use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, + use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, price_old, price_new, sale_price_old, sale_price_new, gift_point_old, + gift_point_new, use_point_limit_old, use_point_limit_new, operate_man, create_time + + + + + delete from pms_product_operate_log + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_operate_log + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_operate_log (product_id, price_old, price_new, + sale_price_old, sale_price_new, gift_point_old, + gift_point_new, use_point_limit_old, use_point_limit_new, + operate_man, create_time) + values (#{productId,jdbcType=BIGINT}, #{priceOld,jdbcType=DECIMAL}, #{priceNew,jdbcType=DECIMAL}, + #{salePriceOld,jdbcType=DECIMAL}, #{salePriceNew,jdbcType=DECIMAL}, #{giftPointOld,jdbcType=INTEGER}, + #{giftPointNew,jdbcType=INTEGER}, #{usePointLimitOld,jdbcType=INTEGER}, #{usePointLimitNew,jdbcType=INTEGER}, + #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_operate_log + + + product_id, + + + price_old, + + + price_new, + + + sale_price_old, + + + sale_price_new, + + + gift_point_old, + + + gift_point_new, + + + use_point_limit_old, + + + use_point_limit_new, + + + operate_man, + + + create_time, + + + + + #{productId,jdbcType=BIGINT}, + + + #{priceOld,jdbcType=DECIMAL}, + + + #{priceNew,jdbcType=DECIMAL}, + + + #{salePriceOld,jdbcType=DECIMAL}, + + + #{salePriceNew,jdbcType=DECIMAL}, + + + #{giftPointOld,jdbcType=INTEGER}, + + + #{giftPointNew,jdbcType=INTEGER}, + + + #{usePointLimitOld,jdbcType=INTEGER}, + + + #{usePointLimitNew,jdbcType=INTEGER}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + + + + update pms_product_operate_log + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + price_old = #{record.priceOld,jdbcType=DECIMAL}, + + + price_new = #{record.priceNew,jdbcType=DECIMAL}, + + + sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, + + + sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, + + + gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, + + + gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, + + + use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, + + + use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + + + + + + update pms_product_operate_log + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + price_old = #{record.priceOld,jdbcType=DECIMAL}, + price_new = #{record.priceNew,jdbcType=DECIMAL}, + sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, + sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, + gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, + gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, + use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, + use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update pms_product_operate_log + + + product_id = #{productId,jdbcType=BIGINT}, + + + price_old = #{priceOld,jdbcType=DECIMAL}, + + + price_new = #{priceNew,jdbcType=DECIMAL}, + + + sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, + + + sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, + + + gift_point_old = #{giftPointOld,jdbcType=INTEGER}, + + + gift_point_new = #{giftPointNew,jdbcType=INTEGER}, + + + use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, + + + use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_operate_log + set product_id = #{productId,jdbcType=BIGINT}, + price_old = #{priceOld,jdbcType=DECIMAL}, + price_new = #{priceNew,jdbcType=DECIMAL}, + sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, + sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, + gift_point_old = #{giftPointOld,jdbcType=INTEGER}, + gift_point_new = #{giftPointNew,jdbcType=INTEGER}, + use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, + use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, price_old, price_new, sale_price_old, sale_price_new, gift_point_old, + gift_point_new, use_point_limit_old, use_point_limit_new, operate_man, create_time + + + + + delete from pms_product_operate_log + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_operate_log + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_operate_log (product_id, price_old, price_new, + sale_price_old, sale_price_new, gift_point_old, + gift_point_new, use_point_limit_old, use_point_limit_new, + operate_man, create_time) + values (#{productId,jdbcType=BIGINT}, #{priceOld,jdbcType=DECIMAL}, #{priceNew,jdbcType=DECIMAL}, + #{salePriceOld,jdbcType=DECIMAL}, #{salePriceNew,jdbcType=DECIMAL}, #{giftPointOld,jdbcType=INTEGER}, + #{giftPointNew,jdbcType=INTEGER}, #{usePointLimitOld,jdbcType=INTEGER}, #{usePointLimitNew,jdbcType=INTEGER}, + #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_operate_log + + + product_id, + + + price_old, + + + price_new, + + + sale_price_old, + + + sale_price_new, + + + gift_point_old, + + + gift_point_new, + + + use_point_limit_old, + + + use_point_limit_new, + + + operate_man, + + + create_time, + + + + + #{productId,jdbcType=BIGINT}, + + + #{priceOld,jdbcType=DECIMAL}, + + + #{priceNew,jdbcType=DECIMAL}, + + + #{salePriceOld,jdbcType=DECIMAL}, + + + #{salePriceNew,jdbcType=DECIMAL}, + + + #{giftPointOld,jdbcType=INTEGER}, + + + #{giftPointNew,jdbcType=INTEGER}, + + + #{usePointLimitOld,jdbcType=INTEGER}, + + + #{usePointLimitNew,jdbcType=INTEGER}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + + + + update pms_product_operate_log + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + price_old = #{record.priceOld,jdbcType=DECIMAL}, + + + price_new = #{record.priceNew,jdbcType=DECIMAL}, + + + sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, + + + sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, + + + gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, + + + gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, + + + use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, + + + use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + + + + + + update pms_product_operate_log + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + price_old = #{record.priceOld,jdbcType=DECIMAL}, + price_new = #{record.priceNew,jdbcType=DECIMAL}, + sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, + sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, + gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, + gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, + use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, + use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update pms_product_operate_log + + + product_id = #{productId,jdbcType=BIGINT}, + + + price_old = #{priceOld,jdbcType=DECIMAL}, + + + price_new = #{priceNew,jdbcType=DECIMAL}, + + + sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, + + + sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, + + + gift_point_old = #{giftPointOld,jdbcType=INTEGER}, + + + gift_point_new = #{giftPointNew,jdbcType=INTEGER}, + + + use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, + + + use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_operate_log + set product_id = #{productId,jdbcType=BIGINT}, + price_old = #{priceOld,jdbcType=DECIMAL}, + price_new = #{priceNew,jdbcType=DECIMAL}, + sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, + sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, + gift_point_old = #{giftPointOld,jdbcType=INTEGER}, + gift_point_new = #{giftPointNew,jdbcType=INTEGER}, + use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, + use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductVertifyRecordMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductVertifyRecordMapper.xml new file mode 100644 index 0000000..8664521 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsProductVertifyRecordMapper.xml @@ -0,0 +1,670 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, create_time, vertify_man, status, detail + + + + + delete from pms_product_vertify_record + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_vertify_record + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_vertify_record (product_id, create_time, vertify_man, + status, detail) + values (#{productId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{vertifyMan,jdbcType=VARCHAR}, + #{status,jdbcType=INTEGER}, #{detail,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_vertify_record + + + product_id, + + + create_time, + + + vertify_man, + + + status, + + + detail, + + + + + #{productId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{vertifyMan,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{detail,jdbcType=VARCHAR}, + + + + + + update pms_product_vertify_record + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + detail = #{record.detail,jdbcType=VARCHAR}, + + + + + + + + update pms_product_vertify_record + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + detail = #{record.detail,jdbcType=VARCHAR} + + + + + + update pms_product_vertify_record + + + product_id = #{productId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + vertify_man = #{vertifyMan,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + detail = #{detail,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_vertify_record + set product_id = #{productId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + vertify_man = #{vertifyMan,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + detail = #{detail,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, create_time, vertify_man, status, detail + + + + + delete from pms_product_vertify_record + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_vertify_record + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_vertify_record (product_id, create_time, vertify_man, + status, detail) + values (#{productId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{vertifyMan,jdbcType=VARCHAR}, + #{status,jdbcType=INTEGER}, #{detail,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_vertify_record + + + product_id, + + + create_time, + + + vertify_man, + + + status, + + + detail, + + + + + #{productId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{vertifyMan,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{detail,jdbcType=VARCHAR}, + + + + + + update pms_product_vertify_record + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + detail = #{record.detail,jdbcType=VARCHAR}, + + + + + + + + update pms_product_vertify_record + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + detail = #{record.detail,jdbcType=VARCHAR} + + + + + + update pms_product_vertify_record + + + product_id = #{productId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + vertify_man = #{vertifyMan,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + detail = #{detail,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_vertify_record + set product_id = #{productId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + vertify_man = #{vertifyMan,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + detail = #{detail,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, create_time, vertify_man, status, detail + + + + + delete from pms_product_vertify_record + where id = #{id,jdbcType=BIGINT} + + + delete from pms_product_vertify_record + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_vertify_record (product_id, create_time, vertify_man, + status, detail) + values (#{productId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{vertifyMan,jdbcType=VARCHAR}, + #{status,jdbcType=INTEGER}, #{detail,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_vertify_record + + + product_id, + + + create_time, + + + vertify_man, + + + status, + + + detail, + + + + + #{productId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{vertifyMan,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{detail,jdbcType=VARCHAR}, + + + + + + update pms_product_vertify_record + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + detail = #{record.detail,jdbcType=VARCHAR}, + + + + + + + + update pms_product_vertify_record + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + detail = #{record.detail,jdbcType=VARCHAR} + + + + + + update pms_product_vertify_record + + + product_id = #{productId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + vertify_man = #{vertifyMan,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + detail = #{detail,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_vertify_record + set product_id = #{productId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + vertify_man = #{vertifyMan,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + detail = #{detail,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsSkuStockMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsSkuStockMapper.xml new file mode 100644 index 0000000..77a35b2 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/PmsSkuStockMapper.xml @@ -0,0 +1,1000 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, sku_code, price, stock, low_stock, sp1, sp2, sp3, pic, sale, promotion_price, + lock_stock + + + + + delete from pms_sku_stock + where id = #{id,jdbcType=BIGINT} + + + delete from pms_sku_stock + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_sku_stock (product_id, sku_code, price, + stock, low_stock, sp1, + sp2, sp3, pic, sale, + promotion_price, lock_stock) + values (#{productId,jdbcType=BIGINT}, #{skuCode,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, + #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{sp1,jdbcType=VARCHAR}, + #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{sale,jdbcType=INTEGER}, + #{promotionPrice,jdbcType=DECIMAL}, #{lockStock,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_sku_stock + + + product_id, + + + sku_code, + + + price, + + + stock, + + + low_stock, + + + sp1, + + + sp2, + + + sp3, + + + pic, + + + sale, + + + promotion_price, + + + lock_stock, + + + + + #{productId,jdbcType=BIGINT}, + + + #{skuCode,jdbcType=VARCHAR}, + + + #{price,jdbcType=DECIMAL}, + + + #{stock,jdbcType=INTEGER}, + + + #{lowStock,jdbcType=INTEGER}, + + + #{sp1,jdbcType=VARCHAR}, + + + #{sp2,jdbcType=VARCHAR}, + + + #{sp3,jdbcType=VARCHAR}, + + + #{pic,jdbcType=VARCHAR}, + + + #{sale,jdbcType=INTEGER}, + + + #{promotionPrice,jdbcType=DECIMAL}, + + + #{lockStock,jdbcType=INTEGER}, + + + + + + update pms_sku_stock + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + sku_code = #{record.skuCode,jdbcType=VARCHAR}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + stock = #{record.stock,jdbcType=INTEGER}, + + + low_stock = #{record.lowStock,jdbcType=INTEGER}, + + + sp1 = #{record.sp1,jdbcType=VARCHAR}, + + + sp2 = #{record.sp2,jdbcType=VARCHAR}, + + + sp3 = #{record.sp3,jdbcType=VARCHAR}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + sale = #{record.sale,jdbcType=INTEGER}, + + + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + + + lock_stock = #{record.lockStock,jdbcType=INTEGER}, + + + + + + + + update pms_sku_stock + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + sku_code = #{record.skuCode,jdbcType=VARCHAR}, + price = #{record.price,jdbcType=DECIMAL}, + stock = #{record.stock,jdbcType=INTEGER}, + low_stock = #{record.lowStock,jdbcType=INTEGER}, + sp1 = #{record.sp1,jdbcType=VARCHAR}, + sp2 = #{record.sp2,jdbcType=VARCHAR}, + sp3 = #{record.sp3,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + sale = #{record.sale,jdbcType=INTEGER}, + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + lock_stock = #{record.lockStock,jdbcType=INTEGER} + + + + + + update pms_sku_stock + + + product_id = #{productId,jdbcType=BIGINT}, + + + sku_code = #{skuCode,jdbcType=VARCHAR}, + + + price = #{price,jdbcType=DECIMAL}, + + + stock = #{stock,jdbcType=INTEGER}, + + + low_stock = #{lowStock,jdbcType=INTEGER}, + + + sp1 = #{sp1,jdbcType=VARCHAR}, + + + sp2 = #{sp2,jdbcType=VARCHAR}, + + + sp3 = #{sp3,jdbcType=VARCHAR}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + sale = #{sale,jdbcType=INTEGER}, + + + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + + + lock_stock = #{lockStock,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_sku_stock + set product_id = #{productId,jdbcType=BIGINT}, + sku_code = #{skuCode,jdbcType=VARCHAR}, + price = #{price,jdbcType=DECIMAL}, + stock = #{stock,jdbcType=INTEGER}, + low_stock = #{lowStock,jdbcType=INTEGER}, + sp1 = #{sp1,jdbcType=VARCHAR}, + sp2 = #{sp2,jdbcType=VARCHAR}, + sp3 = #{sp3,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + sale = #{sale,jdbcType=INTEGER}, + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + lock_stock = #{lockStock,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, sku_code, price, stock, low_stock, sp1, sp2, sp3, pic, sale, promotion_price, + lock_stock + + + + + delete from pms_sku_stock + where id = #{id,jdbcType=BIGINT} + + + delete from pms_sku_stock + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_sku_stock (product_id, sku_code, price, + stock, low_stock, sp1, + sp2, sp3, pic, sale, + promotion_price, lock_stock) + values (#{productId,jdbcType=BIGINT}, #{skuCode,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, + #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{sp1,jdbcType=VARCHAR}, + #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{sale,jdbcType=INTEGER}, + #{promotionPrice,jdbcType=DECIMAL}, #{lockStock,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_sku_stock + + + product_id, + + + sku_code, + + + price, + + + stock, + + + low_stock, + + + sp1, + + + sp2, + + + sp3, + + + pic, + + + sale, + + + promotion_price, + + + lock_stock, + + + + + #{productId,jdbcType=BIGINT}, + + + #{skuCode,jdbcType=VARCHAR}, + + + #{price,jdbcType=DECIMAL}, + + + #{stock,jdbcType=INTEGER}, + + + #{lowStock,jdbcType=INTEGER}, + + + #{sp1,jdbcType=VARCHAR}, + + + #{sp2,jdbcType=VARCHAR}, + + + #{sp3,jdbcType=VARCHAR}, + + + #{pic,jdbcType=VARCHAR}, + + + #{sale,jdbcType=INTEGER}, + + + #{promotionPrice,jdbcType=DECIMAL}, + + + #{lockStock,jdbcType=INTEGER}, + + + + + + update pms_sku_stock + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + sku_code = #{record.skuCode,jdbcType=VARCHAR}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + stock = #{record.stock,jdbcType=INTEGER}, + + + low_stock = #{record.lowStock,jdbcType=INTEGER}, + + + sp1 = #{record.sp1,jdbcType=VARCHAR}, + + + sp2 = #{record.sp2,jdbcType=VARCHAR}, + + + sp3 = #{record.sp3,jdbcType=VARCHAR}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + sale = #{record.sale,jdbcType=INTEGER}, + + + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + + + lock_stock = #{record.lockStock,jdbcType=INTEGER}, + + + + + + + + update pms_sku_stock + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + sku_code = #{record.skuCode,jdbcType=VARCHAR}, + price = #{record.price,jdbcType=DECIMAL}, + stock = #{record.stock,jdbcType=INTEGER}, + low_stock = #{record.lowStock,jdbcType=INTEGER}, + sp1 = #{record.sp1,jdbcType=VARCHAR}, + sp2 = #{record.sp2,jdbcType=VARCHAR}, + sp3 = #{record.sp3,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + sale = #{record.sale,jdbcType=INTEGER}, + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + lock_stock = #{record.lockStock,jdbcType=INTEGER} + + + + + + update pms_sku_stock + + + product_id = #{productId,jdbcType=BIGINT}, + + + sku_code = #{skuCode,jdbcType=VARCHAR}, + + + price = #{price,jdbcType=DECIMAL}, + + + stock = #{stock,jdbcType=INTEGER}, + + + low_stock = #{lowStock,jdbcType=INTEGER}, + + + sp1 = #{sp1,jdbcType=VARCHAR}, + + + sp2 = #{sp2,jdbcType=VARCHAR}, + + + sp3 = #{sp3,jdbcType=VARCHAR}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + sale = #{sale,jdbcType=INTEGER}, + + + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + + + lock_stock = #{lockStock,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_sku_stock + set product_id = #{productId,jdbcType=BIGINT}, + sku_code = #{skuCode,jdbcType=VARCHAR}, + price = #{price,jdbcType=DECIMAL}, + stock = #{stock,jdbcType=INTEGER}, + low_stock = #{lowStock,jdbcType=INTEGER}, + sp1 = #{sp1,jdbcType=VARCHAR}, + sp2 = #{sp2,jdbcType=VARCHAR}, + sp3 = #{sp3,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + sale = #{sale,jdbcType=INTEGER}, + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + lock_stock = #{lockStock,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, sku_code, price, stock, low_stock, sp1, sp2, sp3, pic, sale, promotion_price, + lock_stock + + + + + delete from pms_sku_stock + where id = #{id,jdbcType=BIGINT} + + + delete from pms_sku_stock + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_sku_stock (product_id, sku_code, price, + stock, low_stock, sp1, + sp2, sp3, pic, sale, + promotion_price, lock_stock) + values (#{productId,jdbcType=BIGINT}, #{skuCode,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, + #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{sp1,jdbcType=VARCHAR}, + #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{sale,jdbcType=INTEGER}, + #{promotionPrice,jdbcType=DECIMAL}, #{lockStock,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_sku_stock + + + product_id, + + + sku_code, + + + price, + + + stock, + + + low_stock, + + + sp1, + + + sp2, + + + sp3, + + + pic, + + + sale, + + + promotion_price, + + + lock_stock, + + + + + #{productId,jdbcType=BIGINT}, + + + #{skuCode,jdbcType=VARCHAR}, + + + #{price,jdbcType=DECIMAL}, + + + #{stock,jdbcType=INTEGER}, + + + #{lowStock,jdbcType=INTEGER}, + + + #{sp1,jdbcType=VARCHAR}, + + + #{sp2,jdbcType=VARCHAR}, + + + #{sp3,jdbcType=VARCHAR}, + + + #{pic,jdbcType=VARCHAR}, + + + #{sale,jdbcType=INTEGER}, + + + #{promotionPrice,jdbcType=DECIMAL}, + + + #{lockStock,jdbcType=INTEGER}, + + + + + + update pms_sku_stock + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + sku_code = #{record.skuCode,jdbcType=VARCHAR}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + stock = #{record.stock,jdbcType=INTEGER}, + + + low_stock = #{record.lowStock,jdbcType=INTEGER}, + + + sp1 = #{record.sp1,jdbcType=VARCHAR}, + + + sp2 = #{record.sp2,jdbcType=VARCHAR}, + + + sp3 = #{record.sp3,jdbcType=VARCHAR}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + sale = #{record.sale,jdbcType=INTEGER}, + + + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + + + lock_stock = #{record.lockStock,jdbcType=INTEGER}, + + + + + + + + update pms_sku_stock + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + sku_code = #{record.skuCode,jdbcType=VARCHAR}, + price = #{record.price,jdbcType=DECIMAL}, + stock = #{record.stock,jdbcType=INTEGER}, + low_stock = #{record.lowStock,jdbcType=INTEGER}, + sp1 = #{record.sp1,jdbcType=VARCHAR}, + sp2 = #{record.sp2,jdbcType=VARCHAR}, + sp3 = #{record.sp3,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + sale = #{record.sale,jdbcType=INTEGER}, + promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, + lock_stock = #{record.lockStock,jdbcType=INTEGER} + + + + + + update pms_sku_stock + + + product_id = #{productId,jdbcType=BIGINT}, + + + sku_code = #{skuCode,jdbcType=VARCHAR}, + + + price = #{price,jdbcType=DECIMAL}, + + + stock = #{stock,jdbcType=INTEGER}, + + + low_stock = #{lowStock,jdbcType=INTEGER}, + + + sp1 = #{sp1,jdbcType=VARCHAR}, + + + sp2 = #{sp2,jdbcType=VARCHAR}, + + + sp3 = #{sp3,jdbcType=VARCHAR}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + sale = #{sale,jdbcType=INTEGER}, + + + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + + + lock_stock = #{lockStock,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_sku_stock + set product_id = #{productId,jdbcType=BIGINT}, + sku_code = #{skuCode,jdbcType=VARCHAR}, + price = #{price,jdbcType=DECIMAL}, + stock = #{stock,jdbcType=INTEGER}, + low_stock = #{lowStock,jdbcType=INTEGER}, + sp1 = #{sp1,jdbcType=VARCHAR}, + sp2 = #{sp2,jdbcType=VARCHAR}, + sp3 = #{sp3,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + sale = #{sale,jdbcType=INTEGER}, + promotion_price = #{promotionPrice,jdbcType=DECIMAL}, + lock_stock = #{lockStock,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponHistoryMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponHistoryMapper.xml new file mode 100644 index 0000000..b989a37 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponHistoryMapper.xml @@ -0,0 +1,910 @@ + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, coupon_id, member_id, coupon_code, member_nickname, get_type, create_time, use_status, + use_time, order_id, order_sn + + + + + delete from sms_coupon_history + where id = #{id,jdbcType=BIGINT} + + + delete from sms_coupon_history + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_history (coupon_id, member_id, coupon_code, + member_nickname, get_type, create_time, + use_status, use_time, order_id, + order_sn) + values (#{couponId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{couponCode,jdbcType=VARCHAR}, + #{memberNickname,jdbcType=VARCHAR}, #{getType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, + #{useStatus,jdbcType=INTEGER}, #{useTime,jdbcType=TIMESTAMP}, #{orderId,jdbcType=BIGINT}, + #{orderSn,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_history + + + coupon_id, + + + member_id, + + + coupon_code, + + + member_nickname, + + + get_type, + + + create_time, + + + use_status, + + + use_time, + + + order_id, + + + order_sn, + + + + + #{couponId,jdbcType=BIGINT}, + + + #{memberId,jdbcType=BIGINT}, + + + #{couponCode,jdbcType=VARCHAR}, + + + #{memberNickname,jdbcType=VARCHAR}, + + + #{getType,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{useStatus,jdbcType=INTEGER}, + + + #{useTime,jdbcType=TIMESTAMP}, + + + #{orderId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + + + + update sms_coupon_history + + + id = #{record.id,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + coupon_code = #{record.couponCode,jdbcType=VARCHAR}, + + + member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, + + + get_type = #{record.getType,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + use_status = #{record.useStatus,jdbcType=INTEGER}, + + + use_time = #{record.useTime,jdbcType=TIMESTAMP}, + + + order_id = #{record.orderId,jdbcType=BIGINT}, + + + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + + + + + + + + update sms_coupon_history + set id = #{record.id,jdbcType=BIGINT}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + coupon_code = #{record.couponCode,jdbcType=VARCHAR}, + member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, + get_type = #{record.getType,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + use_status = #{record.useStatus,jdbcType=INTEGER}, + use_time = #{record.useTime,jdbcType=TIMESTAMP}, + order_id = #{record.orderId,jdbcType=BIGINT}, + order_sn = #{record.orderSn,jdbcType=VARCHAR} + + + + + + update sms_coupon_history + + + coupon_id = #{couponId,jdbcType=BIGINT}, + + + member_id = #{memberId,jdbcType=BIGINT}, + + + coupon_code = #{couponCode,jdbcType=VARCHAR}, + + + member_nickname = #{memberNickname,jdbcType=VARCHAR}, + + + get_type = #{getType,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + use_status = #{useStatus,jdbcType=INTEGER}, + + + use_time = #{useTime,jdbcType=TIMESTAMP}, + + + order_id = #{orderId,jdbcType=BIGINT}, + + + order_sn = #{orderSn,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon_history + set coupon_id = #{couponId,jdbcType=BIGINT}, + member_id = #{memberId,jdbcType=BIGINT}, + coupon_code = #{couponCode,jdbcType=VARCHAR}, + member_nickname = #{memberNickname,jdbcType=VARCHAR}, + get_type = #{getType,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + use_status = #{useStatus,jdbcType=INTEGER}, + use_time = #{useTime,jdbcType=TIMESTAMP}, + order_id = #{orderId,jdbcType=BIGINT}, + order_sn = #{orderSn,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, coupon_id, member_id, coupon_code, member_nickname, get_type, create_time, use_status, + use_time, order_id, order_sn + + + + + delete from sms_coupon_history + where id = #{id,jdbcType=BIGINT} + + + delete from sms_coupon_history + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_history (coupon_id, member_id, coupon_code, + member_nickname, get_type, create_time, + use_status, use_time, order_id, + order_sn) + values (#{couponId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{couponCode,jdbcType=VARCHAR}, + #{memberNickname,jdbcType=VARCHAR}, #{getType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, + #{useStatus,jdbcType=INTEGER}, #{useTime,jdbcType=TIMESTAMP}, #{orderId,jdbcType=BIGINT}, + #{orderSn,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_history + + + coupon_id, + + + member_id, + + + coupon_code, + + + member_nickname, + + + get_type, + + + create_time, + + + use_status, + + + use_time, + + + order_id, + + + order_sn, + + + + + #{couponId,jdbcType=BIGINT}, + + + #{memberId,jdbcType=BIGINT}, + + + #{couponCode,jdbcType=VARCHAR}, + + + #{memberNickname,jdbcType=VARCHAR}, + + + #{getType,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{useStatus,jdbcType=INTEGER}, + + + #{useTime,jdbcType=TIMESTAMP}, + + + #{orderId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + + + + update sms_coupon_history + + + id = #{record.id,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + coupon_code = #{record.couponCode,jdbcType=VARCHAR}, + + + member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, + + + get_type = #{record.getType,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + use_status = #{record.useStatus,jdbcType=INTEGER}, + + + use_time = #{record.useTime,jdbcType=TIMESTAMP}, + + + order_id = #{record.orderId,jdbcType=BIGINT}, + + + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + + + + + + + + update sms_coupon_history + set id = #{record.id,jdbcType=BIGINT}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + coupon_code = #{record.couponCode,jdbcType=VARCHAR}, + member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, + get_type = #{record.getType,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + use_status = #{record.useStatus,jdbcType=INTEGER}, + use_time = #{record.useTime,jdbcType=TIMESTAMP}, + order_id = #{record.orderId,jdbcType=BIGINT}, + order_sn = #{record.orderSn,jdbcType=VARCHAR} + + + + + + update sms_coupon_history + + + coupon_id = #{couponId,jdbcType=BIGINT}, + + + member_id = #{memberId,jdbcType=BIGINT}, + + + coupon_code = #{couponCode,jdbcType=VARCHAR}, + + + member_nickname = #{memberNickname,jdbcType=VARCHAR}, + + + get_type = #{getType,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + use_status = #{useStatus,jdbcType=INTEGER}, + + + use_time = #{useTime,jdbcType=TIMESTAMP}, + + + order_id = #{orderId,jdbcType=BIGINT}, + + + order_sn = #{orderSn,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon_history + set coupon_id = #{couponId,jdbcType=BIGINT}, + member_id = #{memberId,jdbcType=BIGINT}, + coupon_code = #{couponCode,jdbcType=VARCHAR}, + member_nickname = #{memberNickname,jdbcType=VARCHAR}, + get_type = #{getType,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + use_status = #{useStatus,jdbcType=INTEGER}, + use_time = #{useTime,jdbcType=TIMESTAMP}, + order_id = #{orderId,jdbcType=BIGINT}, + order_sn = #{orderSn,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, coupon_id, member_id, coupon_code, member_nickname, get_type, create_time, use_status, + use_time, order_id, order_sn + + + + + delete from sms_coupon_history + where id = #{id,jdbcType=BIGINT} + + + delete from sms_coupon_history + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_history (coupon_id, member_id, coupon_code, + member_nickname, get_type, create_time, + use_status, use_time, order_id, + order_sn) + values (#{couponId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{couponCode,jdbcType=VARCHAR}, + #{memberNickname,jdbcType=VARCHAR}, #{getType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, + #{useStatus,jdbcType=INTEGER}, #{useTime,jdbcType=TIMESTAMP}, #{orderId,jdbcType=BIGINT}, + #{orderSn,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_history + + + coupon_id, + + + member_id, + + + coupon_code, + + + member_nickname, + + + get_type, + + + create_time, + + + use_status, + + + use_time, + + + order_id, + + + order_sn, + + + + + #{couponId,jdbcType=BIGINT}, + + + #{memberId,jdbcType=BIGINT}, + + + #{couponCode,jdbcType=VARCHAR}, + + + #{memberNickname,jdbcType=VARCHAR}, + + + #{getType,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{useStatus,jdbcType=INTEGER}, + + + #{useTime,jdbcType=TIMESTAMP}, + + + #{orderId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + + + + update sms_coupon_history + + + id = #{record.id,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + coupon_code = #{record.couponCode,jdbcType=VARCHAR}, + + + member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, + + + get_type = #{record.getType,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + use_status = #{record.useStatus,jdbcType=INTEGER}, + + + use_time = #{record.useTime,jdbcType=TIMESTAMP}, + + + order_id = #{record.orderId,jdbcType=BIGINT}, + + + order_sn = #{record.orderSn,jdbcType=VARCHAR}, + + + + + + + + update sms_coupon_history + set id = #{record.id,jdbcType=BIGINT}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + coupon_code = #{record.couponCode,jdbcType=VARCHAR}, + member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, + get_type = #{record.getType,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + use_status = #{record.useStatus,jdbcType=INTEGER}, + use_time = #{record.useTime,jdbcType=TIMESTAMP}, + order_id = #{record.orderId,jdbcType=BIGINT}, + order_sn = #{record.orderSn,jdbcType=VARCHAR} + + + + + + update sms_coupon_history + + + coupon_id = #{couponId,jdbcType=BIGINT}, + + + member_id = #{memberId,jdbcType=BIGINT}, + + + coupon_code = #{couponCode,jdbcType=VARCHAR}, + + + member_nickname = #{memberNickname,jdbcType=VARCHAR}, + + + get_type = #{getType,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + use_status = #{useStatus,jdbcType=INTEGER}, + + + use_time = #{useTime,jdbcType=TIMESTAMP}, + + + order_id = #{orderId,jdbcType=BIGINT}, + + + order_sn = #{orderSn,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon_history + set coupon_id = #{couponId,jdbcType=BIGINT}, + member_id = #{memberId,jdbcType=BIGINT}, + coupon_code = #{couponCode,jdbcType=VARCHAR}, + member_nickname = #{memberNickname,jdbcType=VARCHAR}, + get_type = #{getType,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + use_status = #{useStatus,jdbcType=INTEGER}, + use_time = #{useTime,jdbcType=TIMESTAMP}, + order_id = #{orderId,jdbcType=BIGINT}, + order_sn = #{orderSn,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponMapper.xml new file mode 100644 index 0000000..70dcaba --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponMapper.xml @@ -0,0 +1,1237 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, type, name, platform, count, amount, per_limit, min_point, start_time, end_time, + use_type, note, publish_count, use_count, receive_count, enable_time, code, member_level + + + + + delete from sms_coupon + where id = #{id,jdbcType=BIGINT} + + + delete from sms_coupon + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon (type, name, platform, + count, amount, per_limit, + min_point, start_time, end_time, + use_type, note, publish_count, + use_count, receive_count, enable_time, + code, member_level) + values (#{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{platform,jdbcType=INTEGER}, + #{count,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL}, #{perLimit,jdbcType=INTEGER}, + #{minPoint,jdbcType=DECIMAL}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, + #{useType,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}, #{publishCount,jdbcType=INTEGER}, + #{useCount,jdbcType=INTEGER}, #{receiveCount,jdbcType=INTEGER}, #{enableTime,jdbcType=TIMESTAMP}, + #{code,jdbcType=VARCHAR}, #{memberLevel,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon + + + type, + + + name, + + + platform, + + + count, + + + amount, + + + per_limit, + + + min_point, + + + start_time, + + + end_time, + + + use_type, + + + note, + + + publish_count, + + + use_count, + + + receive_count, + + + enable_time, + + + code, + + + member_level, + + + + + #{type,jdbcType=INTEGER}, + + + #{name,jdbcType=VARCHAR}, + + + #{platform,jdbcType=INTEGER}, + + + #{count,jdbcType=INTEGER}, + + + #{amount,jdbcType=DECIMAL}, + + + #{perLimit,jdbcType=INTEGER}, + + + #{minPoint,jdbcType=DECIMAL}, + + + #{startTime,jdbcType=TIMESTAMP}, + + + #{endTime,jdbcType=TIMESTAMP}, + + + #{useType,jdbcType=INTEGER}, + + + #{note,jdbcType=VARCHAR}, + + + #{publishCount,jdbcType=INTEGER}, + + + #{useCount,jdbcType=INTEGER}, + + + #{receiveCount,jdbcType=INTEGER}, + + + #{enableTime,jdbcType=TIMESTAMP}, + + + #{code,jdbcType=VARCHAR}, + + + #{memberLevel,jdbcType=INTEGER}, + + + + + + update sms_coupon + + + id = #{record.id,jdbcType=BIGINT}, + + + type = #{record.type,jdbcType=INTEGER}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + platform = #{record.platform,jdbcType=INTEGER}, + + + count = #{record.count,jdbcType=INTEGER}, + + + amount = #{record.amount,jdbcType=DECIMAL}, + + + per_limit = #{record.perLimit,jdbcType=INTEGER}, + + + min_point = #{record.minPoint,jdbcType=DECIMAL}, + + + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + + + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + + + use_type = #{record.useType,jdbcType=INTEGER}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + publish_count = #{record.publishCount,jdbcType=INTEGER}, + + + use_count = #{record.useCount,jdbcType=INTEGER}, + + + receive_count = #{record.receiveCount,jdbcType=INTEGER}, + + + enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, + + + code = #{record.code,jdbcType=VARCHAR}, + + + member_level = #{record.memberLevel,jdbcType=INTEGER}, + + + + + + + + update sms_coupon + set id = #{record.id,jdbcType=BIGINT}, + type = #{record.type,jdbcType=INTEGER}, + name = #{record.name,jdbcType=VARCHAR}, + platform = #{record.platform,jdbcType=INTEGER}, + count = #{record.count,jdbcType=INTEGER}, + amount = #{record.amount,jdbcType=DECIMAL}, + per_limit = #{record.perLimit,jdbcType=INTEGER}, + min_point = #{record.minPoint,jdbcType=DECIMAL}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + use_type = #{record.useType,jdbcType=INTEGER}, + note = #{record.note,jdbcType=VARCHAR}, + publish_count = #{record.publishCount,jdbcType=INTEGER}, + use_count = #{record.useCount,jdbcType=INTEGER}, + receive_count = #{record.receiveCount,jdbcType=INTEGER}, + enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, + code = #{record.code,jdbcType=VARCHAR}, + member_level = #{record.memberLevel,jdbcType=INTEGER} + + + + + + update sms_coupon + + + type = #{type,jdbcType=INTEGER}, + + + name = #{name,jdbcType=VARCHAR}, + + + platform = #{platform,jdbcType=INTEGER}, + + + count = #{count,jdbcType=INTEGER}, + + + amount = #{amount,jdbcType=DECIMAL}, + + + per_limit = #{perLimit,jdbcType=INTEGER}, + + + min_point = #{minPoint,jdbcType=DECIMAL}, + + + start_time = #{startTime,jdbcType=TIMESTAMP}, + + + end_time = #{endTime,jdbcType=TIMESTAMP}, + + + use_type = #{useType,jdbcType=INTEGER}, + + + note = #{note,jdbcType=VARCHAR}, + + + publish_count = #{publishCount,jdbcType=INTEGER}, + + + use_count = #{useCount,jdbcType=INTEGER}, + + + receive_count = #{receiveCount,jdbcType=INTEGER}, + + + enable_time = #{enableTime,jdbcType=TIMESTAMP}, + + + code = #{code,jdbcType=VARCHAR}, + + + member_level = #{memberLevel,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon + set type = #{type,jdbcType=INTEGER}, + name = #{name,jdbcType=VARCHAR}, + platform = #{platform,jdbcType=INTEGER}, + count = #{count,jdbcType=INTEGER}, + amount = #{amount,jdbcType=DECIMAL}, + per_limit = #{perLimit,jdbcType=INTEGER}, + min_point = #{minPoint,jdbcType=DECIMAL}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + use_type = #{useType,jdbcType=INTEGER}, + note = #{note,jdbcType=VARCHAR}, + publish_count = #{publishCount,jdbcType=INTEGER}, + use_count = #{useCount,jdbcType=INTEGER}, + receive_count = #{receiveCount,jdbcType=INTEGER}, + enable_time = #{enableTime,jdbcType=TIMESTAMP}, + code = #{code,jdbcType=VARCHAR}, + member_level = #{memberLevel,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, type, name, platform, count, amount, per_limit, min_point, start_time, end_time, + use_type, note, publish_count, use_count, receive_count, enable_time, code, member_level + + + + + delete from sms_coupon + where id = #{id,jdbcType=BIGINT} + + + delete from sms_coupon + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon (type, name, platform, + count, amount, per_limit, + min_point, start_time, end_time, + use_type, note, publish_count, + use_count, receive_count, enable_time, + code, member_level) + values (#{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{platform,jdbcType=INTEGER}, + #{count,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL}, #{perLimit,jdbcType=INTEGER}, + #{minPoint,jdbcType=DECIMAL}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, + #{useType,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}, #{publishCount,jdbcType=INTEGER}, + #{useCount,jdbcType=INTEGER}, #{receiveCount,jdbcType=INTEGER}, #{enableTime,jdbcType=TIMESTAMP}, + #{code,jdbcType=VARCHAR}, #{memberLevel,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon + + + type, + + + name, + + + platform, + + + count, + + + amount, + + + per_limit, + + + min_point, + + + start_time, + + + end_time, + + + use_type, + + + note, + + + publish_count, + + + use_count, + + + receive_count, + + + enable_time, + + + code, + + + member_level, + + + + + #{type,jdbcType=INTEGER}, + + + #{name,jdbcType=VARCHAR}, + + + #{platform,jdbcType=INTEGER}, + + + #{count,jdbcType=INTEGER}, + + + #{amount,jdbcType=DECIMAL}, + + + #{perLimit,jdbcType=INTEGER}, + + + #{minPoint,jdbcType=DECIMAL}, + + + #{startTime,jdbcType=TIMESTAMP}, + + + #{endTime,jdbcType=TIMESTAMP}, + + + #{useType,jdbcType=INTEGER}, + + + #{note,jdbcType=VARCHAR}, + + + #{publishCount,jdbcType=INTEGER}, + + + #{useCount,jdbcType=INTEGER}, + + + #{receiveCount,jdbcType=INTEGER}, + + + #{enableTime,jdbcType=TIMESTAMP}, + + + #{code,jdbcType=VARCHAR}, + + + #{memberLevel,jdbcType=INTEGER}, + + + + + + update sms_coupon + + + id = #{record.id,jdbcType=BIGINT}, + + + type = #{record.type,jdbcType=INTEGER}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + platform = #{record.platform,jdbcType=INTEGER}, + + + count = #{record.count,jdbcType=INTEGER}, + + + amount = #{record.amount,jdbcType=DECIMAL}, + + + per_limit = #{record.perLimit,jdbcType=INTEGER}, + + + min_point = #{record.minPoint,jdbcType=DECIMAL}, + + + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + + + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + + + use_type = #{record.useType,jdbcType=INTEGER}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + publish_count = #{record.publishCount,jdbcType=INTEGER}, + + + use_count = #{record.useCount,jdbcType=INTEGER}, + + + receive_count = #{record.receiveCount,jdbcType=INTEGER}, + + + enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, + + + code = #{record.code,jdbcType=VARCHAR}, + + + member_level = #{record.memberLevel,jdbcType=INTEGER}, + + + + + + + + update sms_coupon + set id = #{record.id,jdbcType=BIGINT}, + type = #{record.type,jdbcType=INTEGER}, + name = #{record.name,jdbcType=VARCHAR}, + platform = #{record.platform,jdbcType=INTEGER}, + count = #{record.count,jdbcType=INTEGER}, + amount = #{record.amount,jdbcType=DECIMAL}, + per_limit = #{record.perLimit,jdbcType=INTEGER}, + min_point = #{record.minPoint,jdbcType=DECIMAL}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + use_type = #{record.useType,jdbcType=INTEGER}, + note = #{record.note,jdbcType=VARCHAR}, + publish_count = #{record.publishCount,jdbcType=INTEGER}, + use_count = #{record.useCount,jdbcType=INTEGER}, + receive_count = #{record.receiveCount,jdbcType=INTEGER}, + enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, + code = #{record.code,jdbcType=VARCHAR}, + member_level = #{record.memberLevel,jdbcType=INTEGER} + + + + + + update sms_coupon + + + type = #{type,jdbcType=INTEGER}, + + + name = #{name,jdbcType=VARCHAR}, + + + platform = #{platform,jdbcType=INTEGER}, + + + count = #{count,jdbcType=INTEGER}, + + + amount = #{amount,jdbcType=DECIMAL}, + + + per_limit = #{perLimit,jdbcType=INTEGER}, + + + min_point = #{minPoint,jdbcType=DECIMAL}, + + + start_time = #{startTime,jdbcType=TIMESTAMP}, + + + end_time = #{endTime,jdbcType=TIMESTAMP}, + + + use_type = #{useType,jdbcType=INTEGER}, + + + note = #{note,jdbcType=VARCHAR}, + + + publish_count = #{publishCount,jdbcType=INTEGER}, + + + use_count = #{useCount,jdbcType=INTEGER}, + + + receive_count = #{receiveCount,jdbcType=INTEGER}, + + + enable_time = #{enableTime,jdbcType=TIMESTAMP}, + + + code = #{code,jdbcType=VARCHAR}, + + + member_level = #{memberLevel,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon + set type = #{type,jdbcType=INTEGER}, + name = #{name,jdbcType=VARCHAR}, + platform = #{platform,jdbcType=INTEGER}, + count = #{count,jdbcType=INTEGER}, + amount = #{amount,jdbcType=DECIMAL}, + per_limit = #{perLimit,jdbcType=INTEGER}, + min_point = #{minPoint,jdbcType=DECIMAL}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + use_type = #{useType,jdbcType=INTEGER}, + note = #{note,jdbcType=VARCHAR}, + publish_count = #{publishCount,jdbcType=INTEGER}, + use_count = #{useCount,jdbcType=INTEGER}, + receive_count = #{receiveCount,jdbcType=INTEGER}, + enable_time = #{enableTime,jdbcType=TIMESTAMP}, + code = #{code,jdbcType=VARCHAR}, + member_level = #{memberLevel,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, type, name, platform, count, amount, per_limit, min_point, start_time, end_time, + use_type, note, publish_count, use_count, receive_count, enable_time, code, member_level + + + + + delete from sms_coupon + where id = #{id,jdbcType=BIGINT} + + + delete from sms_coupon + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon (type, name, platform, + count, amount, per_limit, + min_point, start_time, end_time, + use_type, note, publish_count, + use_count, receive_count, enable_time, + code, member_level) + values (#{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{platform,jdbcType=INTEGER}, + #{count,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL}, #{perLimit,jdbcType=INTEGER}, + #{minPoint,jdbcType=DECIMAL}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, + #{useType,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}, #{publishCount,jdbcType=INTEGER}, + #{useCount,jdbcType=INTEGER}, #{receiveCount,jdbcType=INTEGER}, #{enableTime,jdbcType=TIMESTAMP}, + #{code,jdbcType=VARCHAR}, #{memberLevel,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon + + + type, + + + name, + + + platform, + + + count, + + + amount, + + + per_limit, + + + min_point, + + + start_time, + + + end_time, + + + use_type, + + + note, + + + publish_count, + + + use_count, + + + receive_count, + + + enable_time, + + + code, + + + member_level, + + + + + #{type,jdbcType=INTEGER}, + + + #{name,jdbcType=VARCHAR}, + + + #{platform,jdbcType=INTEGER}, + + + #{count,jdbcType=INTEGER}, + + + #{amount,jdbcType=DECIMAL}, + + + #{perLimit,jdbcType=INTEGER}, + + + #{minPoint,jdbcType=DECIMAL}, + + + #{startTime,jdbcType=TIMESTAMP}, + + + #{endTime,jdbcType=TIMESTAMP}, + + + #{useType,jdbcType=INTEGER}, + + + #{note,jdbcType=VARCHAR}, + + + #{publishCount,jdbcType=INTEGER}, + + + #{useCount,jdbcType=INTEGER}, + + + #{receiveCount,jdbcType=INTEGER}, + + + #{enableTime,jdbcType=TIMESTAMP}, + + + #{code,jdbcType=VARCHAR}, + + + #{memberLevel,jdbcType=INTEGER}, + + + + + + update sms_coupon + + + id = #{record.id,jdbcType=BIGINT}, + + + type = #{record.type,jdbcType=INTEGER}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + platform = #{record.platform,jdbcType=INTEGER}, + + + count = #{record.count,jdbcType=INTEGER}, + + + amount = #{record.amount,jdbcType=DECIMAL}, + + + per_limit = #{record.perLimit,jdbcType=INTEGER}, + + + min_point = #{record.minPoint,jdbcType=DECIMAL}, + + + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + + + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + + + use_type = #{record.useType,jdbcType=INTEGER}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + publish_count = #{record.publishCount,jdbcType=INTEGER}, + + + use_count = #{record.useCount,jdbcType=INTEGER}, + + + receive_count = #{record.receiveCount,jdbcType=INTEGER}, + + + enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, + + + code = #{record.code,jdbcType=VARCHAR}, + + + member_level = #{record.memberLevel,jdbcType=INTEGER}, + + + + + + + + update sms_coupon + set id = #{record.id,jdbcType=BIGINT}, + type = #{record.type,jdbcType=INTEGER}, + name = #{record.name,jdbcType=VARCHAR}, + platform = #{record.platform,jdbcType=INTEGER}, + count = #{record.count,jdbcType=INTEGER}, + amount = #{record.amount,jdbcType=DECIMAL}, + per_limit = #{record.perLimit,jdbcType=INTEGER}, + min_point = #{record.minPoint,jdbcType=DECIMAL}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + use_type = #{record.useType,jdbcType=INTEGER}, + note = #{record.note,jdbcType=VARCHAR}, + publish_count = #{record.publishCount,jdbcType=INTEGER}, + use_count = #{record.useCount,jdbcType=INTEGER}, + receive_count = #{record.receiveCount,jdbcType=INTEGER}, + enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, + code = #{record.code,jdbcType=VARCHAR}, + member_level = #{record.memberLevel,jdbcType=INTEGER} + + + + + + update sms_coupon + + + type = #{type,jdbcType=INTEGER}, + + + name = #{name,jdbcType=VARCHAR}, + + + platform = #{platform,jdbcType=INTEGER}, + + + count = #{count,jdbcType=INTEGER}, + + + amount = #{amount,jdbcType=DECIMAL}, + + + per_limit = #{perLimit,jdbcType=INTEGER}, + + + min_point = #{minPoint,jdbcType=DECIMAL}, + + + start_time = #{startTime,jdbcType=TIMESTAMP}, + + + end_time = #{endTime,jdbcType=TIMESTAMP}, + + + use_type = #{useType,jdbcType=INTEGER}, + + + note = #{note,jdbcType=VARCHAR}, + + + publish_count = #{publishCount,jdbcType=INTEGER}, + + + use_count = #{useCount,jdbcType=INTEGER}, + + + receive_count = #{receiveCount,jdbcType=INTEGER}, + + + enable_time = #{enableTime,jdbcType=TIMESTAMP}, + + + code = #{code,jdbcType=VARCHAR}, + + + member_level = #{memberLevel,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon + set type = #{type,jdbcType=INTEGER}, + name = #{name,jdbcType=VARCHAR}, + platform = #{platform,jdbcType=INTEGER}, + count = #{count,jdbcType=INTEGER}, + amount = #{amount,jdbcType=DECIMAL}, + per_limit = #{perLimit,jdbcType=INTEGER}, + min_point = #{minPoint,jdbcType=DECIMAL}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + use_type = #{useType,jdbcType=INTEGER}, + note = #{note,jdbcType=VARCHAR}, + publish_count = #{publishCount,jdbcType=INTEGER}, + use_count = #{useCount,jdbcType=INTEGER}, + receive_count = #{receiveCount,jdbcType=INTEGER}, + enable_time = #{enableTime,jdbcType=TIMESTAMP}, + code = #{code,jdbcType=VARCHAR}, + member_level = #{memberLevel,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponProductCategoryRelationMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponProductCategoryRelationMapper.xml new file mode 100644 index 0000000..2e67e22 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponProductCategoryRelationMapper.xml @@ -0,0 +1,625 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, coupon_id, product_category_id, product_category_name, parent_category_name + + + + + delete from sms_coupon_product_category_relation + where id = #{id,jdbcType=BIGINT} + + + delete from sms_coupon_product_category_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_category_relation (coupon_id, product_category_id, product_category_name, + parent_category_name) + values (#{couponId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{productCategoryName,jdbcType=VARCHAR}, + #{parentCategoryName,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_category_relation + + + coupon_id, + + + product_category_id, + + + product_category_name, + + + parent_category_name, + + + + + #{couponId,jdbcType=BIGINT}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{productCategoryName,jdbcType=VARCHAR}, + + + #{parentCategoryName,jdbcType=VARCHAR}, + + + + + + update sms_coupon_product_category_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, + + + parent_category_name = #{record.parentCategoryName,jdbcType=VARCHAR}, + + + + + + + + update sms_coupon_product_category_relation + set id = #{record.id,jdbcType=BIGINT}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, + parent_category_name = #{record.parentCategoryName,jdbcType=VARCHAR} + + + + + + update sms_coupon_product_category_relation + + + coupon_id = #{couponId,jdbcType=BIGINT}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + product_category_name = #{productCategoryName,jdbcType=VARCHAR}, + + + parent_category_name = #{parentCategoryName,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon_product_category_relation + set coupon_id = #{couponId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + product_category_name = #{productCategoryName,jdbcType=VARCHAR}, + parent_category_name = #{parentCategoryName,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, coupon_id, product_category_id, product_category_name, parent_category_name + + + + + delete from sms_coupon_product_category_relation + where id = #{id,jdbcType=BIGINT} + + + delete from sms_coupon_product_category_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_category_relation (coupon_id, product_category_id, product_category_name, + parent_category_name) + values (#{couponId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{productCategoryName,jdbcType=VARCHAR}, + #{parentCategoryName,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_category_relation + + + coupon_id, + + + product_category_id, + + + product_category_name, + + + parent_category_name, + + + + + #{couponId,jdbcType=BIGINT}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{productCategoryName,jdbcType=VARCHAR}, + + + #{parentCategoryName,jdbcType=VARCHAR}, + + + + + + update sms_coupon_product_category_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, + + + parent_category_name = #{record.parentCategoryName,jdbcType=VARCHAR}, + + + + + + + + update sms_coupon_product_category_relation + set id = #{record.id,jdbcType=BIGINT}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, + parent_category_name = #{record.parentCategoryName,jdbcType=VARCHAR} + + + + + + update sms_coupon_product_category_relation + + + coupon_id = #{couponId,jdbcType=BIGINT}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + product_category_name = #{productCategoryName,jdbcType=VARCHAR}, + + + parent_category_name = #{parentCategoryName,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon_product_category_relation + set coupon_id = #{couponId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + product_category_name = #{productCategoryName,jdbcType=VARCHAR}, + parent_category_name = #{parentCategoryName,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, coupon_id, product_category_id, product_category_name, parent_category_name + + + + + delete from sms_coupon_product_category_relation + where id = #{id,jdbcType=BIGINT} + + + delete from sms_coupon_product_category_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_category_relation (coupon_id, product_category_id, product_category_name, + parent_category_name) + values (#{couponId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{productCategoryName,jdbcType=VARCHAR}, + #{parentCategoryName,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_category_relation + + + coupon_id, + + + product_category_id, + + + product_category_name, + + + parent_category_name, + + + + + #{couponId,jdbcType=BIGINT}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{productCategoryName,jdbcType=VARCHAR}, + + + #{parentCategoryName,jdbcType=VARCHAR}, + + + + + + update sms_coupon_product_category_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, + + + parent_category_name = #{record.parentCategoryName,jdbcType=VARCHAR}, + + + + + + + + update sms_coupon_product_category_relation + set id = #{record.id,jdbcType=BIGINT}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, + parent_category_name = #{record.parentCategoryName,jdbcType=VARCHAR} + + + + + + update sms_coupon_product_category_relation + + + coupon_id = #{couponId,jdbcType=BIGINT}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + product_category_name = #{productCategoryName,jdbcType=VARCHAR}, + + + parent_category_name = #{parentCategoryName,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon_product_category_relation + set coupon_id = #{couponId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + product_category_name = #{productCategoryName,jdbcType=VARCHAR}, + parent_category_name = #{parentCategoryName,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponProductRelationMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponProductRelationMapper.xml new file mode 100644 index 0000000..e4eb05f --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsCouponProductRelationMapper.xml @@ -0,0 +1,625 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, coupon_id, product_id, product_name, product_sn + + + + + delete from sms_coupon_product_relation + where id = #{id,jdbcType=BIGINT} + + + delete from sms_coupon_product_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_relation (coupon_id, product_id, product_name, + product_sn) + values (#{couponId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, + #{productSn,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_relation + + + coupon_id, + + + product_id, + + + product_name, + + + product_sn, + + + + + #{couponId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productSn,jdbcType=VARCHAR}, + + + + + + update sms_coupon_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + product_sn = #{record.productSn,jdbcType=VARCHAR}, + + + + + + + + update sms_coupon_product_relation + set id = #{record.id,jdbcType=BIGINT}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_name = #{record.productName,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR} + + + + + + update sms_coupon_product_relation + + + coupon_id = #{couponId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_sn = #{productSn,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon_product_relation + set coupon_id = #{couponId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT}, + product_name = #{productName,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, coupon_id, product_id, product_name, product_sn + + + + + delete from sms_coupon_product_relation + where id = #{id,jdbcType=BIGINT} + + + delete from sms_coupon_product_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_relation (coupon_id, product_id, product_name, + product_sn) + values (#{couponId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, + #{productSn,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_relation + + + coupon_id, + + + product_id, + + + product_name, + + + product_sn, + + + + + #{couponId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productSn,jdbcType=VARCHAR}, + + + + + + update sms_coupon_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + product_sn = #{record.productSn,jdbcType=VARCHAR}, + + + + + + + + update sms_coupon_product_relation + set id = #{record.id,jdbcType=BIGINT}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_name = #{record.productName,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR} + + + + + + update sms_coupon_product_relation + + + coupon_id = #{couponId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_sn = #{productSn,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon_product_relation + set coupon_id = #{couponId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT}, + product_name = #{productName,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, coupon_id, product_id, product_name, product_sn + + + + + delete from sms_coupon_product_relation + where id = #{id,jdbcType=BIGINT} + + + delete from sms_coupon_product_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_relation (coupon_id, product_id, product_name, + product_sn) + values (#{couponId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, + #{productSn,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_relation + + + coupon_id, + + + product_id, + + + product_name, + + + product_sn, + + + + + #{couponId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productSn,jdbcType=VARCHAR}, + + + + + + update sms_coupon_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + product_sn = #{record.productSn,jdbcType=VARCHAR}, + + + + + + + + update sms_coupon_product_relation + set id = #{record.id,jdbcType=BIGINT}, + coupon_id = #{record.couponId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_name = #{record.productName,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR} + + + + + + update sms_coupon_product_relation + + + coupon_id = #{couponId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_sn = #{productSn,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon_product_relation + set coupon_id = #{couponId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT}, + product_name = #{productName,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionLogMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionLogMapper.xml new file mode 100644 index 0000000..a915369 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionLogMapper.xml @@ -0,0 +1,721 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, product_id, member_phone, product_name, subscribe_time, send_time + + + + + delete from sms_flash_promotion_log + where id = #{id,jdbcType=INTEGER} + + + delete from sms_flash_promotion_log + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_log (member_id, product_id, member_phone, + product_name, subscribe_time, send_time + ) + values (#{memberId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}, #{memberPhone,jdbcType=VARCHAR}, + #{productName,jdbcType=VARCHAR}, #{subscribeTime,jdbcType=TIMESTAMP}, #{sendTime,jdbcType=TIMESTAMP} + ) + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_log + + + member_id, + + + product_id, + + + member_phone, + + + product_name, + + + subscribe_time, + + + send_time, + + + + + #{memberId,jdbcType=INTEGER}, + + + #{productId,jdbcType=BIGINT}, + + + #{memberPhone,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{subscribeTime,jdbcType=TIMESTAMP}, + + + #{sendTime,jdbcType=TIMESTAMP}, + + + + + + update sms_flash_promotion_log + + + id = #{record.id,jdbcType=INTEGER}, + + + member_id = #{record.memberId,jdbcType=INTEGER}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + member_phone = #{record.memberPhone,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, + + + send_time = #{record.sendTime,jdbcType=TIMESTAMP}, + + + + + + + + update sms_flash_promotion_log + set id = #{record.id,jdbcType=INTEGER}, + member_id = #{record.memberId,jdbcType=INTEGER}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_phone = #{record.memberPhone,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, + send_time = #{record.sendTime,jdbcType=TIMESTAMP} + + + + + + update sms_flash_promotion_log + + + member_id = #{memberId,jdbcType=INTEGER}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + member_phone = #{memberPhone,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, + + + send_time = #{sendTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=INTEGER} + + + update sms_flash_promotion_log + set member_id = #{memberId,jdbcType=INTEGER}, + product_id = #{productId,jdbcType=BIGINT}, + member_phone = #{memberPhone,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, + send_time = #{sendTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=INTEGER} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, product_id, member_phone, product_name, subscribe_time, send_time + + + + + delete from sms_flash_promotion_log + where id = #{id,jdbcType=INTEGER} + + + delete from sms_flash_promotion_log + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_log (member_id, product_id, member_phone, + product_name, subscribe_time, send_time + ) + values (#{memberId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}, #{memberPhone,jdbcType=VARCHAR}, + #{productName,jdbcType=VARCHAR}, #{subscribeTime,jdbcType=TIMESTAMP}, #{sendTime,jdbcType=TIMESTAMP} + ) + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_log + + + member_id, + + + product_id, + + + member_phone, + + + product_name, + + + subscribe_time, + + + send_time, + + + + + #{memberId,jdbcType=INTEGER}, + + + #{productId,jdbcType=BIGINT}, + + + #{memberPhone,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{subscribeTime,jdbcType=TIMESTAMP}, + + + #{sendTime,jdbcType=TIMESTAMP}, + + + + + + update sms_flash_promotion_log + + + id = #{record.id,jdbcType=INTEGER}, + + + member_id = #{record.memberId,jdbcType=INTEGER}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + member_phone = #{record.memberPhone,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, + + + send_time = #{record.sendTime,jdbcType=TIMESTAMP}, + + + + + + + + update sms_flash_promotion_log + set id = #{record.id,jdbcType=INTEGER}, + member_id = #{record.memberId,jdbcType=INTEGER}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_phone = #{record.memberPhone,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, + send_time = #{record.sendTime,jdbcType=TIMESTAMP} + + + + + + update sms_flash_promotion_log + + + member_id = #{memberId,jdbcType=INTEGER}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + member_phone = #{memberPhone,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, + + + send_time = #{sendTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=INTEGER} + + + update sms_flash_promotion_log + set member_id = #{memberId,jdbcType=INTEGER}, + product_id = #{productId,jdbcType=BIGINT}, + member_phone = #{memberPhone,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, + send_time = #{sendTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=INTEGER} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, product_id, member_phone, product_name, subscribe_time, send_time + + + + + delete from sms_flash_promotion_log + where id = #{id,jdbcType=INTEGER} + + + delete from sms_flash_promotion_log + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_log (member_id, product_id, member_phone, + product_name, subscribe_time, send_time + ) + values (#{memberId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}, #{memberPhone,jdbcType=VARCHAR}, + #{productName,jdbcType=VARCHAR}, #{subscribeTime,jdbcType=TIMESTAMP}, #{sendTime,jdbcType=TIMESTAMP} + ) + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_log + + + member_id, + + + product_id, + + + member_phone, + + + product_name, + + + subscribe_time, + + + send_time, + + + + + #{memberId,jdbcType=INTEGER}, + + + #{productId,jdbcType=BIGINT}, + + + #{memberPhone,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{subscribeTime,jdbcType=TIMESTAMP}, + + + #{sendTime,jdbcType=TIMESTAMP}, + + + + + + update sms_flash_promotion_log + + + id = #{record.id,jdbcType=INTEGER}, + + + member_id = #{record.memberId,jdbcType=INTEGER}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + member_phone = #{record.memberPhone,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, + + + send_time = #{record.sendTime,jdbcType=TIMESTAMP}, + + + + + + + + update sms_flash_promotion_log + set id = #{record.id,jdbcType=INTEGER}, + member_id = #{record.memberId,jdbcType=INTEGER}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_phone = #{record.memberPhone,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, + send_time = #{record.sendTime,jdbcType=TIMESTAMP} + + + + + + update sms_flash_promotion_log + + + member_id = #{memberId,jdbcType=INTEGER}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + member_phone = #{memberPhone,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, + + + send_time = #{sendTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=INTEGER} + + + update sms_flash_promotion_log + set member_id = #{memberId,jdbcType=INTEGER}, + product_id = #{productId,jdbcType=BIGINT}, + member_phone = #{memberPhone,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, + send_time = #{sendTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=INTEGER} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionMapper.xml new file mode 100644 index 0000000..0a162bc --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionMapper.xml @@ -0,0 +1,670 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, title, start_date, end_date, status, create_time + + + + + delete from sms_flash_promotion + where id = #{id,jdbcType=BIGINT} + + + delete from sms_flash_promotion + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion (title, start_date, end_date, + status, create_time) + values (#{title,jdbcType=VARCHAR}, #{startDate,jdbcType=DATE}, #{endDate,jdbcType=DATE}, + #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion + + + title, + + + start_date, + + + end_date, + + + status, + + + create_time, + + + + + #{title,jdbcType=VARCHAR}, + + + #{startDate,jdbcType=DATE}, + + + #{endDate,jdbcType=DATE}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + + + + update sms_flash_promotion + + + id = #{record.id,jdbcType=BIGINT}, + + + title = #{record.title,jdbcType=VARCHAR}, + + + start_date = #{record.startDate,jdbcType=DATE}, + + + end_date = #{record.endDate,jdbcType=DATE}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + + + + + + update sms_flash_promotion + set id = #{record.id,jdbcType=BIGINT}, + title = #{record.title,jdbcType=VARCHAR}, + start_date = #{record.startDate,jdbcType=DATE}, + end_date = #{record.endDate,jdbcType=DATE}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update sms_flash_promotion + + + title = #{title,jdbcType=VARCHAR}, + + + start_date = #{startDate,jdbcType=DATE}, + + + end_date = #{endDate,jdbcType=DATE}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_flash_promotion + set title = #{title,jdbcType=VARCHAR}, + start_date = #{startDate,jdbcType=DATE}, + end_date = #{endDate,jdbcType=DATE}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, title, start_date, end_date, status, create_time + + + + + delete from sms_flash_promotion + where id = #{id,jdbcType=BIGINT} + + + delete from sms_flash_promotion + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion (title, start_date, end_date, + status, create_time) + values (#{title,jdbcType=VARCHAR}, #{startDate,jdbcType=DATE}, #{endDate,jdbcType=DATE}, + #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion + + + title, + + + start_date, + + + end_date, + + + status, + + + create_time, + + + + + #{title,jdbcType=VARCHAR}, + + + #{startDate,jdbcType=DATE}, + + + #{endDate,jdbcType=DATE}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + + + + update sms_flash_promotion + + + id = #{record.id,jdbcType=BIGINT}, + + + title = #{record.title,jdbcType=VARCHAR}, + + + start_date = #{record.startDate,jdbcType=DATE}, + + + end_date = #{record.endDate,jdbcType=DATE}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + + + + + + update sms_flash_promotion + set id = #{record.id,jdbcType=BIGINT}, + title = #{record.title,jdbcType=VARCHAR}, + start_date = #{record.startDate,jdbcType=DATE}, + end_date = #{record.endDate,jdbcType=DATE}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update sms_flash_promotion + + + title = #{title,jdbcType=VARCHAR}, + + + start_date = #{startDate,jdbcType=DATE}, + + + end_date = #{endDate,jdbcType=DATE}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_flash_promotion + set title = #{title,jdbcType=VARCHAR}, + start_date = #{startDate,jdbcType=DATE}, + end_date = #{endDate,jdbcType=DATE}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, title, start_date, end_date, status, create_time + + + + + delete from sms_flash_promotion + where id = #{id,jdbcType=BIGINT} + + + delete from sms_flash_promotion + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion (title, start_date, end_date, + status, create_time) + values (#{title,jdbcType=VARCHAR}, #{startDate,jdbcType=DATE}, #{endDate,jdbcType=DATE}, + #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion + + + title, + + + start_date, + + + end_date, + + + status, + + + create_time, + + + + + #{title,jdbcType=VARCHAR}, + + + #{startDate,jdbcType=DATE}, + + + #{endDate,jdbcType=DATE}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + + + + update sms_flash_promotion + + + id = #{record.id,jdbcType=BIGINT}, + + + title = #{record.title,jdbcType=VARCHAR}, + + + start_date = #{record.startDate,jdbcType=DATE}, + + + end_date = #{record.endDate,jdbcType=DATE}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + + + + + + update sms_flash_promotion + set id = #{record.id,jdbcType=BIGINT}, + title = #{record.title,jdbcType=VARCHAR}, + start_date = #{record.startDate,jdbcType=DATE}, + end_date = #{record.endDate,jdbcType=DATE}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update sms_flash_promotion + + + title = #{title,jdbcType=VARCHAR}, + + + start_date = #{startDate,jdbcType=DATE}, + + + end_date = #{endDate,jdbcType=DATE}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_flash_promotion + set title = #{title,jdbcType=VARCHAR}, + start_date = #{startDate,jdbcType=DATE}, + end_date = #{endDate,jdbcType=DATE}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionProductRelationMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionProductRelationMapper.xml new file mode 100644 index 0000000..e4dce4c --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionProductRelationMapper.xml @@ -0,0 +1,769 @@ + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, flash_promotion_id, flash_promotion_session_id, product_id, flash_promotion_price, + flash_promotion_count, flash_promotion_limit, sort + + + + + delete from sms_flash_promotion_product_relation + where id = #{id,jdbcType=BIGINT} + + + delete from sms_flash_promotion_product_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_product_relation (flash_promotion_id, flash_promotion_session_id, + product_id, flash_promotion_price, flash_promotion_count, + flash_promotion_limit, sort) + values (#{flashPromotionId,jdbcType=BIGINT}, #{flashPromotionSessionId,jdbcType=BIGINT}, + #{productId,jdbcType=BIGINT}, #{flashPromotionPrice,jdbcType=DECIMAL}, #{flashPromotionCount,jdbcType=INTEGER}, + #{flashPromotionLimit,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_product_relation + + + flash_promotion_id, + + + flash_promotion_session_id, + + + product_id, + + + flash_promotion_price, + + + flash_promotion_count, + + + flash_promotion_limit, + + + sort, + + + + + #{flashPromotionId,jdbcType=BIGINT}, + + + #{flashPromotionSessionId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + #{flashPromotionPrice,jdbcType=DECIMAL}, + + + #{flashPromotionCount,jdbcType=INTEGER}, + + + #{flashPromotionLimit,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_flash_promotion_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + flash_promotion_id = #{record.flashPromotionId,jdbcType=BIGINT}, + + + flash_promotion_session_id = #{record.flashPromotionSessionId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, + + + flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, + + + flash_promotion_limit = #{record.flashPromotionLimit,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_flash_promotion_product_relation + set id = #{record.id,jdbcType=BIGINT}, + flash_promotion_id = #{record.flashPromotionId,jdbcType=BIGINT}, + flash_promotion_session_id = #{record.flashPromotionSessionId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, + flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, + flash_promotion_limit = #{record.flashPromotionLimit,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_flash_promotion_product_relation + + + flash_promotion_id = #{flashPromotionId,jdbcType=BIGINT}, + + + flash_promotion_session_id = #{flashPromotionSessionId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, + + + flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, + + + flash_promotion_limit = #{flashPromotionLimit,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_flash_promotion_product_relation + set flash_promotion_id = #{flashPromotionId,jdbcType=BIGINT}, + flash_promotion_session_id = #{flashPromotionSessionId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT}, + flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, + flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, + flash_promotion_limit = #{flashPromotionLimit,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, flash_promotion_id, flash_promotion_session_id, product_id, flash_promotion_price, + flash_promotion_count, flash_promotion_limit, sort + + + + + delete from sms_flash_promotion_product_relation + where id = #{id,jdbcType=BIGINT} + + + delete from sms_flash_promotion_product_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_product_relation (flash_promotion_id, flash_promotion_session_id, + product_id, flash_promotion_price, flash_promotion_count, + flash_promotion_limit, sort) + values (#{flashPromotionId,jdbcType=BIGINT}, #{flashPromotionSessionId,jdbcType=BIGINT}, + #{productId,jdbcType=BIGINT}, #{flashPromotionPrice,jdbcType=DECIMAL}, #{flashPromotionCount,jdbcType=INTEGER}, + #{flashPromotionLimit,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_product_relation + + + flash_promotion_id, + + + flash_promotion_session_id, + + + product_id, + + + flash_promotion_price, + + + flash_promotion_count, + + + flash_promotion_limit, + + + sort, + + + + + #{flashPromotionId,jdbcType=BIGINT}, + + + #{flashPromotionSessionId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + #{flashPromotionPrice,jdbcType=DECIMAL}, + + + #{flashPromotionCount,jdbcType=INTEGER}, + + + #{flashPromotionLimit,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_flash_promotion_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + flash_promotion_id = #{record.flashPromotionId,jdbcType=BIGINT}, + + + flash_promotion_session_id = #{record.flashPromotionSessionId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, + + + flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, + + + flash_promotion_limit = #{record.flashPromotionLimit,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_flash_promotion_product_relation + set id = #{record.id,jdbcType=BIGINT}, + flash_promotion_id = #{record.flashPromotionId,jdbcType=BIGINT}, + flash_promotion_session_id = #{record.flashPromotionSessionId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, + flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, + flash_promotion_limit = #{record.flashPromotionLimit,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_flash_promotion_product_relation + + + flash_promotion_id = #{flashPromotionId,jdbcType=BIGINT}, + + + flash_promotion_session_id = #{flashPromotionSessionId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, + + + flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, + + + flash_promotion_limit = #{flashPromotionLimit,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_flash_promotion_product_relation + set flash_promotion_id = #{flashPromotionId,jdbcType=BIGINT}, + flash_promotion_session_id = #{flashPromotionSessionId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT}, + flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, + flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, + flash_promotion_limit = #{flashPromotionLimit,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, flash_promotion_id, flash_promotion_session_id, product_id, flash_promotion_price, + flash_promotion_count, flash_promotion_limit, sort + + + + + delete from sms_flash_promotion_product_relation + where id = #{id,jdbcType=BIGINT} + + + delete from sms_flash_promotion_product_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_product_relation (flash_promotion_id, flash_promotion_session_id, + product_id, flash_promotion_price, flash_promotion_count, + flash_promotion_limit, sort) + values (#{flashPromotionId,jdbcType=BIGINT}, #{flashPromotionSessionId,jdbcType=BIGINT}, + #{productId,jdbcType=BIGINT}, #{flashPromotionPrice,jdbcType=DECIMAL}, #{flashPromotionCount,jdbcType=INTEGER}, + #{flashPromotionLimit,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_product_relation + + + flash_promotion_id, + + + flash_promotion_session_id, + + + product_id, + + + flash_promotion_price, + + + flash_promotion_count, + + + flash_promotion_limit, + + + sort, + + + + + #{flashPromotionId,jdbcType=BIGINT}, + + + #{flashPromotionSessionId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + #{flashPromotionPrice,jdbcType=DECIMAL}, + + + #{flashPromotionCount,jdbcType=INTEGER}, + + + #{flashPromotionLimit,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_flash_promotion_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + flash_promotion_id = #{record.flashPromotionId,jdbcType=BIGINT}, + + + flash_promotion_session_id = #{record.flashPromotionSessionId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, + + + flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, + + + flash_promotion_limit = #{record.flashPromotionLimit,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_flash_promotion_product_relation + set id = #{record.id,jdbcType=BIGINT}, + flash_promotion_id = #{record.flashPromotionId,jdbcType=BIGINT}, + flash_promotion_session_id = #{record.flashPromotionSessionId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, + flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, + flash_promotion_limit = #{record.flashPromotionLimit,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_flash_promotion_product_relation + + + flash_promotion_id = #{flashPromotionId,jdbcType=BIGINT}, + + + flash_promotion_session_id = #{flashPromotionSessionId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, + + + flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, + + + flash_promotion_limit = #{flashPromotionLimit,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_flash_promotion_product_relation + set flash_promotion_id = #{flashPromotionId,jdbcType=BIGINT}, + flash_promotion_session_id = #{flashPromotionSessionId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT}, + flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, + flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, + flash_promotion_limit = #{flashPromotionLimit,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionSessionMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionSessionMapper.xml new file mode 100644 index 0000000..ee681df --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsFlashPromotionSessionMapper.xml @@ -0,0 +1,670 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, start_time, end_time, status, create_time + + + + + delete from sms_flash_promotion_session + where id = #{id,jdbcType=BIGINT} + + + delete from sms_flash_promotion_session + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_session (name, start_time, end_time, + status, create_time) + values (#{name,jdbcType=VARCHAR}, #{startTime,jdbcType=TIME}, #{endTime,jdbcType=TIME}, + #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_session + + + name, + + + start_time, + + + end_time, + + + status, + + + create_time, + + + + + #{name,jdbcType=VARCHAR}, + + + #{startTime,jdbcType=TIME}, + + + #{endTime,jdbcType=TIME}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + + + + update sms_flash_promotion_session + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + start_time = #{record.startTime,jdbcType=TIME}, + + + end_time = #{record.endTime,jdbcType=TIME}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + + + + + + update sms_flash_promotion_session + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + start_time = #{record.startTime,jdbcType=TIME}, + end_time = #{record.endTime,jdbcType=TIME}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update sms_flash_promotion_session + + + name = #{name,jdbcType=VARCHAR}, + + + start_time = #{startTime,jdbcType=TIME}, + + + end_time = #{endTime,jdbcType=TIME}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_flash_promotion_session + set name = #{name,jdbcType=VARCHAR}, + start_time = #{startTime,jdbcType=TIME}, + end_time = #{endTime,jdbcType=TIME}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, start_time, end_time, status, create_time + + + + + delete from sms_flash_promotion_session + where id = #{id,jdbcType=BIGINT} + + + delete from sms_flash_promotion_session + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_session (name, start_time, end_time, + status, create_time) + values (#{name,jdbcType=VARCHAR}, #{startTime,jdbcType=TIME}, #{endTime,jdbcType=TIME}, + #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_session + + + name, + + + start_time, + + + end_time, + + + status, + + + create_time, + + + + + #{name,jdbcType=VARCHAR}, + + + #{startTime,jdbcType=TIME}, + + + #{endTime,jdbcType=TIME}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + + + + update sms_flash_promotion_session + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + start_time = #{record.startTime,jdbcType=TIME}, + + + end_time = #{record.endTime,jdbcType=TIME}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + + + + + + update sms_flash_promotion_session + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + start_time = #{record.startTime,jdbcType=TIME}, + end_time = #{record.endTime,jdbcType=TIME}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update sms_flash_promotion_session + + + name = #{name,jdbcType=VARCHAR}, + + + start_time = #{startTime,jdbcType=TIME}, + + + end_time = #{endTime,jdbcType=TIME}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_flash_promotion_session + set name = #{name,jdbcType=VARCHAR}, + start_time = #{startTime,jdbcType=TIME}, + end_time = #{endTime,jdbcType=TIME}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, start_time, end_time, status, create_time + + + + + delete from sms_flash_promotion_session + where id = #{id,jdbcType=BIGINT} + + + delete from sms_flash_promotion_session + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_session (name, start_time, end_time, + status, create_time) + values (#{name,jdbcType=VARCHAR}, #{startTime,jdbcType=TIME}, #{endTime,jdbcType=TIME}, + #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion_session + + + name, + + + start_time, + + + end_time, + + + status, + + + create_time, + + + + + #{name,jdbcType=VARCHAR}, + + + #{startTime,jdbcType=TIME}, + + + #{endTime,jdbcType=TIME}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + + + + update sms_flash_promotion_session + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + start_time = #{record.startTime,jdbcType=TIME}, + + + end_time = #{record.endTime,jdbcType=TIME}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + + + + + + update sms_flash_promotion_session + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + start_time = #{record.startTime,jdbcType=TIME}, + end_time = #{record.endTime,jdbcType=TIME}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update sms_flash_promotion_session + + + name = #{name,jdbcType=VARCHAR}, + + + start_time = #{startTime,jdbcType=TIME}, + + + end_time = #{endTime,jdbcType=TIME}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_flash_promotion_session + set name = #{name,jdbcType=VARCHAR}, + start_time = #{startTime,jdbcType=TIME}, + end_time = #{endTime,jdbcType=TIME}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeAdvertiseMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeAdvertiseMapper.xml new file mode 100644 index 0000000..989c5b8 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeAdvertiseMapper.xml @@ -0,0 +1,955 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, type, pic, start_time, end_time, status, click_count, order_count, url, + note, sort + + + + + delete from sms_home_advertise + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_advertise + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_advertise (name, type, pic, + start_time, end_time, status, + click_count, order_count, url, + note, sort) + values (#{name,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{pic,jdbcType=VARCHAR}, + #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, + #{clickCount,jdbcType=INTEGER}, #{orderCount,jdbcType=INTEGER}, #{url,jdbcType=VARCHAR}, + #{note,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_advertise + + + name, + + + type, + + + pic, + + + start_time, + + + end_time, + + + status, + + + click_count, + + + order_count, + + + url, + + + note, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{type,jdbcType=INTEGER}, + + + #{pic,jdbcType=VARCHAR}, + + + #{startTime,jdbcType=TIMESTAMP}, + + + #{endTime,jdbcType=TIMESTAMP}, + + + #{status,jdbcType=INTEGER}, + + + #{clickCount,jdbcType=INTEGER}, + + + #{orderCount,jdbcType=INTEGER}, + + + #{url,jdbcType=VARCHAR}, + + + #{note,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_advertise + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + type = #{record.type,jdbcType=INTEGER}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + + + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + + + status = #{record.status,jdbcType=INTEGER}, + + + click_count = #{record.clickCount,jdbcType=INTEGER}, + + + order_count = #{record.orderCount,jdbcType=INTEGER}, + + + url = #{record.url,jdbcType=VARCHAR}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_advertise + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + type = #{record.type,jdbcType=INTEGER}, + pic = #{record.pic,jdbcType=VARCHAR}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + status = #{record.status,jdbcType=INTEGER}, + click_count = #{record.clickCount,jdbcType=INTEGER}, + order_count = #{record.orderCount,jdbcType=INTEGER}, + url = #{record.url,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_advertise + + + name = #{name,jdbcType=VARCHAR}, + + + type = #{type,jdbcType=INTEGER}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + start_time = #{startTime,jdbcType=TIMESTAMP}, + + + end_time = #{endTime,jdbcType=TIMESTAMP}, + + + status = #{status,jdbcType=INTEGER}, + + + click_count = #{clickCount,jdbcType=INTEGER}, + + + order_count = #{orderCount,jdbcType=INTEGER}, + + + url = #{url,jdbcType=VARCHAR}, + + + note = #{note,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_advertise + set name = #{name,jdbcType=VARCHAR}, + type = #{type,jdbcType=INTEGER}, + pic = #{pic,jdbcType=VARCHAR}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + status = #{status,jdbcType=INTEGER}, + click_count = #{clickCount,jdbcType=INTEGER}, + order_count = #{orderCount,jdbcType=INTEGER}, + url = #{url,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, type, pic, start_time, end_time, status, click_count, order_count, url, + note, sort + + + + + delete from sms_home_advertise + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_advertise + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_advertise (name, type, pic, + start_time, end_time, status, + click_count, order_count, url, + note, sort) + values (#{name,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{pic,jdbcType=VARCHAR}, + #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, + #{clickCount,jdbcType=INTEGER}, #{orderCount,jdbcType=INTEGER}, #{url,jdbcType=VARCHAR}, + #{note,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_advertise + + + name, + + + type, + + + pic, + + + start_time, + + + end_time, + + + status, + + + click_count, + + + order_count, + + + url, + + + note, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{type,jdbcType=INTEGER}, + + + #{pic,jdbcType=VARCHAR}, + + + #{startTime,jdbcType=TIMESTAMP}, + + + #{endTime,jdbcType=TIMESTAMP}, + + + #{status,jdbcType=INTEGER}, + + + #{clickCount,jdbcType=INTEGER}, + + + #{orderCount,jdbcType=INTEGER}, + + + #{url,jdbcType=VARCHAR}, + + + #{note,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_advertise + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + type = #{record.type,jdbcType=INTEGER}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + + + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + + + status = #{record.status,jdbcType=INTEGER}, + + + click_count = #{record.clickCount,jdbcType=INTEGER}, + + + order_count = #{record.orderCount,jdbcType=INTEGER}, + + + url = #{record.url,jdbcType=VARCHAR}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_advertise + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + type = #{record.type,jdbcType=INTEGER}, + pic = #{record.pic,jdbcType=VARCHAR}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + status = #{record.status,jdbcType=INTEGER}, + click_count = #{record.clickCount,jdbcType=INTEGER}, + order_count = #{record.orderCount,jdbcType=INTEGER}, + url = #{record.url,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_advertise + + + name = #{name,jdbcType=VARCHAR}, + + + type = #{type,jdbcType=INTEGER}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + start_time = #{startTime,jdbcType=TIMESTAMP}, + + + end_time = #{endTime,jdbcType=TIMESTAMP}, + + + status = #{status,jdbcType=INTEGER}, + + + click_count = #{clickCount,jdbcType=INTEGER}, + + + order_count = #{orderCount,jdbcType=INTEGER}, + + + url = #{url,jdbcType=VARCHAR}, + + + note = #{note,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_advertise + set name = #{name,jdbcType=VARCHAR}, + type = #{type,jdbcType=INTEGER}, + pic = #{pic,jdbcType=VARCHAR}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + status = #{status,jdbcType=INTEGER}, + click_count = #{clickCount,jdbcType=INTEGER}, + order_count = #{orderCount,jdbcType=INTEGER}, + url = #{url,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, type, pic, start_time, end_time, status, click_count, order_count, url, + note, sort + + + + + delete from sms_home_advertise + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_advertise + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_advertise (name, type, pic, + start_time, end_time, status, + click_count, order_count, url, + note, sort) + values (#{name,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{pic,jdbcType=VARCHAR}, + #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, + #{clickCount,jdbcType=INTEGER}, #{orderCount,jdbcType=INTEGER}, #{url,jdbcType=VARCHAR}, + #{note,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_advertise + + + name, + + + type, + + + pic, + + + start_time, + + + end_time, + + + status, + + + click_count, + + + order_count, + + + url, + + + note, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{type,jdbcType=INTEGER}, + + + #{pic,jdbcType=VARCHAR}, + + + #{startTime,jdbcType=TIMESTAMP}, + + + #{endTime,jdbcType=TIMESTAMP}, + + + #{status,jdbcType=INTEGER}, + + + #{clickCount,jdbcType=INTEGER}, + + + #{orderCount,jdbcType=INTEGER}, + + + #{url,jdbcType=VARCHAR}, + + + #{note,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_advertise + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + type = #{record.type,jdbcType=INTEGER}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + + + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + + + status = #{record.status,jdbcType=INTEGER}, + + + click_count = #{record.clickCount,jdbcType=INTEGER}, + + + order_count = #{record.orderCount,jdbcType=INTEGER}, + + + url = #{record.url,jdbcType=VARCHAR}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_advertise + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + type = #{record.type,jdbcType=INTEGER}, + pic = #{record.pic,jdbcType=VARCHAR}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + status = #{record.status,jdbcType=INTEGER}, + click_count = #{record.clickCount,jdbcType=INTEGER}, + order_count = #{record.orderCount,jdbcType=INTEGER}, + url = #{record.url,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_advertise + + + name = #{name,jdbcType=VARCHAR}, + + + type = #{type,jdbcType=INTEGER}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + start_time = #{startTime,jdbcType=TIMESTAMP}, + + + end_time = #{endTime,jdbcType=TIMESTAMP}, + + + status = #{status,jdbcType=INTEGER}, + + + click_count = #{clickCount,jdbcType=INTEGER}, + + + order_count = #{orderCount,jdbcType=INTEGER}, + + + url = #{url,jdbcType=VARCHAR}, + + + note = #{note,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_advertise + set name = #{name,jdbcType=VARCHAR}, + type = #{type,jdbcType=INTEGER}, + pic = #{pic,jdbcType=VARCHAR}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + status = #{status,jdbcType=INTEGER}, + click_count = #{clickCount,jdbcType=INTEGER}, + order_count = #{orderCount,jdbcType=INTEGER}, + url = #{url,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeBrandMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeBrandMapper.xml new file mode 100644 index 0000000..534a341 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeBrandMapper.xml @@ -0,0 +1,625 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, brand_id, brand_name, recommend_status, sort + + + + + delete from sms_home_brand + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_brand + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_brand (brand_id, brand_name, recommend_status, + sort) + values (#{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_brand + + + brand_id, + + + brand_name, + + + recommend_status, + + + sort, + + + + + #{brandId,jdbcType=BIGINT}, + + + #{brandName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_brand + + + id = #{record.id,jdbcType=BIGINT}, + + + brand_id = #{record.brandId,jdbcType=BIGINT}, + + + brand_name = #{record.brandName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_brand + set id = #{record.id,jdbcType=BIGINT}, + brand_id = #{record.brandId,jdbcType=BIGINT}, + brand_name = #{record.brandName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_brand + + + brand_id = #{brandId,jdbcType=BIGINT}, + + + brand_name = #{brandName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_brand + set brand_id = #{brandId,jdbcType=BIGINT}, + brand_name = #{brandName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, brand_id, brand_name, recommend_status, sort + + + + + delete from sms_home_brand + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_brand + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_brand (brand_id, brand_name, recommend_status, + sort) + values (#{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_brand + + + brand_id, + + + brand_name, + + + recommend_status, + + + sort, + + + + + #{brandId,jdbcType=BIGINT}, + + + #{brandName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_brand + + + id = #{record.id,jdbcType=BIGINT}, + + + brand_id = #{record.brandId,jdbcType=BIGINT}, + + + brand_name = #{record.brandName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_brand + set id = #{record.id,jdbcType=BIGINT}, + brand_id = #{record.brandId,jdbcType=BIGINT}, + brand_name = #{record.brandName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_brand + + + brand_id = #{brandId,jdbcType=BIGINT}, + + + brand_name = #{brandName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_brand + set brand_id = #{brandId,jdbcType=BIGINT}, + brand_name = #{brandName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, brand_id, brand_name, recommend_status, sort + + + + + delete from sms_home_brand + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_brand + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_brand (brand_id, brand_name, recommend_status, + sort) + values (#{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_brand + + + brand_id, + + + brand_name, + + + recommend_status, + + + sort, + + + + + #{brandId,jdbcType=BIGINT}, + + + #{brandName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_brand + + + id = #{record.id,jdbcType=BIGINT}, + + + brand_id = #{record.brandId,jdbcType=BIGINT}, + + + brand_name = #{record.brandName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_brand + set id = #{record.id,jdbcType=BIGINT}, + brand_id = #{record.brandId,jdbcType=BIGINT}, + brand_name = #{record.brandName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_brand + + + brand_id = #{brandId,jdbcType=BIGINT}, + + + brand_name = #{brandName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_brand + set brand_id = #{brandId,jdbcType=BIGINT}, + brand_name = #{brandName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeNewProductMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeNewProductMapper.xml new file mode 100644 index 0000000..14ab7c0 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeNewProductMapper.xml @@ -0,0 +1,625 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, product_name, recommend_status, sort + + + + + delete from sms_home_new_product + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_new_product + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_new_product (product_id, product_name, recommend_status, + sort) + values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_new_product + + + product_id, + + + product_name, + + + recommend_status, + + + sort, + + + + + #{productId,jdbcType=BIGINT}, + + + #{productName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_new_product + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_new_product + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_name = #{record.productName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_new_product + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_new_product + set product_id = #{productId,jdbcType=BIGINT}, + product_name = #{productName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, product_name, recommend_status, sort + + + + + delete from sms_home_new_product + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_new_product + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_new_product (product_id, product_name, recommend_status, + sort) + values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_new_product + + + product_id, + + + product_name, + + + recommend_status, + + + sort, + + + + + #{productId,jdbcType=BIGINT}, + + + #{productName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_new_product + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_new_product + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_name = #{record.productName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_new_product + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_new_product + set product_id = #{productId,jdbcType=BIGINT}, + product_name = #{productName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, product_name, recommend_status, sort + + + + + delete from sms_home_new_product + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_new_product + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_new_product (product_id, product_name, recommend_status, + sort) + values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_new_product + + + product_id, + + + product_name, + + + recommend_status, + + + sort, + + + + + #{productId,jdbcType=BIGINT}, + + + #{productName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_new_product + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_new_product + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_name = #{record.productName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_new_product + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_new_product + set product_id = #{productId,jdbcType=BIGINT}, + product_name = #{productName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeRecommendProductMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeRecommendProductMapper.xml new file mode 100644 index 0000000..09fef68 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeRecommendProductMapper.xml @@ -0,0 +1,625 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, product_name, recommend_status, sort + + + + + delete from sms_home_recommend_product + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_recommend_product + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_product (product_id, product_name, recommend_status, + sort) + values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_product + + + product_id, + + + product_name, + + + recommend_status, + + + sort, + + + + + #{productId,jdbcType=BIGINT}, + + + #{productName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_recommend_product + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_recommend_product + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_name = #{record.productName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_recommend_product + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_recommend_product + set product_id = #{productId,jdbcType=BIGINT}, + product_name = #{productName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, product_name, recommend_status, sort + + + + + delete from sms_home_recommend_product + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_recommend_product + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_product (product_id, product_name, recommend_status, + sort) + values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_product + + + product_id, + + + product_name, + + + recommend_status, + + + sort, + + + + + #{productId,jdbcType=BIGINT}, + + + #{productName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_recommend_product + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_recommend_product + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_name = #{record.productName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_recommend_product + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_recommend_product + set product_id = #{productId,jdbcType=BIGINT}, + product_name = #{productName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, product_name, recommend_status, sort + + + + + delete from sms_home_recommend_product + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_recommend_product + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_product (product_id, product_name, recommend_status, + sort) + values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_product + + + product_id, + + + product_name, + + + recommend_status, + + + sort, + + + + + #{productId,jdbcType=BIGINT}, + + + #{productName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_recommend_product + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_recommend_product + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_name = #{record.productName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_recommend_product + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_recommend_product + set product_id = #{productId,jdbcType=BIGINT}, + product_name = #{productName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeRecommendSubjectMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeRecommendSubjectMapper.xml new file mode 100644 index 0000000..29e2870 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/SmsHomeRecommendSubjectMapper.xml @@ -0,0 +1,625 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, subject_id, subject_name, recommend_status, sort + + + + + delete from sms_home_recommend_subject + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_recommend_subject + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_subject (subject_id, subject_name, recommend_status, + sort) + values (#{subjectId,jdbcType=BIGINT}, #{subjectName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_subject + + + subject_id, + + + subject_name, + + + recommend_status, + + + sort, + + + + + #{subjectId,jdbcType=BIGINT}, + + + #{subjectName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_recommend_subject + + + id = #{record.id,jdbcType=BIGINT}, + + + subject_id = #{record.subjectId,jdbcType=BIGINT}, + + + subject_name = #{record.subjectName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_recommend_subject + set id = #{record.id,jdbcType=BIGINT}, + subject_id = #{record.subjectId,jdbcType=BIGINT}, + subject_name = #{record.subjectName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_recommend_subject + + + subject_id = #{subjectId,jdbcType=BIGINT}, + + + subject_name = #{subjectName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_recommend_subject + set subject_id = #{subjectId,jdbcType=BIGINT}, + subject_name = #{subjectName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, subject_id, subject_name, recommend_status, sort + + + + + delete from sms_home_recommend_subject + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_recommend_subject + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_subject (subject_id, subject_name, recommend_status, + sort) + values (#{subjectId,jdbcType=BIGINT}, #{subjectName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_subject + + + subject_id, + + + subject_name, + + + recommend_status, + + + sort, + + + + + #{subjectId,jdbcType=BIGINT}, + + + #{subjectName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_recommend_subject + + + id = #{record.id,jdbcType=BIGINT}, + + + subject_id = #{record.subjectId,jdbcType=BIGINT}, + + + subject_name = #{record.subjectName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_recommend_subject + set id = #{record.id,jdbcType=BIGINT}, + subject_id = #{record.subjectId,jdbcType=BIGINT}, + subject_name = #{record.subjectName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_recommend_subject + + + subject_id = #{subjectId,jdbcType=BIGINT}, + + + subject_name = #{subjectName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_recommend_subject + set subject_id = #{subjectId,jdbcType=BIGINT}, + subject_name = #{subjectName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, subject_id, subject_name, recommend_status, sort + + + + + delete from sms_home_recommend_subject + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_recommend_subject + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_subject (subject_id, subject_name, recommend_status, + sort) + values (#{subjectId,jdbcType=BIGINT}, #{subjectName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, + #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_subject + + + subject_id, + + + subject_name, + + + recommend_status, + + + sort, + + + + + #{subjectId,jdbcType=BIGINT}, + + + #{subjectName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_recommend_subject + + + id = #{record.id,jdbcType=BIGINT}, + + + subject_id = #{record.subjectId,jdbcType=BIGINT}, + + + subject_name = #{record.subjectName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_recommend_subject + set id = #{record.id,jdbcType=BIGINT}, + subject_id = #{record.subjectId,jdbcType=BIGINT}, + subject_name = #{record.subjectName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_recommend_subject + + + subject_id = #{subjectId,jdbcType=BIGINT}, + + + subject_name = #{subjectName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_recommend_subject + set subject_id = #{subjectId,jdbcType=BIGINT}, + subject_name = #{subjectName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminLoginLogMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminLoginLogMapper.xml new file mode 100644 index 0000000..61248bc --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminLoginLogMapper.xml @@ -0,0 +1,670 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, admin_id, create_time, ip, address, user_agent + + + + + delete from ums_admin_login_log + where id = #{id,jdbcType=BIGINT} + + + delete from ums_admin_login_log + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_login_log (admin_id, create_time, ip, + address, user_agent) + values (#{adminId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, + #{address,jdbcType=VARCHAR}, #{userAgent,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_login_log + + + admin_id, + + + create_time, + + + ip, + + + address, + + + user_agent, + + + + + #{adminId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{ip,jdbcType=VARCHAR}, + + + #{address,jdbcType=VARCHAR}, + + + #{userAgent,jdbcType=VARCHAR}, + + + + + + update ums_admin_login_log + + + id = #{record.id,jdbcType=BIGINT}, + + + admin_id = #{record.adminId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + ip = #{record.ip,jdbcType=VARCHAR}, + + + address = #{record.address,jdbcType=VARCHAR}, + + + user_agent = #{record.userAgent,jdbcType=VARCHAR}, + + + + + + + + update ums_admin_login_log + set id = #{record.id,jdbcType=BIGINT}, + admin_id = #{record.adminId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + ip = #{record.ip,jdbcType=VARCHAR}, + address = #{record.address,jdbcType=VARCHAR}, + user_agent = #{record.userAgent,jdbcType=VARCHAR} + + + + + + update ums_admin_login_log + + + admin_id = #{adminId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + ip = #{ip,jdbcType=VARCHAR}, + + + address = #{address,jdbcType=VARCHAR}, + + + user_agent = #{userAgent,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_admin_login_log + set admin_id = #{adminId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + ip = #{ip,jdbcType=VARCHAR}, + address = #{address,jdbcType=VARCHAR}, + user_agent = #{userAgent,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, admin_id, create_time, ip, address, user_agent + + + + + delete from ums_admin_login_log + where id = #{id,jdbcType=BIGINT} + + + delete from ums_admin_login_log + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_login_log (admin_id, create_time, ip, + address, user_agent) + values (#{adminId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, + #{address,jdbcType=VARCHAR}, #{userAgent,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_login_log + + + admin_id, + + + create_time, + + + ip, + + + address, + + + user_agent, + + + + + #{adminId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{ip,jdbcType=VARCHAR}, + + + #{address,jdbcType=VARCHAR}, + + + #{userAgent,jdbcType=VARCHAR}, + + + + + + update ums_admin_login_log + + + id = #{record.id,jdbcType=BIGINT}, + + + admin_id = #{record.adminId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + ip = #{record.ip,jdbcType=VARCHAR}, + + + address = #{record.address,jdbcType=VARCHAR}, + + + user_agent = #{record.userAgent,jdbcType=VARCHAR}, + + + + + + + + update ums_admin_login_log + set id = #{record.id,jdbcType=BIGINT}, + admin_id = #{record.adminId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + ip = #{record.ip,jdbcType=VARCHAR}, + address = #{record.address,jdbcType=VARCHAR}, + user_agent = #{record.userAgent,jdbcType=VARCHAR} + + + + + + update ums_admin_login_log + + + admin_id = #{adminId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + ip = #{ip,jdbcType=VARCHAR}, + + + address = #{address,jdbcType=VARCHAR}, + + + user_agent = #{userAgent,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_admin_login_log + set admin_id = #{adminId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + ip = #{ip,jdbcType=VARCHAR}, + address = #{address,jdbcType=VARCHAR}, + user_agent = #{userAgent,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, admin_id, create_time, ip, address, user_agent + + + + + delete from ums_admin_login_log + where id = #{id,jdbcType=BIGINT} + + + delete from ums_admin_login_log + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_login_log (admin_id, create_time, ip, + address, user_agent) + values (#{adminId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, + #{address,jdbcType=VARCHAR}, #{userAgent,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_login_log + + + admin_id, + + + create_time, + + + ip, + + + address, + + + user_agent, + + + + + #{adminId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{ip,jdbcType=VARCHAR}, + + + #{address,jdbcType=VARCHAR}, + + + #{userAgent,jdbcType=VARCHAR}, + + + + + + update ums_admin_login_log + + + id = #{record.id,jdbcType=BIGINT}, + + + admin_id = #{record.adminId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + ip = #{record.ip,jdbcType=VARCHAR}, + + + address = #{record.address,jdbcType=VARCHAR}, + + + user_agent = #{record.userAgent,jdbcType=VARCHAR}, + + + + + + + + update ums_admin_login_log + set id = #{record.id,jdbcType=BIGINT}, + admin_id = #{record.adminId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + ip = #{record.ip,jdbcType=VARCHAR}, + address = #{record.address,jdbcType=VARCHAR}, + user_agent = #{record.userAgent,jdbcType=VARCHAR} + + + + + + update ums_admin_login_log + + + admin_id = #{adminId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + ip = #{ip,jdbcType=VARCHAR}, + + + address = #{address,jdbcType=VARCHAR}, + + + user_agent = #{userAgent,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_admin_login_log + set admin_id = #{adminId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + ip = #{ip,jdbcType=VARCHAR}, + address = #{address,jdbcType=VARCHAR}, + user_agent = #{userAgent,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminMapper.xml new file mode 100644 index 0000000..3194db1 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminMapper.xml @@ -0,0 +1,862 @@ + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, username, password, icon, email, nick_name, note, create_time, login_time, status + + + + + delete from ums_admin + where id = #{id,jdbcType=BIGINT} + + + delete from ums_admin + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin (username, password, icon, + email, nick_name, note, + create_time, login_time, status + ) + values (#{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, + #{email,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, + #{createTime,jdbcType=TIMESTAMP}, #{loginTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin + + + username, + + + password, + + + icon, + + + email, + + + nick_name, + + + note, + + + create_time, + + + login_time, + + + status, + + + + + #{username,jdbcType=VARCHAR}, + + + #{password,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{email,jdbcType=VARCHAR}, + + + #{nickName,jdbcType=VARCHAR}, + + + #{note,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{loginTime,jdbcType=TIMESTAMP}, + + + #{status,jdbcType=INTEGER}, + + + + + + update ums_admin + + + id = #{record.id,jdbcType=BIGINT}, + + + username = #{record.username,jdbcType=VARCHAR}, + + + password = #{record.password,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + email = #{record.email,jdbcType=VARCHAR}, + + + nick_name = #{record.nickName,jdbcType=VARCHAR}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + login_time = #{record.loginTime,jdbcType=TIMESTAMP}, + + + status = #{record.status,jdbcType=INTEGER}, + + + + + + + + update ums_admin + set id = #{record.id,jdbcType=BIGINT}, + username = #{record.username,jdbcType=VARCHAR}, + password = #{record.password,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + email = #{record.email,jdbcType=VARCHAR}, + nick_name = #{record.nickName,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + login_time = #{record.loginTime,jdbcType=TIMESTAMP}, + status = #{record.status,jdbcType=INTEGER} + + + + + + update ums_admin + + + username = #{username,jdbcType=VARCHAR}, + + + password = #{password,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + email = #{email,jdbcType=VARCHAR}, + + + nick_name = #{nickName,jdbcType=VARCHAR}, + + + note = #{note,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + login_time = #{loginTime,jdbcType=TIMESTAMP}, + + + status = #{status,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_admin + set username = #{username,jdbcType=VARCHAR}, + password = #{password,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + email = #{email,jdbcType=VARCHAR}, + nick_name = #{nickName,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + login_time = #{loginTime,jdbcType=TIMESTAMP}, + status = #{status,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, username, password, icon, email, nick_name, note, create_time, login_time, status + + + + + delete from ums_admin + where id = #{id,jdbcType=BIGINT} + + + delete from ums_admin + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin (username, password, icon, + email, nick_name, note, + create_time, login_time, status + ) + values (#{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, + #{email,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, + #{createTime,jdbcType=TIMESTAMP}, #{loginTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin + + + username, + + + password, + + + icon, + + + email, + + + nick_name, + + + note, + + + create_time, + + + login_time, + + + status, + + + + + #{username,jdbcType=VARCHAR}, + + + #{password,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{email,jdbcType=VARCHAR}, + + + #{nickName,jdbcType=VARCHAR}, + + + #{note,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{loginTime,jdbcType=TIMESTAMP}, + + + #{status,jdbcType=INTEGER}, + + + + + + update ums_admin + + + id = #{record.id,jdbcType=BIGINT}, + + + username = #{record.username,jdbcType=VARCHAR}, + + + password = #{record.password,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + email = #{record.email,jdbcType=VARCHAR}, + + + nick_name = #{record.nickName,jdbcType=VARCHAR}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + login_time = #{record.loginTime,jdbcType=TIMESTAMP}, + + + status = #{record.status,jdbcType=INTEGER}, + + + + + + + + update ums_admin + set id = #{record.id,jdbcType=BIGINT}, + username = #{record.username,jdbcType=VARCHAR}, + password = #{record.password,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + email = #{record.email,jdbcType=VARCHAR}, + nick_name = #{record.nickName,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + login_time = #{record.loginTime,jdbcType=TIMESTAMP}, + status = #{record.status,jdbcType=INTEGER} + + + + + + update ums_admin + + + username = #{username,jdbcType=VARCHAR}, + + + password = #{password,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + email = #{email,jdbcType=VARCHAR}, + + + nick_name = #{nickName,jdbcType=VARCHAR}, + + + note = #{note,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + login_time = #{loginTime,jdbcType=TIMESTAMP}, + + + status = #{status,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_admin + set username = #{username,jdbcType=VARCHAR}, + password = #{password,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + email = #{email,jdbcType=VARCHAR}, + nick_name = #{nickName,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + login_time = #{loginTime,jdbcType=TIMESTAMP}, + status = #{status,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, username, password, icon, email, nick_name, note, create_time, login_time, status + + + + + delete from ums_admin + where id = #{id,jdbcType=BIGINT} + + + delete from ums_admin + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin (username, password, icon, + email, nick_name, note, + create_time, login_time, status + ) + values (#{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, + #{email,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, + #{createTime,jdbcType=TIMESTAMP}, #{loginTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin + + + username, + + + password, + + + icon, + + + email, + + + nick_name, + + + note, + + + create_time, + + + login_time, + + + status, + + + + + #{username,jdbcType=VARCHAR}, + + + #{password,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{email,jdbcType=VARCHAR}, + + + #{nickName,jdbcType=VARCHAR}, + + + #{note,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{loginTime,jdbcType=TIMESTAMP}, + + + #{status,jdbcType=INTEGER}, + + + + + + update ums_admin + + + id = #{record.id,jdbcType=BIGINT}, + + + username = #{record.username,jdbcType=VARCHAR}, + + + password = #{record.password,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + email = #{record.email,jdbcType=VARCHAR}, + + + nick_name = #{record.nickName,jdbcType=VARCHAR}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + login_time = #{record.loginTime,jdbcType=TIMESTAMP}, + + + status = #{record.status,jdbcType=INTEGER}, + + + + + + + + update ums_admin + set id = #{record.id,jdbcType=BIGINT}, + username = #{record.username,jdbcType=VARCHAR}, + password = #{record.password,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + email = #{record.email,jdbcType=VARCHAR}, + nick_name = #{record.nickName,jdbcType=VARCHAR}, + note = #{record.note,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + login_time = #{record.loginTime,jdbcType=TIMESTAMP}, + status = #{record.status,jdbcType=INTEGER} + + + + + + update ums_admin + + + username = #{username,jdbcType=VARCHAR}, + + + password = #{password,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + email = #{email,jdbcType=VARCHAR}, + + + nick_name = #{nickName,jdbcType=VARCHAR}, + + + note = #{note,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + login_time = #{loginTime,jdbcType=TIMESTAMP}, + + + status = #{status,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_admin + set username = #{username,jdbcType=VARCHAR}, + password = #{password,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + email = #{email,jdbcType=VARCHAR}, + nick_name = #{nickName,jdbcType=VARCHAR}, + note = #{note,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + login_time = #{loginTime,jdbcType=TIMESTAMP}, + status = #{status,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminPermissionRelationMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminPermissionRelationMapper.xml new file mode 100644 index 0000000..4fd5fef --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminPermissionRelationMapper.xml @@ -0,0 +1,580 @@ + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, admin_id, permission_id, type + + + + + delete from ums_admin_permission_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_admin_permission_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_permission_relation (admin_id, permission_id, type + ) + values (#{adminId,jdbcType=BIGINT}, #{permissionId,jdbcType=BIGINT}, #{type,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_permission_relation + + + admin_id, + + + permission_id, + + + type, + + + + + #{adminId,jdbcType=BIGINT}, + + + #{permissionId,jdbcType=BIGINT}, + + + #{type,jdbcType=INTEGER}, + + + + + + update ums_admin_permission_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + admin_id = #{record.adminId,jdbcType=BIGINT}, + + + permission_id = #{record.permissionId,jdbcType=BIGINT}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update ums_admin_permission_relation + set id = #{record.id,jdbcType=BIGINT}, + admin_id = #{record.adminId,jdbcType=BIGINT}, + permission_id = #{record.permissionId,jdbcType=BIGINT}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update ums_admin_permission_relation + + + admin_id = #{adminId,jdbcType=BIGINT}, + + + permission_id = #{permissionId,jdbcType=BIGINT}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_admin_permission_relation + set admin_id = #{adminId,jdbcType=BIGINT}, + permission_id = #{permissionId,jdbcType=BIGINT}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, admin_id, permission_id, type + + + + + delete from ums_admin_permission_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_admin_permission_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_permission_relation (admin_id, permission_id, type + ) + values (#{adminId,jdbcType=BIGINT}, #{permissionId,jdbcType=BIGINT}, #{type,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_permission_relation + + + admin_id, + + + permission_id, + + + type, + + + + + #{adminId,jdbcType=BIGINT}, + + + #{permissionId,jdbcType=BIGINT}, + + + #{type,jdbcType=INTEGER}, + + + + + + update ums_admin_permission_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + admin_id = #{record.adminId,jdbcType=BIGINT}, + + + permission_id = #{record.permissionId,jdbcType=BIGINT}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update ums_admin_permission_relation + set id = #{record.id,jdbcType=BIGINT}, + admin_id = #{record.adminId,jdbcType=BIGINT}, + permission_id = #{record.permissionId,jdbcType=BIGINT}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update ums_admin_permission_relation + + + admin_id = #{adminId,jdbcType=BIGINT}, + + + permission_id = #{permissionId,jdbcType=BIGINT}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_admin_permission_relation + set admin_id = #{adminId,jdbcType=BIGINT}, + permission_id = #{permissionId,jdbcType=BIGINT}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, admin_id, permission_id, type + + + + + delete from ums_admin_permission_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_admin_permission_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_permission_relation (admin_id, permission_id, type + ) + values (#{adminId,jdbcType=BIGINT}, #{permissionId,jdbcType=BIGINT}, #{type,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_permission_relation + + + admin_id, + + + permission_id, + + + type, + + + + + #{adminId,jdbcType=BIGINT}, + + + #{permissionId,jdbcType=BIGINT}, + + + #{type,jdbcType=INTEGER}, + + + + + + update ums_admin_permission_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + admin_id = #{record.adminId,jdbcType=BIGINT}, + + + permission_id = #{record.permissionId,jdbcType=BIGINT}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update ums_admin_permission_relation + set id = #{record.id,jdbcType=BIGINT}, + admin_id = #{record.adminId,jdbcType=BIGINT}, + permission_id = #{record.permissionId,jdbcType=BIGINT}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update ums_admin_permission_relation + + + admin_id = #{adminId,jdbcType=BIGINT}, + + + permission_id = #{permissionId,jdbcType=BIGINT}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_admin_permission_relation + set admin_id = #{adminId,jdbcType=BIGINT}, + permission_id = #{permissionId,jdbcType=BIGINT}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminRoleRelationMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminRoleRelationMapper.xml new file mode 100644 index 0000000..69ca460 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsAdminRoleRelationMapper.xml @@ -0,0 +1,529 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, admin_id, role_id + + + + + delete from ums_admin_role_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_admin_role_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_role_relation (admin_id, role_id) + values (#{adminId,jdbcType=BIGINT}, #{roleId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_role_relation + + + admin_id, + + + role_id, + + + + + #{adminId,jdbcType=BIGINT}, + + + #{roleId,jdbcType=BIGINT}, + + + + + + update ums_admin_role_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + admin_id = #{record.adminId,jdbcType=BIGINT}, + + + role_id = #{record.roleId,jdbcType=BIGINT}, + + + + + + + + update ums_admin_role_relation + set id = #{record.id,jdbcType=BIGINT}, + admin_id = #{record.adminId,jdbcType=BIGINT}, + role_id = #{record.roleId,jdbcType=BIGINT} + + + + + + update ums_admin_role_relation + + + admin_id = #{adminId,jdbcType=BIGINT}, + + + role_id = #{roleId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_admin_role_relation + set admin_id = #{adminId,jdbcType=BIGINT}, + role_id = #{roleId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, admin_id, role_id + + + + + delete from ums_admin_role_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_admin_role_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_role_relation (admin_id, role_id) + values (#{adminId,jdbcType=BIGINT}, #{roleId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_role_relation + + + admin_id, + + + role_id, + + + + + #{adminId,jdbcType=BIGINT}, + + + #{roleId,jdbcType=BIGINT}, + + + + + + update ums_admin_role_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + admin_id = #{record.adminId,jdbcType=BIGINT}, + + + role_id = #{record.roleId,jdbcType=BIGINT}, + + + + + + + + update ums_admin_role_relation + set id = #{record.id,jdbcType=BIGINT}, + admin_id = #{record.adminId,jdbcType=BIGINT}, + role_id = #{record.roleId,jdbcType=BIGINT} + + + + + + update ums_admin_role_relation + + + admin_id = #{adminId,jdbcType=BIGINT}, + + + role_id = #{roleId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_admin_role_relation + set admin_id = #{adminId,jdbcType=BIGINT}, + role_id = #{roleId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, admin_id, role_id + + + + + delete from ums_admin_role_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_admin_role_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_role_relation (admin_id, role_id) + values (#{adminId,jdbcType=BIGINT}, #{roleId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin_role_relation + + + admin_id, + + + role_id, + + + + + #{adminId,jdbcType=BIGINT}, + + + #{roleId,jdbcType=BIGINT}, + + + + + + update ums_admin_role_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + admin_id = #{record.adminId,jdbcType=BIGINT}, + + + role_id = #{record.roleId,jdbcType=BIGINT}, + + + + + + + + update ums_admin_role_relation + set id = #{record.id,jdbcType=BIGINT}, + admin_id = #{record.adminId,jdbcType=BIGINT}, + role_id = #{record.roleId,jdbcType=BIGINT} + + + + + + update ums_admin_role_relation + + + admin_id = #{adminId,jdbcType=BIGINT}, + + + role_id = #{roleId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_admin_role_relation + set admin_id = #{adminId,jdbcType=BIGINT}, + role_id = #{roleId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsGrowthChangeHistoryMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsGrowthChangeHistoryMapper.xml new file mode 100644 index 0000000..06de00e --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsGrowthChangeHistoryMapper.xml @@ -0,0 +1,769 @@ + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, create_time, change_type, change_count, operate_man, operate_note, + source_type + + + + + delete from ums_growth_change_history + where id = #{id,jdbcType=BIGINT} + + + delete from ums_growth_change_history + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_growth_change_history (member_id, create_time, change_type, + change_count, operate_man, operate_note, + source_type) + values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, + #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, + #{sourceType,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_growth_change_history + + + member_id, + + + create_time, + + + change_type, + + + change_count, + + + operate_man, + + + operate_note, + + + source_type, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{changeType,jdbcType=INTEGER}, + + + #{changeCount,jdbcType=INTEGER}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{operateNote,jdbcType=VARCHAR}, + + + #{sourceType,jdbcType=INTEGER}, + + + + + + update ums_growth_change_history + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + change_type = #{record.changeType,jdbcType=INTEGER}, + + + change_count = #{record.changeCount,jdbcType=INTEGER}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + + + + + + update ums_growth_change_history + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + change_type = #{record.changeType,jdbcType=INTEGER}, + change_count = #{record.changeCount,jdbcType=INTEGER}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + source_type = #{record.sourceType,jdbcType=INTEGER} + + + + + + update ums_growth_change_history + + + member_id = #{memberId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + change_type = #{changeType,jdbcType=INTEGER}, + + + change_count = #{changeCount,jdbcType=INTEGER}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + operate_note = #{operateNote,jdbcType=VARCHAR}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_growth_change_history + set member_id = #{memberId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + change_type = #{changeType,jdbcType=INTEGER}, + change_count = #{changeCount,jdbcType=INTEGER}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + operate_note = #{operateNote,jdbcType=VARCHAR}, + source_type = #{sourceType,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, create_time, change_type, change_count, operate_man, operate_note, + source_type + + + + + delete from ums_growth_change_history + where id = #{id,jdbcType=BIGINT} + + + delete from ums_growth_change_history + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_growth_change_history (member_id, create_time, change_type, + change_count, operate_man, operate_note, + source_type) + values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, + #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, + #{sourceType,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_growth_change_history + + + member_id, + + + create_time, + + + change_type, + + + change_count, + + + operate_man, + + + operate_note, + + + source_type, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{changeType,jdbcType=INTEGER}, + + + #{changeCount,jdbcType=INTEGER}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{operateNote,jdbcType=VARCHAR}, + + + #{sourceType,jdbcType=INTEGER}, + + + + + + update ums_growth_change_history + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + change_type = #{record.changeType,jdbcType=INTEGER}, + + + change_count = #{record.changeCount,jdbcType=INTEGER}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + + + + + + update ums_growth_change_history + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + change_type = #{record.changeType,jdbcType=INTEGER}, + change_count = #{record.changeCount,jdbcType=INTEGER}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + source_type = #{record.sourceType,jdbcType=INTEGER} + + + + + + update ums_growth_change_history + + + member_id = #{memberId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + change_type = #{changeType,jdbcType=INTEGER}, + + + change_count = #{changeCount,jdbcType=INTEGER}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + operate_note = #{operateNote,jdbcType=VARCHAR}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_growth_change_history + set member_id = #{memberId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + change_type = #{changeType,jdbcType=INTEGER}, + change_count = #{changeCount,jdbcType=INTEGER}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + operate_note = #{operateNote,jdbcType=VARCHAR}, + source_type = #{sourceType,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, create_time, change_type, change_count, operate_man, operate_note, + source_type + + + + + delete from ums_growth_change_history + where id = #{id,jdbcType=BIGINT} + + + delete from ums_growth_change_history + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_growth_change_history (member_id, create_time, change_type, + change_count, operate_man, operate_note, + source_type) + values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, + #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, + #{sourceType,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_growth_change_history + + + member_id, + + + create_time, + + + change_type, + + + change_count, + + + operate_man, + + + operate_note, + + + source_type, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{changeType,jdbcType=INTEGER}, + + + #{changeCount,jdbcType=INTEGER}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{operateNote,jdbcType=VARCHAR}, + + + #{sourceType,jdbcType=INTEGER}, + + + + + + update ums_growth_change_history + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + change_type = #{record.changeType,jdbcType=INTEGER}, + + + change_count = #{record.changeCount,jdbcType=INTEGER}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + + + + + + update ums_growth_change_history + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + change_type = #{record.changeType,jdbcType=INTEGER}, + change_count = #{record.changeCount,jdbcType=INTEGER}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + source_type = #{record.sourceType,jdbcType=INTEGER} + + + + + + update ums_growth_change_history + + + member_id = #{memberId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + change_type = #{changeType,jdbcType=INTEGER}, + + + change_count = #{changeCount,jdbcType=INTEGER}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + operate_note = #{operateNote,jdbcType=VARCHAR}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_growth_change_history + set member_id = #{memberId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + change_type = #{changeType,jdbcType=INTEGER}, + change_count = #{changeCount,jdbcType=INTEGER}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + operate_note = #{operateNote,jdbcType=VARCHAR}, + source_type = #{sourceType,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsIntegrationChangeHistoryMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsIntegrationChangeHistoryMapper.xml new file mode 100644 index 0000000..2049950 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsIntegrationChangeHistoryMapper.xml @@ -0,0 +1,769 @@ + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, create_time, change_type, change_count, operate_man, operate_note, + source_type + + + + + delete from ums_integration_change_history + where id = #{id,jdbcType=BIGINT} + + + delete from ums_integration_change_history + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_integration_change_history (member_id, create_time, change_type, + change_count, operate_man, operate_note, + source_type) + values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, + #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, + #{sourceType,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_integration_change_history + + + member_id, + + + create_time, + + + change_type, + + + change_count, + + + operate_man, + + + operate_note, + + + source_type, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{changeType,jdbcType=INTEGER}, + + + #{changeCount,jdbcType=INTEGER}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{operateNote,jdbcType=VARCHAR}, + + + #{sourceType,jdbcType=INTEGER}, + + + + + + update ums_integration_change_history + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + change_type = #{record.changeType,jdbcType=INTEGER}, + + + change_count = #{record.changeCount,jdbcType=INTEGER}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + + + + + + update ums_integration_change_history + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + change_type = #{record.changeType,jdbcType=INTEGER}, + change_count = #{record.changeCount,jdbcType=INTEGER}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + source_type = #{record.sourceType,jdbcType=INTEGER} + + + + + + update ums_integration_change_history + + + member_id = #{memberId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + change_type = #{changeType,jdbcType=INTEGER}, + + + change_count = #{changeCount,jdbcType=INTEGER}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + operate_note = #{operateNote,jdbcType=VARCHAR}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_integration_change_history + set member_id = #{memberId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + change_type = #{changeType,jdbcType=INTEGER}, + change_count = #{changeCount,jdbcType=INTEGER}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + operate_note = #{operateNote,jdbcType=VARCHAR}, + source_type = #{sourceType,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, create_time, change_type, change_count, operate_man, operate_note, + source_type + + + + + delete from ums_integration_change_history + where id = #{id,jdbcType=BIGINT} + + + delete from ums_integration_change_history + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_integration_change_history (member_id, create_time, change_type, + change_count, operate_man, operate_note, + source_type) + values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, + #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, + #{sourceType,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_integration_change_history + + + member_id, + + + create_time, + + + change_type, + + + change_count, + + + operate_man, + + + operate_note, + + + source_type, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{changeType,jdbcType=INTEGER}, + + + #{changeCount,jdbcType=INTEGER}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{operateNote,jdbcType=VARCHAR}, + + + #{sourceType,jdbcType=INTEGER}, + + + + + + update ums_integration_change_history + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + change_type = #{record.changeType,jdbcType=INTEGER}, + + + change_count = #{record.changeCount,jdbcType=INTEGER}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + + + + + + update ums_integration_change_history + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + change_type = #{record.changeType,jdbcType=INTEGER}, + change_count = #{record.changeCount,jdbcType=INTEGER}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + source_type = #{record.sourceType,jdbcType=INTEGER} + + + + + + update ums_integration_change_history + + + member_id = #{memberId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + change_type = #{changeType,jdbcType=INTEGER}, + + + change_count = #{changeCount,jdbcType=INTEGER}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + operate_note = #{operateNote,jdbcType=VARCHAR}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_integration_change_history + set member_id = #{memberId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + change_type = #{changeType,jdbcType=INTEGER}, + change_count = #{changeCount,jdbcType=INTEGER}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + operate_note = #{operateNote,jdbcType=VARCHAR}, + source_type = #{sourceType,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, create_time, change_type, change_count, operate_man, operate_note, + source_type + + + + + delete from ums_integration_change_history + where id = #{id,jdbcType=BIGINT} + + + delete from ums_integration_change_history + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_integration_change_history (member_id, create_time, change_type, + change_count, operate_man, operate_note, + source_type) + values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, + #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, + #{sourceType,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_integration_change_history + + + member_id, + + + create_time, + + + change_type, + + + change_count, + + + operate_man, + + + operate_note, + + + source_type, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{changeType,jdbcType=INTEGER}, + + + #{changeCount,jdbcType=INTEGER}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{operateNote,jdbcType=VARCHAR}, + + + #{sourceType,jdbcType=INTEGER}, + + + + + + update ums_integration_change_history + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + change_type = #{record.changeType,jdbcType=INTEGER}, + + + change_count = #{record.changeCount,jdbcType=INTEGER}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + + + + + + update ums_integration_change_history + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + change_type = #{record.changeType,jdbcType=INTEGER}, + change_count = #{record.changeCount,jdbcType=INTEGER}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + source_type = #{record.sourceType,jdbcType=INTEGER} + + + + + + update ums_integration_change_history + + + member_id = #{memberId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + change_type = #{changeType,jdbcType=INTEGER}, + + + change_count = #{changeCount,jdbcType=INTEGER}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + operate_note = #{operateNote,jdbcType=VARCHAR}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_integration_change_history + set member_id = #{memberId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + change_type = #{changeType,jdbcType=INTEGER}, + change_count = #{changeCount,jdbcType=INTEGER}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + operate_note = #{operateNote,jdbcType=VARCHAR}, + source_type = #{sourceType,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsIntegrationConsumeSettingMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsIntegrationConsumeSettingMapper.xml new file mode 100644 index 0000000..c4b85bc --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsIntegrationConsumeSettingMapper.xml @@ -0,0 +1,625 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, deduction_per_amount, max_percent_per_order, use_unit, coupon_status + + + + + delete from ums_integration_consume_setting + where id = #{id,jdbcType=BIGINT} + + + delete from ums_integration_consume_setting + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_integration_consume_setting (deduction_per_amount, max_percent_per_order, + use_unit, coupon_status) + values (#{deductionPerAmount,jdbcType=INTEGER}, #{maxPercentPerOrder,jdbcType=INTEGER}, + #{useUnit,jdbcType=INTEGER}, #{couponStatus,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_integration_consume_setting + + + deduction_per_amount, + + + max_percent_per_order, + + + use_unit, + + + coupon_status, + + + + + #{deductionPerAmount,jdbcType=INTEGER}, + + + #{maxPercentPerOrder,jdbcType=INTEGER}, + + + #{useUnit,jdbcType=INTEGER}, + + + #{couponStatus,jdbcType=INTEGER}, + + + + + + update ums_integration_consume_setting + + + id = #{record.id,jdbcType=BIGINT}, + + + deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, + + + max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, + + + use_unit = #{record.useUnit,jdbcType=INTEGER}, + + + coupon_status = #{record.couponStatus,jdbcType=INTEGER}, + + + + + + + + update ums_integration_consume_setting + set id = #{record.id,jdbcType=BIGINT}, + deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, + max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, + use_unit = #{record.useUnit,jdbcType=INTEGER}, + coupon_status = #{record.couponStatus,jdbcType=INTEGER} + + + + + + update ums_integration_consume_setting + + + deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, + + + max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, + + + use_unit = #{useUnit,jdbcType=INTEGER}, + + + coupon_status = #{couponStatus,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_integration_consume_setting + set deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, + max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, + use_unit = #{useUnit,jdbcType=INTEGER}, + coupon_status = #{couponStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, deduction_per_amount, max_percent_per_order, use_unit, coupon_status + + + + + delete from ums_integration_consume_setting + where id = #{id,jdbcType=BIGINT} + + + delete from ums_integration_consume_setting + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_integration_consume_setting (deduction_per_amount, max_percent_per_order, + use_unit, coupon_status) + values (#{deductionPerAmount,jdbcType=INTEGER}, #{maxPercentPerOrder,jdbcType=INTEGER}, + #{useUnit,jdbcType=INTEGER}, #{couponStatus,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_integration_consume_setting + + + deduction_per_amount, + + + max_percent_per_order, + + + use_unit, + + + coupon_status, + + + + + #{deductionPerAmount,jdbcType=INTEGER}, + + + #{maxPercentPerOrder,jdbcType=INTEGER}, + + + #{useUnit,jdbcType=INTEGER}, + + + #{couponStatus,jdbcType=INTEGER}, + + + + + + update ums_integration_consume_setting + + + id = #{record.id,jdbcType=BIGINT}, + + + deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, + + + max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, + + + use_unit = #{record.useUnit,jdbcType=INTEGER}, + + + coupon_status = #{record.couponStatus,jdbcType=INTEGER}, + + + + + + + + update ums_integration_consume_setting + set id = #{record.id,jdbcType=BIGINT}, + deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, + max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, + use_unit = #{record.useUnit,jdbcType=INTEGER}, + coupon_status = #{record.couponStatus,jdbcType=INTEGER} + + + + + + update ums_integration_consume_setting + + + deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, + + + max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, + + + use_unit = #{useUnit,jdbcType=INTEGER}, + + + coupon_status = #{couponStatus,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_integration_consume_setting + set deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, + max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, + use_unit = #{useUnit,jdbcType=INTEGER}, + coupon_status = #{couponStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, deduction_per_amount, max_percent_per_order, use_unit, coupon_status + + + + + delete from ums_integration_consume_setting + where id = #{id,jdbcType=BIGINT} + + + delete from ums_integration_consume_setting + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_integration_consume_setting (deduction_per_amount, max_percent_per_order, + use_unit, coupon_status) + values (#{deductionPerAmount,jdbcType=INTEGER}, #{maxPercentPerOrder,jdbcType=INTEGER}, + #{useUnit,jdbcType=INTEGER}, #{couponStatus,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_integration_consume_setting + + + deduction_per_amount, + + + max_percent_per_order, + + + use_unit, + + + coupon_status, + + + + + #{deductionPerAmount,jdbcType=INTEGER}, + + + #{maxPercentPerOrder,jdbcType=INTEGER}, + + + #{useUnit,jdbcType=INTEGER}, + + + #{couponStatus,jdbcType=INTEGER}, + + + + + + update ums_integration_consume_setting + + + id = #{record.id,jdbcType=BIGINT}, + + + deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, + + + max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, + + + use_unit = #{record.useUnit,jdbcType=INTEGER}, + + + coupon_status = #{record.couponStatus,jdbcType=INTEGER}, + + + + + + + + update ums_integration_consume_setting + set id = #{record.id,jdbcType=BIGINT}, + deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, + max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, + use_unit = #{record.useUnit,jdbcType=INTEGER}, + coupon_status = #{record.couponStatus,jdbcType=INTEGER} + + + + + + update ums_integration_consume_setting + + + deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, + + + max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, + + + use_unit = #{useUnit,jdbcType=INTEGER}, + + + coupon_status = #{couponStatus,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_integration_consume_setting + set deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, + max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, + use_unit = #{useUnit,jdbcType=INTEGER}, + coupon_status = #{couponStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberLevelMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberLevelMapper.xml new file mode 100644 index 0000000..4c26062 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberLevelMapper.xml @@ -0,0 +1,1009 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, growth_point, default_status, free_freight_point, comment_growth_point, + priviledge_free_freight, priviledge_sign_in, priviledge_comment, priviledge_promotion, + priviledge_member_price, priviledge_birthday, note + + + + + delete from ums_member_level + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_level + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_level (name, growth_point, default_status, + free_freight_point, comment_growth_point, priviledge_free_freight, + priviledge_sign_in, priviledge_comment, priviledge_promotion, + priviledge_member_price, priviledge_birthday, + note) + values (#{name,jdbcType=VARCHAR}, #{growthPoint,jdbcType=INTEGER}, #{defaultStatus,jdbcType=INTEGER}, + #{freeFreightPoint,jdbcType=DECIMAL}, #{commentGrowthPoint,jdbcType=INTEGER}, #{priviledgeFreeFreight,jdbcType=INTEGER}, + #{priviledgeSignIn,jdbcType=INTEGER}, #{priviledgeComment,jdbcType=INTEGER}, #{priviledgePromotion,jdbcType=INTEGER}, + #{priviledgeMemberPrice,jdbcType=INTEGER}, #{priviledgeBirthday,jdbcType=INTEGER}, + #{note,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_level + + + name, + + + growth_point, + + + default_status, + + + free_freight_point, + + + comment_growth_point, + + + priviledge_free_freight, + + + priviledge_sign_in, + + + priviledge_comment, + + + priviledge_promotion, + + + priviledge_member_price, + + + priviledge_birthday, + + + note, + + + + + #{name,jdbcType=VARCHAR}, + + + #{growthPoint,jdbcType=INTEGER}, + + + #{defaultStatus,jdbcType=INTEGER}, + + + #{freeFreightPoint,jdbcType=DECIMAL}, + + + #{commentGrowthPoint,jdbcType=INTEGER}, + + + #{priviledgeFreeFreight,jdbcType=INTEGER}, + + + #{priviledgeSignIn,jdbcType=INTEGER}, + + + #{priviledgeComment,jdbcType=INTEGER}, + + + #{priviledgePromotion,jdbcType=INTEGER}, + + + #{priviledgeMemberPrice,jdbcType=INTEGER}, + + + #{priviledgeBirthday,jdbcType=INTEGER}, + + + #{note,jdbcType=VARCHAR}, + + + + + + update ums_member_level + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + growth_point = #{record.growthPoint,jdbcType=INTEGER}, + + + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + + + free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, + + + comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, + + + priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, + + + priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, + + + priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, + + + priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, + + + priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, + + + priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + + + + + + update ums_member_level + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + growth_point = #{record.growthPoint,jdbcType=INTEGER}, + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, + comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, + priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, + priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, + priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, + priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, + priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, + priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, + note = #{record.note,jdbcType=VARCHAR} + + + + + + update ums_member_level + + + name = #{name,jdbcType=VARCHAR}, + + + growth_point = #{growthPoint,jdbcType=INTEGER}, + + + default_status = #{defaultStatus,jdbcType=INTEGER}, + + + free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, + + + comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, + + + priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, + + + priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, + + + priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, + + + priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, + + + priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, + + + priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, + + + note = #{note,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_level + set name = #{name,jdbcType=VARCHAR}, + growth_point = #{growthPoint,jdbcType=INTEGER}, + default_status = #{defaultStatus,jdbcType=INTEGER}, + free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, + comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, + priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, + priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, + priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, + priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, + priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, + priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, + note = #{note,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, growth_point, default_status, free_freight_point, comment_growth_point, + priviledge_free_freight, priviledge_sign_in, priviledge_comment, priviledge_promotion, + priviledge_member_price, priviledge_birthday, note + + + + + delete from ums_member_level + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_level + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_level (name, growth_point, default_status, + free_freight_point, comment_growth_point, priviledge_free_freight, + priviledge_sign_in, priviledge_comment, priviledge_promotion, + priviledge_member_price, priviledge_birthday, + note) + values (#{name,jdbcType=VARCHAR}, #{growthPoint,jdbcType=INTEGER}, #{defaultStatus,jdbcType=INTEGER}, + #{freeFreightPoint,jdbcType=DECIMAL}, #{commentGrowthPoint,jdbcType=INTEGER}, #{priviledgeFreeFreight,jdbcType=INTEGER}, + #{priviledgeSignIn,jdbcType=INTEGER}, #{priviledgeComment,jdbcType=INTEGER}, #{priviledgePromotion,jdbcType=INTEGER}, + #{priviledgeMemberPrice,jdbcType=INTEGER}, #{priviledgeBirthday,jdbcType=INTEGER}, + #{note,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_level + + + name, + + + growth_point, + + + default_status, + + + free_freight_point, + + + comment_growth_point, + + + priviledge_free_freight, + + + priviledge_sign_in, + + + priviledge_comment, + + + priviledge_promotion, + + + priviledge_member_price, + + + priviledge_birthday, + + + note, + + + + + #{name,jdbcType=VARCHAR}, + + + #{growthPoint,jdbcType=INTEGER}, + + + #{defaultStatus,jdbcType=INTEGER}, + + + #{freeFreightPoint,jdbcType=DECIMAL}, + + + #{commentGrowthPoint,jdbcType=INTEGER}, + + + #{priviledgeFreeFreight,jdbcType=INTEGER}, + + + #{priviledgeSignIn,jdbcType=INTEGER}, + + + #{priviledgeComment,jdbcType=INTEGER}, + + + #{priviledgePromotion,jdbcType=INTEGER}, + + + #{priviledgeMemberPrice,jdbcType=INTEGER}, + + + #{priviledgeBirthday,jdbcType=INTEGER}, + + + #{note,jdbcType=VARCHAR}, + + + + + + update ums_member_level + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + growth_point = #{record.growthPoint,jdbcType=INTEGER}, + + + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + + + free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, + + + comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, + + + priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, + + + priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, + + + priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, + + + priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, + + + priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, + + + priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + + + + + + update ums_member_level + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + growth_point = #{record.growthPoint,jdbcType=INTEGER}, + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, + comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, + priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, + priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, + priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, + priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, + priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, + priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, + note = #{record.note,jdbcType=VARCHAR} + + + + + + update ums_member_level + + + name = #{name,jdbcType=VARCHAR}, + + + growth_point = #{growthPoint,jdbcType=INTEGER}, + + + default_status = #{defaultStatus,jdbcType=INTEGER}, + + + free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, + + + comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, + + + priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, + + + priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, + + + priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, + + + priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, + + + priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, + + + priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, + + + note = #{note,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_level + set name = #{name,jdbcType=VARCHAR}, + growth_point = #{growthPoint,jdbcType=INTEGER}, + default_status = #{defaultStatus,jdbcType=INTEGER}, + free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, + comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, + priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, + priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, + priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, + priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, + priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, + priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, + note = #{note,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, growth_point, default_status, free_freight_point, comment_growth_point, + priviledge_free_freight, priviledge_sign_in, priviledge_comment, priviledge_promotion, + priviledge_member_price, priviledge_birthday, note + + + + + delete from ums_member_level + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_level + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_level (name, growth_point, default_status, + free_freight_point, comment_growth_point, priviledge_free_freight, + priviledge_sign_in, priviledge_comment, priviledge_promotion, + priviledge_member_price, priviledge_birthday, + note) + values (#{name,jdbcType=VARCHAR}, #{growthPoint,jdbcType=INTEGER}, #{defaultStatus,jdbcType=INTEGER}, + #{freeFreightPoint,jdbcType=DECIMAL}, #{commentGrowthPoint,jdbcType=INTEGER}, #{priviledgeFreeFreight,jdbcType=INTEGER}, + #{priviledgeSignIn,jdbcType=INTEGER}, #{priviledgeComment,jdbcType=INTEGER}, #{priviledgePromotion,jdbcType=INTEGER}, + #{priviledgeMemberPrice,jdbcType=INTEGER}, #{priviledgeBirthday,jdbcType=INTEGER}, + #{note,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_level + + + name, + + + growth_point, + + + default_status, + + + free_freight_point, + + + comment_growth_point, + + + priviledge_free_freight, + + + priviledge_sign_in, + + + priviledge_comment, + + + priviledge_promotion, + + + priviledge_member_price, + + + priviledge_birthday, + + + note, + + + + + #{name,jdbcType=VARCHAR}, + + + #{growthPoint,jdbcType=INTEGER}, + + + #{defaultStatus,jdbcType=INTEGER}, + + + #{freeFreightPoint,jdbcType=DECIMAL}, + + + #{commentGrowthPoint,jdbcType=INTEGER}, + + + #{priviledgeFreeFreight,jdbcType=INTEGER}, + + + #{priviledgeSignIn,jdbcType=INTEGER}, + + + #{priviledgeComment,jdbcType=INTEGER}, + + + #{priviledgePromotion,jdbcType=INTEGER}, + + + #{priviledgeMemberPrice,jdbcType=INTEGER}, + + + #{priviledgeBirthday,jdbcType=INTEGER}, + + + #{note,jdbcType=VARCHAR}, + + + + + + update ums_member_level + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + growth_point = #{record.growthPoint,jdbcType=INTEGER}, + + + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + + + free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, + + + comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, + + + priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, + + + priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, + + + priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, + + + priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, + + + priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, + + + priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + + + + + + update ums_member_level + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + growth_point = #{record.growthPoint,jdbcType=INTEGER}, + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, + comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, + priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, + priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, + priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, + priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, + priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, + priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, + note = #{record.note,jdbcType=VARCHAR} + + + + + + update ums_member_level + + + name = #{name,jdbcType=VARCHAR}, + + + growth_point = #{growthPoint,jdbcType=INTEGER}, + + + default_status = #{defaultStatus,jdbcType=INTEGER}, + + + free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, + + + comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, + + + priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, + + + priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, + + + priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, + + + priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, + + + priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, + + + priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, + + + note = #{note,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_level + set name = #{name,jdbcType=VARCHAR}, + growth_point = #{growthPoint,jdbcType=INTEGER}, + default_status = #{defaultStatus,jdbcType=INTEGER}, + free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, + comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, + priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, + priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, + priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, + priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, + priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, + priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, + note = #{note,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberLoginLogMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberLoginLogMapper.xml new file mode 100644 index 0000000..a211157 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberLoginLogMapper.xml @@ -0,0 +1,721 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, create_time, ip, city, login_type, province + + + + + delete from ums_member_login_log + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_login_log + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_login_log (member_id, create_time, ip, + city, login_type, province + ) + values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, + #{city,jdbcType=VARCHAR}, #{loginType,jdbcType=INTEGER}, #{province,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_login_log + + + member_id, + + + create_time, + + + ip, + + + city, + + + login_type, + + + province, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{ip,jdbcType=VARCHAR}, + + + #{city,jdbcType=VARCHAR}, + + + #{loginType,jdbcType=INTEGER}, + + + #{province,jdbcType=VARCHAR}, + + + + + + update ums_member_login_log + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + ip = #{record.ip,jdbcType=VARCHAR}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + login_type = #{record.loginType,jdbcType=INTEGER}, + + + province = #{record.province,jdbcType=VARCHAR}, + + + + + + + + update ums_member_login_log + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + ip = #{record.ip,jdbcType=VARCHAR}, + city = #{record.city,jdbcType=VARCHAR}, + login_type = #{record.loginType,jdbcType=INTEGER}, + province = #{record.province,jdbcType=VARCHAR} + + + + + + update ums_member_login_log + + + member_id = #{memberId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + ip = #{ip,jdbcType=VARCHAR}, + + + city = #{city,jdbcType=VARCHAR}, + + + login_type = #{loginType,jdbcType=INTEGER}, + + + province = #{province,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_login_log + set member_id = #{memberId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + ip = #{ip,jdbcType=VARCHAR}, + city = #{city,jdbcType=VARCHAR}, + login_type = #{loginType,jdbcType=INTEGER}, + province = #{province,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, create_time, ip, city, login_type, province + + + + + delete from ums_member_login_log + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_login_log + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_login_log (member_id, create_time, ip, + city, login_type, province + ) + values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, + #{city,jdbcType=VARCHAR}, #{loginType,jdbcType=INTEGER}, #{province,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_login_log + + + member_id, + + + create_time, + + + ip, + + + city, + + + login_type, + + + province, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{ip,jdbcType=VARCHAR}, + + + #{city,jdbcType=VARCHAR}, + + + #{loginType,jdbcType=INTEGER}, + + + #{province,jdbcType=VARCHAR}, + + + + + + update ums_member_login_log + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + ip = #{record.ip,jdbcType=VARCHAR}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + login_type = #{record.loginType,jdbcType=INTEGER}, + + + province = #{record.province,jdbcType=VARCHAR}, + + + + + + + + update ums_member_login_log + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + ip = #{record.ip,jdbcType=VARCHAR}, + city = #{record.city,jdbcType=VARCHAR}, + login_type = #{record.loginType,jdbcType=INTEGER}, + province = #{record.province,jdbcType=VARCHAR} + + + + + + update ums_member_login_log + + + member_id = #{memberId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + ip = #{ip,jdbcType=VARCHAR}, + + + city = #{city,jdbcType=VARCHAR}, + + + login_type = #{loginType,jdbcType=INTEGER}, + + + province = #{province,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_login_log + set member_id = #{memberId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + ip = #{ip,jdbcType=VARCHAR}, + city = #{city,jdbcType=VARCHAR}, + login_type = #{loginType,jdbcType=INTEGER}, + province = #{province,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, create_time, ip, city, login_type, province + + + + + delete from ums_member_login_log + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_login_log + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_login_log (member_id, create_time, ip, + city, login_type, province + ) + values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, + #{city,jdbcType=VARCHAR}, #{loginType,jdbcType=INTEGER}, #{province,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_login_log + + + member_id, + + + create_time, + + + ip, + + + city, + + + login_type, + + + province, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{ip,jdbcType=VARCHAR}, + + + #{city,jdbcType=VARCHAR}, + + + #{loginType,jdbcType=INTEGER}, + + + #{province,jdbcType=VARCHAR}, + + + + + + update ums_member_login_log + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + ip = #{record.ip,jdbcType=VARCHAR}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + login_type = #{record.loginType,jdbcType=INTEGER}, + + + province = #{record.province,jdbcType=VARCHAR}, + + + + + + + + update ums_member_login_log + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + ip = #{record.ip,jdbcType=VARCHAR}, + city = #{record.city,jdbcType=VARCHAR}, + login_type = #{record.loginType,jdbcType=INTEGER}, + province = #{record.province,jdbcType=VARCHAR} + + + + + + update ums_member_login_log + + + member_id = #{memberId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + ip = #{ip,jdbcType=VARCHAR}, + + + city = #{city,jdbcType=VARCHAR}, + + + login_type = #{loginType,jdbcType=INTEGER}, + + + province = #{province,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_login_log + set member_id = #{memberId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + ip = #{ip,jdbcType=VARCHAR}, + city = #{city,jdbcType=VARCHAR}, + login_type = #{loginType,jdbcType=INTEGER}, + province = #{province,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberMapper.xml new file mode 100644 index 0000000..1146461 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberMapper.xml @@ -0,0 +1,1285 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_level_id, username, password, nickname, phone, status, create_time, icon, + gender, birthday, city, job, personalized_signature, source_type, integration, growth, + luckey_count, history_integration + + + + + delete from ums_member + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member (member_level_id, username, password, + nickname, phone, status, + create_time, icon, gender, + birthday, city, job, personalized_signature, + source_type, integration, growth, + luckey_count, history_integration) + values (#{memberLevelId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, + #{nickname,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, + #{createTime,jdbcType=TIMESTAMP}, #{icon,jdbcType=VARCHAR}, #{gender,jdbcType=INTEGER}, + #{birthday,jdbcType=DATE}, #{city,jdbcType=VARCHAR}, #{job,jdbcType=VARCHAR}, #{personalizedSignature,jdbcType=VARCHAR}, + #{sourceType,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, + #{luckeyCount,jdbcType=INTEGER}, #{historyIntegration,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member + + + member_level_id, + + + username, + + + password, + + + nickname, + + + phone, + + + status, + + + create_time, + + + icon, + + + gender, + + + birthday, + + + city, + + + job, + + + personalized_signature, + + + source_type, + + + integration, + + + growth, + + + luckey_count, + + + history_integration, + + + + + #{memberLevelId,jdbcType=BIGINT}, + + + #{username,jdbcType=VARCHAR}, + + + #{password,jdbcType=VARCHAR}, + + + #{nickname,jdbcType=VARCHAR}, + + + #{phone,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{icon,jdbcType=VARCHAR}, + + + #{gender,jdbcType=INTEGER}, + + + #{birthday,jdbcType=DATE}, + + + #{city,jdbcType=VARCHAR}, + + + #{job,jdbcType=VARCHAR}, + + + #{personalizedSignature,jdbcType=VARCHAR}, + + + #{sourceType,jdbcType=INTEGER}, + + + #{integration,jdbcType=INTEGER}, + + + #{growth,jdbcType=INTEGER}, + + + #{luckeyCount,jdbcType=INTEGER}, + + + #{historyIntegration,jdbcType=INTEGER}, + + + + + + update ums_member + + + id = #{record.id,jdbcType=BIGINT}, + + + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + + + username = #{record.username,jdbcType=VARCHAR}, + + + password = #{record.password,jdbcType=VARCHAR}, + + + nickname = #{record.nickname,jdbcType=VARCHAR}, + + + phone = #{record.phone,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + gender = #{record.gender,jdbcType=INTEGER}, + + + birthday = #{record.birthday,jdbcType=DATE}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + job = #{record.job,jdbcType=VARCHAR}, + + + personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + integration = #{record.integration,jdbcType=INTEGER}, + + + growth = #{record.growth,jdbcType=INTEGER}, + + + luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, + + + history_integration = #{record.historyIntegration,jdbcType=INTEGER}, + + + + + + + + update ums_member + set id = #{record.id,jdbcType=BIGINT}, + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + username = #{record.username,jdbcType=VARCHAR}, + password = #{record.password,jdbcType=VARCHAR}, + nickname = #{record.nickname,jdbcType=VARCHAR}, + phone = #{record.phone,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + icon = #{record.icon,jdbcType=VARCHAR}, + gender = #{record.gender,jdbcType=INTEGER}, + birthday = #{record.birthday,jdbcType=DATE}, + city = #{record.city,jdbcType=VARCHAR}, + job = #{record.job,jdbcType=VARCHAR}, + personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, + source_type = #{record.sourceType,jdbcType=INTEGER}, + integration = #{record.integration,jdbcType=INTEGER}, + growth = #{record.growth,jdbcType=INTEGER}, + luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, + history_integration = #{record.historyIntegration,jdbcType=INTEGER} + + + + + + update ums_member + + + member_level_id = #{memberLevelId,jdbcType=BIGINT}, + + + username = #{username,jdbcType=VARCHAR}, + + + password = #{password,jdbcType=VARCHAR}, + + + nickname = #{nickname,jdbcType=VARCHAR}, + + + phone = #{phone,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + gender = #{gender,jdbcType=INTEGER}, + + + birthday = #{birthday,jdbcType=DATE}, + + + city = #{city,jdbcType=VARCHAR}, + + + job = #{job,jdbcType=VARCHAR}, + + + personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + integration = #{integration,jdbcType=INTEGER}, + + + growth = #{growth,jdbcType=INTEGER}, + + + luckey_count = #{luckeyCount,jdbcType=INTEGER}, + + + history_integration = #{historyIntegration,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member + set member_level_id = #{memberLevelId,jdbcType=BIGINT}, + username = #{username,jdbcType=VARCHAR}, + password = #{password,jdbcType=VARCHAR}, + nickname = #{nickname,jdbcType=VARCHAR}, + phone = #{phone,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + icon = #{icon,jdbcType=VARCHAR}, + gender = #{gender,jdbcType=INTEGER}, + birthday = #{birthday,jdbcType=DATE}, + city = #{city,jdbcType=VARCHAR}, + job = #{job,jdbcType=VARCHAR}, + personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, + source_type = #{sourceType,jdbcType=INTEGER}, + integration = #{integration,jdbcType=INTEGER}, + growth = #{growth,jdbcType=INTEGER}, + luckey_count = #{luckeyCount,jdbcType=INTEGER}, + history_integration = #{historyIntegration,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_level_id, username, password, nickname, phone, status, create_time, icon, + gender, birthday, city, job, personalized_signature, source_type, integration, growth, + luckey_count, history_integration + + + + + delete from ums_member + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member (member_level_id, username, password, + nickname, phone, status, + create_time, icon, gender, + birthday, city, job, personalized_signature, + source_type, integration, growth, + luckey_count, history_integration) + values (#{memberLevelId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, + #{nickname,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, + #{createTime,jdbcType=TIMESTAMP}, #{icon,jdbcType=VARCHAR}, #{gender,jdbcType=INTEGER}, + #{birthday,jdbcType=DATE}, #{city,jdbcType=VARCHAR}, #{job,jdbcType=VARCHAR}, #{personalizedSignature,jdbcType=VARCHAR}, + #{sourceType,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, + #{luckeyCount,jdbcType=INTEGER}, #{historyIntegration,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member + + + member_level_id, + + + username, + + + password, + + + nickname, + + + phone, + + + status, + + + create_time, + + + icon, + + + gender, + + + birthday, + + + city, + + + job, + + + personalized_signature, + + + source_type, + + + integration, + + + growth, + + + luckey_count, + + + history_integration, + + + + + #{memberLevelId,jdbcType=BIGINT}, + + + #{username,jdbcType=VARCHAR}, + + + #{password,jdbcType=VARCHAR}, + + + #{nickname,jdbcType=VARCHAR}, + + + #{phone,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{icon,jdbcType=VARCHAR}, + + + #{gender,jdbcType=INTEGER}, + + + #{birthday,jdbcType=DATE}, + + + #{city,jdbcType=VARCHAR}, + + + #{job,jdbcType=VARCHAR}, + + + #{personalizedSignature,jdbcType=VARCHAR}, + + + #{sourceType,jdbcType=INTEGER}, + + + #{integration,jdbcType=INTEGER}, + + + #{growth,jdbcType=INTEGER}, + + + #{luckeyCount,jdbcType=INTEGER}, + + + #{historyIntegration,jdbcType=INTEGER}, + + + + + + update ums_member + + + id = #{record.id,jdbcType=BIGINT}, + + + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + + + username = #{record.username,jdbcType=VARCHAR}, + + + password = #{record.password,jdbcType=VARCHAR}, + + + nickname = #{record.nickname,jdbcType=VARCHAR}, + + + phone = #{record.phone,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + gender = #{record.gender,jdbcType=INTEGER}, + + + birthday = #{record.birthday,jdbcType=DATE}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + job = #{record.job,jdbcType=VARCHAR}, + + + personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + integration = #{record.integration,jdbcType=INTEGER}, + + + growth = #{record.growth,jdbcType=INTEGER}, + + + luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, + + + history_integration = #{record.historyIntegration,jdbcType=INTEGER}, + + + + + + + + update ums_member + set id = #{record.id,jdbcType=BIGINT}, + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + username = #{record.username,jdbcType=VARCHAR}, + password = #{record.password,jdbcType=VARCHAR}, + nickname = #{record.nickname,jdbcType=VARCHAR}, + phone = #{record.phone,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + icon = #{record.icon,jdbcType=VARCHAR}, + gender = #{record.gender,jdbcType=INTEGER}, + birthday = #{record.birthday,jdbcType=DATE}, + city = #{record.city,jdbcType=VARCHAR}, + job = #{record.job,jdbcType=VARCHAR}, + personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, + source_type = #{record.sourceType,jdbcType=INTEGER}, + integration = #{record.integration,jdbcType=INTEGER}, + growth = #{record.growth,jdbcType=INTEGER}, + luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, + history_integration = #{record.historyIntegration,jdbcType=INTEGER} + + + + + + update ums_member + + + member_level_id = #{memberLevelId,jdbcType=BIGINT}, + + + username = #{username,jdbcType=VARCHAR}, + + + password = #{password,jdbcType=VARCHAR}, + + + nickname = #{nickname,jdbcType=VARCHAR}, + + + phone = #{phone,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + gender = #{gender,jdbcType=INTEGER}, + + + birthday = #{birthday,jdbcType=DATE}, + + + city = #{city,jdbcType=VARCHAR}, + + + job = #{job,jdbcType=VARCHAR}, + + + personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + integration = #{integration,jdbcType=INTEGER}, + + + growth = #{growth,jdbcType=INTEGER}, + + + luckey_count = #{luckeyCount,jdbcType=INTEGER}, + + + history_integration = #{historyIntegration,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member + set member_level_id = #{memberLevelId,jdbcType=BIGINT}, + username = #{username,jdbcType=VARCHAR}, + password = #{password,jdbcType=VARCHAR}, + nickname = #{nickname,jdbcType=VARCHAR}, + phone = #{phone,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + icon = #{icon,jdbcType=VARCHAR}, + gender = #{gender,jdbcType=INTEGER}, + birthday = #{birthday,jdbcType=DATE}, + city = #{city,jdbcType=VARCHAR}, + job = #{job,jdbcType=VARCHAR}, + personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, + source_type = #{sourceType,jdbcType=INTEGER}, + integration = #{integration,jdbcType=INTEGER}, + growth = #{growth,jdbcType=INTEGER}, + luckey_count = #{luckeyCount,jdbcType=INTEGER}, + history_integration = #{historyIntegration,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_level_id, username, password, nickname, phone, status, create_time, icon, + gender, birthday, city, job, personalized_signature, source_type, integration, growth, + luckey_count, history_integration + + + + + delete from ums_member + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member (member_level_id, username, password, + nickname, phone, status, + create_time, icon, gender, + birthday, city, job, personalized_signature, + source_type, integration, growth, + luckey_count, history_integration) + values (#{memberLevelId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, + #{nickname,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, + #{createTime,jdbcType=TIMESTAMP}, #{icon,jdbcType=VARCHAR}, #{gender,jdbcType=INTEGER}, + #{birthday,jdbcType=DATE}, #{city,jdbcType=VARCHAR}, #{job,jdbcType=VARCHAR}, #{personalizedSignature,jdbcType=VARCHAR}, + #{sourceType,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, + #{luckeyCount,jdbcType=INTEGER}, #{historyIntegration,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member + + + member_level_id, + + + username, + + + password, + + + nickname, + + + phone, + + + status, + + + create_time, + + + icon, + + + gender, + + + birthday, + + + city, + + + job, + + + personalized_signature, + + + source_type, + + + integration, + + + growth, + + + luckey_count, + + + history_integration, + + + + + #{memberLevelId,jdbcType=BIGINT}, + + + #{username,jdbcType=VARCHAR}, + + + #{password,jdbcType=VARCHAR}, + + + #{nickname,jdbcType=VARCHAR}, + + + #{phone,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{icon,jdbcType=VARCHAR}, + + + #{gender,jdbcType=INTEGER}, + + + #{birthday,jdbcType=DATE}, + + + #{city,jdbcType=VARCHAR}, + + + #{job,jdbcType=VARCHAR}, + + + #{personalizedSignature,jdbcType=VARCHAR}, + + + #{sourceType,jdbcType=INTEGER}, + + + #{integration,jdbcType=INTEGER}, + + + #{growth,jdbcType=INTEGER}, + + + #{luckeyCount,jdbcType=INTEGER}, + + + #{historyIntegration,jdbcType=INTEGER}, + + + + + + update ums_member + + + id = #{record.id,jdbcType=BIGINT}, + + + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + + + username = #{record.username,jdbcType=VARCHAR}, + + + password = #{record.password,jdbcType=VARCHAR}, + + + nickname = #{record.nickname,jdbcType=VARCHAR}, + + + phone = #{record.phone,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + gender = #{record.gender,jdbcType=INTEGER}, + + + birthday = #{record.birthday,jdbcType=DATE}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + job = #{record.job,jdbcType=VARCHAR}, + + + personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + integration = #{record.integration,jdbcType=INTEGER}, + + + growth = #{record.growth,jdbcType=INTEGER}, + + + luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, + + + history_integration = #{record.historyIntegration,jdbcType=INTEGER}, + + + + + + + + update ums_member + set id = #{record.id,jdbcType=BIGINT}, + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + username = #{record.username,jdbcType=VARCHAR}, + password = #{record.password,jdbcType=VARCHAR}, + nickname = #{record.nickname,jdbcType=VARCHAR}, + phone = #{record.phone,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + icon = #{record.icon,jdbcType=VARCHAR}, + gender = #{record.gender,jdbcType=INTEGER}, + birthday = #{record.birthday,jdbcType=DATE}, + city = #{record.city,jdbcType=VARCHAR}, + job = #{record.job,jdbcType=VARCHAR}, + personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, + source_type = #{record.sourceType,jdbcType=INTEGER}, + integration = #{record.integration,jdbcType=INTEGER}, + growth = #{record.growth,jdbcType=INTEGER}, + luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, + history_integration = #{record.historyIntegration,jdbcType=INTEGER} + + + + + + update ums_member + + + member_level_id = #{memberLevelId,jdbcType=BIGINT}, + + + username = #{username,jdbcType=VARCHAR}, + + + password = #{password,jdbcType=VARCHAR}, + + + nickname = #{nickname,jdbcType=VARCHAR}, + + + phone = #{phone,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + gender = #{gender,jdbcType=INTEGER}, + + + birthday = #{birthday,jdbcType=DATE}, + + + city = #{city,jdbcType=VARCHAR}, + + + job = #{job,jdbcType=VARCHAR}, + + + personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + integration = #{integration,jdbcType=INTEGER}, + + + growth = #{growth,jdbcType=INTEGER}, + + + luckey_count = #{luckeyCount,jdbcType=INTEGER}, + + + history_integration = #{historyIntegration,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member + set member_level_id = #{memberLevelId,jdbcType=BIGINT}, + username = #{username,jdbcType=VARCHAR}, + password = #{password,jdbcType=VARCHAR}, + nickname = #{nickname,jdbcType=VARCHAR}, + phone = #{phone,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + icon = #{icon,jdbcType=VARCHAR}, + gender = #{gender,jdbcType=INTEGER}, + birthday = #{birthday,jdbcType=DATE}, + city = #{city,jdbcType=VARCHAR}, + job = #{job,jdbcType=VARCHAR}, + personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, + source_type = #{sourceType,jdbcType=INTEGER}, + integration = #{integration,jdbcType=INTEGER}, + growth = #{growth,jdbcType=INTEGER}, + luckey_count = #{luckeyCount,jdbcType=INTEGER}, + history_integration = #{historyIntegration,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberMemberTagRelationMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberMemberTagRelationMapper.xml new file mode 100644 index 0000000..29f6b1c --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberMemberTagRelationMapper.xml @@ -0,0 +1,529 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, tag_id + + + + + delete from ums_member_member_tag_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_member_tag_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_member_tag_relation (member_id, tag_id) + values (#{memberId,jdbcType=BIGINT}, #{tagId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_member_tag_relation + + + member_id, + + + tag_id, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{tagId,jdbcType=BIGINT}, + + + + + + update ums_member_member_tag_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + tag_id = #{record.tagId,jdbcType=BIGINT}, + + + + + + + + update ums_member_member_tag_relation + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + tag_id = #{record.tagId,jdbcType=BIGINT} + + + + + + update ums_member_member_tag_relation + + + member_id = #{memberId,jdbcType=BIGINT}, + + + tag_id = #{tagId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_member_tag_relation + set member_id = #{memberId,jdbcType=BIGINT}, + tag_id = #{tagId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, tag_id + + + + + delete from ums_member_member_tag_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_member_tag_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_member_tag_relation (member_id, tag_id) + values (#{memberId,jdbcType=BIGINT}, #{tagId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_member_tag_relation + + + member_id, + + + tag_id, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{tagId,jdbcType=BIGINT}, + + + + + + update ums_member_member_tag_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + tag_id = #{record.tagId,jdbcType=BIGINT}, + + + + + + + + update ums_member_member_tag_relation + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + tag_id = #{record.tagId,jdbcType=BIGINT} + + + + + + update ums_member_member_tag_relation + + + member_id = #{memberId,jdbcType=BIGINT}, + + + tag_id = #{tagId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_member_tag_relation + set member_id = #{memberId,jdbcType=BIGINT}, + tag_id = #{tagId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, tag_id + + + + + delete from ums_member_member_tag_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_member_tag_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_member_tag_relation (member_id, tag_id) + values (#{memberId,jdbcType=BIGINT}, #{tagId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_member_tag_relation + + + member_id, + + + tag_id, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{tagId,jdbcType=BIGINT}, + + + + + + update ums_member_member_tag_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + tag_id = #{record.tagId,jdbcType=BIGINT}, + + + + + + + + update ums_member_member_tag_relation + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + tag_id = #{record.tagId,jdbcType=BIGINT} + + + + + + update ums_member_member_tag_relation + + + member_id = #{memberId,jdbcType=BIGINT}, + + + tag_id = #{tagId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_member_tag_relation + set member_id = #{memberId,jdbcType=BIGINT}, + tag_id = #{tagId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberProductCategoryRelationMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberProductCategoryRelationMapper.xml new file mode 100644 index 0000000..3dfb334 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberProductCategoryRelationMapper.xml @@ -0,0 +1,529 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, product_category_id + + + + + delete from ums_member_product_category_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_product_category_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_product_category_relation (member_id, product_category_id) + values (#{memberId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_product_category_relation + + + member_id, + + + product_category_id, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + + + + update ums_member_product_category_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + + + + + + update ums_member_product_category_relation + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT} + + + + + + update ums_member_product_category_relation + + + member_id = #{memberId,jdbcType=BIGINT}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_product_category_relation + set member_id = #{memberId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, product_category_id + + + + + delete from ums_member_product_category_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_product_category_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_product_category_relation (member_id, product_category_id) + values (#{memberId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_product_category_relation + + + member_id, + + + product_category_id, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + + + + update ums_member_product_category_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + + + + + + update ums_member_product_category_relation + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT} + + + + + + update ums_member_product_category_relation + + + member_id = #{memberId,jdbcType=BIGINT}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_product_category_relation + set member_id = #{memberId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, product_category_id + + + + + delete from ums_member_product_category_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_product_category_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_product_category_relation (member_id, product_category_id) + values (#{memberId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_product_category_relation + + + member_id, + + + product_category_id, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + + + + update ums_member_product_category_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + + + + + + update ums_member_product_category_relation + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT} + + + + + + update ums_member_product_category_relation + + + member_id = #{memberId,jdbcType=BIGINT}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_product_category_relation + set member_id = #{memberId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberReceiveAddressMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberReceiveAddressMapper.xml new file mode 100644 index 0000000..a9171aa --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberReceiveAddressMapper.xml @@ -0,0 +1,865 @@ + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, name, phone_number, default_status, post_code, province, city, region, + detail_address + + + + + delete from ums_member_receive_address + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_receive_address + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_receive_address (member_id, name, phone_number, + default_status, post_code, province, + city, region, detail_address + ) + values (#{memberId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR}, + #{defaultStatus,jdbcType=INTEGER}, #{postCode,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, + #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_receive_address + + + member_id, + + + name, + + + phone_number, + + + default_status, + + + post_code, + + + province, + + + city, + + + region, + + + detail_address, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{phoneNumber,jdbcType=VARCHAR}, + + + #{defaultStatus,jdbcType=INTEGER}, + + + #{postCode,jdbcType=VARCHAR}, + + + #{province,jdbcType=VARCHAR}, + + + #{city,jdbcType=VARCHAR}, + + + #{region,jdbcType=VARCHAR}, + + + #{detailAddress,jdbcType=VARCHAR}, + + + + + + update ums_member_receive_address + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, + + + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + + + post_code = #{record.postCode,jdbcType=VARCHAR}, + + + province = #{record.province,jdbcType=VARCHAR}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + region = #{record.region,jdbcType=VARCHAR}, + + + detail_address = #{record.detailAddress,jdbcType=VARCHAR}, + + + + + + + + update ums_member_receive_address + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + post_code = #{record.postCode,jdbcType=VARCHAR}, + province = #{record.province,jdbcType=VARCHAR}, + city = #{record.city,jdbcType=VARCHAR}, + region = #{record.region,jdbcType=VARCHAR}, + detail_address = #{record.detailAddress,jdbcType=VARCHAR} + + + + + + update ums_member_receive_address + + + member_id = #{memberId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + phone_number = #{phoneNumber,jdbcType=VARCHAR}, + + + default_status = #{defaultStatus,jdbcType=INTEGER}, + + + post_code = #{postCode,jdbcType=VARCHAR}, + + + province = #{province,jdbcType=VARCHAR}, + + + city = #{city,jdbcType=VARCHAR}, + + + region = #{region,jdbcType=VARCHAR}, + + + detail_address = #{detailAddress,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_receive_address + set member_id = #{memberId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + phone_number = #{phoneNumber,jdbcType=VARCHAR}, + default_status = #{defaultStatus,jdbcType=INTEGER}, + post_code = #{postCode,jdbcType=VARCHAR}, + province = #{province,jdbcType=VARCHAR}, + city = #{city,jdbcType=VARCHAR}, + region = #{region,jdbcType=VARCHAR}, + detail_address = #{detailAddress,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, name, phone_number, default_status, post_code, province, city, region, + detail_address + + + + + delete from ums_member_receive_address + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_receive_address + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_receive_address (member_id, name, phone_number, + default_status, post_code, province, + city, region, detail_address + ) + values (#{memberId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR}, + #{defaultStatus,jdbcType=INTEGER}, #{postCode,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, + #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_receive_address + + + member_id, + + + name, + + + phone_number, + + + default_status, + + + post_code, + + + province, + + + city, + + + region, + + + detail_address, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{phoneNumber,jdbcType=VARCHAR}, + + + #{defaultStatus,jdbcType=INTEGER}, + + + #{postCode,jdbcType=VARCHAR}, + + + #{province,jdbcType=VARCHAR}, + + + #{city,jdbcType=VARCHAR}, + + + #{region,jdbcType=VARCHAR}, + + + #{detailAddress,jdbcType=VARCHAR}, + + + + + + update ums_member_receive_address + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, + + + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + + + post_code = #{record.postCode,jdbcType=VARCHAR}, + + + province = #{record.province,jdbcType=VARCHAR}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + region = #{record.region,jdbcType=VARCHAR}, + + + detail_address = #{record.detailAddress,jdbcType=VARCHAR}, + + + + + + + + update ums_member_receive_address + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + post_code = #{record.postCode,jdbcType=VARCHAR}, + province = #{record.province,jdbcType=VARCHAR}, + city = #{record.city,jdbcType=VARCHAR}, + region = #{record.region,jdbcType=VARCHAR}, + detail_address = #{record.detailAddress,jdbcType=VARCHAR} + + + + + + update ums_member_receive_address + + + member_id = #{memberId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + phone_number = #{phoneNumber,jdbcType=VARCHAR}, + + + default_status = #{defaultStatus,jdbcType=INTEGER}, + + + post_code = #{postCode,jdbcType=VARCHAR}, + + + province = #{province,jdbcType=VARCHAR}, + + + city = #{city,jdbcType=VARCHAR}, + + + region = #{region,jdbcType=VARCHAR}, + + + detail_address = #{detailAddress,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_receive_address + set member_id = #{memberId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + phone_number = #{phoneNumber,jdbcType=VARCHAR}, + default_status = #{defaultStatus,jdbcType=INTEGER}, + post_code = #{postCode,jdbcType=VARCHAR}, + province = #{province,jdbcType=VARCHAR}, + city = #{city,jdbcType=VARCHAR}, + region = #{region,jdbcType=VARCHAR}, + detail_address = #{detailAddress,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, name, phone_number, default_status, post_code, province, city, region, + detail_address + + + + + delete from ums_member_receive_address + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_receive_address + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_receive_address (member_id, name, phone_number, + default_status, post_code, province, + city, region, detail_address + ) + values (#{memberId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR}, + #{defaultStatus,jdbcType=INTEGER}, #{postCode,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, + #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_receive_address + + + member_id, + + + name, + + + phone_number, + + + default_status, + + + post_code, + + + province, + + + city, + + + region, + + + detail_address, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{phoneNumber,jdbcType=VARCHAR}, + + + #{defaultStatus,jdbcType=INTEGER}, + + + #{postCode,jdbcType=VARCHAR}, + + + #{province,jdbcType=VARCHAR}, + + + #{city,jdbcType=VARCHAR}, + + + #{region,jdbcType=VARCHAR}, + + + #{detailAddress,jdbcType=VARCHAR}, + + + + + + update ums_member_receive_address + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, + + + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + + + post_code = #{record.postCode,jdbcType=VARCHAR}, + + + province = #{record.province,jdbcType=VARCHAR}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + region = #{record.region,jdbcType=VARCHAR}, + + + detail_address = #{record.detailAddress,jdbcType=VARCHAR}, + + + + + + + + update ums_member_receive_address + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + post_code = #{record.postCode,jdbcType=VARCHAR}, + province = #{record.province,jdbcType=VARCHAR}, + city = #{record.city,jdbcType=VARCHAR}, + region = #{record.region,jdbcType=VARCHAR}, + detail_address = #{record.detailAddress,jdbcType=VARCHAR} + + + + + + update ums_member_receive_address + + + member_id = #{memberId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + phone_number = #{phoneNumber,jdbcType=VARCHAR}, + + + default_status = #{defaultStatus,jdbcType=INTEGER}, + + + post_code = #{postCode,jdbcType=VARCHAR}, + + + province = #{province,jdbcType=VARCHAR}, + + + city = #{city,jdbcType=VARCHAR}, + + + region = #{region,jdbcType=VARCHAR}, + + + detail_address = #{detailAddress,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_receive_address + set member_id = #{memberId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + phone_number = #{phoneNumber,jdbcType=VARCHAR}, + default_status = #{defaultStatus,jdbcType=INTEGER}, + post_code = #{postCode,jdbcType=VARCHAR}, + province = #{province,jdbcType=VARCHAR}, + city = #{city,jdbcType=VARCHAR}, + region = #{region,jdbcType=VARCHAR}, + detail_address = #{detailAddress,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberRuleSettingMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberRuleSettingMapper.xml new file mode 100644 index 0000000..602a833 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberRuleSettingMapper.xml @@ -0,0 +1,724 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, continue_sign_day, continue_sign_point, consume_per_point, low_order_amount, + max_point_per_order, type + + + + + delete from ums_member_rule_setting + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_rule_setting + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_rule_setting (continue_sign_day, continue_sign_point, + consume_per_point, low_order_amount, max_point_per_order, + type) + values (#{continueSignDay,jdbcType=INTEGER}, #{continueSignPoint,jdbcType=INTEGER}, + #{consumePerPoint,jdbcType=DECIMAL}, #{lowOrderAmount,jdbcType=DECIMAL}, #{maxPointPerOrder,jdbcType=INTEGER}, + #{type,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_rule_setting + + + continue_sign_day, + + + continue_sign_point, + + + consume_per_point, + + + low_order_amount, + + + max_point_per_order, + + + type, + + + + + #{continueSignDay,jdbcType=INTEGER}, + + + #{continueSignPoint,jdbcType=INTEGER}, + + + #{consumePerPoint,jdbcType=DECIMAL}, + + + #{lowOrderAmount,jdbcType=DECIMAL}, + + + #{maxPointPerOrder,jdbcType=INTEGER}, + + + #{type,jdbcType=INTEGER}, + + + + + + update ums_member_rule_setting + + + id = #{record.id,jdbcType=BIGINT}, + + + continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, + + + continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, + + + consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, + + + low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, + + + max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update ums_member_rule_setting + set id = #{record.id,jdbcType=BIGINT}, + continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, + continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, + consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, + low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, + max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update ums_member_rule_setting + + + continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, + + + continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, + + + consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, + + + low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, + + + max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_rule_setting + set continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, + continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, + consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, + low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, + max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, continue_sign_day, continue_sign_point, consume_per_point, low_order_amount, + max_point_per_order, type + + + + + delete from ums_member_rule_setting + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_rule_setting + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_rule_setting (continue_sign_day, continue_sign_point, + consume_per_point, low_order_amount, max_point_per_order, + type) + values (#{continueSignDay,jdbcType=INTEGER}, #{continueSignPoint,jdbcType=INTEGER}, + #{consumePerPoint,jdbcType=DECIMAL}, #{lowOrderAmount,jdbcType=DECIMAL}, #{maxPointPerOrder,jdbcType=INTEGER}, + #{type,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_rule_setting + + + continue_sign_day, + + + continue_sign_point, + + + consume_per_point, + + + low_order_amount, + + + max_point_per_order, + + + type, + + + + + #{continueSignDay,jdbcType=INTEGER}, + + + #{continueSignPoint,jdbcType=INTEGER}, + + + #{consumePerPoint,jdbcType=DECIMAL}, + + + #{lowOrderAmount,jdbcType=DECIMAL}, + + + #{maxPointPerOrder,jdbcType=INTEGER}, + + + #{type,jdbcType=INTEGER}, + + + + + + update ums_member_rule_setting + + + id = #{record.id,jdbcType=BIGINT}, + + + continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, + + + continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, + + + consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, + + + low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, + + + max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update ums_member_rule_setting + set id = #{record.id,jdbcType=BIGINT}, + continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, + continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, + consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, + low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, + max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update ums_member_rule_setting + + + continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, + + + continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, + + + consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, + + + low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, + + + max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_rule_setting + set continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, + continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, + consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, + low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, + max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, continue_sign_day, continue_sign_point, consume_per_point, low_order_amount, + max_point_per_order, type + + + + + delete from ums_member_rule_setting + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_rule_setting + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_rule_setting (continue_sign_day, continue_sign_point, + consume_per_point, low_order_amount, max_point_per_order, + type) + values (#{continueSignDay,jdbcType=INTEGER}, #{continueSignPoint,jdbcType=INTEGER}, + #{consumePerPoint,jdbcType=DECIMAL}, #{lowOrderAmount,jdbcType=DECIMAL}, #{maxPointPerOrder,jdbcType=INTEGER}, + #{type,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_rule_setting + + + continue_sign_day, + + + continue_sign_point, + + + consume_per_point, + + + low_order_amount, + + + max_point_per_order, + + + type, + + + + + #{continueSignDay,jdbcType=INTEGER}, + + + #{continueSignPoint,jdbcType=INTEGER}, + + + #{consumePerPoint,jdbcType=DECIMAL}, + + + #{lowOrderAmount,jdbcType=DECIMAL}, + + + #{maxPointPerOrder,jdbcType=INTEGER}, + + + #{type,jdbcType=INTEGER}, + + + + + + update ums_member_rule_setting + + + id = #{record.id,jdbcType=BIGINT}, + + + continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, + + + continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, + + + consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, + + + low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, + + + max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update ums_member_rule_setting + set id = #{record.id,jdbcType=BIGINT}, + continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, + continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, + consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, + low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, + max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update ums_member_rule_setting + + + continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, + + + continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, + + + consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, + + + low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, + + + max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_rule_setting + set continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, + continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, + consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, + low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, + max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberStatisticsInfoMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberStatisticsInfoMapper.xml new file mode 100644 index 0000000..2e27f65 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberStatisticsInfoMapper.xml @@ -0,0 +1,1150 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, consume_amount, order_count, coupon_count, comment_count, return_order_count, + login_count, attend_count, fans_count, collect_product_count, collect_subject_count, + collect_topic_count, collect_comment_count, invite_friend_count, recent_order_time + + + + + delete from ums_member_statistics_info + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_statistics_info + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_statistics_info (member_id, consume_amount, order_count, + coupon_count, comment_count, return_order_count, + login_count, attend_count, fans_count, + collect_product_count, collect_subject_count, + collect_topic_count, collect_comment_count, + invite_friend_count, recent_order_time) + values (#{memberId,jdbcType=BIGINT}, #{consumeAmount,jdbcType=DECIMAL}, #{orderCount,jdbcType=INTEGER}, + #{couponCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{returnOrderCount,jdbcType=INTEGER}, + #{loginCount,jdbcType=INTEGER}, #{attendCount,jdbcType=INTEGER}, #{fansCount,jdbcType=INTEGER}, + #{collectProductCount,jdbcType=INTEGER}, #{collectSubjectCount,jdbcType=INTEGER}, + #{collectTopicCount,jdbcType=INTEGER}, #{collectCommentCount,jdbcType=INTEGER}, + #{inviteFriendCount,jdbcType=INTEGER}, #{recentOrderTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_statistics_info + + + member_id, + + + consume_amount, + + + order_count, + + + coupon_count, + + + comment_count, + + + return_order_count, + + + login_count, + + + attend_count, + + + fans_count, + + + collect_product_count, + + + collect_subject_count, + + + collect_topic_count, + + + collect_comment_count, + + + invite_friend_count, + + + recent_order_time, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{consumeAmount,jdbcType=DECIMAL}, + + + #{orderCount,jdbcType=INTEGER}, + + + #{couponCount,jdbcType=INTEGER}, + + + #{commentCount,jdbcType=INTEGER}, + + + #{returnOrderCount,jdbcType=INTEGER}, + + + #{loginCount,jdbcType=INTEGER}, + + + #{attendCount,jdbcType=INTEGER}, + + + #{fansCount,jdbcType=INTEGER}, + + + #{collectProductCount,jdbcType=INTEGER}, + + + #{collectSubjectCount,jdbcType=INTEGER}, + + + #{collectTopicCount,jdbcType=INTEGER}, + + + #{collectCommentCount,jdbcType=INTEGER}, + + + #{inviteFriendCount,jdbcType=INTEGER}, + + + #{recentOrderTime,jdbcType=TIMESTAMP}, + + + + + + update ums_member_statistics_info + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, + + + order_count = #{record.orderCount,jdbcType=INTEGER}, + + + coupon_count = #{record.couponCount,jdbcType=INTEGER}, + + + comment_count = #{record.commentCount,jdbcType=INTEGER}, + + + return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, + + + login_count = #{record.loginCount,jdbcType=INTEGER}, + + + attend_count = #{record.attendCount,jdbcType=INTEGER}, + + + fans_count = #{record.fansCount,jdbcType=INTEGER}, + + + collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, + + + collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, + + + collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, + + + collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, + + + invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, + + + recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP}, + + + + + + + + update ums_member_statistics_info + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, + order_count = #{record.orderCount,jdbcType=INTEGER}, + coupon_count = #{record.couponCount,jdbcType=INTEGER}, + comment_count = #{record.commentCount,jdbcType=INTEGER}, + return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, + login_count = #{record.loginCount,jdbcType=INTEGER}, + attend_count = #{record.attendCount,jdbcType=INTEGER}, + fans_count = #{record.fansCount,jdbcType=INTEGER}, + collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, + collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, + collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, + collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, + invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, + recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP} + + + + + + update ums_member_statistics_info + + + member_id = #{memberId,jdbcType=BIGINT}, + + + consume_amount = #{consumeAmount,jdbcType=DECIMAL}, + + + order_count = #{orderCount,jdbcType=INTEGER}, + + + coupon_count = #{couponCount,jdbcType=INTEGER}, + + + comment_count = #{commentCount,jdbcType=INTEGER}, + + + return_order_count = #{returnOrderCount,jdbcType=INTEGER}, + + + login_count = #{loginCount,jdbcType=INTEGER}, + + + attend_count = #{attendCount,jdbcType=INTEGER}, + + + fans_count = #{fansCount,jdbcType=INTEGER}, + + + collect_product_count = #{collectProductCount,jdbcType=INTEGER}, + + + collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, + + + collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, + + + collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, + + + invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, + + + recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_statistics_info + set member_id = #{memberId,jdbcType=BIGINT}, + consume_amount = #{consumeAmount,jdbcType=DECIMAL}, + order_count = #{orderCount,jdbcType=INTEGER}, + coupon_count = #{couponCount,jdbcType=INTEGER}, + comment_count = #{commentCount,jdbcType=INTEGER}, + return_order_count = #{returnOrderCount,jdbcType=INTEGER}, + login_count = #{loginCount,jdbcType=INTEGER}, + attend_count = #{attendCount,jdbcType=INTEGER}, + fans_count = #{fansCount,jdbcType=INTEGER}, + collect_product_count = #{collectProductCount,jdbcType=INTEGER}, + collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, + collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, + collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, + invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, + recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, consume_amount, order_count, coupon_count, comment_count, return_order_count, + login_count, attend_count, fans_count, collect_product_count, collect_subject_count, + collect_topic_count, collect_comment_count, invite_friend_count, recent_order_time + + + + + delete from ums_member_statistics_info + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_statistics_info + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_statistics_info (member_id, consume_amount, order_count, + coupon_count, comment_count, return_order_count, + login_count, attend_count, fans_count, + collect_product_count, collect_subject_count, + collect_topic_count, collect_comment_count, + invite_friend_count, recent_order_time) + values (#{memberId,jdbcType=BIGINT}, #{consumeAmount,jdbcType=DECIMAL}, #{orderCount,jdbcType=INTEGER}, + #{couponCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{returnOrderCount,jdbcType=INTEGER}, + #{loginCount,jdbcType=INTEGER}, #{attendCount,jdbcType=INTEGER}, #{fansCount,jdbcType=INTEGER}, + #{collectProductCount,jdbcType=INTEGER}, #{collectSubjectCount,jdbcType=INTEGER}, + #{collectTopicCount,jdbcType=INTEGER}, #{collectCommentCount,jdbcType=INTEGER}, + #{inviteFriendCount,jdbcType=INTEGER}, #{recentOrderTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_statistics_info + + + member_id, + + + consume_amount, + + + order_count, + + + coupon_count, + + + comment_count, + + + return_order_count, + + + login_count, + + + attend_count, + + + fans_count, + + + collect_product_count, + + + collect_subject_count, + + + collect_topic_count, + + + collect_comment_count, + + + invite_friend_count, + + + recent_order_time, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{consumeAmount,jdbcType=DECIMAL}, + + + #{orderCount,jdbcType=INTEGER}, + + + #{couponCount,jdbcType=INTEGER}, + + + #{commentCount,jdbcType=INTEGER}, + + + #{returnOrderCount,jdbcType=INTEGER}, + + + #{loginCount,jdbcType=INTEGER}, + + + #{attendCount,jdbcType=INTEGER}, + + + #{fansCount,jdbcType=INTEGER}, + + + #{collectProductCount,jdbcType=INTEGER}, + + + #{collectSubjectCount,jdbcType=INTEGER}, + + + #{collectTopicCount,jdbcType=INTEGER}, + + + #{collectCommentCount,jdbcType=INTEGER}, + + + #{inviteFriendCount,jdbcType=INTEGER}, + + + #{recentOrderTime,jdbcType=TIMESTAMP}, + + + + + + update ums_member_statistics_info + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, + + + order_count = #{record.orderCount,jdbcType=INTEGER}, + + + coupon_count = #{record.couponCount,jdbcType=INTEGER}, + + + comment_count = #{record.commentCount,jdbcType=INTEGER}, + + + return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, + + + login_count = #{record.loginCount,jdbcType=INTEGER}, + + + attend_count = #{record.attendCount,jdbcType=INTEGER}, + + + fans_count = #{record.fansCount,jdbcType=INTEGER}, + + + collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, + + + collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, + + + collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, + + + collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, + + + invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, + + + recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP}, + + + + + + + + update ums_member_statistics_info + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, + order_count = #{record.orderCount,jdbcType=INTEGER}, + coupon_count = #{record.couponCount,jdbcType=INTEGER}, + comment_count = #{record.commentCount,jdbcType=INTEGER}, + return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, + login_count = #{record.loginCount,jdbcType=INTEGER}, + attend_count = #{record.attendCount,jdbcType=INTEGER}, + fans_count = #{record.fansCount,jdbcType=INTEGER}, + collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, + collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, + collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, + collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, + invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, + recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP} + + + + + + update ums_member_statistics_info + + + member_id = #{memberId,jdbcType=BIGINT}, + + + consume_amount = #{consumeAmount,jdbcType=DECIMAL}, + + + order_count = #{orderCount,jdbcType=INTEGER}, + + + coupon_count = #{couponCount,jdbcType=INTEGER}, + + + comment_count = #{commentCount,jdbcType=INTEGER}, + + + return_order_count = #{returnOrderCount,jdbcType=INTEGER}, + + + login_count = #{loginCount,jdbcType=INTEGER}, + + + attend_count = #{attendCount,jdbcType=INTEGER}, + + + fans_count = #{fansCount,jdbcType=INTEGER}, + + + collect_product_count = #{collectProductCount,jdbcType=INTEGER}, + + + collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, + + + collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, + + + collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, + + + invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, + + + recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_statistics_info + set member_id = #{memberId,jdbcType=BIGINT}, + consume_amount = #{consumeAmount,jdbcType=DECIMAL}, + order_count = #{orderCount,jdbcType=INTEGER}, + coupon_count = #{couponCount,jdbcType=INTEGER}, + comment_count = #{commentCount,jdbcType=INTEGER}, + return_order_count = #{returnOrderCount,jdbcType=INTEGER}, + login_count = #{loginCount,jdbcType=INTEGER}, + attend_count = #{attendCount,jdbcType=INTEGER}, + fans_count = #{fansCount,jdbcType=INTEGER}, + collect_product_count = #{collectProductCount,jdbcType=INTEGER}, + collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, + collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, + collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, + invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, + recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, member_id, consume_amount, order_count, coupon_count, comment_count, return_order_count, + login_count, attend_count, fans_count, collect_product_count, collect_subject_count, + collect_topic_count, collect_comment_count, invite_friend_count, recent_order_time + + + + + delete from ums_member_statistics_info + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_statistics_info + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_statistics_info (member_id, consume_amount, order_count, + coupon_count, comment_count, return_order_count, + login_count, attend_count, fans_count, + collect_product_count, collect_subject_count, + collect_topic_count, collect_comment_count, + invite_friend_count, recent_order_time) + values (#{memberId,jdbcType=BIGINT}, #{consumeAmount,jdbcType=DECIMAL}, #{orderCount,jdbcType=INTEGER}, + #{couponCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{returnOrderCount,jdbcType=INTEGER}, + #{loginCount,jdbcType=INTEGER}, #{attendCount,jdbcType=INTEGER}, #{fansCount,jdbcType=INTEGER}, + #{collectProductCount,jdbcType=INTEGER}, #{collectSubjectCount,jdbcType=INTEGER}, + #{collectTopicCount,jdbcType=INTEGER}, #{collectCommentCount,jdbcType=INTEGER}, + #{inviteFriendCount,jdbcType=INTEGER}, #{recentOrderTime,jdbcType=TIMESTAMP}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_statistics_info + + + member_id, + + + consume_amount, + + + order_count, + + + coupon_count, + + + comment_count, + + + return_order_count, + + + login_count, + + + attend_count, + + + fans_count, + + + collect_product_count, + + + collect_subject_count, + + + collect_topic_count, + + + collect_comment_count, + + + invite_friend_count, + + + recent_order_time, + + + + + #{memberId,jdbcType=BIGINT}, + + + #{consumeAmount,jdbcType=DECIMAL}, + + + #{orderCount,jdbcType=INTEGER}, + + + #{couponCount,jdbcType=INTEGER}, + + + #{commentCount,jdbcType=INTEGER}, + + + #{returnOrderCount,jdbcType=INTEGER}, + + + #{loginCount,jdbcType=INTEGER}, + + + #{attendCount,jdbcType=INTEGER}, + + + #{fansCount,jdbcType=INTEGER}, + + + #{collectProductCount,jdbcType=INTEGER}, + + + #{collectSubjectCount,jdbcType=INTEGER}, + + + #{collectTopicCount,jdbcType=INTEGER}, + + + #{collectCommentCount,jdbcType=INTEGER}, + + + #{inviteFriendCount,jdbcType=INTEGER}, + + + #{recentOrderTime,jdbcType=TIMESTAMP}, + + + + + + update ums_member_statistics_info + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, + + + order_count = #{record.orderCount,jdbcType=INTEGER}, + + + coupon_count = #{record.couponCount,jdbcType=INTEGER}, + + + comment_count = #{record.commentCount,jdbcType=INTEGER}, + + + return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, + + + login_count = #{record.loginCount,jdbcType=INTEGER}, + + + attend_count = #{record.attendCount,jdbcType=INTEGER}, + + + fans_count = #{record.fansCount,jdbcType=INTEGER}, + + + collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, + + + collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, + + + collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, + + + collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, + + + invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, + + + recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP}, + + + + + + + + update ums_member_statistics_info + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, + order_count = #{record.orderCount,jdbcType=INTEGER}, + coupon_count = #{record.couponCount,jdbcType=INTEGER}, + comment_count = #{record.commentCount,jdbcType=INTEGER}, + return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, + login_count = #{record.loginCount,jdbcType=INTEGER}, + attend_count = #{record.attendCount,jdbcType=INTEGER}, + fans_count = #{record.fansCount,jdbcType=INTEGER}, + collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, + collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, + collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, + collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, + invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, + recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP} + + + + + + update ums_member_statistics_info + + + member_id = #{memberId,jdbcType=BIGINT}, + + + consume_amount = #{consumeAmount,jdbcType=DECIMAL}, + + + order_count = #{orderCount,jdbcType=INTEGER}, + + + coupon_count = #{couponCount,jdbcType=INTEGER}, + + + comment_count = #{commentCount,jdbcType=INTEGER}, + + + return_order_count = #{returnOrderCount,jdbcType=INTEGER}, + + + login_count = #{loginCount,jdbcType=INTEGER}, + + + attend_count = #{attendCount,jdbcType=INTEGER}, + + + fans_count = #{fansCount,jdbcType=INTEGER}, + + + collect_product_count = #{collectProductCount,jdbcType=INTEGER}, + + + collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, + + + collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, + + + collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, + + + invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, + + + recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_statistics_info + set member_id = #{memberId,jdbcType=BIGINT}, + consume_amount = #{consumeAmount,jdbcType=DECIMAL}, + order_count = #{orderCount,jdbcType=INTEGER}, + coupon_count = #{couponCount,jdbcType=INTEGER}, + comment_count = #{commentCount,jdbcType=INTEGER}, + return_order_count = #{returnOrderCount,jdbcType=INTEGER}, + login_count = #{loginCount,jdbcType=INTEGER}, + attend_count = #{attendCount,jdbcType=INTEGER}, + fans_count = #{fansCount,jdbcType=INTEGER}, + collect_product_count = #{collectProductCount,jdbcType=INTEGER}, + collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, + collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, + collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, + invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, + recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberTagMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberTagMapper.xml new file mode 100644 index 0000000..3e101dd --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberTagMapper.xml @@ -0,0 +1,580 @@ + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, finish_order_count, finish_order_amount + + + + + delete from ums_member_tag + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_tag + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_tag (name, finish_order_count, finish_order_amount + ) + values (#{name,jdbcType=VARCHAR}, #{finishOrderCount,jdbcType=INTEGER}, #{finishOrderAmount,jdbcType=DECIMAL} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_tag + + + name, + + + finish_order_count, + + + finish_order_amount, + + + + + #{name,jdbcType=VARCHAR}, + + + #{finishOrderCount,jdbcType=INTEGER}, + + + #{finishOrderAmount,jdbcType=DECIMAL}, + + + + + + update ums_member_tag + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, + + + finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL}, + + + + + + + + update ums_member_tag + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, + finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL} + + + + + + update ums_member_tag + + + name = #{name,jdbcType=VARCHAR}, + + + finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, + + + finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_tag + set name = #{name,jdbcType=VARCHAR}, + finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, + finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, finish_order_count, finish_order_amount + + + + + delete from ums_member_tag + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_tag + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_tag (name, finish_order_count, finish_order_amount + ) + values (#{name,jdbcType=VARCHAR}, #{finishOrderCount,jdbcType=INTEGER}, #{finishOrderAmount,jdbcType=DECIMAL} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_tag + + + name, + + + finish_order_count, + + + finish_order_amount, + + + + + #{name,jdbcType=VARCHAR}, + + + #{finishOrderCount,jdbcType=INTEGER}, + + + #{finishOrderAmount,jdbcType=DECIMAL}, + + + + + + update ums_member_tag + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, + + + finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL}, + + + + + + + + update ums_member_tag + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, + finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL} + + + + + + update ums_member_tag + + + name = #{name,jdbcType=VARCHAR}, + + + finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, + + + finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_tag + set name = #{name,jdbcType=VARCHAR}, + finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, + finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, finish_order_count, finish_order_amount + + + + + delete from ums_member_tag + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_tag + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_tag (name, finish_order_count, finish_order_amount + ) + values (#{name,jdbcType=VARCHAR}, #{finishOrderCount,jdbcType=INTEGER}, #{finishOrderAmount,jdbcType=DECIMAL} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_tag + + + name, + + + finish_order_count, + + + finish_order_amount, + + + + + #{name,jdbcType=VARCHAR}, + + + #{finishOrderCount,jdbcType=INTEGER}, + + + #{finishOrderAmount,jdbcType=DECIMAL}, + + + + + + update ums_member_tag + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, + + + finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL}, + + + + + + + + update ums_member_tag + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, + finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL} + + + + + + update ums_member_tag + + + name = #{name,jdbcType=VARCHAR}, + + + finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, + + + finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_tag + set name = #{name,jdbcType=VARCHAR}, + finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, + finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberTaskMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberTaskMapper.xml new file mode 100644 index 0000000..9b4c44b --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsMemberTaskMapper.xml @@ -0,0 +1,625 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, growth, intergration, type + + + + + delete from ums_member_task + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_task + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_task (name, growth, intergration, + type) + values (#{name,jdbcType=VARCHAR}, #{growth,jdbcType=INTEGER}, #{intergration,jdbcType=INTEGER}, + #{type,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_task + + + name, + + + growth, + + + intergration, + + + type, + + + + + #{name,jdbcType=VARCHAR}, + + + #{growth,jdbcType=INTEGER}, + + + #{intergration,jdbcType=INTEGER}, + + + #{type,jdbcType=INTEGER}, + + + + + + update ums_member_task + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + growth = #{record.growth,jdbcType=INTEGER}, + + + intergration = #{record.intergration,jdbcType=INTEGER}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update ums_member_task + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + growth = #{record.growth,jdbcType=INTEGER}, + intergration = #{record.intergration,jdbcType=INTEGER}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update ums_member_task + + + name = #{name,jdbcType=VARCHAR}, + + + growth = #{growth,jdbcType=INTEGER}, + + + intergration = #{intergration,jdbcType=INTEGER}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_task + set name = #{name,jdbcType=VARCHAR}, + growth = #{growth,jdbcType=INTEGER}, + intergration = #{intergration,jdbcType=INTEGER}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, growth, intergration, type + + + + + delete from ums_member_task + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_task + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_task (name, growth, intergration, + type) + values (#{name,jdbcType=VARCHAR}, #{growth,jdbcType=INTEGER}, #{intergration,jdbcType=INTEGER}, + #{type,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_task + + + name, + + + growth, + + + intergration, + + + type, + + + + + #{name,jdbcType=VARCHAR}, + + + #{growth,jdbcType=INTEGER}, + + + #{intergration,jdbcType=INTEGER}, + + + #{type,jdbcType=INTEGER}, + + + + + + update ums_member_task + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + growth = #{record.growth,jdbcType=INTEGER}, + + + intergration = #{record.intergration,jdbcType=INTEGER}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update ums_member_task + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + growth = #{record.growth,jdbcType=INTEGER}, + intergration = #{record.intergration,jdbcType=INTEGER}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update ums_member_task + + + name = #{name,jdbcType=VARCHAR}, + + + growth = #{growth,jdbcType=INTEGER}, + + + intergration = #{intergration,jdbcType=INTEGER}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_task + set name = #{name,jdbcType=VARCHAR}, + growth = #{growth,jdbcType=INTEGER}, + intergration = #{intergration,jdbcType=INTEGER}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, growth, intergration, type + + + + + delete from ums_member_task + where id = #{id,jdbcType=BIGINT} + + + delete from ums_member_task + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_task (name, growth, intergration, + type) + values (#{name,jdbcType=VARCHAR}, #{growth,jdbcType=INTEGER}, #{intergration,jdbcType=INTEGER}, + #{type,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_task + + + name, + + + growth, + + + intergration, + + + type, + + + + + #{name,jdbcType=VARCHAR}, + + + #{growth,jdbcType=INTEGER}, + + + #{intergration,jdbcType=INTEGER}, + + + #{type,jdbcType=INTEGER}, + + + + + + update ums_member_task + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + growth = #{record.growth,jdbcType=INTEGER}, + + + intergration = #{record.intergration,jdbcType=INTEGER}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update ums_member_task + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + growth = #{record.growth,jdbcType=INTEGER}, + intergration = #{record.intergration,jdbcType=INTEGER}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update ums_member_task + + + name = #{name,jdbcType=VARCHAR}, + + + growth = #{growth,jdbcType=INTEGER}, + + + intergration = #{intergration,jdbcType=INTEGER}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_task + set name = #{name,jdbcType=VARCHAR}, + growth = #{growth,jdbcType=INTEGER}, + intergration = #{intergration,jdbcType=INTEGER}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsPermissionMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsPermissionMapper.xml new file mode 100644 index 0000000..0c87872 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsPermissionMapper.xml @@ -0,0 +1,856 @@ + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, pid, name, value, icon, type, uri, status, create_time, sort + + + + + delete from ums_permission + where id = #{id,jdbcType=BIGINT} + + + delete from ums_permission + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_permission (pid, name, value, + icon, type, uri, status, + create_time, sort) + values (#{pid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{value,jdbcType=VARCHAR}, + #{icon,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{uri,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, + #{createTime,jdbcType=TIMESTAMP}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_permission + + + pid, + + + name, + + + value, + + + icon, + + + type, + + + uri, + + + status, + + + create_time, + + + sort, + + + + + #{pid,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{value,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{type,jdbcType=INTEGER}, + + + #{uri,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update ums_permission + + + id = #{record.id,jdbcType=BIGINT}, + + + pid = #{record.pid,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + value = #{record.value,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + type = #{record.type,jdbcType=INTEGER}, + + + uri = #{record.uri,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update ums_permission + set id = #{record.id,jdbcType=BIGINT}, + pid = #{record.pid,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + value = #{record.value,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + type = #{record.type,jdbcType=INTEGER}, + uri = #{record.uri,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update ums_permission + + + pid = #{pid,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + value = #{value,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + type = #{type,jdbcType=INTEGER}, + + + uri = #{uri,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_permission + set pid = #{pid,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + value = #{value,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + type = #{type,jdbcType=INTEGER}, + uri = #{uri,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, pid, name, value, icon, type, uri, status, create_time, sort + + + + + delete from ums_permission + where id = #{id,jdbcType=BIGINT} + + + delete from ums_permission + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_permission (pid, name, value, + icon, type, uri, status, + create_time, sort) + values (#{pid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{value,jdbcType=VARCHAR}, + #{icon,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{uri,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, + #{createTime,jdbcType=TIMESTAMP}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_permission + + + pid, + + + name, + + + value, + + + icon, + + + type, + + + uri, + + + status, + + + create_time, + + + sort, + + + + + #{pid,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{value,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{type,jdbcType=INTEGER}, + + + #{uri,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update ums_permission + + + id = #{record.id,jdbcType=BIGINT}, + + + pid = #{record.pid,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + value = #{record.value,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + type = #{record.type,jdbcType=INTEGER}, + + + uri = #{record.uri,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update ums_permission + set id = #{record.id,jdbcType=BIGINT}, + pid = #{record.pid,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + value = #{record.value,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + type = #{record.type,jdbcType=INTEGER}, + uri = #{record.uri,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update ums_permission + + + pid = #{pid,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + value = #{value,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + type = #{type,jdbcType=INTEGER}, + + + uri = #{uri,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_permission + set pid = #{pid,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + value = #{value,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + type = #{type,jdbcType=INTEGER}, + uri = #{uri,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, pid, name, value, icon, type, uri, status, create_time, sort + + + + + delete from ums_permission + where id = #{id,jdbcType=BIGINT} + + + delete from ums_permission + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_permission (pid, name, value, + icon, type, uri, status, + create_time, sort) + values (#{pid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{value,jdbcType=VARCHAR}, + #{icon,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{uri,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, + #{createTime,jdbcType=TIMESTAMP}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_permission + + + pid, + + + name, + + + value, + + + icon, + + + type, + + + uri, + + + status, + + + create_time, + + + sort, + + + + + #{pid,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{value,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{type,jdbcType=INTEGER}, + + + #{uri,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update ums_permission + + + id = #{record.id,jdbcType=BIGINT}, + + + pid = #{record.pid,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + value = #{record.value,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + type = #{record.type,jdbcType=INTEGER}, + + + uri = #{record.uri,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update ums_permission + set id = #{record.id,jdbcType=BIGINT}, + pid = #{record.pid,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + value = #{record.value,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + type = #{record.type,jdbcType=INTEGER}, + uri = #{record.uri,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update ums_permission + + + pid = #{pid,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + value = #{value,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + type = #{type,jdbcType=INTEGER}, + + + uri = #{uri,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_permission + set pid = #{pid,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + value = #{value,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + type = #{type,jdbcType=INTEGER}, + uri = #{uri,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsRoleMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsRoleMapper.xml new file mode 100644 index 0000000..35129ee --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsRoleMapper.xml @@ -0,0 +1,721 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, description, admin_count, create_time, status, sort + + + + + delete from ums_role + where id = #{id,jdbcType=BIGINT} + + + delete from ums_role + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_role (name, description, admin_count, + create_time, status, sort + ) + values (#{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{adminCount,jdbcType=INTEGER}, + #{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_role + + + name, + + + description, + + + admin_count, + + + create_time, + + + status, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + #{adminCount,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{status,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update ums_role + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + admin_count = #{record.adminCount,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + status = #{record.status,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update ums_role + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + admin_count = #{record.adminCount,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + status = #{record.status,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update ums_role + + + name = #{name,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + admin_count = #{adminCount,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + status = #{status,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_role + set name = #{name,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + admin_count = #{adminCount,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + status = #{status,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, description, admin_count, create_time, status, sort + + + + + delete from ums_role + where id = #{id,jdbcType=BIGINT} + + + delete from ums_role + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_role (name, description, admin_count, + create_time, status, sort + ) + values (#{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{adminCount,jdbcType=INTEGER}, + #{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_role + + + name, + + + description, + + + admin_count, + + + create_time, + + + status, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + #{adminCount,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{status,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update ums_role + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + admin_count = #{record.adminCount,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + status = #{record.status,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update ums_role + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + admin_count = #{record.adminCount,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + status = #{record.status,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update ums_role + + + name = #{name,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + admin_count = #{adminCount,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + status = #{status,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_role + set name = #{name,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + admin_count = #{adminCount,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + status = #{status,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, name, description, admin_count, create_time, status, sort + + + + + delete from ums_role + where id = #{id,jdbcType=BIGINT} + + + delete from ums_role + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_role (name, description, admin_count, + create_time, status, sort + ) + values (#{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{adminCount,jdbcType=INTEGER}, + #{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_role + + + name, + + + description, + + + admin_count, + + + create_time, + + + status, + + + sort, + + + + + #{name,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + #{adminCount,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{status,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update ums_role + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + admin_count = #{record.adminCount,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + status = #{record.status,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update ums_role + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + admin_count = #{record.adminCount,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + status = #{record.status,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update ums_role + + + name = #{name,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + admin_count = #{adminCount,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + status = #{status,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_role + set name = #{name,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + admin_count = #{adminCount,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + status = #{status,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsRolePermissionRelationMapper.xml b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsRolePermissionRelationMapper.xml new file mode 100644 index 0000000..977b558 --- /dev/null +++ b/代码库/mall-mbg/src/main/resources/com/sock/mall/mapper/UmsRolePermissionRelationMapper.xml @@ -0,0 +1,529 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, role_id, permission_id + + + + + delete from ums_role_permission_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_role_permission_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_role_permission_relation (role_id, permission_id) + values (#{roleId,jdbcType=BIGINT}, #{permissionId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_role_permission_relation + + + role_id, + + + permission_id, + + + + + #{roleId,jdbcType=BIGINT}, + + + #{permissionId,jdbcType=BIGINT}, + + + + + + update ums_role_permission_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + role_id = #{record.roleId,jdbcType=BIGINT}, + + + permission_id = #{record.permissionId,jdbcType=BIGINT}, + + + + + + + + update ums_role_permission_relation + set id = #{record.id,jdbcType=BIGINT}, + role_id = #{record.roleId,jdbcType=BIGINT}, + permission_id = #{record.permissionId,jdbcType=BIGINT} + + + + + + update ums_role_permission_relation + + + role_id = #{roleId,jdbcType=BIGINT}, + + + permission_id = #{permissionId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_role_permission_relation + set role_id = #{roleId,jdbcType=BIGINT}, + permission_id = #{permissionId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, role_id, permission_id + + + + + delete from ums_role_permission_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_role_permission_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_role_permission_relation (role_id, permission_id) + values (#{roleId,jdbcType=BIGINT}, #{permissionId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_role_permission_relation + + + role_id, + + + permission_id, + + + + + #{roleId,jdbcType=BIGINT}, + + + #{permissionId,jdbcType=BIGINT}, + + + + + + update ums_role_permission_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + role_id = #{record.roleId,jdbcType=BIGINT}, + + + permission_id = #{record.permissionId,jdbcType=BIGINT}, + + + + + + + + update ums_role_permission_relation + set id = #{record.id,jdbcType=BIGINT}, + role_id = #{record.roleId,jdbcType=BIGINT}, + permission_id = #{record.permissionId,jdbcType=BIGINT} + + + + + + update ums_role_permission_relation + + + role_id = #{roleId,jdbcType=BIGINT}, + + + permission_id = #{permissionId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_role_permission_relation + set role_id = #{roleId,jdbcType=BIGINT}, + permission_id = #{permissionId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, role_id, permission_id + + + + + delete from ums_role_permission_relation + where id = #{id,jdbcType=BIGINT} + + + delete from ums_role_permission_relation + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_role_permission_relation (role_id, permission_id) + values (#{roleId,jdbcType=BIGINT}, #{permissionId,jdbcType=BIGINT}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_role_permission_relation + + + role_id, + + + permission_id, + + + + + #{roleId,jdbcType=BIGINT}, + + + #{permissionId,jdbcType=BIGINT}, + + + + + + update ums_role_permission_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + role_id = #{record.roleId,jdbcType=BIGINT}, + + + permission_id = #{record.permissionId,jdbcType=BIGINT}, + + + + + + + + update ums_role_permission_relation + set id = #{record.id,jdbcType=BIGINT}, + role_id = #{record.roleId,jdbcType=BIGINT}, + permission_id = #{record.permissionId,jdbcType=BIGINT} + + + + + + update ums_role_permission_relation + + + role_id = #{roleId,jdbcType=BIGINT}, + + + permission_id = #{permissionId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_role_permission_relation + set role_id = #{roleId,jdbcType=BIGINT}, + permission_id = #{permissionId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/代码库/mall-mbg/src/main/resources/generatorConfig.xml b/代码库/mall-mbg/src/main/resources/generatorConfig.xml index 2639bb7..d216edd 100644 --- a/代码库/mall-mbg/src/main/resources/generatorConfig.xml +++ b/代码库/mall-mbg/src/main/resources/generatorConfig.xml @@ -26,12 +26,12 @@ password="${jdbc.password}"> - + - + + targetProject=".\src\main\java"/>