From 9780b90795d7af28e84648dea59ceac839042860 Mon Sep 17 00:00:00 2001 From: Github_lizhw <171332584@qq.com> Date: Tue, 24 Dec 2024 22:37:08 +0800 Subject: [PATCH] saas h5 --- .../ruoyi-mall/ruoyi-mall-mbg/pom.xml | 48 - .../java/com/macro/mall/CommentGenerator.java | 74 - .../main/java/com/macro/mall/Generator.java | 38 - .../mall/mapper/CmsHelpCategoryMapper.java | 30 - .../com/macro/mall/mapper/CmsHelpMapper.java | 36 - .../mall/mapper/CmsMemberReportMapper.java | 22 - .../mall/mapper/CmsPrefrenceAreaMapper.java | 36 - ...CmsPrefrenceAreaProductRelationMapper.java | 30 - .../mall/mapper/CmsSubjectCategoryMapper.java | 30 - .../mall/mapper/CmsSubjectCommentMapper.java | 30 - .../macro/mall/mapper/CmsSubjectMapper.java | 36 - .../CmsSubjectProductRelationMapper.java | 30 - .../mall/mapper/CmsTopicCategoryMapper.java | 30 - .../mall/mapper/CmsTopicCommentMapper.java | 30 - .../com/macro/mall/mapper/CmsTopicMapper.java | 36 - .../macro/mall/mapper/OmsCartItemMapper.java | 30 - .../mall/mapper/OmsCompanyAddressMapper.java | 30 - .../macro/mall/mapper/OmsOrderItemMapper.java | 30 - .../com/macro/mall/mapper/OmsOrderMapper.java | 30 - .../mapper/OmsOrderOperateHistoryMapper.java | 30 - .../mapper/OmsOrderReturnApplyMapper.java | 30 - .../mapper/OmsOrderReturnReasonMapper.java | 30 - .../mall/mapper/OmsOrderSettingMapper.java | 30 - .../com/macro/mall/mapper/PmsAlbumMapper.java | 30 - .../macro/mall/mapper/PmsAlbumPicMapper.java | 30 - .../com/macro/mall/mapper/PmsBrandMapper.java | 36 - .../macro/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 - .../macro/mall/mapper/PmsProductMapper.java | 36 - .../mapper/PmsProductOperateLogMapper.java | 30 - .../mapper/PmsProductVertifyRecordMapper.java | 30 - .../macro/mall/mapper/PmsSkuStockMapper.java | 30 - .../mall/mapper/SmsCouponHistoryMapper.java | 30 - .../macro/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 - .../macro/mall/mapper/SmsHomeBrandMapper.java | 30 - .../mall/mapper/SmsHomeNewProductMapper.java | 30 - .../mapper/SmsHomeRecommendProductMapper.java | 30 - .../mapper/SmsHomeRecommendSubjectMapper.java | 30 - .../mall/mapper/UmsAdminLoginLogMapper.java | 30 - .../com/macro/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 - .../macro/mall/mapper/UmsMemberMapper.java | 30 - .../UmsMemberMemberTagRelationMapper.java | 30 - ...msMemberProductCategoryRelationMapper.java | 30 - .../mapper/UmsMemberReceiveAddressMapper.java | 30 - .../mapper/UmsMemberRuleSettingMapper.java | 30 - .../mapper/UmsMemberStatisticsInfoMapper.java | 30 - .../macro/mall/mapper/UmsMemberTagMapper.java | 30 - .../mall/mapper/UmsMemberTaskMapper.java | 30 - .../com/macro/mall/mapper/UmsMenuMapper.java | 30 - .../mall/mapper/UmsPermissionMapper.java | 30 - .../mapper/UmsResourceCategoryMapper.java | 30 - .../macro/mall/mapper/UmsResourceMapper.java | 30 - .../com/macro/mall/mapper/UmsRoleMapper.java | 30 - .../mapper/UmsRoleMenuRelationMapper.java | 30 - .../UmsRolePermissionRelationMapper.java | 30 - .../mapper/UmsRoleResourceRelationMapper.java | 30 - .../java/com/macro/mall/model/CmsHelp.java | 108 - .../com/macro/mall/model/CmsHelpCategory.java | 87 - .../mall/model/CmsHelpCategoryExample.java | 579 - .../com/macro/mall/model/CmsHelpExample.java | 640 - .../com/macro/mall/model/CmsMemberReport.java | 112 - .../mall/model/CmsMemberReportExample.java | 710 - .../macro/mall/model/CmsPrefrenceArea.java | 86 - .../mall/model/CmsPrefrenceAreaExample.java | 519 - .../CmsPrefrenceAreaProductRelation.java | 52 - ...msPrefrenceAreaProductRelationExample.java | 379 - .../java/com/macro/mall/model/CmsSubject.java | 202 - .../macro/mall/model/CmsSubjectCategory.java | 87 - .../mall/model/CmsSubjectCategoryExample.java | 579 - .../macro/mall/model/CmsSubjectComment.java | 97 - .../mall/model/CmsSubjectCommentExample.java | 650 - .../macro/mall/model/CmsSubjectExample.java | 1150 - .../mall/model/CmsSubjectProductRelation.java | 52 - .../CmsSubjectProductRelationExample.java | 379 - .../java/com/macro/mall/model/CmsTopic.java | 157 - .../macro/mall/model/CmsTopicCategory.java | 87 - .../mall/model/CmsTopicCategoryExample.java | 579 - .../com/macro/mall/model/CmsTopicComment.java | 97 - .../mall/model/CmsTopicCommentExample.java | 650 - .../com/macro/mall/model/CmsTopicExample.java | 890 - .../com/macro/mall/model/OmsCartItem.java | 231 - .../macro/mall/model/OmsCartItemExample.java | 1361 - .../macro/mall/model/OmsCompanyAddress.java | 138 - .../mall/model/OmsCompanyAddressExample.java | 869 - .../java/com/macro/mall/model/OmsOrder.java | 547 - .../com/macro/mall/model/OmsOrderExample.java | 3011 - .../com/macro/mall/model/OmsOrderItem.java | 264 - .../macro/mall/model/OmsOrderItemExample.java | 1540 - .../mall/model/OmsOrderOperateHistory.java | 91 - .../model/OmsOrderOperateHistoryExample.java | 580 - .../macro/mall/model/OmsOrderReturnApply.java | 344 - .../model/OmsOrderReturnApplyExample.java | 1971 - .../mall/model/OmsOrderReturnReason.java | 78 - .../model/OmsOrderReturnReasonExample.java | 510 - .../com/macro/mall/model/OmsOrderSetting.java | 90 - .../mall/model/OmsOrderSettingExample.java | 559 - .../java/com/macro/mall/model/PmsAlbum.java | 85 - .../com/macro/mall/model/PmsAlbumExample.java | 589 - .../com/macro/mall/model/PmsAlbumPic.java | 52 - .../macro/mall/model/PmsAlbumPicExample.java | 389 - .../java/com/macro/mall/model/PmsBrand.java | 147 - .../com/macro/mall/model/PmsBrandExample.java | 839 - .../java/com/macro/mall/model/PmsComment.java | 190 - .../macro/mall/model/PmsCommentExample.java | 1100 - .../macro/mall/model/PmsCommentReplay.java | 98 - .../mall/model/PmsCommentReplayExample.java | 650 - .../macro/mall/model/PmsFeightTemplate.java | 112 - .../mall/model/PmsFeightTemplateExample.java | 700 - .../com/macro/mall/model/PmsMemberPrice.java | 76 - .../mall/model/PmsMemberPriceExample.java | 510 - .../java/com/macro/mall/model/PmsProduct.java | 513 - .../macro/mall/model/PmsProductAttribute.java | 160 - .../model/PmsProductAttributeCategory.java | 65 - .../PmsProductAttributeCategoryExample.java | 449 - .../model/PmsProductAttributeExample.java | 939 - .../mall/model/PmsProductAttributeValue.java | 64 - .../PmsProductAttributeValueExample.java | 449 - .../macro/mall/model/PmsProductCategory.java | 157 - .../PmsProductCategoryAttributeRelation.java | 52 - ...oductCategoryAttributeRelationExample.java | 379 - .../mall/model/PmsProductCategoryExample.java | 899 - .../macro/mall/model/PmsProductExample.java | 2601 - .../mall/model/PmsProductFullReduction.java | 64 - .../model/PmsProductFullReductionExample.java | 440 - .../macro/mall/model/PmsProductLadder.java | 78 - .../mall/model/PmsProductLadderExample.java | 500 - .../mall/model/PmsProductOperateLog.java | 155 - .../model/PmsProductOperateLogExample.java | 931 - .../mall/model/PmsProductVertifyRecord.java | 88 - .../model/PmsProductVertifyRecordExample.java | 580 - .../com/macro/mall/model/PmsSkuStock.java | 149 - .../macro/mall/model/PmsSkuStockExample.java | 890 - .../java/com/macro/mall/model/SmsCoupon.java | 233 - .../macro/mall/model/SmsCouponExample.java | 1311 - .../macro/mall/model/SmsCouponHistory.java | 147 - .../mall/model/SmsCouponHistoryExample.java | 890 - .../SmsCouponProductCategoryRelation.java | 76 - ...sCouponProductCategoryRelationExample.java | 519 - .../mall/model/SmsCouponProductRelation.java | 76 - .../SmsCouponProductRelationExample.java | 519 - .../macro/mall/model/SmsFlashPromotion.java | 91 - .../mall/model/SmsFlashPromotionExample.java | 597 - .../mall/model/SmsFlashPromotionLog.java | 98 - .../model/SmsFlashPromotionLogExample.java | 640 - .../SmsFlashPromotionProductRelation.java | 114 - ...sFlashPromotionProductRelationExample.java | 680 - .../mall/model/SmsFlashPromotionSession.java | 92 - .../SmsFlashPromotionSessionExample.java | 597 - .../macro/mall/model/SmsHomeAdvertise.java | 159 - .../mall/model/SmsHomeAdvertiseExample.java | 960 - .../com/macro/mall/model/SmsHomeBrand.java | 74 - .../macro/mall/model/SmsHomeBrandExample.java | 509 - .../macro/mall/model/SmsHomeNewProduct.java | 74 - .../mall/model/SmsHomeNewProductExample.java | 509 - .../mall/model/SmsHomeRecommendProduct.java | 74 - .../model/SmsHomeRecommendProductExample.java | 509 - .../mall/model/SmsHomeRecommendSubject.java | 74 - .../model/SmsHomeRecommendSubjectExample.java | 509 - .../java/com/macro/mall/model/UmsAdmin.java | 137 - .../com/macro/mall/model/UmsAdminExample.java | 860 - .../macro/mall/model/UmsAdminLoginLog.java | 87 - .../mall/model/UmsAdminLoginLogExample.java | 590 - .../model/UmsAdminPermissionRelation.java | 63 - .../UmsAdminPermissionRelationExample.java | 439 - .../mall/model/UmsAdminRoleRelation.java | 52 - .../model/UmsAdminRoleRelationExample.java | 379 - .../mall/model/UmsGrowthChangeHistory.java | 113 - .../model/UmsGrowthChangeHistoryExample.java | 700 - .../model/UmsIntegrationChangeHistory.java | 113 - .../UmsIntegrationChangeHistoryExample.java | 700 - .../model/UmsIntegrationConsumeSetting.java | 78 - .../UmsIntegrationConsumeSettingExample.java | 499 - .../java/com/macro/mall/model/UmsMember.java | 246 - .../macro/mall/model/UmsMemberExample.java | 1447 - .../com/macro/mall/model/UmsMemberLevel.java | 172 - .../mall/model/UmsMemberLevelExample.java | 1000 - .../macro/mall/model/UmsMemberLoginLog.java | 98 - .../mall/model/UmsMemberLoginLogExample.java | 650 - .../model/UmsMemberMemberTagRelation.java | 52 - .../UmsMemberMemberTagRelationExample.java | 379 - .../UmsMemberProductCategoryRelation.java | 52 - ...sMemberProductCategoryRelationExample.java | 379 - .../mall/model/UmsMemberReceiveAddress.java | 136 - .../model/UmsMemberReceiveAddressExample.java | 869 - .../mall/model/UmsMemberRuleSetting.java | 103 - .../model/UmsMemberRuleSettingExample.java | 620 - .../mall/model/UmsMemberStatisticsInfo.java | 206 - .../model/UmsMemberStatisticsInfoExample.java | 1161 - .../com/macro/mall/model/UmsMemberTag.java | 66 - .../macro/mall/model/UmsMemberTagExample.java | 450 - .../com/macro/mall/model/UmsMemberTask.java | 77 - .../mall/model/UmsMemberTaskExample.java | 509 - .../java/com/macro/mall/model/UmsMenu.java | 127 - .../com/macro/mall/model/UmsMenuExample.java | 770 - .../com/macro/mall/model/UmsPermission.java | 139 - .../mall/model/UmsPermissionExample.java | 840 - .../com/macro/mall/model/UmsResource.java | 91 - .../macro/mall/model/UmsResourceCategory.java | 67 - .../model/UmsResourceCategoryExample.java | 450 - .../macro/mall/model/UmsResourceExample.java | 590 - .../java/com/macro/mall/model/UmsRole.java | 102 - .../com/macro/mall/model/UmsRoleExample.java | 640 - .../macro/mall/model/UmsRoleMenuRelation.java | 54 - .../model/UmsRoleMenuRelationExample.java | 379 - .../mall/model/UmsRolePermissionRelation.java | 52 - .../UmsRolePermissionRelationExample.java | 379 - .../mall/model/UmsRoleResourceRelation.java | 54 - .../model/UmsRoleResourceRelationExample.java | 379 - .../mall/mapper/CmsHelpCategoryMapper.xml | 226 - .../com/macro/mall/mapper/CmsHelpMapper.xml | 304 - .../mall/mapper/CmsMemberReportMapper.xml | 211 - .../mall/mapper/CmsPrefrenceAreaMapper.xml | 268 - .../CmsPrefrenceAreaProductRelationMapper.xml | 179 - .../mall/mapper/CmsSubjectCategoryMapper.xml | 226 - .../mall/mapper/CmsSubjectCommentMapper.xml | 243 - .../macro/mall/mapper/CmsSubjectMapper.xml | 447 - .../CmsSubjectProductRelationMapper.xml | 179 - .../mall/mapper/CmsTopicCategoryMapper.xml | 226 - .../mall/mapper/CmsTopicCommentMapper.xml | 243 - .../com/macro/mall/mapper/CmsTopicMapper.xml | 375 - .../macro/mall/mapper/OmsCartItemMapper.xml | 416 - .../mall/mapper/OmsCompanyAddressMapper.xml | 291 - .../macro/mall/mapper/OmsOrderItemMapper.xml | 464 - .../com/macro/mall/mapper/OmsOrderMapper.xml | 828 - .../mapper/OmsOrderOperateHistoryMapper.xml | 226 - .../mall/mapper/OmsOrderReturnApplyMapper.xml | 558 - .../mapper/OmsOrderReturnReasonMapper.xml | 211 - .../mall/mapper/OmsOrderSettingMapper.xml | 229 - .../com/macro/mall/mapper/PmsAlbumMapper.xml | 226 - .../macro/mall/mapper/PmsAlbumPicMapper.xml | 179 - .../com/macro/mall/mapper/PmsBrandMapper.xml | 358 - .../macro/mall/mapper/PmsCommentMapper.xml | 428 - .../mall/mapper/PmsCommentReplayMapper.xml | 243 - .../mall/mapper/PmsFeightTemplateMapper.xml | 258 - .../mall/mapper/PmsMemberPriceMapper.xml | 211 - .../PmsProductAttributeCategoryMapper.xml | 196 - .../mall/mapper/PmsProductAttributeMapper.xml | 323 - .../mapper/PmsProductAttributeValueMapper.xml | 196 - ...ProductCategoryAttributeRelationMapper.xml | 181 - .../mall/mapper/PmsProductCategoryMapper.xml | 375 - .../mapper/PmsProductFullReductionMapper.xml | 196 - .../mall/mapper/PmsProductLadderMapper.xml | 211 - .../macro/mall/mapper/PmsProductMapper.xml | 903 - .../mapper/PmsProductOperateLogMapper.xml | 321 - .../mapper/PmsProductVertifyRecordMapper.xml | 226 - .../macro/mall/mapper/PmsSkuStockMapper.xml | 306 - .../mall/mapper/SmsCouponHistoryMapper.xml | 306 - .../com/macro/mall/mapper/SmsCouponMapper.xml | 415 - ...SmsCouponProductCategoryRelationMapper.xml | 211 - .../mapper/SmsCouponProductRelationMapper.xml | 211 - .../mapper/SmsFlashPromotionLogMapper.xml | 243 - .../mall/mapper/SmsFlashPromotionMapper.xml | 226 - ...SmsFlashPromotionProductRelationMapper.xml | 259 - .../mapper/SmsFlashPromotionSessionMapper.xml | 226 - .../mall/mapper/SmsHomeAdvertiseMapper.xml | 321 - .../macro/mall/mapper/SmsHomeBrandMapper.xml | 211 - .../mall/mapper/SmsHomeNewProductMapper.xml | 211 - .../mapper/SmsHomeRecommendProductMapper.xml | 211 - .../mapper/SmsHomeRecommendSubjectMapper.xml | 211 - .../mall/mapper/UmsAdminLoginLogMapper.xml | 226 - .../com/macro/mall/mapper/UmsAdminMapper.xml | 290 - .../UmsAdminPermissionRelationMapper.xml | 196 - .../mapper/UmsAdminRoleRelationMapper.xml | 179 - .../mapper/UmsGrowthChangeHistoryMapper.xml | 259 - .../UmsIntegrationChangeHistoryMapper.xml | 259 - .../UmsIntegrationConsumeSettingMapper.xml | 211 - .../mall/mapper/UmsMemberLevelMapper.xml | 339 - .../mall/mapper/UmsMemberLoginLogMapper.xml | 243 - .../com/macro/mall/mapper/UmsMemberMapper.xml | 431 - .../UmsMemberMemberTagRelationMapper.xml | 179 - ...UmsMemberProductCategoryRelationMapper.xml | 179 - .../mapper/UmsMemberReceiveAddressMapper.xml | 291 - .../mapper/UmsMemberRuleSettingMapper.xml | 244 - .../mapper/UmsMemberStatisticsInfoMapper.xml | 386 - .../macro/mall/mapper/UmsMemberTagMapper.xml | 196 - .../macro/mall/mapper/UmsMemberTaskMapper.xml | 211 - .../com/macro/mall/mapper/UmsMenuMapper.xml | 273 - .../macro/mall/mapper/UmsPermissionMapper.xml | 288 - .../mall/mapper/UmsResourceCategoryMapper.xml | 196 - .../macro/mall/mapper/UmsResourceMapper.xml | 226 - .../com/macro/mall/mapper/UmsRoleMapper.xml | 243 - .../mall/mapper/UmsRoleMenuRelationMapper.xml | 179 - .../UmsRolePermissionRelationMapper.xml | 179 - .../mapper/UmsRoleResourceRelationMapper.xml | 179 - .../src/main/resources/generator.properties | 4 - .../src/main/resources/generatorConfig.xml | 44 - ruoyi-site/pom.xml | 1 + ruoyi-site/ruoyi-h5/Dockerfile | 25 + ruoyi-site/ruoyi-h5/pom.xml | 106 + .../java/com/luban/api/MallH5Application.java | 20 + .../java/com/luban/api/config/JsonConfig.java | 32 + .../config/MybatisPlusAutoConfigTenant.java | 15 + .../api/config/PlusTenantLineHandler.java | 56 + .../com/luban/api/config/WebMvcConfig.java | 22 + .../luban/api/constant/PackageConstant.java | 18 + .../api/controller/ScriptsController.java | 50 + .../api/controller/UploadController.java | 51 + .../luban/api/controller/WorkController.java | 175 + .../api/controller/WorkFormsController.java | 20 + .../com/luban/api/convert/ScriptsConvert.java | 21 + .../com/luban/api/convert/WorkConvert.java | 49 + .../java/com/luban/api/dao/ScriptsDao.java | 16 + .../main/java/com/luban/api/dao/WorkDao.java | 16 + .../java/com/luban/api/dao/WorkFormsDao.java | 16 + .../java/com/luban/api/dto/PageDtoBase.java | 37 + .../com/luban/api/dto/ScriptsQueryDTO.java | 15 + .../java/com/luban/api/dto/WorkCreateDTO.java | 35 + .../java/com/luban/api/dto/WorkQueryDTO.java | 35 + .../java/com/luban/api/dto/WorkUpdateDTO.java | 42 + .../java/com/luban/api/entity/Scripts.java | 43 + .../main/java/com/luban/api/entity/Work.java | 62 + .../java/com/luban/api/entity/WorkForms.java | 36 + .../luban/api/exception/ExceptionHandle.java | 113 + .../luban/api/exception/UnifiedException.java | 91 + .../java/com/luban/api/log/P6SpyLogger.java | 21 + .../java/com/luban/api/log/StdoutLogger.java | 20 + .../com/luban/api/service/ScriptsService.java | 16 + .../luban/api/service/WorkFormsService.java | 16 + .../com/luban/api/service/WorkService.java | 16 + .../api/service/impl/ScriptsServiceImpl.java | 20 + .../service/impl/WorkFormsServiceImpl.java | 20 + .../api/service/impl/WorkServiceImpl.java | 21 + .../main/java/com/luban/api/util/JSON.java | 66 + .../main/java/com/luban/api/vo/FileVO.java | 17 + .../main/java/com/luban/api/vo/Result.java | 84 + .../main/java/com/luban/api/vo/ScriptsVO.java | 28 + .../main/java/com/luban/api/vo/WorkVO.java | 37 + .../src/main/resources/application.yml | 187 + .../resources/engine-assets/engine.umd.js | 205925 +++++++++++++++ .../main/resources/i18n/messages.properties | 4 + .../resources/i18n/messages_en_US.properties | 5 + .../resources/i18n/messages_zh_CN.properties | 5 + .../src/main/resources/mapper/ScriptsDao.xml | 14 + .../src/main/resources/mapper/WorkDao.xml | 18 + .../main/resources/mapper/WorkFormsDao.xml | 12 + .../src/main/resources/templates/engine.html | 323 + 359 files changed, 208093 insertions(+), 89536 deletions(-) delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/pom.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/CommentGenerator.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/Generator.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpCategoryMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsMemberReportMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCategoryMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCommentMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectProductRelationMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCategoryMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCommentMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsCartItemMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsCompanyAddressMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderItemMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnApplyMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnReasonMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderSettingMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumPicMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsBrandMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentReplayMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsFeightTemplateMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsMemberPriceMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeValueMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductLadderMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductOperateLogMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductVertifyRecordMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsSkuStockMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponHistoryMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductRelationMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionLogMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeAdvertiseMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeBrandMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeNewProductMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendProductMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminLoginLogMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminRoleRelationMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLevelMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLoginLogMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberRuleSettingMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTagMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTaskMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMenuMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsPermissionMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceCategoryMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMenuRelationMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRolePermissionRelationMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleResourceRelationMapper.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategory.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategoryExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReportExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceArea.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelation.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelationExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategory.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategoryExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectComment.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCommentExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelation.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelationExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategory.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategoryExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicComment.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCommentExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCartItem.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCartItemExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddress.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddressExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrder.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistory.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistoryExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApply.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApplyExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReason.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReasonExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSetting.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSettingExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbum.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPic.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPicExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsBrand.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsBrandExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsComment.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsCommentExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplay.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplayExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplate.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplateExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPrice.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPriceExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProduct.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttribute.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategory.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategoryExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategory.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelation.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelationExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadder.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadderExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLog.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLogExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecord.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecordExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStock.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStockExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCoupon.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistory.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistoryExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelation.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelationExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotion.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLog.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLogExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelation.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelationExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSession.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSessionExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertise.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertiseExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrand.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrandExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProduct.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProductExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProduct.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProductExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubject.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubjectExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdmin.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLog.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLogExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelation.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelationExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelation.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelationExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistory.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistoryExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistory.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistoryExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSetting.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSettingExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMember.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevel.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevelExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLog.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLogExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelation.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelationExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelation.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelationExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddress.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddressExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSetting.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSettingExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfo.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfoExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTag.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTagExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTask.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTaskExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMenu.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMenuExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsPermission.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsPermissionExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResource.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategory.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategoryExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResourceExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRole.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelation.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelationExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelation.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelationExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelation.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelationExample.java delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCartItemMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminRoleRelationMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMenuMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsPermissionMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceCategoryMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMenuRelationMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRolePermissionRelationMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleResourceRelationMapper.xml delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/generator.properties delete mode 100644 ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/generatorConfig.xml create mode 100644 ruoyi-site/ruoyi-h5/Dockerfile create mode 100644 ruoyi-site/ruoyi-h5/pom.xml create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/MallH5Application.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/JsonConfig.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/MybatisPlusAutoConfigTenant.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/PlusTenantLineHandler.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/WebMvcConfig.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/constant/PackageConstant.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/ScriptsController.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/UploadController.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/WorkController.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/WorkFormsController.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/convert/ScriptsConvert.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/convert/WorkConvert.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dao/ScriptsDao.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dao/WorkDao.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dao/WorkFormsDao.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/PageDtoBase.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/ScriptsQueryDTO.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/WorkCreateDTO.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/WorkQueryDTO.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/WorkUpdateDTO.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/entity/Scripts.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/entity/Work.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/entity/WorkForms.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/exception/ExceptionHandle.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/exception/UnifiedException.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/log/P6SpyLogger.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/log/StdoutLogger.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/ScriptsService.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/WorkFormsService.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/WorkService.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/impl/ScriptsServiceImpl.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/impl/WorkFormsServiceImpl.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/impl/WorkServiceImpl.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/util/JSON.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/FileVO.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/Result.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/ScriptsVO.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/WorkVO.java create mode 100644 ruoyi-site/ruoyi-h5/src/main/resources/application.yml create mode 100644 ruoyi-site/ruoyi-h5/src/main/resources/engine-assets/engine.umd.js create mode 100644 ruoyi-site/ruoyi-h5/src/main/resources/i18n/messages.properties create mode 100644 ruoyi-site/ruoyi-h5/src/main/resources/i18n/messages_en_US.properties create mode 100644 ruoyi-site/ruoyi-h5/src/main/resources/i18n/messages_zh_CN.properties create mode 100644 ruoyi-site/ruoyi-h5/src/main/resources/mapper/ScriptsDao.xml create mode 100644 ruoyi-site/ruoyi-h5/src/main/resources/mapper/WorkDao.xml create mode 100644 ruoyi-site/ruoyi-h5/src/main/resources/mapper/WorkFormsDao.xml create mode 100644 ruoyi-site/ruoyi-h5/src/main/resources/templates/engine.html diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/pom.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/pom.xml deleted file mode 100644 index 6be95919d..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/pom.xml +++ /dev/null @@ -1,48 +0,0 @@ - - - 4.0.0 - - com.macro.mall - ruoyi-mall-mbg - 1.0-SNAPSHOT - jar - - ruoyi-mall-mbg - ruoyi-mall-mbg project for mall - - - com.macro.mall - mall-swarm - 1.0-SNAPSHOT - - - - - com.macro.mall - mall-common - - - com.github.pagehelper - pagehelper-spring-boot-starter - - - org.mybatis.spring.boot - mybatis-spring-boot-starter - - - com.alibaba - druid-spring-boot-starter - - - org.mybatis.generator - mybatis-generator-core - - - mysql - mysql-connector-java - - - - diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/CommentGenerator.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/CommentGenerator.java deleted file mode 100644 index 9aca6e8ba..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/CommentGenerator.java +++ /dev/null @@ -1,74 +0,0 @@ -package com.macro.mall; - -import org.mybatis.generator.api.IntrospectedColumn; -import org.mybatis.generator.api.IntrospectedTable; -import org.mybatis.generator.api.dom.java.CompilationUnit; -import org.mybatis.generator.api.dom.java.Field; -import org.mybatis.generator.api.dom.java.FullyQualifiedJavaType; -import org.mybatis.generator.internal.DefaultCommentGenerator; -import org.mybatis.generator.internal.util.StringUtility; - -import java.util.Properties; - -/** - * 自定义注释生成器 - * Created by macro on 2018/4/26. - */ -public class CommentGenerator extends DefaultCommentGenerator { - private boolean addRemarkComments = false; - private static final String EXAMPLE_SUFFIX="Example"; - private static final String MAPPER_SUFFIX="Mapper"; - private static final String API_MODEL_PROPERTY_FULL_CLASS_NAME="io.swagger.v3.oas.annotations.media.Schema"; - - /** - * 设置用户配置的参数 - */ - @Override - public void addConfigurationProperties(Properties properties) { - super.addConfigurationProperties(properties); - this.addRemarkComments = StringUtility.isTrue(properties.getProperty("addRemarkComments")); - } - - /** - * 给字段添加注释 - */ - @Override - public void addFieldComment(Field field, IntrospectedTable introspectedTable, - IntrospectedColumn introspectedColumn) { - String remarks = introspectedColumn.getRemarks(); - //根据参数和备注信息判断是否添加swagger注解信息 - if(addRemarkComments&&StringUtility.stringHasValue(remarks)){ -// addFieldJavaDoc(field, remarks); - //数据库中特殊字符需要转义 - if(remarks.contains("\"")){ - remarks = remarks.replace("\"","'"); - } - //给model的字段添加swagger注解 - field.addJavaDocLine("@Schema(title = \""+remarks+"\")"); - } - } - - /** - * 给model的字段添加注释 - */ - private void addFieldJavaDoc(Field field, String remarks) { - //文档注释开始 - field.addJavaDocLine("/**"); - //获取数据库字段的备注信息 - String[] remarkLines = remarks.split(System.getProperty("line.separator")); - for(String remarkLine:remarkLines){ - field.addJavaDocLine(" * "+remarkLine); - } - addJavadocTag(field, false); - field.addJavaDocLine(" */"); - } - - @Override - public void addJavaFileComment(CompilationUnit compilationUnit) { - super.addJavaFileComment(compilationUnit); - //只在model中添加swagger注解类的导入 - if(!compilationUnit.getType().getFullyQualifiedName().contains(MAPPER_SUFFIX)&&!compilationUnit.getType().getFullyQualifiedName().contains(EXAMPLE_SUFFIX)){ - compilationUnit.addImportedType(new FullyQualifiedJavaType(API_MODEL_PROPERTY_FULL_CLASS_NAME)); - } - } -} diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/Generator.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/Generator.java deleted file mode 100644 index 9542860a4..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/Generator.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.macro.mall; - -import org.mybatis.generator.api.MyBatisGenerator; -import org.mybatis.generator.config.Configuration; -import org.mybatis.generator.config.xml.ConfigurationParser; -import org.mybatis.generator.internal.DefaultShellCallback; - -import java.io.InputStream; -import java.util.ArrayList; -import java.util.List; - -/** - * 用于生产MBG的代码 - * Created by macro on 2018/4/26. - */ -public class Generator { - public static void main(String[] args) throws Exception { - //MBG 执行过程中的警告信息 - List warnings = new ArrayList(); - //当生成的代码重复时,覆盖原代码 - boolean overwrite = true; - //读取我们的 MBG 配置文件 - InputStream is = Generator.class.getResourceAsStream("/generatorConfig.xml"); - ConfigurationParser cp = new ConfigurationParser(warnings); - Configuration config = cp.parseConfiguration(is); - is.close(); - - DefaultShellCallback callback = new DefaultShellCallback(overwrite); - //创建 MBG - MyBatisGenerator myBatisGenerator = new MyBatisGenerator(config, callback, warnings); - //执行生成代码 - myBatisGenerator.generate(null); - //输出警告信息 - for (String warning : warnings) { - System.out.println(warning); - } - } -} diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpCategoryMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpCategoryMapper.java deleted file mode 100644 index f458690cd..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpCategoryMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsHelpCategory; -import com.macro.mall.model.CmsHelpCategoryExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface CmsHelpCategoryMapper { - long countByExample(CmsHelpCategoryExample example); - - int deleteByExample(CmsHelpCategoryExample example); - - int deleteByPrimaryKey(Long id); - - int insert(CmsHelpCategory row); - - int insertSelective(CmsHelpCategory row); - - List selectByExample(CmsHelpCategoryExample example); - - CmsHelpCategory selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") CmsHelpCategory row, @Param("example") CmsHelpCategoryExample example); - - int updateByExample(@Param("row") CmsHelpCategory row, @Param("example") CmsHelpCategoryExample example); - - int updateByPrimaryKeySelective(CmsHelpCategory row); - - int updateByPrimaryKey(CmsHelpCategory row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpMapper.java deleted file mode 100644 index 3e9af18b1..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpMapper.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsHelp; -import com.macro.mall.model.CmsHelpExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface CmsHelpMapper { - long countByExample(CmsHelpExample example); - - int deleteByExample(CmsHelpExample example); - - int deleteByPrimaryKey(Long id); - - int insert(CmsHelp row); - - int insertSelective(CmsHelp row); - - List selectByExampleWithBLOBs(CmsHelpExample example); - - List selectByExample(CmsHelpExample example); - - CmsHelp selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") CmsHelp row, @Param("example") CmsHelpExample example); - - int updateByExampleWithBLOBs(@Param("row") CmsHelp row, @Param("example") CmsHelpExample example); - - int updateByExample(@Param("row") CmsHelp row, @Param("example") CmsHelpExample example); - - int updateByPrimaryKeySelective(CmsHelp row); - - int updateByPrimaryKeyWithBLOBs(CmsHelp row); - - int updateByPrimaryKey(CmsHelp row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsMemberReportMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsMemberReportMapper.java deleted file mode 100644 index 0a1569f39..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsMemberReportMapper.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsMemberReport; -import com.macro.mall.model.CmsMemberReportExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface CmsMemberReportMapper { - long countByExample(CmsMemberReportExample example); - - int deleteByExample(CmsMemberReportExample example); - - int insert(CmsMemberReport row); - - int insertSelective(CmsMemberReport row); - - List selectByExample(CmsMemberReportExample example); - - int updateByExampleSelective(@Param("row") CmsMemberReport row, @Param("example") CmsMemberReportExample example); - - int updateByExample(@Param("row") CmsMemberReport row, @Param("example") CmsMemberReportExample example); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaMapper.java deleted file mode 100644 index b148de9d7..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaMapper.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsPrefrenceArea; -import com.macro.mall.model.CmsPrefrenceAreaExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface CmsPrefrenceAreaMapper { - long countByExample(CmsPrefrenceAreaExample example); - - int deleteByExample(CmsPrefrenceAreaExample example); - - int deleteByPrimaryKey(Long id); - - int insert(CmsPrefrenceArea row); - - int insertSelective(CmsPrefrenceArea row); - - List selectByExampleWithBLOBs(CmsPrefrenceAreaExample example); - - List selectByExample(CmsPrefrenceAreaExample example); - - CmsPrefrenceArea selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") CmsPrefrenceArea row, @Param("example") CmsPrefrenceAreaExample example); - - int updateByExampleWithBLOBs(@Param("row") CmsPrefrenceArea row, @Param("example") CmsPrefrenceAreaExample example); - - int updateByExample(@Param("row") CmsPrefrenceArea row, @Param("example") CmsPrefrenceAreaExample example); - - int updateByPrimaryKeySelective(CmsPrefrenceArea row); - - int updateByPrimaryKeyWithBLOBs(CmsPrefrenceArea row); - - int updateByPrimaryKey(CmsPrefrenceArea row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java deleted file mode 100644 index c31163cb8..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsPrefrenceAreaProductRelation; -import com.macro.mall.model.CmsPrefrenceAreaProductRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface CmsPrefrenceAreaProductRelationMapper { - long countByExample(CmsPrefrenceAreaProductRelationExample example); - - int deleteByExample(CmsPrefrenceAreaProductRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(CmsPrefrenceAreaProductRelation row); - - int insertSelective(CmsPrefrenceAreaProductRelation row); - - List selectByExample(CmsPrefrenceAreaProductRelationExample example); - - CmsPrefrenceAreaProductRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") CmsPrefrenceAreaProductRelation row, @Param("example") CmsPrefrenceAreaProductRelationExample example); - - int updateByExample(@Param("row") CmsPrefrenceAreaProductRelation row, @Param("example") CmsPrefrenceAreaProductRelationExample example); - - int updateByPrimaryKeySelective(CmsPrefrenceAreaProductRelation row); - - int updateByPrimaryKey(CmsPrefrenceAreaProductRelation row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCategoryMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCategoryMapper.java deleted file mode 100644 index ce783d1f2..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCategoryMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsSubjectCategory; -import com.macro.mall.model.CmsSubjectCategoryExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface CmsSubjectCategoryMapper { - long countByExample(CmsSubjectCategoryExample example); - - int deleteByExample(CmsSubjectCategoryExample example); - - int deleteByPrimaryKey(Long id); - - int insert(CmsSubjectCategory row); - - int insertSelective(CmsSubjectCategory row); - - List selectByExample(CmsSubjectCategoryExample example); - - CmsSubjectCategory selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") CmsSubjectCategory row, @Param("example") CmsSubjectCategoryExample example); - - int updateByExample(@Param("row") CmsSubjectCategory row, @Param("example") CmsSubjectCategoryExample example); - - int updateByPrimaryKeySelective(CmsSubjectCategory row); - - int updateByPrimaryKey(CmsSubjectCategory row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCommentMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCommentMapper.java deleted file mode 100644 index 932c55aea..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCommentMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsSubjectComment; -import com.macro.mall.model.CmsSubjectCommentExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface CmsSubjectCommentMapper { - long countByExample(CmsSubjectCommentExample example); - - int deleteByExample(CmsSubjectCommentExample example); - - int deleteByPrimaryKey(Long id); - - int insert(CmsSubjectComment row); - - int insertSelective(CmsSubjectComment row); - - List selectByExample(CmsSubjectCommentExample example); - - CmsSubjectComment selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") CmsSubjectComment row, @Param("example") CmsSubjectCommentExample example); - - int updateByExample(@Param("row") CmsSubjectComment row, @Param("example") CmsSubjectCommentExample example); - - int updateByPrimaryKeySelective(CmsSubjectComment row); - - int updateByPrimaryKey(CmsSubjectComment row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectMapper.java deleted file mode 100644 index 499591f52..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectMapper.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsSubject; -import com.macro.mall.model.CmsSubjectExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface CmsSubjectMapper { - long countByExample(CmsSubjectExample example); - - int deleteByExample(CmsSubjectExample example); - - int deleteByPrimaryKey(Long id); - - int insert(CmsSubject row); - - int insertSelective(CmsSubject row); - - List selectByExampleWithBLOBs(CmsSubjectExample example); - - List selectByExample(CmsSubjectExample example); - - CmsSubject selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") CmsSubject row, @Param("example") CmsSubjectExample example); - - int updateByExampleWithBLOBs(@Param("row") CmsSubject row, @Param("example") CmsSubjectExample example); - - int updateByExample(@Param("row") CmsSubject row, @Param("example") CmsSubjectExample example); - - int updateByPrimaryKeySelective(CmsSubject row); - - int updateByPrimaryKeyWithBLOBs(CmsSubject row); - - int updateByPrimaryKey(CmsSubject row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectProductRelationMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectProductRelationMapper.java deleted file mode 100644 index a627855df..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectProductRelationMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsSubjectProductRelation; -import com.macro.mall.model.CmsSubjectProductRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface CmsSubjectProductRelationMapper { - long countByExample(CmsSubjectProductRelationExample example); - - int deleteByExample(CmsSubjectProductRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(CmsSubjectProductRelation row); - - int insertSelective(CmsSubjectProductRelation row); - - List selectByExample(CmsSubjectProductRelationExample example); - - CmsSubjectProductRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") CmsSubjectProductRelation row, @Param("example") CmsSubjectProductRelationExample example); - - int updateByExample(@Param("row") CmsSubjectProductRelation row, @Param("example") CmsSubjectProductRelationExample example); - - int updateByPrimaryKeySelective(CmsSubjectProductRelation row); - - int updateByPrimaryKey(CmsSubjectProductRelation row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCategoryMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCategoryMapper.java deleted file mode 100644 index ada71c3c8..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCategoryMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsTopicCategory; -import com.macro.mall.model.CmsTopicCategoryExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface CmsTopicCategoryMapper { - long countByExample(CmsTopicCategoryExample example); - - int deleteByExample(CmsTopicCategoryExample example); - - int deleteByPrimaryKey(Long id); - - int insert(CmsTopicCategory row); - - int insertSelective(CmsTopicCategory row); - - List selectByExample(CmsTopicCategoryExample example); - - CmsTopicCategory selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") CmsTopicCategory row, @Param("example") CmsTopicCategoryExample example); - - int updateByExample(@Param("row") CmsTopicCategory row, @Param("example") CmsTopicCategoryExample example); - - int updateByPrimaryKeySelective(CmsTopicCategory row); - - int updateByPrimaryKey(CmsTopicCategory row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCommentMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCommentMapper.java deleted file mode 100644 index 197bf3530..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCommentMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsTopicComment; -import com.macro.mall.model.CmsTopicCommentExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface CmsTopicCommentMapper { - long countByExample(CmsTopicCommentExample example); - - int deleteByExample(CmsTopicCommentExample example); - - int deleteByPrimaryKey(Long id); - - int insert(CmsTopicComment row); - - int insertSelective(CmsTopicComment row); - - List selectByExample(CmsTopicCommentExample example); - - CmsTopicComment selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") CmsTopicComment row, @Param("example") CmsTopicCommentExample example); - - int updateByExample(@Param("row") CmsTopicComment row, @Param("example") CmsTopicCommentExample example); - - int updateByPrimaryKeySelective(CmsTopicComment row); - - int updateByPrimaryKey(CmsTopicComment row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicMapper.java deleted file mode 100644 index fdbd1aac3..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicMapper.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.CmsTopic; -import com.macro.mall.model.CmsTopicExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface CmsTopicMapper { - long countByExample(CmsTopicExample example); - - int deleteByExample(CmsTopicExample example); - - int deleteByPrimaryKey(Long id); - - int insert(CmsTopic row); - - int insertSelective(CmsTopic row); - - List selectByExampleWithBLOBs(CmsTopicExample example); - - List selectByExample(CmsTopicExample example); - - CmsTopic selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") CmsTopic row, @Param("example") CmsTopicExample example); - - int updateByExampleWithBLOBs(@Param("row") CmsTopic row, @Param("example") CmsTopicExample example); - - int updateByExample(@Param("row") CmsTopic row, @Param("example") CmsTopicExample example); - - int updateByPrimaryKeySelective(CmsTopic row); - - int updateByPrimaryKeyWithBLOBs(CmsTopic row); - - int updateByPrimaryKey(CmsTopic row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsCartItemMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsCartItemMapper.java deleted file mode 100644 index c305630e2..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsCartItemMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.OmsCartItem; -import com.macro.mall.model.OmsCartItemExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface OmsCartItemMapper { - long countByExample(OmsCartItemExample example); - - int deleteByExample(OmsCartItemExample example); - - int deleteByPrimaryKey(Long id); - - int insert(OmsCartItem row); - - int insertSelective(OmsCartItem row); - - List selectByExample(OmsCartItemExample example); - - OmsCartItem selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") OmsCartItem row, @Param("example") OmsCartItemExample example); - - int updateByExample(@Param("row") OmsCartItem row, @Param("example") OmsCartItemExample example); - - int updateByPrimaryKeySelective(OmsCartItem row); - - int updateByPrimaryKey(OmsCartItem row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsCompanyAddressMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsCompanyAddressMapper.java deleted file mode 100644 index e3d6d637a..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsCompanyAddressMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.OmsCompanyAddress; -import com.macro.mall.model.OmsCompanyAddressExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface OmsCompanyAddressMapper { - long countByExample(OmsCompanyAddressExample example); - - int deleteByExample(OmsCompanyAddressExample example); - - int deleteByPrimaryKey(Long id); - - int insert(OmsCompanyAddress row); - - int insertSelective(OmsCompanyAddress row); - - List selectByExample(OmsCompanyAddressExample example); - - OmsCompanyAddress selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") OmsCompanyAddress row, @Param("example") OmsCompanyAddressExample example); - - int updateByExample(@Param("row") OmsCompanyAddress row, @Param("example") OmsCompanyAddressExample example); - - int updateByPrimaryKeySelective(OmsCompanyAddress row); - - int updateByPrimaryKey(OmsCompanyAddress row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderItemMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderItemMapper.java deleted file mode 100644 index 78c80346f..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderItemMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.OmsOrderItem; -import com.macro.mall.model.OmsOrderItemExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface OmsOrderItemMapper { - long countByExample(OmsOrderItemExample example); - - int deleteByExample(OmsOrderItemExample example); - - int deleteByPrimaryKey(Long id); - - int insert(OmsOrderItem row); - - int insertSelective(OmsOrderItem row); - - List selectByExample(OmsOrderItemExample example); - - OmsOrderItem selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") OmsOrderItem row, @Param("example") OmsOrderItemExample example); - - int updateByExample(@Param("row") OmsOrderItem row, @Param("example") OmsOrderItemExample example); - - int updateByPrimaryKeySelective(OmsOrderItem row); - - int updateByPrimaryKey(OmsOrderItem row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderMapper.java deleted file mode 100644 index 88433ab0c..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.OmsOrder; -import com.macro.mall.model.OmsOrderExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface OmsOrderMapper { - long countByExample(OmsOrderExample example); - - int deleteByExample(OmsOrderExample example); - - int deleteByPrimaryKey(Long id); - - int insert(OmsOrder row); - - int insertSelective(OmsOrder row); - - List selectByExample(OmsOrderExample example); - - OmsOrder selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") OmsOrder row, @Param("example") OmsOrderExample example); - - int updateByExample(@Param("row") OmsOrder row, @Param("example") OmsOrderExample example); - - int updateByPrimaryKeySelective(OmsOrder row); - - int updateByPrimaryKey(OmsOrder row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.java deleted file mode 100644 index 4a98317da..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.OmsOrderOperateHistory; -import com.macro.mall.model.OmsOrderOperateHistoryExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface OmsOrderOperateHistoryMapper { - long countByExample(OmsOrderOperateHistoryExample example); - - int deleteByExample(OmsOrderOperateHistoryExample example); - - int deleteByPrimaryKey(Long id); - - int insert(OmsOrderOperateHistory row); - - int insertSelective(OmsOrderOperateHistory row); - - List selectByExample(OmsOrderOperateHistoryExample example); - - OmsOrderOperateHistory selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") OmsOrderOperateHistory row, @Param("example") OmsOrderOperateHistoryExample example); - - int updateByExample(@Param("row") OmsOrderOperateHistory row, @Param("example") OmsOrderOperateHistoryExample example); - - int updateByPrimaryKeySelective(OmsOrderOperateHistory row); - - int updateByPrimaryKey(OmsOrderOperateHistory row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnApplyMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnApplyMapper.java deleted file mode 100644 index c24faeba4..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnApplyMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.OmsOrderReturnApply; -import com.macro.mall.model.OmsOrderReturnApplyExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface OmsOrderReturnApplyMapper { - long countByExample(OmsOrderReturnApplyExample example); - - int deleteByExample(OmsOrderReturnApplyExample example); - - int deleteByPrimaryKey(Long id); - - int insert(OmsOrderReturnApply row); - - int insertSelective(OmsOrderReturnApply row); - - List selectByExample(OmsOrderReturnApplyExample example); - - OmsOrderReturnApply selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") OmsOrderReturnApply row, @Param("example") OmsOrderReturnApplyExample example); - - int updateByExample(@Param("row") OmsOrderReturnApply row, @Param("example") OmsOrderReturnApplyExample example); - - int updateByPrimaryKeySelective(OmsOrderReturnApply row); - - int updateByPrimaryKey(OmsOrderReturnApply row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnReasonMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnReasonMapper.java deleted file mode 100644 index d2c42efdf..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnReasonMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.OmsOrderReturnReason; -import com.macro.mall.model.OmsOrderReturnReasonExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface OmsOrderReturnReasonMapper { - long countByExample(OmsOrderReturnReasonExample example); - - int deleteByExample(OmsOrderReturnReasonExample example); - - int deleteByPrimaryKey(Long id); - - int insert(OmsOrderReturnReason row); - - int insertSelective(OmsOrderReturnReason row); - - List selectByExample(OmsOrderReturnReasonExample example); - - OmsOrderReturnReason selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") OmsOrderReturnReason row, @Param("example") OmsOrderReturnReasonExample example); - - int updateByExample(@Param("row") OmsOrderReturnReason row, @Param("example") OmsOrderReturnReasonExample example); - - int updateByPrimaryKeySelective(OmsOrderReturnReason row); - - int updateByPrimaryKey(OmsOrderReturnReason row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderSettingMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderSettingMapper.java deleted file mode 100644 index c2fc85405..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderSettingMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.OmsOrderSetting; -import com.macro.mall.model.OmsOrderSettingExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface OmsOrderSettingMapper { - long countByExample(OmsOrderSettingExample example); - - int deleteByExample(OmsOrderSettingExample example); - - int deleteByPrimaryKey(Long id); - - int insert(OmsOrderSetting row); - - int insertSelective(OmsOrderSetting row); - - List selectByExample(OmsOrderSettingExample example); - - OmsOrderSetting selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") OmsOrderSetting row, @Param("example") OmsOrderSettingExample example); - - int updateByExample(@Param("row") OmsOrderSetting row, @Param("example") OmsOrderSettingExample example); - - int updateByPrimaryKeySelective(OmsOrderSetting row); - - int updateByPrimaryKey(OmsOrderSetting row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumMapper.java deleted file mode 100644 index 1d842be95..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsAlbum; -import com.macro.mall.model.PmsAlbumExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsAlbumMapper { - long countByExample(PmsAlbumExample example); - - int deleteByExample(PmsAlbumExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsAlbum row); - - int insertSelective(PmsAlbum row); - - List selectByExample(PmsAlbumExample example); - - PmsAlbum selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsAlbum row, @Param("example") PmsAlbumExample example); - - int updateByExample(@Param("row") PmsAlbum row, @Param("example") PmsAlbumExample example); - - int updateByPrimaryKeySelective(PmsAlbum row); - - int updateByPrimaryKey(PmsAlbum row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumPicMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumPicMapper.java deleted file mode 100644 index 93ba7fa6b..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumPicMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsAlbumPic; -import com.macro.mall.model.PmsAlbumPicExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsAlbumPicMapper { - long countByExample(PmsAlbumPicExample example); - - int deleteByExample(PmsAlbumPicExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsAlbumPic row); - - int insertSelective(PmsAlbumPic row); - - List selectByExample(PmsAlbumPicExample example); - - PmsAlbumPic selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsAlbumPic row, @Param("example") PmsAlbumPicExample example); - - int updateByExample(@Param("row") PmsAlbumPic row, @Param("example") PmsAlbumPicExample example); - - int updateByPrimaryKeySelective(PmsAlbumPic row); - - int updateByPrimaryKey(PmsAlbumPic row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsBrandMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsBrandMapper.java deleted file mode 100644 index 948d139c3..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsBrandMapper.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsBrand; -import com.macro.mall.model.PmsBrandExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsBrandMapper { - long countByExample(PmsBrandExample example); - - int deleteByExample(PmsBrandExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsBrand row); - - int insertSelective(PmsBrand row); - - List selectByExampleWithBLOBs(PmsBrandExample example); - - List selectByExample(PmsBrandExample example); - - PmsBrand selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsBrand row, @Param("example") PmsBrandExample example); - - int updateByExampleWithBLOBs(@Param("row") PmsBrand row, @Param("example") PmsBrandExample example); - - int updateByExample(@Param("row") PmsBrand row, @Param("example") PmsBrandExample example); - - int updateByPrimaryKeySelective(PmsBrand row); - - int updateByPrimaryKeyWithBLOBs(PmsBrand row); - - int updateByPrimaryKey(PmsBrand row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentMapper.java deleted file mode 100644 index 934c69836..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentMapper.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsComment; -import com.macro.mall.model.PmsCommentExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsCommentMapper { - long countByExample(PmsCommentExample example); - - int deleteByExample(PmsCommentExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsComment row); - - int insertSelective(PmsComment row); - - List selectByExampleWithBLOBs(PmsCommentExample example); - - List selectByExample(PmsCommentExample example); - - PmsComment selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsComment row, @Param("example") PmsCommentExample example); - - int updateByExampleWithBLOBs(@Param("row") PmsComment row, @Param("example") PmsCommentExample example); - - int updateByExample(@Param("row") PmsComment row, @Param("example") PmsCommentExample example); - - int updateByPrimaryKeySelective(PmsComment row); - - int updateByPrimaryKeyWithBLOBs(PmsComment row); - - int updateByPrimaryKey(PmsComment row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentReplayMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentReplayMapper.java deleted file mode 100644 index a15905166..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentReplayMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsCommentReplay; -import com.macro.mall.model.PmsCommentReplayExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsCommentReplayMapper { - long countByExample(PmsCommentReplayExample example); - - int deleteByExample(PmsCommentReplayExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsCommentReplay row); - - int insertSelective(PmsCommentReplay row); - - List selectByExample(PmsCommentReplayExample example); - - PmsCommentReplay selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsCommentReplay row, @Param("example") PmsCommentReplayExample example); - - int updateByExample(@Param("row") PmsCommentReplay row, @Param("example") PmsCommentReplayExample example); - - int updateByPrimaryKeySelective(PmsCommentReplay row); - - int updateByPrimaryKey(PmsCommentReplay row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsFeightTemplateMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsFeightTemplateMapper.java deleted file mode 100644 index 15e7f12b9..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsFeightTemplateMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsFeightTemplate; -import com.macro.mall.model.PmsFeightTemplateExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsFeightTemplateMapper { - long countByExample(PmsFeightTemplateExample example); - - int deleteByExample(PmsFeightTemplateExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsFeightTemplate row); - - int insertSelective(PmsFeightTemplate row); - - List selectByExample(PmsFeightTemplateExample example); - - PmsFeightTemplate selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsFeightTemplate row, @Param("example") PmsFeightTemplateExample example); - - int updateByExample(@Param("row") PmsFeightTemplate row, @Param("example") PmsFeightTemplateExample example); - - int updateByPrimaryKeySelective(PmsFeightTemplate row); - - int updateByPrimaryKey(PmsFeightTemplate row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsMemberPriceMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsMemberPriceMapper.java deleted file mode 100644 index 8394a1711..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsMemberPriceMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsMemberPrice; -import com.macro.mall.model.PmsMemberPriceExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsMemberPriceMapper { - long countByExample(PmsMemberPriceExample example); - - int deleteByExample(PmsMemberPriceExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsMemberPrice row); - - int insertSelective(PmsMemberPrice row); - - List selectByExample(PmsMemberPriceExample example); - - PmsMemberPrice selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsMemberPrice row, @Param("example") PmsMemberPriceExample example); - - int updateByExample(@Param("row") PmsMemberPrice row, @Param("example") PmsMemberPriceExample example); - - int updateByPrimaryKeySelective(PmsMemberPrice row); - - int updateByPrimaryKey(PmsMemberPrice row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.java deleted file mode 100644 index 10624c5b5..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsProductAttributeCategory; -import com.macro.mall.model.PmsProductAttributeCategoryExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsProductAttributeCategoryMapper { - long countByExample(PmsProductAttributeCategoryExample example); - - int deleteByExample(PmsProductAttributeCategoryExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsProductAttributeCategory row); - - int insertSelective(PmsProductAttributeCategory row); - - List selectByExample(PmsProductAttributeCategoryExample example); - - PmsProductAttributeCategory selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsProductAttributeCategory row, @Param("example") PmsProductAttributeCategoryExample example); - - int updateByExample(@Param("row") PmsProductAttributeCategory row, @Param("example") PmsProductAttributeCategoryExample example); - - int updateByPrimaryKeySelective(PmsProductAttributeCategory row); - - int updateByPrimaryKey(PmsProductAttributeCategory row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeMapper.java deleted file mode 100644 index 503751d54..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsProductAttribute; -import com.macro.mall.model.PmsProductAttributeExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsProductAttributeMapper { - long countByExample(PmsProductAttributeExample example); - - int deleteByExample(PmsProductAttributeExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsProductAttribute row); - - int insertSelective(PmsProductAttribute row); - - List selectByExample(PmsProductAttributeExample example); - - PmsProductAttribute selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsProductAttribute row, @Param("example") PmsProductAttributeExample example); - - int updateByExample(@Param("row") PmsProductAttribute row, @Param("example") PmsProductAttributeExample example); - - int updateByPrimaryKeySelective(PmsProductAttribute row); - - int updateByPrimaryKey(PmsProductAttribute row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeValueMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeValueMapper.java deleted file mode 100644 index bd2406c75..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeValueMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsProductAttributeValue; -import com.macro.mall.model.PmsProductAttributeValueExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsProductAttributeValueMapper { - long countByExample(PmsProductAttributeValueExample example); - - int deleteByExample(PmsProductAttributeValueExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsProductAttributeValue row); - - int insertSelective(PmsProductAttributeValue row); - - List selectByExample(PmsProductAttributeValueExample example); - - PmsProductAttributeValue selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsProductAttributeValue row, @Param("example") PmsProductAttributeValueExample example); - - int updateByExample(@Param("row") PmsProductAttributeValue row, @Param("example") PmsProductAttributeValueExample example); - - int updateByPrimaryKeySelective(PmsProductAttributeValue row); - - int updateByPrimaryKey(PmsProductAttributeValue row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.java deleted file mode 100644 index 7d604af92..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsProductCategoryAttributeRelation; -import com.macro.mall.model.PmsProductCategoryAttributeRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsProductCategoryAttributeRelationMapper { - long countByExample(PmsProductCategoryAttributeRelationExample example); - - int deleteByExample(PmsProductCategoryAttributeRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsProductCategoryAttributeRelation row); - - int insertSelective(PmsProductCategoryAttributeRelation row); - - List selectByExample(PmsProductCategoryAttributeRelationExample example); - - PmsProductCategoryAttributeRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsProductCategoryAttributeRelation row, @Param("example") PmsProductCategoryAttributeRelationExample example); - - int updateByExample(@Param("row") PmsProductCategoryAttributeRelation row, @Param("example") PmsProductCategoryAttributeRelationExample example); - - int updateByPrimaryKeySelective(PmsProductCategoryAttributeRelation row); - - int updateByPrimaryKey(PmsProductCategoryAttributeRelation row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryMapper.java deleted file mode 100644 index f93340653..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryMapper.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsProductCategory; -import com.macro.mall.model.PmsProductCategoryExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsProductCategoryMapper { - long countByExample(PmsProductCategoryExample example); - - int deleteByExample(PmsProductCategoryExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsProductCategory row); - - int insertSelective(PmsProductCategory row); - - List selectByExampleWithBLOBs(PmsProductCategoryExample example); - - List selectByExample(PmsProductCategoryExample example); - - PmsProductCategory selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsProductCategory row, @Param("example") PmsProductCategoryExample example); - - int updateByExampleWithBLOBs(@Param("row") PmsProductCategory row, @Param("example") PmsProductCategoryExample example); - - int updateByExample(@Param("row") PmsProductCategory row, @Param("example") PmsProductCategoryExample example); - - int updateByPrimaryKeySelective(PmsProductCategory row); - - int updateByPrimaryKeyWithBLOBs(PmsProductCategory row); - - int updateByPrimaryKey(PmsProductCategory row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java deleted file mode 100644 index 33035676e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsProductFullReduction; -import com.macro.mall.model.PmsProductFullReductionExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsProductFullReductionMapper { - long countByExample(PmsProductFullReductionExample example); - - int deleteByExample(PmsProductFullReductionExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsProductFullReduction row); - - int insertSelective(PmsProductFullReduction row); - - List selectByExample(PmsProductFullReductionExample example); - - PmsProductFullReduction selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsProductFullReduction row, @Param("example") PmsProductFullReductionExample example); - - int updateByExample(@Param("row") PmsProductFullReduction row, @Param("example") PmsProductFullReductionExample example); - - int updateByPrimaryKeySelective(PmsProductFullReduction row); - - int updateByPrimaryKey(PmsProductFullReduction row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductLadderMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductLadderMapper.java deleted file mode 100644 index 9738f3d85..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductLadderMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsProductLadder; -import com.macro.mall.model.PmsProductLadderExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsProductLadderMapper { - long countByExample(PmsProductLadderExample example); - - int deleteByExample(PmsProductLadderExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsProductLadder row); - - int insertSelective(PmsProductLadder row); - - List selectByExample(PmsProductLadderExample example); - - PmsProductLadder selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsProductLadder row, @Param("example") PmsProductLadderExample example); - - int updateByExample(@Param("row") PmsProductLadder row, @Param("example") PmsProductLadderExample example); - - int updateByPrimaryKeySelective(PmsProductLadder row); - - int updateByPrimaryKey(PmsProductLadder row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductMapper.java deleted file mode 100644 index 8fd9f9ec3..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductMapper.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsProduct; -import com.macro.mall.model.PmsProductExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsProductMapper { - long countByExample(PmsProductExample example); - - int deleteByExample(PmsProductExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsProduct row); - - int insertSelective(PmsProduct row); - - List selectByExampleWithBLOBs(PmsProductExample example); - - List selectByExample(PmsProductExample example); - - PmsProduct selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsProduct row, @Param("example") PmsProductExample example); - - int updateByExampleWithBLOBs(@Param("row") PmsProduct row, @Param("example") PmsProductExample example); - - int updateByExample(@Param("row") PmsProduct row, @Param("example") PmsProductExample example); - - int updateByPrimaryKeySelective(PmsProduct row); - - int updateByPrimaryKeyWithBLOBs(PmsProduct row); - - int updateByPrimaryKey(PmsProduct row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductOperateLogMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductOperateLogMapper.java deleted file mode 100644 index 3d9049b08..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductOperateLogMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsProductOperateLog; -import com.macro.mall.model.PmsProductOperateLogExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsProductOperateLogMapper { - long countByExample(PmsProductOperateLogExample example); - - int deleteByExample(PmsProductOperateLogExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsProductOperateLog row); - - int insertSelective(PmsProductOperateLog row); - - List selectByExample(PmsProductOperateLogExample example); - - PmsProductOperateLog selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsProductOperateLog row, @Param("example") PmsProductOperateLogExample example); - - int updateByExample(@Param("row") PmsProductOperateLog row, @Param("example") PmsProductOperateLogExample example); - - int updateByPrimaryKeySelective(PmsProductOperateLog row); - - int updateByPrimaryKey(PmsProductOperateLog row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductVertifyRecordMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductVertifyRecordMapper.java deleted file mode 100644 index 1246a7df6..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductVertifyRecordMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsProductVertifyRecord; -import com.macro.mall.model.PmsProductVertifyRecordExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsProductVertifyRecordMapper { - long countByExample(PmsProductVertifyRecordExample example); - - int deleteByExample(PmsProductVertifyRecordExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsProductVertifyRecord row); - - int insertSelective(PmsProductVertifyRecord row); - - List selectByExample(PmsProductVertifyRecordExample example); - - PmsProductVertifyRecord selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsProductVertifyRecord row, @Param("example") PmsProductVertifyRecordExample example); - - int updateByExample(@Param("row") PmsProductVertifyRecord row, @Param("example") PmsProductVertifyRecordExample example); - - int updateByPrimaryKeySelective(PmsProductVertifyRecord row); - - int updateByPrimaryKey(PmsProductVertifyRecord row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsSkuStockMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsSkuStockMapper.java deleted file mode 100644 index dc3d47019..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/PmsSkuStockMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.PmsSkuStock; -import com.macro.mall.model.PmsSkuStockExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface PmsSkuStockMapper { - long countByExample(PmsSkuStockExample example); - - int deleteByExample(PmsSkuStockExample example); - - int deleteByPrimaryKey(Long id); - - int insert(PmsSkuStock row); - - int insertSelective(PmsSkuStock row); - - List selectByExample(PmsSkuStockExample example); - - PmsSkuStock selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") PmsSkuStock row, @Param("example") PmsSkuStockExample example); - - int updateByExample(@Param("row") PmsSkuStock row, @Param("example") PmsSkuStockExample example); - - int updateByPrimaryKeySelective(PmsSkuStock row); - - int updateByPrimaryKey(PmsSkuStock row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponHistoryMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponHistoryMapper.java deleted file mode 100644 index 6dabeae7d..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponHistoryMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.SmsCouponHistory; -import com.macro.mall.model.SmsCouponHistoryExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SmsCouponHistoryMapper { - long countByExample(SmsCouponHistoryExample example); - - int deleteByExample(SmsCouponHistoryExample example); - - int deleteByPrimaryKey(Long id); - - int insert(SmsCouponHistory row); - - int insertSelective(SmsCouponHistory row); - - List selectByExample(SmsCouponHistoryExample example); - - SmsCouponHistory selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") SmsCouponHistory row, @Param("example") SmsCouponHistoryExample example); - - int updateByExample(@Param("row") SmsCouponHistory row, @Param("example") SmsCouponHistoryExample example); - - int updateByPrimaryKeySelective(SmsCouponHistory row); - - int updateByPrimaryKey(SmsCouponHistory row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponMapper.java deleted file mode 100644 index dda3535bd..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.SmsCoupon; -import com.macro.mall.model.SmsCouponExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SmsCouponMapper { - long countByExample(SmsCouponExample example); - - int deleteByExample(SmsCouponExample example); - - int deleteByPrimaryKey(Long id); - - int insert(SmsCoupon row); - - int insertSelective(SmsCoupon row); - - List selectByExample(SmsCouponExample example); - - SmsCoupon selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") SmsCoupon row, @Param("example") SmsCouponExample example); - - int updateByExample(@Param("row") SmsCoupon row, @Param("example") SmsCouponExample example); - - int updateByPrimaryKeySelective(SmsCoupon row); - - int updateByPrimaryKey(SmsCoupon row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.java deleted file mode 100644 index 1d3d99e67..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.SmsCouponProductCategoryRelation; -import com.macro.mall.model.SmsCouponProductCategoryRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SmsCouponProductCategoryRelationMapper { - long countByExample(SmsCouponProductCategoryRelationExample example); - - int deleteByExample(SmsCouponProductCategoryRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(SmsCouponProductCategoryRelation row); - - int insertSelective(SmsCouponProductCategoryRelation row); - - List selectByExample(SmsCouponProductCategoryRelationExample example); - - SmsCouponProductCategoryRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") SmsCouponProductCategoryRelation row, @Param("example") SmsCouponProductCategoryRelationExample example); - - int updateByExample(@Param("row") SmsCouponProductCategoryRelation row, @Param("example") SmsCouponProductCategoryRelationExample example); - - int updateByPrimaryKeySelective(SmsCouponProductCategoryRelation row); - - int updateByPrimaryKey(SmsCouponProductCategoryRelation row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductRelationMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductRelationMapper.java deleted file mode 100644 index 967ed0314..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductRelationMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.SmsCouponProductRelation; -import com.macro.mall.model.SmsCouponProductRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SmsCouponProductRelationMapper { - long countByExample(SmsCouponProductRelationExample example); - - int deleteByExample(SmsCouponProductRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(SmsCouponProductRelation row); - - int insertSelective(SmsCouponProductRelation row); - - List selectByExample(SmsCouponProductRelationExample example); - - SmsCouponProductRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") SmsCouponProductRelation row, @Param("example") SmsCouponProductRelationExample example); - - int updateByExample(@Param("row") SmsCouponProductRelation row, @Param("example") SmsCouponProductRelationExample example); - - int updateByPrimaryKeySelective(SmsCouponProductRelation row); - - int updateByPrimaryKey(SmsCouponProductRelation row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionLogMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionLogMapper.java deleted file mode 100644 index 71395609d..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionLogMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.SmsFlashPromotionLog; -import com.macro.mall.model.SmsFlashPromotionLogExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SmsFlashPromotionLogMapper { - long countByExample(SmsFlashPromotionLogExample example); - - int deleteByExample(SmsFlashPromotionLogExample example); - - int deleteByPrimaryKey(Integer id); - - int insert(SmsFlashPromotionLog row); - - int insertSelective(SmsFlashPromotionLog row); - - List selectByExample(SmsFlashPromotionLogExample example); - - SmsFlashPromotionLog selectByPrimaryKey(Integer id); - - int updateByExampleSelective(@Param("row") SmsFlashPromotionLog row, @Param("example") SmsFlashPromotionLogExample example); - - int updateByExample(@Param("row") SmsFlashPromotionLog row, @Param("example") SmsFlashPromotionLogExample example); - - int updateByPrimaryKeySelective(SmsFlashPromotionLog row); - - int updateByPrimaryKey(SmsFlashPromotionLog row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionMapper.java deleted file mode 100644 index 250123247..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.SmsFlashPromotion; -import com.macro.mall.model.SmsFlashPromotionExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SmsFlashPromotionMapper { - long countByExample(SmsFlashPromotionExample example); - - int deleteByExample(SmsFlashPromotionExample example); - - int deleteByPrimaryKey(Long id); - - int insert(SmsFlashPromotion row); - - int insertSelective(SmsFlashPromotion row); - - List selectByExample(SmsFlashPromotionExample example); - - SmsFlashPromotion selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") SmsFlashPromotion row, @Param("example") SmsFlashPromotionExample example); - - int updateByExample(@Param("row") SmsFlashPromotion row, @Param("example") SmsFlashPromotionExample example); - - int updateByPrimaryKeySelective(SmsFlashPromotion row); - - int updateByPrimaryKey(SmsFlashPromotion row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.java deleted file mode 100644 index 78fc8f950..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.SmsFlashPromotionProductRelation; -import com.macro.mall.model.SmsFlashPromotionProductRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SmsFlashPromotionProductRelationMapper { - long countByExample(SmsFlashPromotionProductRelationExample example); - - int deleteByExample(SmsFlashPromotionProductRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(SmsFlashPromotionProductRelation row); - - int insertSelective(SmsFlashPromotionProductRelation row); - - List selectByExample(SmsFlashPromotionProductRelationExample example); - - SmsFlashPromotionProductRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") SmsFlashPromotionProductRelation row, @Param("example") SmsFlashPromotionProductRelationExample example); - - int updateByExample(@Param("row") SmsFlashPromotionProductRelation row, @Param("example") SmsFlashPromotionProductRelationExample example); - - int updateByPrimaryKeySelective(SmsFlashPromotionProductRelation row); - - int updateByPrimaryKey(SmsFlashPromotionProductRelation row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.java deleted file mode 100644 index a939a3182..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.SmsFlashPromotionSession; -import com.macro.mall.model.SmsFlashPromotionSessionExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SmsFlashPromotionSessionMapper { - long countByExample(SmsFlashPromotionSessionExample example); - - int deleteByExample(SmsFlashPromotionSessionExample example); - - int deleteByPrimaryKey(Long id); - - int insert(SmsFlashPromotionSession row); - - int insertSelective(SmsFlashPromotionSession row); - - List selectByExample(SmsFlashPromotionSessionExample example); - - SmsFlashPromotionSession selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") SmsFlashPromotionSession row, @Param("example") SmsFlashPromotionSessionExample example); - - int updateByExample(@Param("row") SmsFlashPromotionSession row, @Param("example") SmsFlashPromotionSessionExample example); - - int updateByPrimaryKeySelective(SmsFlashPromotionSession row); - - int updateByPrimaryKey(SmsFlashPromotionSession row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeAdvertiseMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeAdvertiseMapper.java deleted file mode 100644 index 97a54f7ca..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeAdvertiseMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.SmsHomeAdvertise; -import com.macro.mall.model.SmsHomeAdvertiseExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SmsHomeAdvertiseMapper { - long countByExample(SmsHomeAdvertiseExample example); - - int deleteByExample(SmsHomeAdvertiseExample example); - - int deleteByPrimaryKey(Long id); - - int insert(SmsHomeAdvertise row); - - int insertSelective(SmsHomeAdvertise row); - - List selectByExample(SmsHomeAdvertiseExample example); - - SmsHomeAdvertise selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") SmsHomeAdvertise row, @Param("example") SmsHomeAdvertiseExample example); - - int updateByExample(@Param("row") SmsHomeAdvertise row, @Param("example") SmsHomeAdvertiseExample example); - - int updateByPrimaryKeySelective(SmsHomeAdvertise row); - - int updateByPrimaryKey(SmsHomeAdvertise row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeBrandMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeBrandMapper.java deleted file mode 100644 index fcaa6ee71..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeBrandMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.SmsHomeBrand; -import com.macro.mall.model.SmsHomeBrandExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SmsHomeBrandMapper { - long countByExample(SmsHomeBrandExample example); - - int deleteByExample(SmsHomeBrandExample example); - - int deleteByPrimaryKey(Long id); - - int insert(SmsHomeBrand row); - - int insertSelective(SmsHomeBrand row); - - List selectByExample(SmsHomeBrandExample example); - - SmsHomeBrand selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") SmsHomeBrand row, @Param("example") SmsHomeBrandExample example); - - int updateByExample(@Param("row") SmsHomeBrand row, @Param("example") SmsHomeBrandExample example); - - int updateByPrimaryKeySelective(SmsHomeBrand row); - - int updateByPrimaryKey(SmsHomeBrand row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeNewProductMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeNewProductMapper.java deleted file mode 100644 index 19fad8d52..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeNewProductMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.SmsHomeNewProduct; -import com.macro.mall.model.SmsHomeNewProductExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SmsHomeNewProductMapper { - long countByExample(SmsHomeNewProductExample example); - - int deleteByExample(SmsHomeNewProductExample example); - - int deleteByPrimaryKey(Long id); - - int insert(SmsHomeNewProduct row); - - int insertSelective(SmsHomeNewProduct row); - - List selectByExample(SmsHomeNewProductExample example); - - SmsHomeNewProduct selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") SmsHomeNewProduct row, @Param("example") SmsHomeNewProductExample example); - - int updateByExample(@Param("row") SmsHomeNewProduct row, @Param("example") SmsHomeNewProductExample example); - - int updateByPrimaryKeySelective(SmsHomeNewProduct row); - - int updateByPrimaryKey(SmsHomeNewProduct row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendProductMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendProductMapper.java deleted file mode 100644 index b4360d8b4..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendProductMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.SmsHomeRecommendProduct; -import com.macro.mall.model.SmsHomeRecommendProductExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SmsHomeRecommendProductMapper { - long countByExample(SmsHomeRecommendProductExample example); - - int deleteByExample(SmsHomeRecommendProductExample example); - - int deleteByPrimaryKey(Long id); - - int insert(SmsHomeRecommendProduct row); - - int insertSelective(SmsHomeRecommendProduct row); - - List selectByExample(SmsHomeRecommendProductExample example); - - SmsHomeRecommendProduct selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") SmsHomeRecommendProduct row, @Param("example") SmsHomeRecommendProductExample example); - - int updateByExample(@Param("row") SmsHomeRecommendProduct row, @Param("example") SmsHomeRecommendProductExample example); - - int updateByPrimaryKeySelective(SmsHomeRecommendProduct row); - - int updateByPrimaryKey(SmsHomeRecommendProduct row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.java deleted file mode 100644 index a910136d1..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.SmsHomeRecommendSubject; -import com.macro.mall.model.SmsHomeRecommendSubjectExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface SmsHomeRecommendSubjectMapper { - long countByExample(SmsHomeRecommendSubjectExample example); - - int deleteByExample(SmsHomeRecommendSubjectExample example); - - int deleteByPrimaryKey(Long id); - - int insert(SmsHomeRecommendSubject row); - - int insertSelective(SmsHomeRecommendSubject row); - - List selectByExample(SmsHomeRecommendSubjectExample example); - - SmsHomeRecommendSubject selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") SmsHomeRecommendSubject row, @Param("example") SmsHomeRecommendSubjectExample example); - - int updateByExample(@Param("row") SmsHomeRecommendSubject row, @Param("example") SmsHomeRecommendSubjectExample example); - - int updateByPrimaryKeySelective(SmsHomeRecommendSubject row); - - int updateByPrimaryKey(SmsHomeRecommendSubject row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminLoginLogMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminLoginLogMapper.java deleted file mode 100644 index d8dfd50a4..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminLoginLogMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsAdminLoginLog; -import com.macro.mall.model.UmsAdminLoginLogExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsAdminLoginLogMapper { - long countByExample(UmsAdminLoginLogExample example); - - int deleteByExample(UmsAdminLoginLogExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsAdminLoginLog row); - - int insertSelective(UmsAdminLoginLog row); - - List selectByExample(UmsAdminLoginLogExample example); - - UmsAdminLoginLog selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsAdminLoginLog row, @Param("example") UmsAdminLoginLogExample example); - - int updateByExample(@Param("row") UmsAdminLoginLog row, @Param("example") UmsAdminLoginLogExample example); - - int updateByPrimaryKeySelective(UmsAdminLoginLog row); - - int updateByPrimaryKey(UmsAdminLoginLog row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminMapper.java deleted file mode 100644 index cb1c8f159..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsAdmin; -import com.macro.mall.model.UmsAdminExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsAdminMapper { - long countByExample(UmsAdminExample example); - - int deleteByExample(UmsAdminExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsAdmin row); - - int insertSelective(UmsAdmin row); - - List selectByExample(UmsAdminExample example); - - UmsAdmin selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsAdmin row, @Param("example") UmsAdminExample example); - - int updateByExample(@Param("row") UmsAdmin row, @Param("example") UmsAdminExample example); - - int updateByPrimaryKeySelective(UmsAdmin row); - - int updateByPrimaryKey(UmsAdmin row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.java deleted file mode 100644 index 640be7442..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsAdminPermissionRelation; -import com.macro.mall.model.UmsAdminPermissionRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsAdminPermissionRelationMapper { - long countByExample(UmsAdminPermissionRelationExample example); - - int deleteByExample(UmsAdminPermissionRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsAdminPermissionRelation row); - - int insertSelective(UmsAdminPermissionRelation row); - - List selectByExample(UmsAdminPermissionRelationExample example); - - UmsAdminPermissionRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsAdminPermissionRelation row, @Param("example") UmsAdminPermissionRelationExample example); - - int updateByExample(@Param("row") UmsAdminPermissionRelation row, @Param("example") UmsAdminPermissionRelationExample example); - - int updateByPrimaryKeySelective(UmsAdminPermissionRelation row); - - int updateByPrimaryKey(UmsAdminPermissionRelation row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminRoleRelationMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminRoleRelationMapper.java deleted file mode 100644 index 846de6031..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminRoleRelationMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsAdminRoleRelation; -import com.macro.mall.model.UmsAdminRoleRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsAdminRoleRelationMapper { - long countByExample(UmsAdminRoleRelationExample example); - - int deleteByExample(UmsAdminRoleRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsAdminRoleRelation row); - - int insertSelective(UmsAdminRoleRelation row); - - List selectByExample(UmsAdminRoleRelationExample example); - - UmsAdminRoleRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsAdminRoleRelation row, @Param("example") UmsAdminRoleRelationExample example); - - int updateByExample(@Param("row") UmsAdminRoleRelation row, @Param("example") UmsAdminRoleRelationExample example); - - int updateByPrimaryKeySelective(UmsAdminRoleRelation row); - - int updateByPrimaryKey(UmsAdminRoleRelation row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.java deleted file mode 100644 index 9a3de70bf..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsGrowthChangeHistory; -import com.macro.mall.model.UmsGrowthChangeHistoryExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsGrowthChangeHistoryMapper { - long countByExample(UmsGrowthChangeHistoryExample example); - - int deleteByExample(UmsGrowthChangeHistoryExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsGrowthChangeHistory row); - - int insertSelective(UmsGrowthChangeHistory row); - - List selectByExample(UmsGrowthChangeHistoryExample example); - - UmsGrowthChangeHistory selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsGrowthChangeHistory row, @Param("example") UmsGrowthChangeHistoryExample example); - - int updateByExample(@Param("row") UmsGrowthChangeHistory row, @Param("example") UmsGrowthChangeHistoryExample example); - - int updateByPrimaryKeySelective(UmsGrowthChangeHistory row); - - int updateByPrimaryKey(UmsGrowthChangeHistory row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.java deleted file mode 100644 index e126a9954..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsIntegrationChangeHistory; -import com.macro.mall.model.UmsIntegrationChangeHistoryExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsIntegrationChangeHistoryMapper { - long countByExample(UmsIntegrationChangeHistoryExample example); - - int deleteByExample(UmsIntegrationChangeHistoryExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsIntegrationChangeHistory row); - - int insertSelective(UmsIntegrationChangeHistory row); - - List selectByExample(UmsIntegrationChangeHistoryExample example); - - UmsIntegrationChangeHistory selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsIntegrationChangeHistory row, @Param("example") UmsIntegrationChangeHistoryExample example); - - int updateByExample(@Param("row") UmsIntegrationChangeHistory row, @Param("example") UmsIntegrationChangeHistoryExample example); - - int updateByPrimaryKeySelective(UmsIntegrationChangeHistory row); - - int updateByPrimaryKey(UmsIntegrationChangeHistory row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.java deleted file mode 100644 index 6c7c5fc55..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsIntegrationConsumeSetting; -import com.macro.mall.model.UmsIntegrationConsumeSettingExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsIntegrationConsumeSettingMapper { - long countByExample(UmsIntegrationConsumeSettingExample example); - - int deleteByExample(UmsIntegrationConsumeSettingExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsIntegrationConsumeSetting row); - - int insertSelective(UmsIntegrationConsumeSetting row); - - List selectByExample(UmsIntegrationConsumeSettingExample example); - - UmsIntegrationConsumeSetting selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsIntegrationConsumeSetting row, @Param("example") UmsIntegrationConsumeSettingExample example); - - int updateByExample(@Param("row") UmsIntegrationConsumeSetting row, @Param("example") UmsIntegrationConsumeSettingExample example); - - int updateByPrimaryKeySelective(UmsIntegrationConsumeSetting row); - - int updateByPrimaryKey(UmsIntegrationConsumeSetting row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLevelMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLevelMapper.java deleted file mode 100644 index 21a0bce9f..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLevelMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberLevel; -import com.macro.mall.model.UmsMemberLevelExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberLevelMapper { - long countByExample(UmsMemberLevelExample example); - - int deleteByExample(UmsMemberLevelExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberLevel row); - - int insertSelective(UmsMemberLevel row); - - List selectByExample(UmsMemberLevelExample example); - - UmsMemberLevel selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsMemberLevel row, @Param("example") UmsMemberLevelExample example); - - int updateByExample(@Param("row") UmsMemberLevel row, @Param("example") UmsMemberLevelExample example); - - int updateByPrimaryKeySelective(UmsMemberLevel row); - - int updateByPrimaryKey(UmsMemberLevel row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLoginLogMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLoginLogMapper.java deleted file mode 100644 index 22a81dbcf..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLoginLogMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberLoginLog; -import com.macro.mall.model.UmsMemberLoginLogExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberLoginLogMapper { - long countByExample(UmsMemberLoginLogExample example); - - int deleteByExample(UmsMemberLoginLogExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberLoginLog row); - - int insertSelective(UmsMemberLoginLog row); - - List selectByExample(UmsMemberLoginLogExample example); - - UmsMemberLoginLog selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsMemberLoginLog row, @Param("example") UmsMemberLoginLogExample example); - - int updateByExample(@Param("row") UmsMemberLoginLog row, @Param("example") UmsMemberLoginLogExample example); - - int updateByPrimaryKeySelective(UmsMemberLoginLog row); - - int updateByPrimaryKey(UmsMemberLoginLog row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMapper.java deleted file mode 100644 index c950488fe..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMember; -import com.macro.mall.model.UmsMemberExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberMapper { - long countByExample(UmsMemberExample example); - - int deleteByExample(UmsMemberExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMember row); - - int insertSelective(UmsMember row); - - List selectByExample(UmsMemberExample example); - - UmsMember selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsMember row, @Param("example") UmsMemberExample example); - - int updateByExample(@Param("row") UmsMember row, @Param("example") UmsMemberExample example); - - int updateByPrimaryKeySelective(UmsMember row); - - int updateByPrimaryKey(UmsMember row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.java deleted file mode 100644 index d2acf9ca6..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberMemberTagRelation; -import com.macro.mall.model.UmsMemberMemberTagRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberMemberTagRelationMapper { - long countByExample(UmsMemberMemberTagRelationExample example); - - int deleteByExample(UmsMemberMemberTagRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberMemberTagRelation row); - - int insertSelective(UmsMemberMemberTagRelation row); - - List selectByExample(UmsMemberMemberTagRelationExample example); - - UmsMemberMemberTagRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsMemberMemberTagRelation row, @Param("example") UmsMemberMemberTagRelationExample example); - - int updateByExample(@Param("row") UmsMemberMemberTagRelation row, @Param("example") UmsMemberMemberTagRelationExample example); - - int updateByPrimaryKeySelective(UmsMemberMemberTagRelation row); - - int updateByPrimaryKey(UmsMemberMemberTagRelation row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.java deleted file mode 100644 index 692fd7866..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberProductCategoryRelation; -import com.macro.mall.model.UmsMemberProductCategoryRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberProductCategoryRelationMapper { - long countByExample(UmsMemberProductCategoryRelationExample example); - - int deleteByExample(UmsMemberProductCategoryRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberProductCategoryRelation row); - - int insertSelective(UmsMemberProductCategoryRelation row); - - List selectByExample(UmsMemberProductCategoryRelationExample example); - - UmsMemberProductCategoryRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsMemberProductCategoryRelation row, @Param("example") UmsMemberProductCategoryRelationExample example); - - int updateByExample(@Param("row") UmsMemberProductCategoryRelation row, @Param("example") UmsMemberProductCategoryRelationExample example); - - int updateByPrimaryKeySelective(UmsMemberProductCategoryRelation row); - - int updateByPrimaryKey(UmsMemberProductCategoryRelation row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.java deleted file mode 100644 index 1b29e5f66..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberReceiveAddress; -import com.macro.mall.model.UmsMemberReceiveAddressExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberReceiveAddressMapper { - long countByExample(UmsMemberReceiveAddressExample example); - - int deleteByExample(UmsMemberReceiveAddressExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberReceiveAddress row); - - int insertSelective(UmsMemberReceiveAddress row); - - List selectByExample(UmsMemberReceiveAddressExample example); - - UmsMemberReceiveAddress selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsMemberReceiveAddress row, @Param("example") UmsMemberReceiveAddressExample example); - - int updateByExample(@Param("row") UmsMemberReceiveAddress row, @Param("example") UmsMemberReceiveAddressExample example); - - int updateByPrimaryKeySelective(UmsMemberReceiveAddress row); - - int updateByPrimaryKey(UmsMemberReceiveAddress row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberRuleSettingMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberRuleSettingMapper.java deleted file mode 100644 index 951b6d41b..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberRuleSettingMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberRuleSetting; -import com.macro.mall.model.UmsMemberRuleSettingExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberRuleSettingMapper { - long countByExample(UmsMemberRuleSettingExample example); - - int deleteByExample(UmsMemberRuleSettingExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberRuleSetting row); - - int insertSelective(UmsMemberRuleSetting row); - - List selectByExample(UmsMemberRuleSettingExample example); - - UmsMemberRuleSetting selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsMemberRuleSetting row, @Param("example") UmsMemberRuleSettingExample example); - - int updateByExample(@Param("row") UmsMemberRuleSetting row, @Param("example") UmsMemberRuleSettingExample example); - - int updateByPrimaryKeySelective(UmsMemberRuleSetting row); - - int updateByPrimaryKey(UmsMemberRuleSetting row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.java deleted file mode 100644 index b70d51ec4..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberStatisticsInfo; -import com.macro.mall.model.UmsMemberStatisticsInfoExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberStatisticsInfoMapper { - long countByExample(UmsMemberStatisticsInfoExample example); - - int deleteByExample(UmsMemberStatisticsInfoExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberStatisticsInfo row); - - int insertSelective(UmsMemberStatisticsInfo row); - - List selectByExample(UmsMemberStatisticsInfoExample example); - - UmsMemberStatisticsInfo selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsMemberStatisticsInfo row, @Param("example") UmsMemberStatisticsInfoExample example); - - int updateByExample(@Param("row") UmsMemberStatisticsInfo row, @Param("example") UmsMemberStatisticsInfoExample example); - - int updateByPrimaryKeySelective(UmsMemberStatisticsInfo row); - - int updateByPrimaryKey(UmsMemberStatisticsInfo row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTagMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTagMapper.java deleted file mode 100644 index 6ea43c82e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTagMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberTag; -import com.macro.mall.model.UmsMemberTagExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberTagMapper { - long countByExample(UmsMemberTagExample example); - - int deleteByExample(UmsMemberTagExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberTag row); - - int insertSelective(UmsMemberTag row); - - List selectByExample(UmsMemberTagExample example); - - UmsMemberTag selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsMemberTag row, @Param("example") UmsMemberTagExample example); - - int updateByExample(@Param("row") UmsMemberTag row, @Param("example") UmsMemberTagExample example); - - int updateByPrimaryKeySelective(UmsMemberTag row); - - int updateByPrimaryKey(UmsMemberTag row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTaskMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTaskMapper.java deleted file mode 100644 index abfb4a308..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTaskMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMemberTask; -import com.macro.mall.model.UmsMemberTaskExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMemberTaskMapper { - long countByExample(UmsMemberTaskExample example); - - int deleteByExample(UmsMemberTaskExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMemberTask row); - - int insertSelective(UmsMemberTask row); - - List selectByExample(UmsMemberTaskExample example); - - UmsMemberTask selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsMemberTask row, @Param("example") UmsMemberTaskExample example); - - int updateByExample(@Param("row") UmsMemberTask row, @Param("example") UmsMemberTaskExample example); - - int updateByPrimaryKeySelective(UmsMemberTask row); - - int updateByPrimaryKey(UmsMemberTask row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMenuMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMenuMapper.java deleted file mode 100644 index 389c98388..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsMenuMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsMenu; -import com.macro.mall.model.UmsMenuExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsMenuMapper { - long countByExample(UmsMenuExample example); - - int deleteByExample(UmsMenuExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsMenu row); - - int insertSelective(UmsMenu row); - - List selectByExample(UmsMenuExample example); - - UmsMenu selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsMenu row, @Param("example") UmsMenuExample example); - - int updateByExample(@Param("row") UmsMenu row, @Param("example") UmsMenuExample example); - - int updateByPrimaryKeySelective(UmsMenu row); - - int updateByPrimaryKey(UmsMenu row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsPermissionMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsPermissionMapper.java deleted file mode 100644 index d443ea856..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsPermissionMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsPermission; -import com.macro.mall.model.UmsPermissionExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsPermissionMapper { - long countByExample(UmsPermissionExample example); - - int deleteByExample(UmsPermissionExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsPermission row); - - int insertSelective(UmsPermission row); - - List selectByExample(UmsPermissionExample example); - - UmsPermission selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsPermission row, @Param("example") UmsPermissionExample example); - - int updateByExample(@Param("row") UmsPermission row, @Param("example") UmsPermissionExample example); - - int updateByPrimaryKeySelective(UmsPermission row); - - int updateByPrimaryKey(UmsPermission row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceCategoryMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceCategoryMapper.java deleted file mode 100644 index 0bdc51db0..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceCategoryMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsResourceCategory; -import com.macro.mall.model.UmsResourceCategoryExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsResourceCategoryMapper { - long countByExample(UmsResourceCategoryExample example); - - int deleteByExample(UmsResourceCategoryExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsResourceCategory row); - - int insertSelective(UmsResourceCategory row); - - List selectByExample(UmsResourceCategoryExample example); - - UmsResourceCategory selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsResourceCategory row, @Param("example") UmsResourceCategoryExample example); - - int updateByExample(@Param("row") UmsResourceCategory row, @Param("example") UmsResourceCategoryExample example); - - int updateByPrimaryKeySelective(UmsResourceCategory row); - - int updateByPrimaryKey(UmsResourceCategory row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceMapper.java deleted file mode 100644 index c9f585807..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsResource; -import com.macro.mall.model.UmsResourceExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsResourceMapper { - long countByExample(UmsResourceExample example); - - int deleteByExample(UmsResourceExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsResource row); - - int insertSelective(UmsResource row); - - List selectByExample(UmsResourceExample example); - - UmsResource selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsResource row, @Param("example") UmsResourceExample example); - - int updateByExample(@Param("row") UmsResource row, @Param("example") UmsResourceExample example); - - int updateByPrimaryKeySelective(UmsResource row); - - int updateByPrimaryKey(UmsResource row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMapper.java deleted file mode 100644 index 7ce2ff945..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsRole; -import com.macro.mall.model.UmsRoleExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsRoleMapper { - long countByExample(UmsRoleExample example); - - int deleteByExample(UmsRoleExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsRole row); - - int insertSelective(UmsRole row); - - List selectByExample(UmsRoleExample example); - - UmsRole selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsRole row, @Param("example") UmsRoleExample example); - - int updateByExample(@Param("row") UmsRole row, @Param("example") UmsRoleExample example); - - int updateByPrimaryKeySelective(UmsRole row); - - int updateByPrimaryKey(UmsRole row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMenuRelationMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMenuRelationMapper.java deleted file mode 100644 index af4b97945..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMenuRelationMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsRoleMenuRelation; -import com.macro.mall.model.UmsRoleMenuRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsRoleMenuRelationMapper { - long countByExample(UmsRoleMenuRelationExample example); - - int deleteByExample(UmsRoleMenuRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsRoleMenuRelation row); - - int insertSelective(UmsRoleMenuRelation row); - - List selectByExample(UmsRoleMenuRelationExample example); - - UmsRoleMenuRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsRoleMenuRelation row, @Param("example") UmsRoleMenuRelationExample example); - - int updateByExample(@Param("row") UmsRoleMenuRelation row, @Param("example") UmsRoleMenuRelationExample example); - - int updateByPrimaryKeySelective(UmsRoleMenuRelation row); - - int updateByPrimaryKey(UmsRoleMenuRelation row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRolePermissionRelationMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRolePermissionRelationMapper.java deleted file mode 100644 index a4ca9a7f4..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRolePermissionRelationMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsRolePermissionRelation; -import com.macro.mall.model.UmsRolePermissionRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsRolePermissionRelationMapper { - long countByExample(UmsRolePermissionRelationExample example); - - int deleteByExample(UmsRolePermissionRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsRolePermissionRelation row); - - int insertSelective(UmsRolePermissionRelation row); - - List selectByExample(UmsRolePermissionRelationExample example); - - UmsRolePermissionRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsRolePermissionRelation row, @Param("example") UmsRolePermissionRelationExample example); - - int updateByExample(@Param("row") UmsRolePermissionRelation row, @Param("example") UmsRolePermissionRelationExample example); - - int updateByPrimaryKeySelective(UmsRolePermissionRelation row); - - int updateByPrimaryKey(UmsRolePermissionRelation row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleResourceRelationMapper.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleResourceRelationMapper.java deleted file mode 100644 index 6b22700e6..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleResourceRelationMapper.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.macro.mall.mapper; - -import com.macro.mall.model.UmsRoleResourceRelation; -import com.macro.mall.model.UmsRoleResourceRelationExample; -import java.util.List; -import org.apache.ibatis.annotations.Param; - -public interface UmsRoleResourceRelationMapper { - long countByExample(UmsRoleResourceRelationExample example); - - int deleteByExample(UmsRoleResourceRelationExample example); - - int deleteByPrimaryKey(Long id); - - int insert(UmsRoleResourceRelation row); - - int insertSelective(UmsRoleResourceRelation row); - - List selectByExample(UmsRoleResourceRelationExample example); - - UmsRoleResourceRelation selectByPrimaryKey(Long id); - - int updateByExampleSelective(@Param("row") UmsRoleResourceRelation row, @Param("example") UmsRoleResourceRelationExample example); - - int updateByExample(@Param("row") UmsRoleResourceRelation row, @Param("example") UmsRoleResourceRelationExample example); - - int updateByPrimaryKeySelective(UmsRoleResourceRelation row); - - int updateByPrimaryKey(UmsRoleResourceRelation row); -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java deleted file mode 100644 index b7f375a6c..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java +++ /dev/null @@ -1,108 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategory.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategory.java deleted file mode 100644 index 0a74ca405..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategory.java +++ /dev/null @@ -1,87 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class CmsHelpCategory implements Serializable { - private Long id; - - private String name; - - @Schema(title = "分类图标") - private String icon; - - @Schema(title = "专题数量") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategoryExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategoryExample.java deleted file mode 100644 index 0f97d9d1a..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategoryExample.java +++ /dev/null @@ -1,579 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java deleted file mode 100644 index d60579b4a..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java +++ /dev/null @@ -1,640 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java deleted file mode 100644 index f96a17f91..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java +++ /dev/null @@ -1,112 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class CmsMemberReport implements Serializable { - private Long id; - - @Schema(title = "举报类型:0->商品评价;1->话题内容;2->用户评论") - private Integer reportType; - - @Schema(title = "举报人") - private String reportMemberName; - - private Date createTime; - - private String reportObject; - - @Schema(title = "举报状态:0->未处理;1->已处理") - private Integer reportStatus; - - @Schema(title = "处理结果:0->无效;1->有效;2->恶意") - private Integer handleStatus; - - private String note; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Integer getReportType() { - return reportType; - } - - public void setReportType(Integer reportType) { - this.reportType = reportType; - } - - public String getReportMemberName() { - return reportMemberName; - } - - public void setReportMemberName(String reportMemberName) { - this.reportMemberName = reportMemberName; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public String getReportObject() { - return reportObject; - } - - public void setReportObject(String reportObject) { - this.reportObject = reportObject; - } - - public Integer getReportStatus() { - return reportStatus; - } - - public void setReportStatus(Integer reportStatus) { - this.reportStatus = reportStatus; - } - - public Integer getHandleStatus() { - return handleStatus; - } - - public void setHandleStatus(Integer handleStatus) { - this.handleStatus = handleStatus; - } - - 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(", reportType=").append(reportType); - sb.append(", reportMemberName=").append(reportMemberName); - sb.append(", createTime=").append(createTime); - sb.append(", reportObject=").append(reportObject); - sb.append(", reportStatus=").append(reportStatus); - sb.append(", handleStatus=").append(handleStatus); - sb.append(", note=").append(note); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReportExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReportExample.java deleted file mode 100644 index f2189436f..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReportExample.java +++ /dev/null @@ -1,710 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class CmsMemberReportExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public CmsMemberReportExample() { - 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 andReportTypeIsNull() { - addCriterion("report_type is null"); - return (Criteria) this; - } - - public Criteria andReportTypeIsNotNull() { - addCriterion("report_type is not null"); - return (Criteria) this; - } - - public Criteria andReportTypeEqualTo(Integer value) { - addCriterion("report_type =", value, "reportType"); - return (Criteria) this; - } - - public Criteria andReportTypeNotEqualTo(Integer value) { - addCriterion("report_type <>", value, "reportType"); - return (Criteria) this; - } - - public Criteria andReportTypeGreaterThan(Integer value) { - addCriterion("report_type >", value, "reportType"); - return (Criteria) this; - } - - public Criteria andReportTypeGreaterThanOrEqualTo(Integer value) { - addCriterion("report_type >=", value, "reportType"); - return (Criteria) this; - } - - public Criteria andReportTypeLessThan(Integer value) { - addCriterion("report_type <", value, "reportType"); - return (Criteria) this; - } - - public Criteria andReportTypeLessThanOrEqualTo(Integer value) { - addCriterion("report_type <=", value, "reportType"); - return (Criteria) this; - } - - public Criteria andReportTypeIn(List values) { - addCriterion("report_type in", values, "reportType"); - return (Criteria) this; - } - - public Criteria andReportTypeNotIn(List values) { - addCriterion("report_type not in", values, "reportType"); - return (Criteria) this; - } - - public Criteria andReportTypeBetween(Integer value1, Integer value2) { - addCriterion("report_type between", value1, value2, "reportType"); - return (Criteria) this; - } - - public Criteria andReportTypeNotBetween(Integer value1, Integer value2) { - addCriterion("report_type not between", value1, value2, "reportType"); - return (Criteria) this; - } - - public Criteria andReportMemberNameIsNull() { - addCriterion("report_member_name is null"); - return (Criteria) this; - } - - public Criteria andReportMemberNameIsNotNull() { - addCriterion("report_member_name is not null"); - return (Criteria) this; - } - - public Criteria andReportMemberNameEqualTo(String value) { - addCriterion("report_member_name =", value, "reportMemberName"); - return (Criteria) this; - } - - public Criteria andReportMemberNameNotEqualTo(String value) { - addCriterion("report_member_name <>", value, "reportMemberName"); - return (Criteria) this; - } - - public Criteria andReportMemberNameGreaterThan(String value) { - addCriterion("report_member_name >", value, "reportMemberName"); - return (Criteria) this; - } - - public Criteria andReportMemberNameGreaterThanOrEqualTo(String value) { - addCriterion("report_member_name >=", value, "reportMemberName"); - return (Criteria) this; - } - - public Criteria andReportMemberNameLessThan(String value) { - addCriterion("report_member_name <", value, "reportMemberName"); - return (Criteria) this; - } - - public Criteria andReportMemberNameLessThanOrEqualTo(String value) { - addCriterion("report_member_name <=", value, "reportMemberName"); - return (Criteria) this; - } - - public Criteria andReportMemberNameLike(String value) { - addCriterion("report_member_name like", value, "reportMemberName"); - return (Criteria) this; - } - - public Criteria andReportMemberNameNotLike(String value) { - addCriterion("report_member_name not like", value, "reportMemberName"); - return (Criteria) this; - } - - public Criteria andReportMemberNameIn(List values) { - addCriterion("report_member_name in", values, "reportMemberName"); - return (Criteria) this; - } - - public Criteria andReportMemberNameNotIn(List values) { - addCriterion("report_member_name not in", values, "reportMemberName"); - return (Criteria) this; - } - - public Criteria andReportMemberNameBetween(String value1, String value2) { - addCriterion("report_member_name between", value1, value2, "reportMemberName"); - return (Criteria) this; - } - - public Criteria andReportMemberNameNotBetween(String value1, String value2) { - addCriterion("report_member_name not between", value1, value2, "reportMemberName"); - 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 andReportObjectIsNull() { - addCriterion("report_object is null"); - return (Criteria) this; - } - - public Criteria andReportObjectIsNotNull() { - addCriterion("report_object is not null"); - return (Criteria) this; - } - - public Criteria andReportObjectEqualTo(String value) { - addCriterion("report_object =", value, "reportObject"); - return (Criteria) this; - } - - public Criteria andReportObjectNotEqualTo(String value) { - addCriterion("report_object <>", value, "reportObject"); - return (Criteria) this; - } - - public Criteria andReportObjectGreaterThan(String value) { - addCriterion("report_object >", value, "reportObject"); - return (Criteria) this; - } - - public Criteria andReportObjectGreaterThanOrEqualTo(String value) { - addCriterion("report_object >=", value, "reportObject"); - return (Criteria) this; - } - - public Criteria andReportObjectLessThan(String value) { - addCriterion("report_object <", value, "reportObject"); - return (Criteria) this; - } - - public Criteria andReportObjectLessThanOrEqualTo(String value) { - addCriterion("report_object <=", value, "reportObject"); - return (Criteria) this; - } - - public Criteria andReportObjectLike(String value) { - addCriterion("report_object like", value, "reportObject"); - return (Criteria) this; - } - - public Criteria andReportObjectNotLike(String value) { - addCriterion("report_object not like", value, "reportObject"); - return (Criteria) this; - } - - public Criteria andReportObjectIn(List values) { - addCriterion("report_object in", values, "reportObject"); - return (Criteria) this; - } - - public Criteria andReportObjectNotIn(List values) { - addCriterion("report_object not in", values, "reportObject"); - return (Criteria) this; - } - - public Criteria andReportObjectBetween(String value1, String value2) { - addCriterion("report_object between", value1, value2, "reportObject"); - return (Criteria) this; - } - - public Criteria andReportObjectNotBetween(String value1, String value2) { - addCriterion("report_object not between", value1, value2, "reportObject"); - return (Criteria) this; - } - - public Criteria andReportStatusIsNull() { - addCriterion("report_status is null"); - return (Criteria) this; - } - - public Criteria andReportStatusIsNotNull() { - addCriterion("report_status is not null"); - return (Criteria) this; - } - - public Criteria andReportStatusEqualTo(Integer value) { - addCriterion("report_status =", value, "reportStatus"); - return (Criteria) this; - } - - public Criteria andReportStatusNotEqualTo(Integer value) { - addCriterion("report_status <>", value, "reportStatus"); - return (Criteria) this; - } - - public Criteria andReportStatusGreaterThan(Integer value) { - addCriterion("report_status >", value, "reportStatus"); - return (Criteria) this; - } - - public Criteria andReportStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("report_status >=", value, "reportStatus"); - return (Criteria) this; - } - - public Criteria andReportStatusLessThan(Integer value) { - addCriterion("report_status <", value, "reportStatus"); - return (Criteria) this; - } - - public Criteria andReportStatusLessThanOrEqualTo(Integer value) { - addCriterion("report_status <=", value, "reportStatus"); - return (Criteria) this; - } - - public Criteria andReportStatusIn(List values) { - addCriterion("report_status in", values, "reportStatus"); - return (Criteria) this; - } - - public Criteria andReportStatusNotIn(List values) { - addCriterion("report_status not in", values, "reportStatus"); - return (Criteria) this; - } - - public Criteria andReportStatusBetween(Integer value1, Integer value2) { - addCriterion("report_status between", value1, value2, "reportStatus"); - return (Criteria) this; - } - - public Criteria andReportStatusNotBetween(Integer value1, Integer value2) { - addCriterion("report_status not between", value1, value2, "reportStatus"); - return (Criteria) this; - } - - public Criteria andHandleStatusIsNull() { - addCriterion("handle_status is null"); - return (Criteria) this; - } - - public Criteria andHandleStatusIsNotNull() { - addCriterion("handle_status is not null"); - return (Criteria) this; - } - - public Criteria andHandleStatusEqualTo(Integer value) { - addCriterion("handle_status =", value, "handleStatus"); - return (Criteria) this; - } - - public Criteria andHandleStatusNotEqualTo(Integer value) { - addCriterion("handle_status <>", value, "handleStatus"); - return (Criteria) this; - } - - public Criteria andHandleStatusGreaterThan(Integer value) { - addCriterion("handle_status >", value, "handleStatus"); - return (Criteria) this; - } - - public Criteria andHandleStatusGreaterThanOrEqualTo(Integer value) { - addCriterion("handle_status >=", value, "handleStatus"); - return (Criteria) this; - } - - public Criteria andHandleStatusLessThan(Integer value) { - addCriterion("handle_status <", value, "handleStatus"); - return (Criteria) this; - } - - public Criteria andHandleStatusLessThanOrEqualTo(Integer value) { - addCriterion("handle_status <=", value, "handleStatus"); - return (Criteria) this; - } - - public Criteria andHandleStatusIn(List values) { - addCriterion("handle_status in", values, "handleStatus"); - return (Criteria) this; - } - - public Criteria andHandleStatusNotIn(List values) { - addCriterion("handle_status not in", values, "handleStatus"); - return (Criteria) this; - } - - public Criteria andHandleStatusBetween(Integer value1, Integer value2) { - addCriterion("handle_status between", value1, value2, "handleStatus"); - return (Criteria) this; - } - - public Criteria andHandleStatusNotBetween(Integer value1, Integer value2) { - addCriterion("handle_status not between", value1, value2, "handleStatus"); - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceArea.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceArea.java deleted file mode 100644 index 3448a2a15..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceArea.java +++ /dev/null @@ -1,86 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class CmsPrefrenceArea implements Serializable { - private Long id; - - private String name; - - private String subTitle; - - private Integer sort; - - private Integer showStatus; - - @Schema(title = "展示图片") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaExample.java deleted file mode 100644 index 92b11eaa2..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaExample.java +++ /dev/null @@ -1,519 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelation.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelation.java deleted file mode 100644 index bf37d79b2..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelation.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelationExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelationExample.java deleted file mode 100644 index a3ad81c2c..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelationExample.java +++ /dev/null @@ -1,379 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java deleted file mode 100644 index 4f9d62302..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java +++ /dev/null @@ -1,202 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class CmsSubject implements Serializable { - private Long id; - - private Long categoryId; - - private String title; - - @Schema(title = "专题主图") - private String pic; - - @Schema(title = "关联产品数量") - private Integer productCount; - - private Integer recommendStatus; - - private Date createTime; - - private Integer collectCount; - - private Integer readCount; - - private Integer commentCount; - - @Schema(title = "画册图片用逗号分割") - private String albumPics; - - private String description; - - @Schema(title = "显示状态:0->不显示;1->显示") - private Integer showStatus; - - @Schema(title = "转发数") - private Integer forwardCount; - - @Schema(title = "专题分类名称") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategory.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategory.java deleted file mode 100644 index 916484db8..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategory.java +++ /dev/null @@ -1,87 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class CmsSubjectCategory implements Serializable { - private Long id; - - private String name; - - @Schema(title = "分类图标") - private String icon; - - @Schema(title = "专题数量") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategoryExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategoryExample.java deleted file mode 100644 index 697fec075..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategoryExample.java +++ /dev/null @@ -1,579 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectComment.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectComment.java deleted file mode 100644 index d7ea0dfcb..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectComment.java +++ /dev/null @@ -1,97 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCommentExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCommentExample.java deleted file mode 100644 index bee2327e5..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCommentExample.java +++ /dev/null @@ -1,650 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java deleted file mode 100644 index 62e2333df..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java +++ /dev/null @@ -1,1150 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelation.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelation.java deleted file mode 100644 index 88ac2c393..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelation.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelationExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelationExample.java deleted file mode 100644 index d57412529..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelationExample.java +++ /dev/null @@ -1,379 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java deleted file mode 100644 index b27a177d9..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java +++ /dev/null @@ -1,157 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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; - - @Schema(title = "参与人数") - private Integer attendCount; - - @Schema(title = "关注人数") - private Integer attentionCount; - - private Integer readCount; - - @Schema(title = "奖品名称") - private String awardName; - - @Schema(title = "参与方式") - private String attendType; - - @Schema(title = "话题内容") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategory.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategory.java deleted file mode 100644 index a332439b9..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategory.java +++ /dev/null @@ -1,87 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class CmsTopicCategory implements Serializable { - private Long id; - - private String name; - - @Schema(title = "分类图标") - private String icon; - - @Schema(title = "专题数量") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategoryExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategoryExample.java deleted file mode 100644 index 59ac1f2d5..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategoryExample.java +++ /dev/null @@ -1,579 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicComment.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicComment.java deleted file mode 100644 index 648da7e69..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicComment.java +++ /dev/null @@ -1,97 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCommentExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCommentExample.java deleted file mode 100644 index a10fb551b..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCommentExample.java +++ /dev/null @@ -1,650 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java deleted file mode 100644 index 6cc6c321b..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java +++ /dev/null @@ -1,890 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCartItem.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCartItem.java deleted file mode 100644 index a4f6e5401..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCartItem.java +++ /dev/null @@ -1,231 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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; - - @Schema(title = "购买数量") - private Integer quantity; - - @Schema(title = "添加到购物车的价格") - private BigDecimal price; - - @Schema(title = "商品主图") - private String productPic; - - @Schema(title = "商品名称") - private String productName; - - @Schema(title = "商品副标题(卖点)") - private String productSubTitle; - - @Schema(title = "商品sku条码") - private String productSkuCode; - - @Schema(title = "会员昵称") - private String memberNickname; - - @Schema(title = "创建时间") - private Date createDate; - - @Schema(title = "修改时间") - private Date modifyDate; - - @Schema(title = "是否删除") - private Integer deleteStatus; - - @Schema(title = "商品分类") - private Long productCategoryId; - - private String productBrand; - - private String productSn; - - @Schema(title = "商品销售属性:[{'key':'颜色','value':'颜色'},{'key':'容量','value':'4G'}]") - 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 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(", 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCartItemExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCartItemExample.java deleted file mode 100644 index ce3a1d500..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCartItemExample.java +++ /dev/null @@ -1,1361 +0,0 @@ -package com.macro.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 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddress.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddress.java deleted file mode 100644 index 0ee50c27f..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddress.java +++ /dev/null @@ -1,138 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class OmsCompanyAddress implements Serializable { - private Long id; - - @Schema(title = "地址名称") - private String addressName; - - @Schema(title = "默认发货地址:0->否;1->是") - private Integer sendStatus; - - @Schema(title = "是否默认收货地址:0->否;1->是") - private Integer receiveStatus; - - @Schema(title = "收发货人姓名") - private String name; - - @Schema(title = "收货人电话") - private String phone; - - @Schema(title = "省/直辖市") - private String province; - - @Schema(title = "市") - private String city; - - @Schema(title = "区") - private String region; - - @Schema(title = "详细地址") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddressExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddressExample.java deleted file mode 100644 index 29dc3a7c7..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddressExample.java +++ /dev/null @@ -1,869 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrder.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrder.java deleted file mode 100644 index 709c5c9a4..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrder.java +++ /dev/null @@ -1,547 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.math.BigDecimal; -import java.util.Date; - -public class OmsOrder implements Serializable { - @Schema(title = "订单id") - private Long id; - - private Long memberId; - - private Long couponId; - - @Schema(title = "订单编号") - private String orderSn; - - @Schema(title = "提交时间") - private Date createTime; - - @Schema(title = "用户帐号") - private String memberUsername; - - @Schema(title = "订单总金额") - private BigDecimal totalAmount; - - @Schema(title = "应付金额(实际支付金额)") - private BigDecimal payAmount; - - @Schema(title = "运费金额") - private BigDecimal freightAmount; - - @Schema(title = "促销优化金额(促销价、满减、阶梯价)") - private BigDecimal promotionAmount; - - @Schema(title = "积分抵扣金额") - private BigDecimal integrationAmount; - - @Schema(title = "优惠券抵扣金额") - private BigDecimal couponAmount; - - @Schema(title = "管理员后台调整订单使用的折扣金额") - private BigDecimal discountAmount; - - @Schema(title = "支付方式:0->未支付;1->支付宝;2->微信") - private Integer payType; - - @Schema(title = "订单来源:0->PC订单;1->app订单") - private Integer sourceType; - - @Schema(title = "订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单") - private Integer status; - - @Schema(title = "订单类型:0->正常订单;1->秒杀订单") - private Integer orderType; - - @Schema(title = "物流公司(配送方式)") - private String deliveryCompany; - - @Schema(title = "物流单号") - private String deliverySn; - - @Schema(title = "自动确认时间(天)") - private Integer autoConfirmDay; - - @Schema(title = "可以获得的积分") - private Integer integration; - - @Schema(title = "可以活动的成长值") - private Integer growth; - - @Schema(title = "活动信息") - private String promotionInfo; - - @Schema(title = "发票类型:0->不开发票;1->电子发票;2->纸质发票") - private Integer billType; - - @Schema(title = "发票抬头") - private String billHeader; - - @Schema(title = "发票内容") - private String billContent; - - @Schema(title = "收票人电话") - private String billReceiverPhone; - - @Schema(title = "收票人邮箱") - private String billReceiverEmail; - - @Schema(title = "收货人姓名") - private String receiverName; - - @Schema(title = "收货人电话") - private String receiverPhone; - - @Schema(title = "收货人邮编") - private String receiverPostCode; - - @Schema(title = "省份/直辖市") - private String receiverProvince; - - @Schema(title = "城市") - private String receiverCity; - - @Schema(title = "区") - private String receiverRegion; - - @Schema(title = "详细地址") - private String receiverDetailAddress; - - @Schema(title = "订单备注") - private String note; - - @Schema(title = "确认收货状态:0->未确认;1->已确认") - private Integer confirmStatus; - - @Schema(title = "删除状态:0->未删除;1->已删除") - private Integer deleteStatus; - - @Schema(title = "下单时使用的积分") - private Integer useIntegration; - - @Schema(title = "支付时间") - private Date paymentTime; - - @Schema(title = "发货时间") - private Date deliveryTime; - - @Schema(title = "确认收货时间") - private Date receiveTime; - - @Schema(title = "评价时间") - private Date commentTime; - - @Schema(title = "修改时间") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java deleted file mode 100644 index abf494a27..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java +++ /dev/null @@ -1,3011 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java deleted file mode 100644 index d904f3127..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java +++ /dev/null @@ -1,264 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.math.BigDecimal; - -public class OmsOrderItem implements Serializable { - private Long id; - - @Schema(title = "订单id") - private Long orderId; - - @Schema(title = "订单编号") - private String orderSn; - - private Long productId; - - private String productPic; - - private String productName; - - private String productBrand; - - private String productSn; - - @Schema(title = "销售价格") - private BigDecimal productPrice; - - @Schema(title = "购买数量") - private Integer productQuantity; - - @Schema(title = "商品sku编号") - private Long productSkuId; - - @Schema(title = "商品sku条码") - private String productSkuCode; - - @Schema(title = "商品分类id") - private Long productCategoryId; - - @Schema(title = "商品促销名称") - private String promotionName; - - @Schema(title = "商品促销分解金额") - private BigDecimal promotionAmount; - - @Schema(title = "优惠券优惠分解金额") - private BigDecimal couponAmount; - - @Schema(title = "积分优惠分解金额") - private BigDecimal integrationAmount; - - @Schema(title = "该商品经过优惠后的分解金额") - private BigDecimal realAmount; - - private Integer giftIntegration; - - private Integer giftGrowth; - - @Schema(title = "商品销售属性:[{'key':'颜色','value':'颜色'},{'key':'容量','value':'4G'}]") - 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 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(", 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java deleted file mode 100644 index e3b06a5c0..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java +++ /dev/null @@ -1,1540 +0,0 @@ -package com.macro.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 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistory.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistory.java deleted file mode 100644 index 456f1f6e6..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistory.java +++ /dev/null @@ -1,91 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class OmsOrderOperateHistory implements Serializable { - private Long id; - - @Schema(title = "订单id") - private Long orderId; - - @Schema(title = "操作人:用户;系统;后台管理员") - private String operateMan; - - @Schema(title = "操作时间") - private Date createTime; - - @Schema(title = "订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单") - private Integer orderStatus; - - @Schema(title = "备注") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistoryExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistoryExample.java deleted file mode 100644 index bc74b2270..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistoryExample.java +++ /dev/null @@ -1,580 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApply.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApply.java deleted file mode 100644 index fa755f801..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApply.java +++ /dev/null @@ -1,344 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.math.BigDecimal; -import java.util.Date; - -public class OmsOrderReturnApply implements Serializable { - private Long id; - - @Schema(title = "订单id") - private Long orderId; - - @Schema(title = "收货地址表id") - private Long companyAddressId; - - @Schema(title = "退货商品id") - private Long productId; - - @Schema(title = "订单编号") - private String orderSn; - - @Schema(title = "申请时间") - private Date createTime; - - @Schema(title = "会员用户名") - private String memberUsername; - - @Schema(title = "退款金额") - private BigDecimal returnAmount; - - @Schema(title = "退货人姓名") - private String returnName; - - @Schema(title = "退货人电话") - private String returnPhone; - - @Schema(title = "申请状态:0->待处理;1->退货中;2->已完成;3->已拒绝") - private Integer status; - - @Schema(title = "处理时间") - private Date handleTime; - - @Schema(title = "商品图片") - private String productPic; - - @Schema(title = "商品名称") - private String productName; - - @Schema(title = "商品品牌") - private String productBrand; - - @Schema(title = "商品销售属性:颜色:红色;尺码:xl;") - private String productAttr; - - @Schema(title = "退货数量") - private Integer productCount; - - @Schema(title = "商品单价") - private BigDecimal productPrice; - - @Schema(title = "商品实际支付单价") - private BigDecimal productRealPrice; - - @Schema(title = "原因") - private String reason; - - @Schema(title = "描述") - private String description; - - @Schema(title = "凭证图片,以逗号隔开") - private String proofPics; - - @Schema(title = "处理备注") - private String handleNote; - - @Schema(title = "处理人员") - private String handleMan; - - @Schema(title = "收货人") - private String receiveMan; - - @Schema(title = "收货时间") - private Date receiveTime; - - @Schema(title = "收货备注") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApplyExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApplyExample.java deleted file mode 100644 index 503b42a64..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApplyExample.java +++ /dev/null @@ -1,1971 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReason.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReason.java deleted file mode 100644 index 981fcfe97..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReason.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class OmsOrderReturnReason implements Serializable { - private Long id; - - @Schema(title = "退货类型") - private String name; - - private Integer sort; - - @Schema(title = "状态:0->不启用;1->启用") - private Integer status; - - @Schema(title = "添加时间") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReasonExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReasonExample.java deleted file mode 100644 index aeeb85dcf..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReasonExample.java +++ /dev/null @@ -1,510 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSetting.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSetting.java deleted file mode 100644 index 0f0715456..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSetting.java +++ /dev/null @@ -1,90 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class OmsOrderSetting implements Serializable { - private Long id; - - @Schema(title = "秒杀订单超时关闭时间(分)") - private Integer flashOrderOvertime; - - @Schema(title = "正常订单超时时间(分)") - private Integer normalOrderOvertime; - - @Schema(title = "发货后自动确认收货时间(天)") - private Integer confirmOvertime; - - @Schema(title = "自动完成交易时间,不能申请售后(天)") - private Integer finishOvertime; - - @Schema(title = "订单完成后自动好评时间(天)") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSettingExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSettingExample.java deleted file mode 100644 index e4055e7ca..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSettingExample.java +++ /dev/null @@ -1,559 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbum.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbum.java deleted file mode 100644 index ed0ae01e6..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbum.java +++ /dev/null @@ -1,85 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumExample.java deleted file mode 100644 index bc406c2ea..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumExample.java +++ /dev/null @@ -1,589 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPic.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPic.java deleted file mode 100644 index ef8fcfbd8..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPic.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPicExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPicExample.java deleted file mode 100644 index 4ee4192df..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPicExample.java +++ /dev/null @@ -1,389 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsBrand.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsBrand.java deleted file mode 100644 index 611fde7a7..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsBrand.java +++ /dev/null @@ -1,147 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class PmsBrand implements Serializable { - private Long id; - - private String name; - - @Schema(title = "首字母") - private String firstLetter; - - private Integer sort; - - @Schema(title = "是否为品牌制造商:0->不是;1->是") - private Integer factoryStatus; - - private Integer showStatus; - - @Schema(title = "产品数量") - private Integer productCount; - - @Schema(title = "产品评论数量") - private Integer productCommentCount; - - @Schema(title = "品牌logo") - private String logo; - - @Schema(title = "专区大图") - private String bigPic; - - @Schema(title = "品牌故事") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsBrandExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsBrandExample.java deleted file mode 100644 index 611e5c9ac..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsBrandExample.java +++ /dev/null @@ -1,839 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsComment.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsComment.java deleted file mode 100644 index 576c22ff1..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsComment.java +++ /dev/null @@ -1,190 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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; - - @Schema(title = "评价星数:0->5") - private Integer star; - - @Schema(title = "评价的ip") - private String memberIp; - - private Date createTime; - - private Integer showStatus; - - @Schema(title = "购买时的商品属性") - private String productAttribute; - - private Integer collectCouont; - - private Integer readCount; - - @Schema(title = "上传图片地址,以逗号隔开") - private String pics; - - @Schema(title = "评论用户头像") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsCommentExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsCommentExample.java deleted file mode 100644 index 08230770e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsCommentExample.java +++ /dev/null @@ -1,1100 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplay.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplay.java deleted file mode 100644 index 0c0f0fe84..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplay.java +++ /dev/null @@ -1,98 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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; - - @Schema(title = "评论人员类型;0->会员;1->管理员") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplayExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplayExample.java deleted file mode 100644 index 88eaf06b4..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplayExample.java +++ /dev/null @@ -1,650 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplate.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplate.java deleted file mode 100644 index eb8e19268..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplate.java +++ /dev/null @@ -1,112 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.math.BigDecimal; - -public class PmsFeightTemplate implements Serializable { - private Long id; - - private String name; - - @Schema(title = "计费类型:0->按重量;1->按件数") - private Integer chargeType; - - @Schema(title = "首重kg") - private BigDecimal firstWeight; - - @Schema(title = "首费(元)") - private BigDecimal firstFee; - - private BigDecimal continueWeight; - - private BigDecimal continmeFee; - - @Schema(title = "目的地(省、市)") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplateExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplateExample.java deleted file mode 100644 index 900dbaaea..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplateExample.java +++ /dev/null @@ -1,700 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPrice.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPrice.java deleted file mode 100644 index ab6f2edfa..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPrice.java +++ /dev/null @@ -1,76 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.math.BigDecimal; - -public class PmsMemberPrice implements Serializable { - private Long id; - - private Long productId; - - private Long memberLevelId; - - @Schema(title = "会员价格") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPriceExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPriceExample.java deleted file mode 100644 index 6098bdbdc..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPriceExample.java +++ /dev/null @@ -1,510 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProduct.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProduct.java deleted file mode 100644 index be1f817db..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProduct.java +++ /dev/null @@ -1,513 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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; - - @Schema(title = "货号") - private String productSn; - - @Schema(title = "删除状态:0->未删除;1->已删除") - private Integer deleteStatus; - - @Schema(title = "上架状态:0->下架;1->上架") - private Integer publishStatus; - - @Schema(title = "新品状态:0->不是新品;1->新品") - private Integer newStatus; - - @Schema(title = "推荐状态;0->不推荐;1->推荐") - private Integer recommandStatus; - - @Schema(title = "审核状态:0->未审核;1->审核通过") - private Integer verifyStatus; - - @Schema(title = "排序") - private Integer sort; - - @Schema(title = "销量") - private Integer sale; - - private BigDecimal price; - - @Schema(title = "促销价格") - private BigDecimal promotionPrice; - - @Schema(title = "赠送的成长值") - private Integer giftGrowth; - - @Schema(title = "赠送的积分") - private Integer giftPoint; - - @Schema(title = "限制使用的积分数") - private Integer usePointLimit; - - @Schema(title = "副标题") - private String subTitle; - - @Schema(title = "市场价") - private BigDecimal originalPrice; - - @Schema(title = "库存") - private Integer stock; - - @Schema(title = "库存预警值") - private Integer lowStock; - - @Schema(title = "单位") - private String unit; - - @Schema(title = "商品重量,默认为克") - private BigDecimal weight; - - @Schema(title = "是否为预告商品:0->不是;1->是") - private Integer previewStatus; - - @Schema(title = "以逗号分割的产品服务:1->无忧退货;2->快速退款;3->免费包邮") - private String serviceIds; - - private String keywords; - - private String note; - - @Schema(title = "画册图片,连产品图片限制为5张,以逗号分割") - private String albumPics; - - private String detailTitle; - - @Schema(title = "促销开始时间") - private Date promotionStartTime; - - @Schema(title = "促销结束时间") - private Date promotionEndTime; - - @Schema(title = "活动限购数量") - private Integer promotionPerLimit; - - @Schema(title = "促销类型:0->没有促销使用原价;1->使用促销价;2->使用会员价;3->使用阶梯价格;4->使用满减价格;5->限时购") - private Integer promotionType; - - @Schema(title = "品牌名称") - private String brandName; - - @Schema(title = "商品分类名称") - private String productCategoryName; - - @Schema(title = "商品描述") - private String description; - - private String detailDesc; - - @Schema(title = "产品详情网页内容") - private String detailHtml; - - @Schema(title = "移动端网页详情") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttribute.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttribute.java deleted file mode 100644 index eb24c3859..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttribute.java +++ /dev/null @@ -1,160 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class PmsProductAttribute implements Serializable { - private Long id; - - private Long productAttributeCategoryId; - - private String name; - - @Schema(title = "属性选择类型:0->唯一;1->单选;2->多选") - private Integer selectType; - - @Schema(title = "属性录入方式:0->手工录入;1->从列表中选取") - private Integer inputType; - - @Schema(title = "可选值列表,以逗号隔开") - private String inputList; - - @Schema(title = "排序字段:最高的可以单独上传图片") - private Integer sort; - - @Schema(title = "分类筛选样式:1->普通;1->颜色") - private Integer filterType; - - @Schema(title = "检索类型;0->不需要进行检索;1->关键字检索;2->范围检索") - private Integer searchType; - - @Schema(title = "相同属性产品是否关联;0->不关联;1->关联") - private Integer relatedStatus; - - @Schema(title = "是否支持手动新增;0->不支持;1->支持") - private Integer handAddStatus; - - @Schema(title = "属性的类型;0->规格;1->参数") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategory.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategory.java deleted file mode 100644 index e9b1d4d53..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategory.java +++ /dev/null @@ -1,65 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class PmsProductAttributeCategory implements Serializable { - private Long id; - - private String name; - - @Schema(title = "属性数量") - private Integer attributeCount; - - @Schema(title = "参数数量") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategoryExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategoryExample.java deleted file mode 100644 index b6ca15fa7..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategoryExample.java +++ /dev/null @@ -1,449 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeExample.java deleted file mode 100644 index 0ab45c39c..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeExample.java +++ /dev/null @@ -1,939 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java deleted file mode 100644 index 594d9c96c..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class PmsProductAttributeValue implements Serializable { - private Long id; - - private Long productId; - - private Long productAttributeId; - - @Schema(title = "手动添加规格或参数的值,参数单值,规格有多个时以逗号隔开") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java deleted file mode 100644 index 3cc7711dd..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java +++ /dev/null @@ -1,449 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategory.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategory.java deleted file mode 100644 index 261190bec..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategory.java +++ /dev/null @@ -1,157 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class PmsProductCategory implements Serializable { - private Long id; - - @Schema(title = "上机分类的编号:0表示一级分类") - private Long parentId; - - private String name; - - @Schema(title = "分类级别:0->1级;1->2级") - private Integer level; - - private Integer productCount; - - private String productUnit; - - @Schema(title = "是否显示在导航栏:0->不显示;1->显示") - private Integer navStatus; - - @Schema(title = "显示状态:0->不显示;1->显示") - private Integer showStatus; - - private Integer sort; - - @Schema(title = "图标") - private String icon; - - private String keywords; - - @Schema(title = "描述") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelation.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelation.java deleted file mode 100644 index aeaab809c..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelation.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelationExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelationExample.java deleted file mode 100644 index bbd1d80e5..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelationExample.java +++ /dev/null @@ -1,379 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryExample.java deleted file mode 100644 index 75f0a48c5..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryExample.java +++ /dev/null @@ -1,899 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductExample.java deleted file mode 100644 index 71561c05b..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductExample.java +++ /dev/null @@ -1,2601 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java deleted file mode 100644 index 923e20bde..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java deleted file mode 100644 index f1a9d704d..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java +++ /dev/null @@ -1,440 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadder.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadder.java deleted file mode 100644 index 1fff2e129..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadder.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.math.BigDecimal; - -public class PmsProductLadder implements Serializable { - private Long id; - - private Long productId; - - @Schema(title = "满足的商品数量") - private Integer count; - - @Schema(title = "折扣") - private BigDecimal discount; - - @Schema(title = "折后价格") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadderExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadderExample.java deleted file mode 100644 index c27e4158e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadderExample.java +++ /dev/null @@ -1,500 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLog.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLog.java deleted file mode 100644 index 55e13c550..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLog.java +++ /dev/null @@ -1,155 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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; - - @Schema(title = "赠送的积分") - private Integer giftPointOld; - - private Integer giftPointNew; - - private Integer usePointLimitOld; - - private Integer usePointLimitNew; - - @Schema(title = "操作人") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLogExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLogExample.java deleted file mode 100644 index 3a6691096..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLogExample.java +++ /dev/null @@ -1,931 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecord.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecord.java deleted file mode 100644 index 571fb4956..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecord.java +++ /dev/null @@ -1,88 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class PmsProductVertifyRecord implements Serializable { - private Long id; - - private Long productId; - - private Date createTime; - - @Schema(title = "审核人") - private String vertifyMan; - - private Integer status; - - @Schema(title = "反馈详情") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecordExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecordExample.java deleted file mode 100644 index c9fb11f01..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecordExample.java +++ /dev/null @@ -1,580 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStock.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStock.java deleted file mode 100644 index acc45ae9c..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStock.java +++ /dev/null @@ -1,149 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.math.BigDecimal; - -public class PmsSkuStock implements Serializable { - private Long id; - - private Long productId; - - @Schema(title = "sku编码") - private String skuCode; - - private BigDecimal price; - - @Schema(title = "库存") - private Integer stock; - - @Schema(title = "预警库存") - private Integer lowStock; - - @Schema(title = "展示图片") - private String pic; - - @Schema(title = "销量") - private Integer sale; - - @Schema(title = "单品促销价格") - private BigDecimal promotionPrice; - - @Schema(title = "锁定库存") - private Integer lockStock; - - @Schema(title = "商品销售属性,json格式") - private String spData; - - 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 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; - } - - public String getSpData() { - return spData; - } - - public void setSpData(String spData) { - this.spData = spData; - } - - @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(", pic=").append(pic); - sb.append(", sale=").append(sale); - sb.append(", promotionPrice=").append(promotionPrice); - sb.append(", lockStock=").append(lockStock); - sb.append(", spData=").append(spData); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStockExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStockExample.java deleted file mode 100644 index 8b6cc773e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStockExample.java +++ /dev/null @@ -1,890 +0,0 @@ -package com.macro.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 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 Criteria andSpDataIsNull() { - addCriterion("sp_data is null"); - return (Criteria) this; - } - - public Criteria andSpDataIsNotNull() { - addCriterion("sp_data is not null"); - return (Criteria) this; - } - - public Criteria andSpDataEqualTo(String value) { - addCriterion("sp_data =", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataNotEqualTo(String value) { - addCriterion("sp_data <>", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataGreaterThan(String value) { - addCriterion("sp_data >", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataGreaterThanOrEqualTo(String value) { - addCriterion("sp_data >=", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataLessThan(String value) { - addCriterion("sp_data <", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataLessThanOrEqualTo(String value) { - addCriterion("sp_data <=", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataLike(String value) { - addCriterion("sp_data like", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataNotLike(String value) { - addCriterion("sp_data not like", value, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataIn(List values) { - addCriterion("sp_data in", values, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataNotIn(List values) { - addCriterion("sp_data not in", values, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataBetween(String value1, String value2) { - addCriterion("sp_data between", value1, value2, "spData"); - return (Criteria) this; - } - - public Criteria andSpDataNotBetween(String value1, String value2) { - addCriterion("sp_data not between", value1, value2, "spData"); - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCoupon.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCoupon.java deleted file mode 100644 index 8dd1e8024..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCoupon.java +++ /dev/null @@ -1,233 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.math.BigDecimal; -import java.util.Date; - -public class SmsCoupon implements Serializable { - private Long id; - - @Schema(title = "优惠券类型;0->全场赠券;1->会员赠券;2->购物赠券;3->注册赠券") - private Integer type; - - private String name; - - @Schema(title = "使用平台:0->全部;1->移动;2->PC") - private Integer platform; - - @Schema(title = "数量") - private Integer count; - - @Schema(title = "金额") - private BigDecimal amount; - - @Schema(title = "每人限领张数") - private Integer perLimit; - - @Schema(title = "使用门槛;0表示无门槛") - private BigDecimal minPoint; - - private Date startTime; - - private Date endTime; - - @Schema(title = "使用类型:0->全场通用;1->指定分类;2->指定商品") - private Integer useType; - - @Schema(title = "备注") - private String note; - - @Schema(title = "发行数量") - private Integer publishCount; - - @Schema(title = "已使用数量") - private Integer useCount; - - @Schema(title = "领取数量") - private Integer receiveCount; - - @Schema(title = "可以领取的日期") - private Date enableTime; - - @Schema(title = "优惠码") - private String code; - - @Schema(title = "可领取的会员类型:0->无限时") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java deleted file mode 100644 index 9d3866954..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java +++ /dev/null @@ -1,1311 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistory.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistory.java deleted file mode 100644 index 422c0612d..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistory.java +++ /dev/null @@ -1,147 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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; - - @Schema(title = "领取人昵称") - private String memberNickname; - - @Schema(title = "获取类型:0->后台赠送;1->主动获取") - private Integer getType; - - private Date createTime; - - @Schema(title = "使用状态:0->未使用;1->已使用;2->已过期") - private Integer useStatus; - - @Schema(title = "使用时间") - private Date useTime; - - @Schema(title = "订单编号") - private Long orderId; - - @Schema(title = "订单号码") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistoryExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistoryExample.java deleted file mode 100644 index 27bd2ffff..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistoryExample.java +++ /dev/null @@ -1,890 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelation.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelation.java deleted file mode 100644 index 55844f429..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelation.java +++ /dev/null @@ -1,76 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class SmsCouponProductCategoryRelation implements Serializable { - private Long id; - - private Long couponId; - - private Long productCategoryId; - - @Schema(title = "产品分类名称") - private String productCategoryName; - - @Schema(title = "父分类名称") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelationExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelationExample.java deleted file mode 100644 index 76fe8dfd6..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelationExample.java +++ /dev/null @@ -1,519 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java deleted file mode 100644 index 3accac860..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java +++ /dev/null @@ -1,76 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class SmsCouponProductRelation implements Serializable { - private Long id; - - private Long couponId; - - private Long productId; - - @Schema(title = "商品名称") - private String productName; - - @Schema(title = "商品编码") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java deleted file mode 100644 index ea39d00a9..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java +++ /dev/null @@ -1,519 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotion.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotion.java deleted file mode 100644 index 62840da96..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotion.java +++ /dev/null @@ -1,91 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class SmsFlashPromotion implements Serializable { - private Long id; - - @Schema(title = "秒杀时间段名称") - private String title; - - @Schema(title = "开始日期") - private Date startDate; - - @Schema(title = "结束日期") - private Date endDate; - - @Schema(title = "上下线状态") - private Integer status; - - @Schema(title = "创建时间") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionExample.java deleted file mode 100644 index d377d4e58..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionExample.java +++ /dev/null @@ -1,597 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLog.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLog.java deleted file mode 100644 index 023d0c240..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLog.java +++ /dev/null @@ -1,98 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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; - - @Schema(title = "会员订阅时间") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLogExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLogExample.java deleted file mode 100644 index 55058d32b..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLogExample.java +++ /dev/null @@ -1,640 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelation.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelation.java deleted file mode 100644 index dfa010b53..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelation.java +++ /dev/null @@ -1,114 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.math.BigDecimal; - -public class SmsFlashPromotionProductRelation implements Serializable { - @Schema(title = "编号") - private Long id; - - private Long flashPromotionId; - - @Schema(title = "编号") - private Long flashPromotionSessionId; - - private Long productId; - - @Schema(title = "限时购价格") - private BigDecimal flashPromotionPrice; - - @Schema(title = "限时购数量") - private Integer flashPromotionCount; - - @Schema(title = "每人限购数量") - private Integer flashPromotionLimit; - - @Schema(title = "排序") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelationExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelationExample.java deleted file mode 100644 index 41c6f49c8..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelationExample.java +++ /dev/null @@ -1,680 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSession.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSession.java deleted file mode 100644 index e40d2ecdc..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSession.java +++ /dev/null @@ -1,92 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class SmsFlashPromotionSession implements Serializable { - @Schema(title = "编号") - private Long id; - - @Schema(title = "场次名称") - private String name; - - @Schema(title = "每日开始时间") - private Date startTime; - - @Schema(title = "每日结束时间") - private Date endTime; - - @Schema(title = "启用状态:0->不启用;1->启用") - private Integer status; - - @Schema(title = "创建时间") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSessionExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSessionExample.java deleted file mode 100644 index f3e4aa6e8..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSessionExample.java +++ /dev/null @@ -1,597 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertise.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertise.java deleted file mode 100644 index a0bb5874f..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertise.java +++ /dev/null @@ -1,159 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class SmsHomeAdvertise implements Serializable { - private Long id; - - private String name; - - @Schema(title = "轮播位置:0->PC首页轮播;1->app首页轮播") - private Integer type; - - private String pic; - - private Date startTime; - - private Date endTime; - - @Schema(title = "上下线状态:0->下线;1->上线") - private Integer status; - - @Schema(title = "点击数") - private Integer clickCount; - - @Schema(title = "下单数") - private Integer orderCount; - - @Schema(title = "链接地址") - private String url; - - @Schema(title = "备注") - private String note; - - @Schema(title = "排序") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertiseExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertiseExample.java deleted file mode 100644 index cc237453e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertiseExample.java +++ /dev/null @@ -1,960 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrand.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrand.java deleted file mode 100644 index e01ec95af..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrand.java +++ /dev/null @@ -1,74 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrandExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrandExample.java deleted file mode 100644 index ce08d4f0f..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrandExample.java +++ /dev/null @@ -1,509 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProduct.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProduct.java deleted file mode 100644 index d75f9697d..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProduct.java +++ /dev/null @@ -1,74 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProductExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProductExample.java deleted file mode 100644 index 908652cec..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProductExample.java +++ /dev/null @@ -1,509 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProduct.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProduct.java deleted file mode 100644 index 181975fbe..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProduct.java +++ /dev/null @@ -1,74 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProductExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProductExample.java deleted file mode 100644 index 73a8c72bb..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProductExample.java +++ /dev/null @@ -1,509 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubject.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubject.java deleted file mode 100644 index 2bfc9ad18..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubject.java +++ /dev/null @@ -1,74 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubjectExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubjectExample.java deleted file mode 100644 index bccd3d850..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubjectExample.java +++ /dev/null @@ -1,509 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdmin.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdmin.java deleted file mode 100644 index d3bc7e06c..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdmin.java +++ /dev/null @@ -1,137 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class UmsAdmin implements Serializable { - private Long id; - - private String username; - - private String password; - - @Schema(title = "头像") - private String icon; - - @Schema(title = "邮箱") - private String email; - - @Schema(title = "昵称") - private String nickName; - - @Schema(title = "备注信息") - private String note; - - @Schema(title = "创建时间") - private Date createTime; - - @Schema(title = "最后登录时间") - private Date loginTime; - - @Schema(title = "帐号启用状态:0->禁用;1->启用") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminExample.java deleted file mode 100644 index 4ec3239e2..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminExample.java +++ /dev/null @@ -1,860 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLog.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLog.java deleted file mode 100644 index 67786ba30..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLog.java +++ /dev/null @@ -1,87 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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; - - @Schema(title = "浏览器登录类型") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLogExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLogExample.java deleted file mode 100644 index 1ff86de97..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLogExample.java +++ /dev/null @@ -1,590 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelation.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelation.java deleted file mode 100644 index f2cb19666..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelation.java +++ /dev/null @@ -1,63 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelationExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelationExample.java deleted file mode 100644 index f3e7e4295..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelationExample.java +++ /dev/null @@ -1,439 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelation.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelation.java deleted file mode 100644 index 66a78ea7e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelation.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelationExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelationExample.java deleted file mode 100644 index d8d1df218..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelationExample.java +++ /dev/null @@ -1,379 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistory.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistory.java deleted file mode 100644 index 123022623..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistory.java +++ /dev/null @@ -1,113 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class UmsGrowthChangeHistory implements Serializable { - private Long id; - - private Long memberId; - - private Date createTime; - - @Schema(title = "改变类型:0->增加;1->减少") - private Integer changeType; - - @Schema(title = "积分改变数量") - private Integer changeCount; - - @Schema(title = "操作人员") - private String operateMan; - - @Schema(title = "操作备注") - private String operateNote; - - @Schema(title = "积分来源:0->购物;1->管理员修改") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistoryExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistoryExample.java deleted file mode 100644 index 5d97472f2..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistoryExample.java +++ /dev/null @@ -1,700 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistory.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistory.java deleted file mode 100644 index 0aea90da1..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistory.java +++ /dev/null @@ -1,113 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class UmsIntegrationChangeHistory implements Serializable { - private Long id; - - private Long memberId; - - private Date createTime; - - @Schema(title = "改变类型:0->增加;1->减少") - private Integer changeType; - - @Schema(title = "积分改变数量") - private Integer changeCount; - - @Schema(title = "操作人员") - private String operateMan; - - @Schema(title = "操作备注") - private String operateNote; - - @Schema(title = "积分来源:0->购物;1->管理员修改") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistoryExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistoryExample.java deleted file mode 100644 index a38b5da3e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistoryExample.java +++ /dev/null @@ -1,700 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSetting.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSetting.java deleted file mode 100644 index 8da0922bb..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSetting.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class UmsIntegrationConsumeSetting implements Serializable { - private Long id; - - @Schema(title = "每一元需要抵扣的积分数量") - private Integer deductionPerAmount; - - @Schema(title = "每笔订单最高抵用百分比") - private Integer maxPercentPerOrder; - - @Schema(title = "每次使用积分最小单位100") - private Integer useUnit; - - @Schema(title = "是否可以和优惠券同用;0->不可以;1->可以") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSettingExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSettingExample.java deleted file mode 100644 index ff0f37357..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSettingExample.java +++ /dev/null @@ -1,499 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMember.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMember.java deleted file mode 100644 index 50c146210..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMember.java +++ /dev/null @@ -1,246 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class UmsMember implements Serializable { - private Long id; - - private Long memberLevelId; - - @Schema(title = "用户名") - private String username; - - @Schema(title = "密码") - private String password; - - @Schema(title = "昵称") - private String nickname; - - @Schema(title = "手机号码") - private String phone; - - @Schema(title = "帐号启用状态:0->禁用;1->启用") - private Integer status; - - @Schema(title = "注册时间") - private Date createTime; - - @Schema(title = "头像") - private String icon; - - @Schema(title = "性别:0->未知;1->男;2->女") - private Integer gender; - - @Schema(title = "生日") - private Date birthday; - - @Schema(title = "所做城市") - private String city; - - @Schema(title = "职业") - private String job; - - @Schema(title = "个性签名") - private String personalizedSignature; - - @Schema(title = "用户来源") - private Integer sourceType; - - @Schema(title = "积分") - private Integer integration; - - @Schema(title = "成长值") - private Integer growth; - - @Schema(title = "剩余抽奖次数") - private Integer luckeyCount; - - @Schema(title = "历史积分数量") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberExample.java deleted file mode 100644 index 76731ca38..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberExample.java +++ /dev/null @@ -1,1447 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevel.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevel.java deleted file mode 100644 index cec59ee13..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevel.java +++ /dev/null @@ -1,172 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.math.BigDecimal; - -public class UmsMemberLevel implements Serializable { - private Long id; - - private String name; - - private Integer growthPoint; - - @Schema(title = "是否为默认等级:0->不是;1->是") - private Integer defaultStatus; - - @Schema(title = "免运费标准") - private BigDecimal freeFreightPoint; - - @Schema(title = "每次评价获取的成长值") - private Integer commentGrowthPoint; - - @Schema(title = "是否有免邮特权") - private Integer priviledgeFreeFreight; - - @Schema(title = "是否有签到特权") - private Integer priviledgeSignIn; - - @Schema(title = "是否有评论获奖励特权") - private Integer priviledgeComment; - - @Schema(title = "是否有专享活动特权") - private Integer priviledgePromotion; - - @Schema(title = "是否有会员价格特权") - private Integer priviledgeMemberPrice; - - @Schema(title = "是否有生日特权") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevelExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevelExample.java deleted file mode 100644 index e387cf25e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevelExample.java +++ /dev/null @@ -1,1000 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLog.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLog.java deleted file mode 100644 index a7a82999a..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLog.java +++ /dev/null @@ -1,98 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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; - - @Schema(title = "登录类型:0->PC;1->android;2->ios;3->小程序") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLogExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLogExample.java deleted file mode 100644 index bda629dca..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLogExample.java +++ /dev/null @@ -1,650 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelation.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelation.java deleted file mode 100644 index 6fa769d55..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelation.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelationExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelationExample.java deleted file mode 100644 index eeda427ab..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelationExample.java +++ /dev/null @@ -1,379 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelation.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelation.java deleted file mode 100644 index 2f8a5ad62..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelation.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelationExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelationExample.java deleted file mode 100644 index 5634f1cc2..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelationExample.java +++ /dev/null @@ -1,379 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddress.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddress.java deleted file mode 100644 index 8faa15e62..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddress.java +++ /dev/null @@ -1,136 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class UmsMemberReceiveAddress implements Serializable { - private Long id; - - private Long memberId; - - @Schema(title = "收货人名称") - private String name; - - private String phoneNumber; - - @Schema(title = "是否为默认") - private Integer defaultStatus; - - @Schema(title = "邮政编码") - private String postCode; - - @Schema(title = "省份/直辖市") - private String province; - - @Schema(title = "城市") - private String city; - - @Schema(title = "区") - private String region; - - @Schema(title = "详细地址(街道)") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddressExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddressExample.java deleted file mode 100644 index de400d108..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddressExample.java +++ /dev/null @@ -1,869 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSetting.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSetting.java deleted file mode 100644 index 0bed67002..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSetting.java +++ /dev/null @@ -1,103 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.math.BigDecimal; - -public class UmsMemberRuleSetting implements Serializable { - private Long id; - - @Schema(title = "连续签到天数") - private Integer continueSignDay; - - @Schema(title = "连续签到赠送数量") - private Integer continueSignPoint; - - @Schema(title = "每消费多少元获取1个点") - private BigDecimal consumePerPoint; - - @Schema(title = "最低获取点数的订单金额") - private BigDecimal lowOrderAmount; - - @Schema(title = "每笔订单最高获取点数") - private Integer maxPointPerOrder; - - @Schema(title = "类型:0->积分规则;1->成长值规则") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSettingExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSettingExample.java deleted file mode 100644 index c445fb67a..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSettingExample.java +++ /dev/null @@ -1,620 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfo.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfo.java deleted file mode 100644 index a9f6900c8..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfo.java +++ /dev/null @@ -1,206 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.math.BigDecimal; -import java.util.Date; - -public class UmsMemberStatisticsInfo implements Serializable { - private Long id; - - private Long memberId; - - @Schema(title = "累计消费金额") - private BigDecimal consumeAmount; - - @Schema(title = "订单数量") - private Integer orderCount; - - @Schema(title = "优惠券数量") - private Integer couponCount; - - @Schema(title = "评价数") - private Integer commentCount; - - @Schema(title = "退货数量") - private Integer returnOrderCount; - - @Schema(title = "登录次数") - private Integer loginCount; - - @Schema(title = "关注数量") - private Integer attendCount; - - @Schema(title = "粉丝数量") - private Integer fansCount; - - private Integer collectProductCount; - - private Integer collectSubjectCount; - - private Integer collectTopicCount; - - private Integer collectCommentCount; - - private Integer inviteFriendCount; - - @Schema(title = "最后一次下订单时间") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfoExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfoExample.java deleted file mode 100644 index c615b9b09..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfoExample.java +++ /dev/null @@ -1,1161 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTag.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTag.java deleted file mode 100644 index b822627a3..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTag.java +++ /dev/null @@ -1,66 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.math.BigDecimal; - -public class UmsMemberTag implements Serializable { - private Long id; - - private String name; - - @Schema(title = "自动打标签完成订单数量") - private Integer finishOrderCount; - - @Schema(title = "自动打标签完成订单金额") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTagExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTagExample.java deleted file mode 100644 index c45777f2b..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTagExample.java +++ /dev/null @@ -1,450 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTask.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTask.java deleted file mode 100644 index 2c6220412..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTask.java +++ /dev/null @@ -1,77 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class UmsMemberTask implements Serializable { - private Long id; - - private String name; - - @Schema(title = "赠送成长值") - private Integer growth; - - @Schema(title = "赠送积分") - private Integer intergration; - - @Schema(title = "任务类型:0->新手任务;1->日常任务") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTaskExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTaskExample.java deleted file mode 100644 index f57ad1e6d..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTaskExample.java +++ /dev/null @@ -1,509 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMenu.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMenu.java deleted file mode 100644 index fb6cc2961..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMenu.java +++ /dev/null @@ -1,127 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class UmsMenu implements Serializable { - private Long id; - - @Schema(title = "父级ID") - private Long parentId; - - @Schema(title = "创建时间") - private Date createTime; - - @Schema(title = "菜单名称") - private String title; - - @Schema(title = "菜单级数") - private Integer level; - - @Schema(title = "菜单排序") - private Integer sort; - - @Schema(title = "前端名称") - private String name; - - @Schema(title = "前端图标") - private String icon; - - @Schema(title = "前端隐藏") - private Integer hidden; - - 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 Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public String getTitle() { - return title; - } - - public void setTitle(String title) { - this.title = title; - } - - public Integer getLevel() { - return level; - } - - public void setLevel(Integer level) { - this.level = level; - } - - public Integer getSort() { - return sort; - } - - public void setSort(Integer sort) { - this.sort = sort; - } - - 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 getHidden() { - return hidden; - } - - public void setHidden(Integer hidden) { - this.hidden = hidden; - } - - @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(", createTime=").append(createTime); - sb.append(", title=").append(title); - sb.append(", level=").append(level); - sb.append(", sort=").append(sort); - sb.append(", name=").append(name); - sb.append(", icon=").append(icon); - sb.append(", hidden=").append(hidden); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMenuExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMenuExample.java deleted file mode 100644 index 2245e6a3e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsMenuExample.java +++ /dev/null @@ -1,770 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class UmsMenuExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsMenuExample() { - 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 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 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 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 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 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 andHiddenIsNull() { - addCriterion("hidden is null"); - return (Criteria) this; - } - - public Criteria andHiddenIsNotNull() { - addCriterion("hidden is not null"); - return (Criteria) this; - } - - public Criteria andHiddenEqualTo(Integer value) { - addCriterion("hidden =", value, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenNotEqualTo(Integer value) { - addCriterion("hidden <>", value, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenGreaterThan(Integer value) { - addCriterion("hidden >", value, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenGreaterThanOrEqualTo(Integer value) { - addCriterion("hidden >=", value, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenLessThan(Integer value) { - addCriterion("hidden <", value, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenLessThanOrEqualTo(Integer value) { - addCriterion("hidden <=", value, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenIn(List values) { - addCriterion("hidden in", values, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenNotIn(List values) { - addCriterion("hidden not in", values, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenBetween(Integer value1, Integer value2) { - addCriterion("hidden between", value1, value2, "hidden"); - return (Criteria) this; - } - - public Criteria andHiddenNotBetween(Integer value1, Integer value2) { - addCriterion("hidden not between", value1, value2, "hidden"); - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsPermission.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsPermission.java deleted file mode 100644 index 0df583a57..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsPermission.java +++ /dev/null @@ -1,139 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class UmsPermission implements Serializable { - private Long id; - - @Schema(title = "父级权限id") - private Long pid; - - @Schema(title = "名称") - private String name; - - @Schema(title = "权限值") - private String value; - - @Schema(title = "图标") - private String icon; - - @Schema(title = "权限类型:0->目录;1->菜单;2->按钮(接口绑定权限)") - private Integer type; - - @Schema(title = "前端资源路径") - private String uri; - - @Schema(title = "启用状态;0->禁用;1->启用") - private Integer status; - - @Schema(title = "创建时间") - private Date createTime; - - @Schema(title = "排序") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsPermissionExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsPermissionExample.java deleted file mode 100644 index ad28b6e92..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsPermissionExample.java +++ /dev/null @@ -1,840 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResource.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResource.java deleted file mode 100644 index bc0b6e288..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResource.java +++ /dev/null @@ -1,91 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class UmsResource implements Serializable { - private Long id; - - @Schema(title = "创建时间") - private Date createTime; - - @Schema(title = "资源名称") - private String name; - - @Schema(title = "资源URL") - private String url; - - @Schema(title = "描述") - private String description; - - @Schema(title = "资源分类ID") - private Long categoryId; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getUrl() { - return url; - } - - public void setUrl(String url) { - this.url = url; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Long getCategoryId() { - return categoryId; - } - - public void setCategoryId(Long categoryId) { - this.categoryId = categoryId; - } - - @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(", createTime=").append(createTime); - sb.append(", name=").append(name); - sb.append(", url=").append(url); - sb.append(", description=").append(description); - sb.append(", categoryId=").append(categoryId); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategory.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategory.java deleted file mode 100644 index 1fe4d5c99..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategory.java +++ /dev/null @@ -1,67 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class UmsResourceCategory implements Serializable { - private Long id; - - @Schema(title = "创建时间") - private Date createTime; - - @Schema(title = "分类名称") - private String name; - - @Schema(title = "排序") - private Integer sort; - - private static final long serialVersionUID = 1L; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - 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; - } - - @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(", createTime=").append(createTime); - sb.append(", name=").append(name); - sb.append(", sort=").append(sort); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategoryExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategoryExample.java deleted file mode 100644 index 4c1651eca..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategoryExample.java +++ /dev/null @@ -1,450 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class UmsResourceCategoryExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsResourceCategoryExample() { - 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 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 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 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResourceExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResourceExample.java deleted file mode 100644 index 9993cfe0a..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsResourceExample.java +++ /dev/null @@ -1,590 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -public class UmsResourceExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsResourceExample() { - 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 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 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 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 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 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 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRole.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRole.java deleted file mode 100644 index cc42f65c2..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRole.java +++ /dev/null @@ -1,102 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; -import java.util.Date; - -public class UmsRole implements Serializable { - private Long id; - - @Schema(title = "名称") - private String name; - - @Schema(title = "描述") - private String description; - - @Schema(title = "后台用户数量") - private Integer adminCount; - - @Schema(title = "创建时间") - private Date createTime; - - @Schema(title = "启用状态:0->禁用;1->启用") - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleExample.java deleted file mode 100644 index 621ff444e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleExample.java +++ /dev/null @@ -1,640 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelation.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelation.java deleted file mode 100644 index 5064df2e5..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelation.java +++ /dev/null @@ -1,54 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class UmsRoleMenuRelation implements Serializable { - private Long id; - - @Schema(title = "角色ID") - private Long roleId; - - @Schema(title = "菜单ID") - private Long menuId; - - 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 getMenuId() { - return menuId; - } - - public void setMenuId(Long menuId) { - this.menuId = menuId; - } - - @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(", menuId=").append(menuId); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelationExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelationExample.java deleted file mode 100644 index 5da206d9e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelationExample.java +++ /dev/null @@ -1,379 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class UmsRoleMenuRelationExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsRoleMenuRelationExample() { - 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 andMenuIdIsNull() { - addCriterion("menu_id is null"); - return (Criteria) this; - } - - public Criteria andMenuIdIsNotNull() { - addCriterion("menu_id is not null"); - return (Criteria) this; - } - - public Criteria andMenuIdEqualTo(Long value) { - addCriterion("menu_id =", value, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdNotEqualTo(Long value) { - addCriterion("menu_id <>", value, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdGreaterThan(Long value) { - addCriterion("menu_id >", value, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdGreaterThanOrEqualTo(Long value) { - addCriterion("menu_id >=", value, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdLessThan(Long value) { - addCriterion("menu_id <", value, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdLessThanOrEqualTo(Long value) { - addCriterion("menu_id <=", value, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdIn(List values) { - addCriterion("menu_id in", values, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdNotIn(List values) { - addCriterion("menu_id not in", values, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdBetween(Long value1, Long value2) { - addCriterion("menu_id between", value1, value2, "menuId"); - return (Criteria) this; - } - - public Criteria andMenuIdNotBetween(Long value1, Long value2) { - addCriterion("menu_id not between", value1, value2, "menuId"); - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelation.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelation.java deleted file mode 100644 index 423482eec..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelation.java +++ /dev/null @@ -1,52 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelationExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelationExample.java deleted file mode 100644 index 45250afc6..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelationExample.java +++ /dev/null @@ -1,379 +0,0 @@ -package com.macro.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelation.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelation.java deleted file mode 100644 index 93de8cea4..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelation.java +++ /dev/null @@ -1,54 +0,0 @@ -package com.macro.mall.model; - -import io.swagger.v3.oas.annotations.media.Schema; -import java.io.Serializable; - -public class UmsRoleResourceRelation implements Serializable { - private Long id; - - @Schema(title = "角色ID") - private Long roleId; - - @Schema(title = "资源ID") - private Long resourceId; - - 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 getResourceId() { - return resourceId; - } - - public void setResourceId(Long resourceId) { - this.resourceId = resourceId; - } - - @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(", resourceId=").append(resourceId); - sb.append(", serialVersionUID=").append(serialVersionUID); - sb.append("]"); - return sb.toString(); - } -} \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelationExample.java b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelationExample.java deleted file mode 100644 index da9b7af5d..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelationExample.java +++ /dev/null @@ -1,379 +0,0 @@ -package com.macro.mall.model; - -import java.util.ArrayList; -import java.util.List; - -public class UmsRoleResourceRelationExample { - protected String orderByClause; - - protected boolean distinct; - - protected List oredCriteria; - - public UmsRoleResourceRelationExample() { - 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 andResourceIdIsNull() { - addCriterion("resource_id is null"); - return (Criteria) this; - } - - public Criteria andResourceIdIsNotNull() { - addCriterion("resource_id is not null"); - return (Criteria) this; - } - - public Criteria andResourceIdEqualTo(Long value) { - addCriterion("resource_id =", value, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdNotEqualTo(Long value) { - addCriterion("resource_id <>", value, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdGreaterThan(Long value) { - addCriterion("resource_id >", value, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdGreaterThanOrEqualTo(Long value) { - addCriterion("resource_id >=", value, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdLessThan(Long value) { - addCriterion("resource_id <", value, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdLessThanOrEqualTo(Long value) { - addCriterion("resource_id <=", value, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdIn(List values) { - addCriterion("resource_id in", values, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdNotIn(List values) { - addCriterion("resource_id not in", values, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdBetween(Long value1, Long value2) { - addCriterion("resource_id between", value1, value2, "resourceId"); - return (Criteria) this; - } - - public Criteria andResourceIdNotBetween(Long value1, Long value2) { - addCriterion("resource_id not between", value1, value2, "resourceId"); - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml deleted file mode 100644 index 1457ce8e5..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - icon = #{row.icon,jdbcType=VARCHAR}, - - - help_count = #{row.helpCount,jdbcType=INTEGER}, - - - show_status = #{row.showStatus,jdbcType=INTEGER}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - - - - - - update cms_help_category - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - icon = #{row.icon,jdbcType=VARCHAR}, - help_count = #{row.helpCount,jdbcType=INTEGER}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - sort = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml deleted file mode 100644 index 68658ae6b..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml +++ /dev/null @@ -1,304 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - category_id = #{row.categoryId,jdbcType=BIGINT}, - - - icon = #{row.icon,jdbcType=VARCHAR}, - - - title = #{row.title,jdbcType=VARCHAR}, - - - show_status = #{row.showStatus,jdbcType=INTEGER}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - read_count = #{row.readCount,jdbcType=INTEGER}, - - - content = #{row.content,jdbcType=LONGVARCHAR}, - - - - - - - - update cms_help - set id = #{row.id,jdbcType=BIGINT}, - category_id = #{row.categoryId,jdbcType=BIGINT}, - icon = #{row.icon,jdbcType=VARCHAR}, - title = #{row.title,jdbcType=VARCHAR}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - read_count = #{row.readCount,jdbcType=INTEGER}, - content = #{row.content,jdbcType=LONGVARCHAR} - - - - - - update cms_help - set id = #{row.id,jdbcType=BIGINT}, - category_id = #{row.categoryId,jdbcType=BIGINT}, - icon = #{row.icon,jdbcType=VARCHAR}, - title = #{row.title,jdbcType=VARCHAR}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - read_count = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml deleted file mode 100644 index 29e3e6bdc..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - 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, report_type, report_member_name, create_time, report_object, report_status, handle_status, - note - - - - delete from cms_member_report - - - - - - - SELECT LAST_INSERT_ID() - - insert into cms_member_report (report_type, report_member_name, create_time, - report_object, report_status, handle_status, - note) - values (#{reportType,jdbcType=INTEGER}, #{reportMemberName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, - #{reportObject,jdbcType=VARCHAR}, #{reportStatus,jdbcType=INTEGER}, #{handleStatus,jdbcType=INTEGER}, - #{note,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into cms_member_report - - - report_type, - - - report_member_name, - - - create_time, - - - report_object, - - - report_status, - - - handle_status, - - - note, - - - - - #{reportType,jdbcType=INTEGER}, - - - #{reportMemberName,jdbcType=VARCHAR}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{reportObject,jdbcType=VARCHAR}, - - - #{reportStatus,jdbcType=INTEGER}, - - - #{handleStatus,jdbcType=INTEGER}, - - - #{note,jdbcType=VARCHAR}, - - - - - - update cms_member_report - - - id = #{row.id,jdbcType=BIGINT}, - - - report_type = #{row.reportType,jdbcType=INTEGER}, - - - report_member_name = #{row.reportMemberName,jdbcType=VARCHAR}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - report_object = #{row.reportObject,jdbcType=VARCHAR}, - - - report_status = #{row.reportStatus,jdbcType=INTEGER}, - - - handle_status = #{row.handleStatus,jdbcType=INTEGER}, - - - note = #{row.note,jdbcType=VARCHAR}, - - - - - - - - update cms_member_report - set id = #{row.id,jdbcType=BIGINT}, - report_type = #{row.reportType,jdbcType=INTEGER}, - report_member_name = #{row.reportMemberName,jdbcType=VARCHAR}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - report_object = #{row.reportObject,jdbcType=VARCHAR}, - report_status = #{row.reportStatus,jdbcType=INTEGER}, - handle_status = #{row.handleStatus,jdbcType=INTEGER}, - note = #{row.note,jdbcType=VARCHAR} - - - - - \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml deleted file mode 100644 index 0994a1328..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - sub_title = #{row.subTitle,jdbcType=VARCHAR}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - show_status = #{row.showStatus,jdbcType=INTEGER}, - - - pic = #{row.pic,jdbcType=VARBINARY}, - - - - - - - - update cms_prefrence_area - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - sub_title = #{row.subTitle,jdbcType=VARCHAR}, - sort = #{row.sort,jdbcType=INTEGER}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - pic = #{row.pic,jdbcType=VARBINARY} - - - - - - update cms_prefrence_area - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - sub_title = #{row.subTitle,jdbcType=VARCHAR}, - sort = #{row.sort,jdbcType=INTEGER}, - show_status = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml deleted file mode 100644 index dff97c6c4..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - prefrence_area_id = #{row.prefrenceAreaId,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - - - - - - update cms_prefrence_area_product_relation - set id = #{row.id,jdbcType=BIGINT}, - prefrence_area_id = #{row.prefrenceAreaId,jdbcType=BIGINT}, - product_id = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml deleted file mode 100644 index af18a5240..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - icon = #{row.icon,jdbcType=VARCHAR}, - - - subject_count = #{row.subjectCount,jdbcType=INTEGER}, - - - show_status = #{row.showStatus,jdbcType=INTEGER}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - - - - - - update cms_subject_category - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - icon = #{row.icon,jdbcType=VARCHAR}, - subject_count = #{row.subjectCount,jdbcType=INTEGER}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - sort = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml deleted file mode 100644 index 3bfa00bfb..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - subject_id = #{row.subjectId,jdbcType=BIGINT}, - - - member_nick_name = #{row.memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{row.memberIcon,jdbcType=VARCHAR}, - - - content = #{row.content,jdbcType=VARCHAR}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - show_status = #{row.showStatus,jdbcType=INTEGER}, - - - - - - - - update cms_subject_comment - set id = #{row.id,jdbcType=BIGINT}, - subject_id = #{row.subjectId,jdbcType=BIGINT}, - member_nick_name = #{row.memberNickName,jdbcType=VARCHAR}, - member_icon = #{row.memberIcon,jdbcType=VARCHAR}, - content = #{row.content,jdbcType=VARCHAR}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - show_status = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml deleted file mode 100644 index ffabc0069..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml +++ /dev/null @@ -1,447 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - category_id = #{row.categoryId,jdbcType=BIGINT}, - - - title = #{row.title,jdbcType=VARCHAR}, - - - pic = #{row.pic,jdbcType=VARCHAR}, - - - product_count = #{row.productCount,jdbcType=INTEGER}, - - - recommend_status = #{row.recommendStatus,jdbcType=INTEGER}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - collect_count = #{row.collectCount,jdbcType=INTEGER}, - - - read_count = #{row.readCount,jdbcType=INTEGER}, - - - comment_count = #{row.commentCount,jdbcType=INTEGER}, - - - album_pics = #{row.albumPics,jdbcType=VARCHAR}, - - - description = #{row.description,jdbcType=VARCHAR}, - - - show_status = #{row.showStatus,jdbcType=INTEGER}, - - - forward_count = #{row.forwardCount,jdbcType=INTEGER}, - - - category_name = #{row.categoryName,jdbcType=VARCHAR}, - - - content = #{row.content,jdbcType=LONGVARCHAR}, - - - - - - - - update cms_subject - set id = #{row.id,jdbcType=BIGINT}, - category_id = #{row.categoryId,jdbcType=BIGINT}, - title = #{row.title,jdbcType=VARCHAR}, - pic = #{row.pic,jdbcType=VARCHAR}, - product_count = #{row.productCount,jdbcType=INTEGER}, - recommend_status = #{row.recommendStatus,jdbcType=INTEGER}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - collect_count = #{row.collectCount,jdbcType=INTEGER}, - read_count = #{row.readCount,jdbcType=INTEGER}, - comment_count = #{row.commentCount,jdbcType=INTEGER}, - album_pics = #{row.albumPics,jdbcType=VARCHAR}, - description = #{row.description,jdbcType=VARCHAR}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - forward_count = #{row.forwardCount,jdbcType=INTEGER}, - category_name = #{row.categoryName,jdbcType=VARCHAR}, - content = #{row.content,jdbcType=LONGVARCHAR} - - - - - - update cms_subject - set id = #{row.id,jdbcType=BIGINT}, - category_id = #{row.categoryId,jdbcType=BIGINT}, - title = #{row.title,jdbcType=VARCHAR}, - pic = #{row.pic,jdbcType=VARCHAR}, - product_count = #{row.productCount,jdbcType=INTEGER}, - recommend_status = #{row.recommendStatus,jdbcType=INTEGER}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - collect_count = #{row.collectCount,jdbcType=INTEGER}, - read_count = #{row.readCount,jdbcType=INTEGER}, - comment_count = #{row.commentCount,jdbcType=INTEGER}, - album_pics = #{row.albumPics,jdbcType=VARCHAR}, - description = #{row.description,jdbcType=VARCHAR}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - forward_count = #{row.forwardCount,jdbcType=INTEGER}, - category_name = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml deleted file mode 100644 index 558b69f2c..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - subject_id = #{row.subjectId,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - - - - - - update cms_subject_product_relation - set id = #{row.id,jdbcType=BIGINT}, - subject_id = #{row.subjectId,jdbcType=BIGINT}, - product_id = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml deleted file mode 100644 index a25d1bcff..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - icon = #{row.icon,jdbcType=VARCHAR}, - - - subject_count = #{row.subjectCount,jdbcType=INTEGER}, - - - show_status = #{row.showStatus,jdbcType=INTEGER}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - - - - - - update cms_topic_category - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - icon = #{row.icon,jdbcType=VARCHAR}, - subject_count = #{row.subjectCount,jdbcType=INTEGER}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - sort = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml deleted file mode 100644 index 17dc668b7..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - member_nick_name = #{row.memberNickName,jdbcType=VARCHAR}, - - - topic_id = #{row.topicId,jdbcType=BIGINT}, - - - member_icon = #{row.memberIcon,jdbcType=VARCHAR}, - - - content = #{row.content,jdbcType=VARCHAR}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - show_status = #{row.showStatus,jdbcType=INTEGER}, - - - - - - - - update cms_topic_comment - set id = #{row.id,jdbcType=BIGINT}, - member_nick_name = #{row.memberNickName,jdbcType=VARCHAR}, - topic_id = #{row.topicId,jdbcType=BIGINT}, - member_icon = #{row.memberIcon,jdbcType=VARCHAR}, - content = #{row.content,jdbcType=VARCHAR}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - show_status = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml deleted file mode 100644 index e267b62ee..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml +++ /dev/null @@ -1,375 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - category_id = #{row.categoryId,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - start_time = #{row.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{row.endTime,jdbcType=TIMESTAMP}, - - - attend_count = #{row.attendCount,jdbcType=INTEGER}, - - - attention_count = #{row.attentionCount,jdbcType=INTEGER}, - - - read_count = #{row.readCount,jdbcType=INTEGER}, - - - award_name = #{row.awardName,jdbcType=VARCHAR}, - - - attend_type = #{row.attendType,jdbcType=VARCHAR}, - - - content = #{row.content,jdbcType=LONGVARCHAR}, - - - - - - - - update cms_topic - set id = #{row.id,jdbcType=BIGINT}, - category_id = #{row.categoryId,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - start_time = #{row.startTime,jdbcType=TIMESTAMP}, - end_time = #{row.endTime,jdbcType=TIMESTAMP}, - attend_count = #{row.attendCount,jdbcType=INTEGER}, - attention_count = #{row.attentionCount,jdbcType=INTEGER}, - read_count = #{row.readCount,jdbcType=INTEGER}, - award_name = #{row.awardName,jdbcType=VARCHAR}, - attend_type = #{row.attendType,jdbcType=VARCHAR}, - content = #{row.content,jdbcType=LONGVARCHAR} - - - - - - update cms_topic - set id = #{row.id,jdbcType=BIGINT}, - category_id = #{row.categoryId,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - start_time = #{row.startTime,jdbcType=TIMESTAMP}, - end_time = #{row.endTime,jdbcType=TIMESTAMP}, - attend_count = #{row.attendCount,jdbcType=INTEGER}, - attention_count = #{row.attentionCount,jdbcType=INTEGER}, - read_count = #{row.readCount,jdbcType=INTEGER}, - award_name = #{row.awardName,jdbcType=VARCHAR}, - attend_type = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCartItemMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCartItemMapper.xml deleted file mode 100644 index d371f487d..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCartItemMapper.xml +++ /dev/null @@ -1,416 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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, 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, 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}, #{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, - - - 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}, - - - #{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 = #{row.id,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - product_sku_id = #{row.productSkuId,jdbcType=BIGINT}, - - - member_id = #{row.memberId,jdbcType=BIGINT}, - - - quantity = #{row.quantity,jdbcType=INTEGER}, - - - price = #{row.price,jdbcType=DECIMAL}, - - - product_pic = #{row.productPic,jdbcType=VARCHAR}, - - - product_name = #{row.productName,jdbcType=VARCHAR}, - - - product_sub_title = #{row.productSubTitle,jdbcType=VARCHAR}, - - - product_sku_code = #{row.productSkuCode,jdbcType=VARCHAR}, - - - member_nickname = #{row.memberNickname,jdbcType=VARCHAR}, - - - create_date = #{row.createDate,jdbcType=TIMESTAMP}, - - - modify_date = #{row.modifyDate,jdbcType=TIMESTAMP}, - - - delete_status = #{row.deleteStatus,jdbcType=INTEGER}, - - - product_category_id = #{row.productCategoryId,jdbcType=BIGINT}, - - - product_brand = #{row.productBrand,jdbcType=VARCHAR}, - - - product_sn = #{row.productSn,jdbcType=VARCHAR}, - - - product_attr = #{row.productAttr,jdbcType=VARCHAR}, - - - - - - - - update oms_cart_item - set id = #{row.id,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - product_sku_id = #{row.productSkuId,jdbcType=BIGINT}, - member_id = #{row.memberId,jdbcType=BIGINT}, - quantity = #{row.quantity,jdbcType=INTEGER}, - price = #{row.price,jdbcType=DECIMAL}, - product_pic = #{row.productPic,jdbcType=VARCHAR}, - product_name = #{row.productName,jdbcType=VARCHAR}, - product_sub_title = #{row.productSubTitle,jdbcType=VARCHAR}, - product_sku_code = #{row.productSkuCode,jdbcType=VARCHAR}, - member_nickname = #{row.memberNickname,jdbcType=VARCHAR}, - create_date = #{row.createDate,jdbcType=TIMESTAMP}, - modify_date = #{row.modifyDate,jdbcType=TIMESTAMP}, - delete_status = #{row.deleteStatus,jdbcType=INTEGER}, - product_category_id = #{row.productCategoryId,jdbcType=BIGINT}, - product_brand = #{row.productBrand,jdbcType=VARCHAR}, - product_sn = #{row.productSn,jdbcType=VARCHAR}, - product_attr = #{row.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}, - - - 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}, - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml deleted file mode 100644 index 77ea36561..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml +++ /dev/null @@ -1,291 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - address_name = #{row.addressName,jdbcType=VARCHAR}, - - - send_status = #{row.sendStatus,jdbcType=INTEGER}, - - - receive_status = #{row.receiveStatus,jdbcType=INTEGER}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - phone = #{row.phone,jdbcType=VARCHAR}, - - - province = #{row.province,jdbcType=VARCHAR}, - - - city = #{row.city,jdbcType=VARCHAR}, - - - region = #{row.region,jdbcType=VARCHAR}, - - - detail_address = #{row.detailAddress,jdbcType=VARCHAR}, - - - - - - - - update oms_company_address - set id = #{row.id,jdbcType=BIGINT}, - address_name = #{row.addressName,jdbcType=VARCHAR}, - send_status = #{row.sendStatus,jdbcType=INTEGER}, - receive_status = #{row.receiveStatus,jdbcType=INTEGER}, - name = #{row.name,jdbcType=VARCHAR}, - phone = #{row.phone,jdbcType=VARCHAR}, - province = #{row.province,jdbcType=VARCHAR}, - city = #{row.city,jdbcType=VARCHAR}, - region = #{row.region,jdbcType=VARCHAR}, - detail_address = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml deleted file mode 100644 index 20d9d7766..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml +++ /dev/null @@ -1,464 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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, - 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, - 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}, - #{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, - - - 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}, - - - #{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 = #{row.id,jdbcType=BIGINT}, - - - order_id = #{row.orderId,jdbcType=BIGINT}, - - - order_sn = #{row.orderSn,jdbcType=VARCHAR}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - product_pic = #{row.productPic,jdbcType=VARCHAR}, - - - product_name = #{row.productName,jdbcType=VARCHAR}, - - - product_brand = #{row.productBrand,jdbcType=VARCHAR}, - - - product_sn = #{row.productSn,jdbcType=VARCHAR}, - - - product_price = #{row.productPrice,jdbcType=DECIMAL}, - - - product_quantity = #{row.productQuantity,jdbcType=INTEGER}, - - - product_sku_id = #{row.productSkuId,jdbcType=BIGINT}, - - - product_sku_code = #{row.productSkuCode,jdbcType=VARCHAR}, - - - product_category_id = #{row.productCategoryId,jdbcType=BIGINT}, - - - promotion_name = #{row.promotionName,jdbcType=VARCHAR}, - - - promotion_amount = #{row.promotionAmount,jdbcType=DECIMAL}, - - - coupon_amount = #{row.couponAmount,jdbcType=DECIMAL}, - - - integration_amount = #{row.integrationAmount,jdbcType=DECIMAL}, - - - real_amount = #{row.realAmount,jdbcType=DECIMAL}, - - - gift_integration = #{row.giftIntegration,jdbcType=INTEGER}, - - - gift_growth = #{row.giftGrowth,jdbcType=INTEGER}, - - - product_attr = #{row.productAttr,jdbcType=VARCHAR}, - - - - - - - - update oms_order_item - set id = #{row.id,jdbcType=BIGINT}, - order_id = #{row.orderId,jdbcType=BIGINT}, - order_sn = #{row.orderSn,jdbcType=VARCHAR}, - product_id = #{row.productId,jdbcType=BIGINT}, - product_pic = #{row.productPic,jdbcType=VARCHAR}, - product_name = #{row.productName,jdbcType=VARCHAR}, - product_brand = #{row.productBrand,jdbcType=VARCHAR}, - product_sn = #{row.productSn,jdbcType=VARCHAR}, - product_price = #{row.productPrice,jdbcType=DECIMAL}, - product_quantity = #{row.productQuantity,jdbcType=INTEGER}, - product_sku_id = #{row.productSkuId,jdbcType=BIGINT}, - product_sku_code = #{row.productSkuCode,jdbcType=VARCHAR}, - product_category_id = #{row.productCategoryId,jdbcType=BIGINT}, - promotion_name = #{row.promotionName,jdbcType=VARCHAR}, - promotion_amount = #{row.promotionAmount,jdbcType=DECIMAL}, - coupon_amount = #{row.couponAmount,jdbcType=DECIMAL}, - integration_amount = #{row.integrationAmount,jdbcType=DECIMAL}, - real_amount = #{row.realAmount,jdbcType=DECIMAL}, - gift_integration = #{row.giftIntegration,jdbcType=INTEGER}, - gift_growth = #{row.giftGrowth,jdbcType=INTEGER}, - product_attr = #{row.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}, - - - 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}, - 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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml deleted file mode 100644 index 3ca5002f9..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml +++ /dev/null @@ -1,828 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - member_id = #{row.memberId,jdbcType=BIGINT}, - - - coupon_id = #{row.couponId,jdbcType=BIGINT}, - - - order_sn = #{row.orderSn,jdbcType=VARCHAR}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - member_username = #{row.memberUsername,jdbcType=VARCHAR}, - - - total_amount = #{row.totalAmount,jdbcType=DECIMAL}, - - - pay_amount = #{row.payAmount,jdbcType=DECIMAL}, - - - freight_amount = #{row.freightAmount,jdbcType=DECIMAL}, - - - promotion_amount = #{row.promotionAmount,jdbcType=DECIMAL}, - - - integration_amount = #{row.integrationAmount,jdbcType=DECIMAL}, - - - coupon_amount = #{row.couponAmount,jdbcType=DECIMAL}, - - - discount_amount = #{row.discountAmount,jdbcType=DECIMAL}, - - - pay_type = #{row.payType,jdbcType=INTEGER}, - - - source_type = #{row.sourceType,jdbcType=INTEGER}, - - - status = #{row.status,jdbcType=INTEGER}, - - - order_type = #{row.orderType,jdbcType=INTEGER}, - - - delivery_company = #{row.deliveryCompany,jdbcType=VARCHAR}, - - - delivery_sn = #{row.deliverySn,jdbcType=VARCHAR}, - - - auto_confirm_day = #{row.autoConfirmDay,jdbcType=INTEGER}, - - - integration = #{row.integration,jdbcType=INTEGER}, - - - growth = #{row.growth,jdbcType=INTEGER}, - - - promotion_info = #{row.promotionInfo,jdbcType=VARCHAR}, - - - bill_type = #{row.billType,jdbcType=INTEGER}, - - - bill_header = #{row.billHeader,jdbcType=VARCHAR}, - - - bill_content = #{row.billContent,jdbcType=VARCHAR}, - - - bill_receiver_phone = #{row.billReceiverPhone,jdbcType=VARCHAR}, - - - bill_receiver_email = #{row.billReceiverEmail,jdbcType=VARCHAR}, - - - receiver_name = #{row.receiverName,jdbcType=VARCHAR}, - - - receiver_phone = #{row.receiverPhone,jdbcType=VARCHAR}, - - - receiver_post_code = #{row.receiverPostCode,jdbcType=VARCHAR}, - - - receiver_province = #{row.receiverProvince,jdbcType=VARCHAR}, - - - receiver_city = #{row.receiverCity,jdbcType=VARCHAR}, - - - receiver_region = #{row.receiverRegion,jdbcType=VARCHAR}, - - - receiver_detail_address = #{row.receiverDetailAddress,jdbcType=VARCHAR}, - - - note = #{row.note,jdbcType=VARCHAR}, - - - confirm_status = #{row.confirmStatus,jdbcType=INTEGER}, - - - delete_status = #{row.deleteStatus,jdbcType=INTEGER}, - - - use_integration = #{row.useIntegration,jdbcType=INTEGER}, - - - payment_time = #{row.paymentTime,jdbcType=TIMESTAMP}, - - - delivery_time = #{row.deliveryTime,jdbcType=TIMESTAMP}, - - - receive_time = #{row.receiveTime,jdbcType=TIMESTAMP}, - - - comment_time = #{row.commentTime,jdbcType=TIMESTAMP}, - - - modify_time = #{row.modifyTime,jdbcType=TIMESTAMP}, - - - - - - - - update oms_order - set id = #{row.id,jdbcType=BIGINT}, - member_id = #{row.memberId,jdbcType=BIGINT}, - coupon_id = #{row.couponId,jdbcType=BIGINT}, - order_sn = #{row.orderSn,jdbcType=VARCHAR}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - member_username = #{row.memberUsername,jdbcType=VARCHAR}, - total_amount = #{row.totalAmount,jdbcType=DECIMAL}, - pay_amount = #{row.payAmount,jdbcType=DECIMAL}, - freight_amount = #{row.freightAmount,jdbcType=DECIMAL}, - promotion_amount = #{row.promotionAmount,jdbcType=DECIMAL}, - integration_amount = #{row.integrationAmount,jdbcType=DECIMAL}, - coupon_amount = #{row.couponAmount,jdbcType=DECIMAL}, - discount_amount = #{row.discountAmount,jdbcType=DECIMAL}, - pay_type = #{row.payType,jdbcType=INTEGER}, - source_type = #{row.sourceType,jdbcType=INTEGER}, - status = #{row.status,jdbcType=INTEGER}, - order_type = #{row.orderType,jdbcType=INTEGER}, - delivery_company = #{row.deliveryCompany,jdbcType=VARCHAR}, - delivery_sn = #{row.deliverySn,jdbcType=VARCHAR}, - auto_confirm_day = #{row.autoConfirmDay,jdbcType=INTEGER}, - integration = #{row.integration,jdbcType=INTEGER}, - growth = #{row.growth,jdbcType=INTEGER}, - promotion_info = #{row.promotionInfo,jdbcType=VARCHAR}, - bill_type = #{row.billType,jdbcType=INTEGER}, - bill_header = #{row.billHeader,jdbcType=VARCHAR}, - bill_content = #{row.billContent,jdbcType=VARCHAR}, - bill_receiver_phone = #{row.billReceiverPhone,jdbcType=VARCHAR}, - bill_receiver_email = #{row.billReceiverEmail,jdbcType=VARCHAR}, - receiver_name = #{row.receiverName,jdbcType=VARCHAR}, - receiver_phone = #{row.receiverPhone,jdbcType=VARCHAR}, - receiver_post_code = #{row.receiverPostCode,jdbcType=VARCHAR}, - receiver_province = #{row.receiverProvince,jdbcType=VARCHAR}, - receiver_city = #{row.receiverCity,jdbcType=VARCHAR}, - receiver_region = #{row.receiverRegion,jdbcType=VARCHAR}, - receiver_detail_address = #{row.receiverDetailAddress,jdbcType=VARCHAR}, - note = #{row.note,jdbcType=VARCHAR}, - confirm_status = #{row.confirmStatus,jdbcType=INTEGER}, - delete_status = #{row.deleteStatus,jdbcType=INTEGER}, - use_integration = #{row.useIntegration,jdbcType=INTEGER}, - payment_time = #{row.paymentTime,jdbcType=TIMESTAMP}, - delivery_time = #{row.deliveryTime,jdbcType=TIMESTAMP}, - receive_time = #{row.receiveTime,jdbcType=TIMESTAMP}, - comment_time = #{row.commentTime,jdbcType=TIMESTAMP}, - modify_time = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml deleted file mode 100644 index 916b141d2..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - order_id = #{row.orderId,jdbcType=BIGINT}, - - - operate_man = #{row.operateMan,jdbcType=VARCHAR}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - order_status = #{row.orderStatus,jdbcType=INTEGER}, - - - note = #{row.note,jdbcType=VARCHAR}, - - - - - - - - update oms_order_operate_history - set id = #{row.id,jdbcType=BIGINT}, - order_id = #{row.orderId,jdbcType=BIGINT}, - operate_man = #{row.operateMan,jdbcType=VARCHAR}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - order_status = #{row.orderStatus,jdbcType=INTEGER}, - note = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml deleted file mode 100644 index f035afad1..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml +++ /dev/null @@ -1,558 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - order_id = #{row.orderId,jdbcType=BIGINT}, - - - company_address_id = #{row.companyAddressId,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - order_sn = #{row.orderSn,jdbcType=VARCHAR}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - member_username = #{row.memberUsername,jdbcType=VARCHAR}, - - - return_amount = #{row.returnAmount,jdbcType=DECIMAL}, - - - return_name = #{row.returnName,jdbcType=VARCHAR}, - - - return_phone = #{row.returnPhone,jdbcType=VARCHAR}, - - - status = #{row.status,jdbcType=INTEGER}, - - - handle_time = #{row.handleTime,jdbcType=TIMESTAMP}, - - - product_pic = #{row.productPic,jdbcType=VARCHAR}, - - - product_name = #{row.productName,jdbcType=VARCHAR}, - - - product_brand = #{row.productBrand,jdbcType=VARCHAR}, - - - product_attr = #{row.productAttr,jdbcType=VARCHAR}, - - - product_count = #{row.productCount,jdbcType=INTEGER}, - - - product_price = #{row.productPrice,jdbcType=DECIMAL}, - - - product_real_price = #{row.productRealPrice,jdbcType=DECIMAL}, - - - reason = #{row.reason,jdbcType=VARCHAR}, - - - description = #{row.description,jdbcType=VARCHAR}, - - - proof_pics = #{row.proofPics,jdbcType=VARCHAR}, - - - handle_note = #{row.handleNote,jdbcType=VARCHAR}, - - - handle_man = #{row.handleMan,jdbcType=VARCHAR}, - - - receive_man = #{row.receiveMan,jdbcType=VARCHAR}, - - - receive_time = #{row.receiveTime,jdbcType=TIMESTAMP}, - - - receive_note = #{row.receiveNote,jdbcType=VARCHAR}, - - - - - - - - update oms_order_return_apply - set id = #{row.id,jdbcType=BIGINT}, - order_id = #{row.orderId,jdbcType=BIGINT}, - company_address_id = #{row.companyAddressId,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - order_sn = #{row.orderSn,jdbcType=VARCHAR}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - member_username = #{row.memberUsername,jdbcType=VARCHAR}, - return_amount = #{row.returnAmount,jdbcType=DECIMAL}, - return_name = #{row.returnName,jdbcType=VARCHAR}, - return_phone = #{row.returnPhone,jdbcType=VARCHAR}, - status = #{row.status,jdbcType=INTEGER}, - handle_time = #{row.handleTime,jdbcType=TIMESTAMP}, - product_pic = #{row.productPic,jdbcType=VARCHAR}, - product_name = #{row.productName,jdbcType=VARCHAR}, - product_brand = #{row.productBrand,jdbcType=VARCHAR}, - product_attr = #{row.productAttr,jdbcType=VARCHAR}, - product_count = #{row.productCount,jdbcType=INTEGER}, - product_price = #{row.productPrice,jdbcType=DECIMAL}, - product_real_price = #{row.productRealPrice,jdbcType=DECIMAL}, - reason = #{row.reason,jdbcType=VARCHAR}, - description = #{row.description,jdbcType=VARCHAR}, - proof_pics = #{row.proofPics,jdbcType=VARCHAR}, - handle_note = #{row.handleNote,jdbcType=VARCHAR}, - handle_man = #{row.handleMan,jdbcType=VARCHAR}, - receive_man = #{row.receiveMan,jdbcType=VARCHAR}, - receive_time = #{row.receiveTime,jdbcType=TIMESTAMP}, - receive_note = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml deleted file mode 100644 index 9a512c417..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - status = #{row.status,jdbcType=INTEGER}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - - - - - - update oms_order_return_reason - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - sort = #{row.sort,jdbcType=INTEGER}, - status = #{row.status,jdbcType=INTEGER}, - create_time = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml deleted file mode 100644 index ef07266d2..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml +++ /dev/null @@ -1,229 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - flash_order_overtime = #{row.flashOrderOvertime,jdbcType=INTEGER}, - - - normal_order_overtime = #{row.normalOrderOvertime,jdbcType=INTEGER}, - - - confirm_overtime = #{row.confirmOvertime,jdbcType=INTEGER}, - - - finish_overtime = #{row.finishOvertime,jdbcType=INTEGER}, - - - comment_overtime = #{row.commentOvertime,jdbcType=INTEGER}, - - - - - - - - update oms_order_setting - set id = #{row.id,jdbcType=BIGINT}, - flash_order_overtime = #{row.flashOrderOvertime,jdbcType=INTEGER}, - normal_order_overtime = #{row.normalOrderOvertime,jdbcType=INTEGER}, - confirm_overtime = #{row.confirmOvertime,jdbcType=INTEGER}, - finish_overtime = #{row.finishOvertime,jdbcType=INTEGER}, - comment_overtime = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml deleted file mode 100644 index 9256b7698..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - cover_pic = #{row.coverPic,jdbcType=VARCHAR}, - - - pic_count = #{row.picCount,jdbcType=INTEGER}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - description = #{row.description,jdbcType=VARCHAR}, - - - - - - - - update pms_album - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - cover_pic = #{row.coverPic,jdbcType=VARCHAR}, - pic_count = #{row.picCount,jdbcType=INTEGER}, - sort = #{row.sort,jdbcType=INTEGER}, - description = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml deleted file mode 100644 index a7357cf73..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - album_id = #{row.albumId,jdbcType=BIGINT}, - - - pic = #{row.pic,jdbcType=VARCHAR}, - - - - - - - - update pms_album_pic - set id = #{row.id,jdbcType=BIGINT}, - album_id = #{row.albumId,jdbcType=BIGINT}, - pic = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml deleted file mode 100644 index ddca86a26..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml +++ /dev/null @@ -1,358 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - first_letter = #{row.firstLetter,jdbcType=VARCHAR}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - factory_status = #{row.factoryStatus,jdbcType=INTEGER}, - - - show_status = #{row.showStatus,jdbcType=INTEGER}, - - - product_count = #{row.productCount,jdbcType=INTEGER}, - - - product_comment_count = #{row.productCommentCount,jdbcType=INTEGER}, - - - logo = #{row.logo,jdbcType=VARCHAR}, - - - big_pic = #{row.bigPic,jdbcType=VARCHAR}, - - - brand_story = #{row.brandStory,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_brand - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - first_letter = #{row.firstLetter,jdbcType=VARCHAR}, - sort = #{row.sort,jdbcType=INTEGER}, - factory_status = #{row.factoryStatus,jdbcType=INTEGER}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - product_count = #{row.productCount,jdbcType=INTEGER}, - product_comment_count = #{row.productCommentCount,jdbcType=INTEGER}, - logo = #{row.logo,jdbcType=VARCHAR}, - big_pic = #{row.bigPic,jdbcType=VARCHAR}, - brand_story = #{row.brandStory,jdbcType=LONGVARCHAR} - - - - - - update pms_brand - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - first_letter = #{row.firstLetter,jdbcType=VARCHAR}, - sort = #{row.sort,jdbcType=INTEGER}, - factory_status = #{row.factoryStatus,jdbcType=INTEGER}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - product_count = #{row.productCount,jdbcType=INTEGER}, - product_comment_count = #{row.productCommentCount,jdbcType=INTEGER}, - logo = #{row.logo,jdbcType=VARCHAR}, - big_pic = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml deleted file mode 100644 index 74eb51cc4..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml +++ /dev/null @@ -1,428 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - member_nick_name = #{row.memberNickName,jdbcType=VARCHAR}, - - - product_name = #{row.productName,jdbcType=VARCHAR}, - - - star = #{row.star,jdbcType=INTEGER}, - - - member_ip = #{row.memberIp,jdbcType=VARCHAR}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - show_status = #{row.showStatus,jdbcType=INTEGER}, - - - product_attribute = #{row.productAttribute,jdbcType=VARCHAR}, - - - collect_couont = #{row.collectCouont,jdbcType=INTEGER}, - - - read_count = #{row.readCount,jdbcType=INTEGER}, - - - pics = #{row.pics,jdbcType=VARCHAR}, - - - member_icon = #{row.memberIcon,jdbcType=VARCHAR}, - - - replay_count = #{row.replayCount,jdbcType=INTEGER}, - - - content = #{row.content,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_comment - set id = #{row.id,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - member_nick_name = #{row.memberNickName,jdbcType=VARCHAR}, - product_name = #{row.productName,jdbcType=VARCHAR}, - star = #{row.star,jdbcType=INTEGER}, - member_ip = #{row.memberIp,jdbcType=VARCHAR}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - product_attribute = #{row.productAttribute,jdbcType=VARCHAR}, - collect_couont = #{row.collectCouont,jdbcType=INTEGER}, - read_count = #{row.readCount,jdbcType=INTEGER}, - pics = #{row.pics,jdbcType=VARCHAR}, - member_icon = #{row.memberIcon,jdbcType=VARCHAR}, - replay_count = #{row.replayCount,jdbcType=INTEGER}, - content = #{row.content,jdbcType=LONGVARCHAR} - - - - - - update pms_comment - set id = #{row.id,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - member_nick_name = #{row.memberNickName,jdbcType=VARCHAR}, - product_name = #{row.productName,jdbcType=VARCHAR}, - star = #{row.star,jdbcType=INTEGER}, - member_ip = #{row.memberIp,jdbcType=VARCHAR}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - product_attribute = #{row.productAttribute,jdbcType=VARCHAR}, - collect_couont = #{row.collectCouont,jdbcType=INTEGER}, - read_count = #{row.readCount,jdbcType=INTEGER}, - pics = #{row.pics,jdbcType=VARCHAR}, - member_icon = #{row.memberIcon,jdbcType=VARCHAR}, - replay_count = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml deleted file mode 100644 index c922002e2..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - comment_id = #{row.commentId,jdbcType=BIGINT}, - - - member_nick_name = #{row.memberNickName,jdbcType=VARCHAR}, - - - member_icon = #{row.memberIcon,jdbcType=VARCHAR}, - - - content = #{row.content,jdbcType=VARCHAR}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - type = #{row.type,jdbcType=INTEGER}, - - - - - - - - update pms_comment_replay - set id = #{row.id,jdbcType=BIGINT}, - comment_id = #{row.commentId,jdbcType=BIGINT}, - member_nick_name = #{row.memberNickName,jdbcType=VARCHAR}, - member_icon = #{row.memberIcon,jdbcType=VARCHAR}, - content = #{row.content,jdbcType=VARCHAR}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - type = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml deleted file mode 100644 index a3ac32876..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml +++ /dev/null @@ -1,258 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - charge_type = #{row.chargeType,jdbcType=INTEGER}, - - - first_weight = #{row.firstWeight,jdbcType=DECIMAL}, - - - first_fee = #{row.firstFee,jdbcType=DECIMAL}, - - - continue_weight = #{row.continueWeight,jdbcType=DECIMAL}, - - - continme_fee = #{row.continmeFee,jdbcType=DECIMAL}, - - - dest = #{row.dest,jdbcType=VARCHAR}, - - - - - - - - update pms_feight_template - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - charge_type = #{row.chargeType,jdbcType=INTEGER}, - first_weight = #{row.firstWeight,jdbcType=DECIMAL}, - first_fee = #{row.firstFee,jdbcType=DECIMAL}, - continue_weight = #{row.continueWeight,jdbcType=DECIMAL}, - continme_fee = #{row.continmeFee,jdbcType=DECIMAL}, - dest = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml deleted file mode 100644 index 5451bff1b..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - member_level_id = #{row.memberLevelId,jdbcType=BIGINT}, - - - member_price = #{row.memberPrice,jdbcType=DECIMAL}, - - - member_level_name = #{row.memberLevelName,jdbcType=VARCHAR}, - - - - - - - - update pms_member_price - set id = #{row.id,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - member_level_id = #{row.memberLevelId,jdbcType=BIGINT}, - member_price = #{row.memberPrice,jdbcType=DECIMAL}, - member_level_name = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml deleted file mode 100644 index 370c11b4e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - attribute_count = #{row.attributeCount,jdbcType=INTEGER}, - - - param_count = #{row.paramCount,jdbcType=INTEGER}, - - - - - - - - update pms_product_attribute_category - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - attribute_count = #{row.attributeCount,jdbcType=INTEGER}, - param_count = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml deleted file mode 100644 index a1adaea46..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml +++ /dev/null @@ -1,323 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - product_attribute_category_id = #{row.productAttributeCategoryId,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - select_type = #{row.selectType,jdbcType=INTEGER}, - - - input_type = #{row.inputType,jdbcType=INTEGER}, - - - input_list = #{row.inputList,jdbcType=VARCHAR}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - filter_type = #{row.filterType,jdbcType=INTEGER}, - - - search_type = #{row.searchType,jdbcType=INTEGER}, - - - related_status = #{row.relatedStatus,jdbcType=INTEGER}, - - - hand_add_status = #{row.handAddStatus,jdbcType=INTEGER}, - - - type = #{row.type,jdbcType=INTEGER}, - - - - - - - - update pms_product_attribute - set id = #{row.id,jdbcType=BIGINT}, - product_attribute_category_id = #{row.productAttributeCategoryId,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - select_type = #{row.selectType,jdbcType=INTEGER}, - input_type = #{row.inputType,jdbcType=INTEGER}, - input_list = #{row.inputList,jdbcType=VARCHAR}, - sort = #{row.sort,jdbcType=INTEGER}, - filter_type = #{row.filterType,jdbcType=INTEGER}, - search_type = #{row.searchType,jdbcType=INTEGER}, - related_status = #{row.relatedStatus,jdbcType=INTEGER}, - hand_add_status = #{row.handAddStatus,jdbcType=INTEGER}, - type = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml deleted file mode 100644 index 78de8a544..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - product_attribute_id = #{row.productAttributeId,jdbcType=BIGINT}, - - - value = #{row.value,jdbcType=VARCHAR}, - - - - - - - - update pms_product_attribute_value - set id = #{row.id,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - product_attribute_id = #{row.productAttributeId,jdbcType=BIGINT}, - value = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml deleted file mode 100644 index a2a287d21..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - product_category_id = #{row.productCategoryId,jdbcType=BIGINT}, - - - product_attribute_id = #{row.productAttributeId,jdbcType=BIGINT}, - - - - - - - - update pms_product_category_attribute_relation - set id = #{row.id,jdbcType=BIGINT}, - product_category_id = #{row.productCategoryId,jdbcType=BIGINT}, - product_attribute_id = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml deleted file mode 100644 index b1930943f..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml +++ /dev/null @@ -1,375 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - parent_id = #{row.parentId,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - level = #{row.level,jdbcType=INTEGER}, - - - product_count = #{row.productCount,jdbcType=INTEGER}, - - - product_unit = #{row.productUnit,jdbcType=VARCHAR}, - - - nav_status = #{row.navStatus,jdbcType=INTEGER}, - - - show_status = #{row.showStatus,jdbcType=INTEGER}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - icon = #{row.icon,jdbcType=VARCHAR}, - - - keywords = #{row.keywords,jdbcType=VARCHAR}, - - - description = #{row.description,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_product_category - set id = #{row.id,jdbcType=BIGINT}, - parent_id = #{row.parentId,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - level = #{row.level,jdbcType=INTEGER}, - product_count = #{row.productCount,jdbcType=INTEGER}, - product_unit = #{row.productUnit,jdbcType=VARCHAR}, - nav_status = #{row.navStatus,jdbcType=INTEGER}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - sort = #{row.sort,jdbcType=INTEGER}, - icon = #{row.icon,jdbcType=VARCHAR}, - keywords = #{row.keywords,jdbcType=VARCHAR}, - description = #{row.description,jdbcType=LONGVARCHAR} - - - - - - update pms_product_category - set id = #{row.id,jdbcType=BIGINT}, - parent_id = #{row.parentId,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - level = #{row.level,jdbcType=INTEGER}, - product_count = #{row.productCount,jdbcType=INTEGER}, - product_unit = #{row.productUnit,jdbcType=VARCHAR}, - nav_status = #{row.navStatus,jdbcType=INTEGER}, - show_status = #{row.showStatus,jdbcType=INTEGER}, - sort = #{row.sort,jdbcType=INTEGER}, - icon = #{row.icon,jdbcType=VARCHAR}, - keywords = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml deleted file mode 100644 index 5fa83c98e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - full_price = #{row.fullPrice,jdbcType=DECIMAL}, - - - reduce_price = #{row.reducePrice,jdbcType=DECIMAL}, - - - - - - - - update pms_product_full_reduction - set id = #{row.id,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - full_price = #{row.fullPrice,jdbcType=DECIMAL}, - reduce_price = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml deleted file mode 100644 index 37eea3404..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - count = #{row.count,jdbcType=INTEGER}, - - - discount = #{row.discount,jdbcType=DECIMAL}, - - - price = #{row.price,jdbcType=DECIMAL}, - - - - - - - - update pms_product_ladder - set id = #{row.id,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - count = #{row.count,jdbcType=INTEGER}, - discount = #{row.discount,jdbcType=DECIMAL}, - price = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml deleted file mode 100644 index 146c5094b..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml +++ /dev/null @@ -1,903 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - brand_id = #{row.brandId,jdbcType=BIGINT}, - - - product_category_id = #{row.productCategoryId,jdbcType=BIGINT}, - - - feight_template_id = #{row.feightTemplateId,jdbcType=BIGINT}, - - - product_attribute_category_id = #{row.productAttributeCategoryId,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - pic = #{row.pic,jdbcType=VARCHAR}, - - - product_sn = #{row.productSn,jdbcType=VARCHAR}, - - - delete_status = #{row.deleteStatus,jdbcType=INTEGER}, - - - publish_status = #{row.publishStatus,jdbcType=INTEGER}, - - - new_status = #{row.newStatus,jdbcType=INTEGER}, - - - recommand_status = #{row.recommandStatus,jdbcType=INTEGER}, - - - verify_status = #{row.verifyStatus,jdbcType=INTEGER}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - sale = #{row.sale,jdbcType=INTEGER}, - - - price = #{row.price,jdbcType=DECIMAL}, - - - promotion_price = #{row.promotionPrice,jdbcType=DECIMAL}, - - - gift_growth = #{row.giftGrowth,jdbcType=INTEGER}, - - - gift_point = #{row.giftPoint,jdbcType=INTEGER}, - - - use_point_limit = #{row.usePointLimit,jdbcType=INTEGER}, - - - sub_title = #{row.subTitle,jdbcType=VARCHAR}, - - - original_price = #{row.originalPrice,jdbcType=DECIMAL}, - - - stock = #{row.stock,jdbcType=INTEGER}, - - - low_stock = #{row.lowStock,jdbcType=INTEGER}, - - - unit = #{row.unit,jdbcType=VARCHAR}, - - - weight = #{row.weight,jdbcType=DECIMAL}, - - - preview_status = #{row.previewStatus,jdbcType=INTEGER}, - - - service_ids = #{row.serviceIds,jdbcType=VARCHAR}, - - - keywords = #{row.keywords,jdbcType=VARCHAR}, - - - note = #{row.note,jdbcType=VARCHAR}, - - - album_pics = #{row.albumPics,jdbcType=VARCHAR}, - - - detail_title = #{row.detailTitle,jdbcType=VARCHAR}, - - - promotion_start_time = #{row.promotionStartTime,jdbcType=TIMESTAMP}, - - - promotion_end_time = #{row.promotionEndTime,jdbcType=TIMESTAMP}, - - - promotion_per_limit = #{row.promotionPerLimit,jdbcType=INTEGER}, - - - promotion_type = #{row.promotionType,jdbcType=INTEGER}, - - - brand_name = #{row.brandName,jdbcType=VARCHAR}, - - - product_category_name = #{row.productCategoryName,jdbcType=VARCHAR}, - - - description = #{row.description,jdbcType=LONGVARCHAR}, - - - detail_desc = #{row.detailDesc,jdbcType=LONGVARCHAR}, - - - detail_html = #{row.detailHtml,jdbcType=LONGVARCHAR}, - - - detail_mobile_html = #{row.detailMobileHtml,jdbcType=LONGVARCHAR}, - - - - - - - - update pms_product - set id = #{row.id,jdbcType=BIGINT}, - brand_id = #{row.brandId,jdbcType=BIGINT}, - product_category_id = #{row.productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{row.feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{row.productAttributeCategoryId,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - pic = #{row.pic,jdbcType=VARCHAR}, - product_sn = #{row.productSn,jdbcType=VARCHAR}, - delete_status = #{row.deleteStatus,jdbcType=INTEGER}, - publish_status = #{row.publishStatus,jdbcType=INTEGER}, - new_status = #{row.newStatus,jdbcType=INTEGER}, - recommand_status = #{row.recommandStatus,jdbcType=INTEGER}, - verify_status = #{row.verifyStatus,jdbcType=INTEGER}, - sort = #{row.sort,jdbcType=INTEGER}, - sale = #{row.sale,jdbcType=INTEGER}, - price = #{row.price,jdbcType=DECIMAL}, - promotion_price = #{row.promotionPrice,jdbcType=DECIMAL}, - gift_growth = #{row.giftGrowth,jdbcType=INTEGER}, - gift_point = #{row.giftPoint,jdbcType=INTEGER}, - use_point_limit = #{row.usePointLimit,jdbcType=INTEGER}, - sub_title = #{row.subTitle,jdbcType=VARCHAR}, - original_price = #{row.originalPrice,jdbcType=DECIMAL}, - stock = #{row.stock,jdbcType=INTEGER}, - low_stock = #{row.lowStock,jdbcType=INTEGER}, - unit = #{row.unit,jdbcType=VARCHAR}, - weight = #{row.weight,jdbcType=DECIMAL}, - preview_status = #{row.previewStatus,jdbcType=INTEGER}, - service_ids = #{row.serviceIds,jdbcType=VARCHAR}, - keywords = #{row.keywords,jdbcType=VARCHAR}, - note = #{row.note,jdbcType=VARCHAR}, - album_pics = #{row.albumPics,jdbcType=VARCHAR}, - detail_title = #{row.detailTitle,jdbcType=VARCHAR}, - promotion_start_time = #{row.promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{row.promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{row.promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{row.promotionType,jdbcType=INTEGER}, - brand_name = #{row.brandName,jdbcType=VARCHAR}, - product_category_name = #{row.productCategoryName,jdbcType=VARCHAR}, - description = #{row.description,jdbcType=LONGVARCHAR}, - detail_desc = #{row.detailDesc,jdbcType=LONGVARCHAR}, - detail_html = #{row.detailHtml,jdbcType=LONGVARCHAR}, - detail_mobile_html = #{row.detailMobileHtml,jdbcType=LONGVARCHAR} - - - - - - update pms_product - set id = #{row.id,jdbcType=BIGINT}, - brand_id = #{row.brandId,jdbcType=BIGINT}, - product_category_id = #{row.productCategoryId,jdbcType=BIGINT}, - feight_template_id = #{row.feightTemplateId,jdbcType=BIGINT}, - product_attribute_category_id = #{row.productAttributeCategoryId,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - pic = #{row.pic,jdbcType=VARCHAR}, - product_sn = #{row.productSn,jdbcType=VARCHAR}, - delete_status = #{row.deleteStatus,jdbcType=INTEGER}, - publish_status = #{row.publishStatus,jdbcType=INTEGER}, - new_status = #{row.newStatus,jdbcType=INTEGER}, - recommand_status = #{row.recommandStatus,jdbcType=INTEGER}, - verify_status = #{row.verifyStatus,jdbcType=INTEGER}, - sort = #{row.sort,jdbcType=INTEGER}, - sale = #{row.sale,jdbcType=INTEGER}, - price = #{row.price,jdbcType=DECIMAL}, - promotion_price = #{row.promotionPrice,jdbcType=DECIMAL}, - gift_growth = #{row.giftGrowth,jdbcType=INTEGER}, - gift_point = #{row.giftPoint,jdbcType=INTEGER}, - use_point_limit = #{row.usePointLimit,jdbcType=INTEGER}, - sub_title = #{row.subTitle,jdbcType=VARCHAR}, - original_price = #{row.originalPrice,jdbcType=DECIMAL}, - stock = #{row.stock,jdbcType=INTEGER}, - low_stock = #{row.lowStock,jdbcType=INTEGER}, - unit = #{row.unit,jdbcType=VARCHAR}, - weight = #{row.weight,jdbcType=DECIMAL}, - preview_status = #{row.previewStatus,jdbcType=INTEGER}, - service_ids = #{row.serviceIds,jdbcType=VARCHAR}, - keywords = #{row.keywords,jdbcType=VARCHAR}, - note = #{row.note,jdbcType=VARCHAR}, - album_pics = #{row.albumPics,jdbcType=VARCHAR}, - detail_title = #{row.detailTitle,jdbcType=VARCHAR}, - promotion_start_time = #{row.promotionStartTime,jdbcType=TIMESTAMP}, - promotion_end_time = #{row.promotionEndTime,jdbcType=TIMESTAMP}, - promotion_per_limit = #{row.promotionPerLimit,jdbcType=INTEGER}, - promotion_type = #{row.promotionType,jdbcType=INTEGER}, - brand_name = #{row.brandName,jdbcType=VARCHAR}, - product_category_name = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml deleted file mode 100644 index 104e4cfab..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml +++ /dev/null @@ -1,321 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - price_old = #{row.priceOld,jdbcType=DECIMAL}, - - - price_new = #{row.priceNew,jdbcType=DECIMAL}, - - - sale_price_old = #{row.salePriceOld,jdbcType=DECIMAL}, - - - sale_price_new = #{row.salePriceNew,jdbcType=DECIMAL}, - - - gift_point_old = #{row.giftPointOld,jdbcType=INTEGER}, - - - gift_point_new = #{row.giftPointNew,jdbcType=INTEGER}, - - - use_point_limit_old = #{row.usePointLimitOld,jdbcType=INTEGER}, - - - use_point_limit_new = #{row.usePointLimitNew,jdbcType=INTEGER}, - - - operate_man = #{row.operateMan,jdbcType=VARCHAR}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - - - - - - update pms_product_operate_log - set id = #{row.id,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - price_old = #{row.priceOld,jdbcType=DECIMAL}, - price_new = #{row.priceNew,jdbcType=DECIMAL}, - sale_price_old = #{row.salePriceOld,jdbcType=DECIMAL}, - sale_price_new = #{row.salePriceNew,jdbcType=DECIMAL}, - gift_point_old = #{row.giftPointOld,jdbcType=INTEGER}, - gift_point_new = #{row.giftPointNew,jdbcType=INTEGER}, - use_point_limit_old = #{row.usePointLimitOld,jdbcType=INTEGER}, - use_point_limit_new = #{row.usePointLimitNew,jdbcType=INTEGER}, - operate_man = #{row.operateMan,jdbcType=VARCHAR}, - create_time = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml deleted file mode 100644 index baf481d20..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - vertify_man = #{row.vertifyMan,jdbcType=VARCHAR}, - - - status = #{row.status,jdbcType=INTEGER}, - - - detail = #{row.detail,jdbcType=VARCHAR}, - - - - - - - - update pms_product_vertify_record - set id = #{row.id,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - vertify_man = #{row.vertifyMan,jdbcType=VARCHAR}, - status = #{row.status,jdbcType=INTEGER}, - detail = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml deleted file mode 100644 index 87b82258d..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - 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, pic, sale, promotion_price, lock_stock, - sp_data - - - - - 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, pic, - sale, promotion_price, lock_stock, - sp_data) - values (#{productId,jdbcType=BIGINT}, #{skuCode,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, - #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{pic,jdbcType=VARCHAR}, - #{sale,jdbcType=INTEGER}, #{promotionPrice,jdbcType=DECIMAL}, #{lockStock,jdbcType=INTEGER}, - #{spData,jdbcType=VARCHAR}) - - - - SELECT LAST_INSERT_ID() - - insert into pms_sku_stock - - - product_id, - - - sku_code, - - - price, - - - stock, - - - low_stock, - - - pic, - - - sale, - - - promotion_price, - - - lock_stock, - - - sp_data, - - - - - #{productId,jdbcType=BIGINT}, - - - #{skuCode,jdbcType=VARCHAR}, - - - #{price,jdbcType=DECIMAL}, - - - #{stock,jdbcType=INTEGER}, - - - #{lowStock,jdbcType=INTEGER}, - - - #{pic,jdbcType=VARCHAR}, - - - #{sale,jdbcType=INTEGER}, - - - #{promotionPrice,jdbcType=DECIMAL}, - - - #{lockStock,jdbcType=INTEGER}, - - - #{spData,jdbcType=VARCHAR}, - - - - - - update pms_sku_stock - - - id = #{row.id,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - sku_code = #{row.skuCode,jdbcType=VARCHAR}, - - - price = #{row.price,jdbcType=DECIMAL}, - - - stock = #{row.stock,jdbcType=INTEGER}, - - - low_stock = #{row.lowStock,jdbcType=INTEGER}, - - - pic = #{row.pic,jdbcType=VARCHAR}, - - - sale = #{row.sale,jdbcType=INTEGER}, - - - promotion_price = #{row.promotionPrice,jdbcType=DECIMAL}, - - - lock_stock = #{row.lockStock,jdbcType=INTEGER}, - - - sp_data = #{row.spData,jdbcType=VARCHAR}, - - - - - - - - update pms_sku_stock - set id = #{row.id,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - sku_code = #{row.skuCode,jdbcType=VARCHAR}, - price = #{row.price,jdbcType=DECIMAL}, - stock = #{row.stock,jdbcType=INTEGER}, - low_stock = #{row.lowStock,jdbcType=INTEGER}, - pic = #{row.pic,jdbcType=VARCHAR}, - sale = #{row.sale,jdbcType=INTEGER}, - promotion_price = #{row.promotionPrice,jdbcType=DECIMAL}, - lock_stock = #{row.lockStock,jdbcType=INTEGER}, - sp_data = #{row.spData,jdbcType=VARCHAR} - - - - - - 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}, - - - pic = #{pic,jdbcType=VARCHAR}, - - - sale = #{sale,jdbcType=INTEGER}, - - - promotion_price = #{promotionPrice,jdbcType=DECIMAL}, - - - lock_stock = #{lockStock,jdbcType=INTEGER}, - - - sp_data = #{spData,jdbcType=VARCHAR}, - - - 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}, - pic = #{pic,jdbcType=VARCHAR}, - sale = #{sale,jdbcType=INTEGER}, - promotion_price = #{promotionPrice,jdbcType=DECIMAL}, - lock_stock = #{lockStock,jdbcType=INTEGER}, - sp_data = #{spData,jdbcType=VARCHAR} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml deleted file mode 100644 index 771d5256f..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml +++ /dev/null @@ -1,306 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - coupon_id = #{row.couponId,jdbcType=BIGINT}, - - - member_id = #{row.memberId,jdbcType=BIGINT}, - - - coupon_code = #{row.couponCode,jdbcType=VARCHAR}, - - - member_nickname = #{row.memberNickname,jdbcType=VARCHAR}, - - - get_type = #{row.getType,jdbcType=INTEGER}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - use_status = #{row.useStatus,jdbcType=INTEGER}, - - - use_time = #{row.useTime,jdbcType=TIMESTAMP}, - - - order_id = #{row.orderId,jdbcType=BIGINT}, - - - order_sn = #{row.orderSn,jdbcType=VARCHAR}, - - - - - - - - update sms_coupon_history - set id = #{row.id,jdbcType=BIGINT}, - coupon_id = #{row.couponId,jdbcType=BIGINT}, - member_id = #{row.memberId,jdbcType=BIGINT}, - coupon_code = #{row.couponCode,jdbcType=VARCHAR}, - member_nickname = #{row.memberNickname,jdbcType=VARCHAR}, - get_type = #{row.getType,jdbcType=INTEGER}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - use_status = #{row.useStatus,jdbcType=INTEGER}, - use_time = #{row.useTime,jdbcType=TIMESTAMP}, - order_id = #{row.orderId,jdbcType=BIGINT}, - order_sn = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml deleted file mode 100644 index 812df2087..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml +++ /dev/null @@ -1,415 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - type = #{row.type,jdbcType=INTEGER}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - platform = #{row.platform,jdbcType=INTEGER}, - - - count = #{row.count,jdbcType=INTEGER}, - - - amount = #{row.amount,jdbcType=DECIMAL}, - - - per_limit = #{row.perLimit,jdbcType=INTEGER}, - - - min_point = #{row.minPoint,jdbcType=DECIMAL}, - - - start_time = #{row.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{row.endTime,jdbcType=TIMESTAMP}, - - - use_type = #{row.useType,jdbcType=INTEGER}, - - - note = #{row.note,jdbcType=VARCHAR}, - - - publish_count = #{row.publishCount,jdbcType=INTEGER}, - - - use_count = #{row.useCount,jdbcType=INTEGER}, - - - receive_count = #{row.receiveCount,jdbcType=INTEGER}, - - - enable_time = #{row.enableTime,jdbcType=TIMESTAMP}, - - - code = #{row.code,jdbcType=VARCHAR}, - - - member_level = #{row.memberLevel,jdbcType=INTEGER}, - - - - - - - - update sms_coupon - set id = #{row.id,jdbcType=BIGINT}, - type = #{row.type,jdbcType=INTEGER}, - name = #{row.name,jdbcType=VARCHAR}, - platform = #{row.platform,jdbcType=INTEGER}, - count = #{row.count,jdbcType=INTEGER}, - amount = #{row.amount,jdbcType=DECIMAL}, - per_limit = #{row.perLimit,jdbcType=INTEGER}, - min_point = #{row.minPoint,jdbcType=DECIMAL}, - start_time = #{row.startTime,jdbcType=TIMESTAMP}, - end_time = #{row.endTime,jdbcType=TIMESTAMP}, - use_type = #{row.useType,jdbcType=INTEGER}, - note = #{row.note,jdbcType=VARCHAR}, - publish_count = #{row.publishCount,jdbcType=INTEGER}, - use_count = #{row.useCount,jdbcType=INTEGER}, - receive_count = #{row.receiveCount,jdbcType=INTEGER}, - enable_time = #{row.enableTime,jdbcType=TIMESTAMP}, - code = #{row.code,jdbcType=VARCHAR}, - member_level = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml deleted file mode 100644 index a9fc7695f..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - coupon_id = #{row.couponId,jdbcType=BIGINT}, - - - product_category_id = #{row.productCategoryId,jdbcType=BIGINT}, - - - product_category_name = #{row.productCategoryName,jdbcType=VARCHAR}, - - - parent_category_name = #{row.parentCategoryName,jdbcType=VARCHAR}, - - - - - - - - update sms_coupon_product_category_relation - set id = #{row.id,jdbcType=BIGINT}, - coupon_id = #{row.couponId,jdbcType=BIGINT}, - product_category_id = #{row.productCategoryId,jdbcType=BIGINT}, - product_category_name = #{row.productCategoryName,jdbcType=VARCHAR}, - parent_category_name = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml deleted file mode 100644 index 042378663..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - coupon_id = #{row.couponId,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - product_name = #{row.productName,jdbcType=VARCHAR}, - - - product_sn = #{row.productSn,jdbcType=VARCHAR}, - - - - - - - - update sms_coupon_product_relation - set id = #{row.id,jdbcType=BIGINT}, - coupon_id = #{row.couponId,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - product_name = #{row.productName,jdbcType=VARCHAR}, - product_sn = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml deleted file mode 100644 index 55d279d17..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=INTEGER}, - - - member_id = #{row.memberId,jdbcType=INTEGER}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - member_phone = #{row.memberPhone,jdbcType=VARCHAR}, - - - product_name = #{row.productName,jdbcType=VARCHAR}, - - - subscribe_time = #{row.subscribeTime,jdbcType=TIMESTAMP}, - - - send_time = #{row.sendTime,jdbcType=TIMESTAMP}, - - - - - - - - update sms_flash_promotion_log - set id = #{row.id,jdbcType=INTEGER}, - member_id = #{row.memberId,jdbcType=INTEGER}, - product_id = #{row.productId,jdbcType=BIGINT}, - member_phone = #{row.memberPhone,jdbcType=VARCHAR}, - product_name = #{row.productName,jdbcType=VARCHAR}, - subscribe_time = #{row.subscribeTime,jdbcType=TIMESTAMP}, - send_time = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml deleted file mode 100644 index 3d3c1ee58..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - title = #{row.title,jdbcType=VARCHAR}, - - - start_date = #{row.startDate,jdbcType=DATE}, - - - end_date = #{row.endDate,jdbcType=DATE}, - - - status = #{row.status,jdbcType=INTEGER}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - - - - - - update sms_flash_promotion - set id = #{row.id,jdbcType=BIGINT}, - title = #{row.title,jdbcType=VARCHAR}, - start_date = #{row.startDate,jdbcType=DATE}, - end_date = #{row.endDate,jdbcType=DATE}, - status = #{row.status,jdbcType=INTEGER}, - create_time = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.xml deleted file mode 100644 index 925de8e82..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.xml +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - flash_promotion_id = #{row.flashPromotionId,jdbcType=BIGINT}, - - - flash_promotion_session_id = #{row.flashPromotionSessionId,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - flash_promotion_price = #{row.flashPromotionPrice,jdbcType=DECIMAL}, - - - flash_promotion_count = #{row.flashPromotionCount,jdbcType=INTEGER}, - - - flash_promotion_limit = #{row.flashPromotionLimit,jdbcType=INTEGER}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - - - - - - update sms_flash_promotion_product_relation - set id = #{row.id,jdbcType=BIGINT}, - flash_promotion_id = #{row.flashPromotionId,jdbcType=BIGINT}, - flash_promotion_session_id = #{row.flashPromotionSessionId,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - flash_promotion_price = #{row.flashPromotionPrice,jdbcType=DECIMAL}, - flash_promotion_count = #{row.flashPromotionCount,jdbcType=INTEGER}, - flash_promotion_limit = #{row.flashPromotionLimit,jdbcType=INTEGER}, - sort = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.xml deleted file mode 100644 index 2dd29f46f..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - start_time = #{row.startTime,jdbcType=TIME}, - - - end_time = #{row.endTime,jdbcType=TIME}, - - - status = #{row.status,jdbcType=INTEGER}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - - - - - - update sms_flash_promotion_session - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - start_time = #{row.startTime,jdbcType=TIME}, - end_time = #{row.endTime,jdbcType=TIME}, - status = #{row.status,jdbcType=INTEGER}, - create_time = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml deleted file mode 100644 index 2c35d9310..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml +++ /dev/null @@ -1,321 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - type = #{row.type,jdbcType=INTEGER}, - - - pic = #{row.pic,jdbcType=VARCHAR}, - - - start_time = #{row.startTime,jdbcType=TIMESTAMP}, - - - end_time = #{row.endTime,jdbcType=TIMESTAMP}, - - - status = #{row.status,jdbcType=INTEGER}, - - - click_count = #{row.clickCount,jdbcType=INTEGER}, - - - order_count = #{row.orderCount,jdbcType=INTEGER}, - - - url = #{row.url,jdbcType=VARCHAR}, - - - note = #{row.note,jdbcType=VARCHAR}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_advertise - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - type = #{row.type,jdbcType=INTEGER}, - pic = #{row.pic,jdbcType=VARCHAR}, - start_time = #{row.startTime,jdbcType=TIMESTAMP}, - end_time = #{row.endTime,jdbcType=TIMESTAMP}, - status = #{row.status,jdbcType=INTEGER}, - click_count = #{row.clickCount,jdbcType=INTEGER}, - order_count = #{row.orderCount,jdbcType=INTEGER}, - url = #{row.url,jdbcType=VARCHAR}, - note = #{row.note,jdbcType=VARCHAR}, - sort = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml deleted file mode 100644 index 92da7d0e4..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - brand_id = #{row.brandId,jdbcType=BIGINT}, - - - brand_name = #{row.brandName,jdbcType=VARCHAR}, - - - recommend_status = #{row.recommendStatus,jdbcType=INTEGER}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_brand - set id = #{row.id,jdbcType=BIGINT}, - brand_id = #{row.brandId,jdbcType=BIGINT}, - brand_name = #{row.brandName,jdbcType=VARCHAR}, - recommend_status = #{row.recommendStatus,jdbcType=INTEGER}, - sort = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml deleted file mode 100644 index 3f797f071..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - product_name = #{row.productName,jdbcType=VARCHAR}, - - - recommend_status = #{row.recommendStatus,jdbcType=INTEGER}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_new_product - set id = #{row.id,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - product_name = #{row.productName,jdbcType=VARCHAR}, - recommend_status = #{row.recommendStatus,jdbcType=INTEGER}, - sort = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml deleted file mode 100644 index 485e98199..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - product_id = #{row.productId,jdbcType=BIGINT}, - - - product_name = #{row.productName,jdbcType=VARCHAR}, - - - recommend_status = #{row.recommendStatus,jdbcType=INTEGER}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_recommend_product - set id = #{row.id,jdbcType=BIGINT}, - product_id = #{row.productId,jdbcType=BIGINT}, - product_name = #{row.productName,jdbcType=VARCHAR}, - recommend_status = #{row.recommendStatus,jdbcType=INTEGER}, - sort = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml deleted file mode 100644 index 44b1374ac..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - subject_id = #{row.subjectId,jdbcType=BIGINT}, - - - subject_name = #{row.subjectName,jdbcType=VARCHAR}, - - - recommend_status = #{row.recommendStatus,jdbcType=INTEGER}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - - - - - - update sms_home_recommend_subject - set id = #{row.id,jdbcType=BIGINT}, - subject_id = #{row.subjectId,jdbcType=BIGINT}, - subject_name = #{row.subjectName,jdbcType=VARCHAR}, - recommend_status = #{row.recommendStatus,jdbcType=INTEGER}, - sort = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml deleted file mode 100644 index 4127b1717..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - admin_id = #{row.adminId,jdbcType=BIGINT}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - ip = #{row.ip,jdbcType=VARCHAR}, - - - address = #{row.address,jdbcType=VARCHAR}, - - - user_agent = #{row.userAgent,jdbcType=VARCHAR}, - - - - - - - - update ums_admin_login_log - set id = #{row.id,jdbcType=BIGINT}, - admin_id = #{row.adminId,jdbcType=BIGINT}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - ip = #{row.ip,jdbcType=VARCHAR}, - address = #{row.address,jdbcType=VARCHAR}, - user_agent = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml deleted file mode 100644 index e4b5051d3..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml +++ /dev/null @@ -1,290 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - username = #{row.username,jdbcType=VARCHAR}, - - - password = #{row.password,jdbcType=VARCHAR}, - - - icon = #{row.icon,jdbcType=VARCHAR}, - - - email = #{row.email,jdbcType=VARCHAR}, - - - nick_name = #{row.nickName,jdbcType=VARCHAR}, - - - note = #{row.note,jdbcType=VARCHAR}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - login_time = #{row.loginTime,jdbcType=TIMESTAMP}, - - - status = #{row.status,jdbcType=INTEGER}, - - - - - - - - update ums_admin - set id = #{row.id,jdbcType=BIGINT}, - username = #{row.username,jdbcType=VARCHAR}, - password = #{row.password,jdbcType=VARCHAR}, - icon = #{row.icon,jdbcType=VARCHAR}, - email = #{row.email,jdbcType=VARCHAR}, - nick_name = #{row.nickName,jdbcType=VARCHAR}, - note = #{row.note,jdbcType=VARCHAR}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - login_time = #{row.loginTime,jdbcType=TIMESTAMP}, - status = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.xml deleted file mode 100644 index 4903bc606..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.xml +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - admin_id = #{row.adminId,jdbcType=BIGINT}, - - - permission_id = #{row.permissionId,jdbcType=BIGINT}, - - - type = #{row.type,jdbcType=INTEGER}, - - - - - - - - update ums_admin_permission_relation - set id = #{row.id,jdbcType=BIGINT}, - admin_id = #{row.adminId,jdbcType=BIGINT}, - permission_id = #{row.permissionId,jdbcType=BIGINT}, - type = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminRoleRelationMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminRoleRelationMapper.xml deleted file mode 100644 index 5042d1475..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminRoleRelationMapper.xml +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - admin_id = #{row.adminId,jdbcType=BIGINT}, - - - role_id = #{row.roleId,jdbcType=BIGINT}, - - - - - - - - update ums_admin_role_relation - set id = #{row.id,jdbcType=BIGINT}, - admin_id = #{row.adminId,jdbcType=BIGINT}, - role_id = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml deleted file mode 100644 index 91966d86a..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - member_id = #{row.memberId,jdbcType=BIGINT}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - change_type = #{row.changeType,jdbcType=INTEGER}, - - - change_count = #{row.changeCount,jdbcType=INTEGER}, - - - operate_man = #{row.operateMan,jdbcType=VARCHAR}, - - - operate_note = #{row.operateNote,jdbcType=VARCHAR}, - - - source_type = #{row.sourceType,jdbcType=INTEGER}, - - - - - - - - update ums_growth_change_history - set id = #{row.id,jdbcType=BIGINT}, - member_id = #{row.memberId,jdbcType=BIGINT}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - change_type = #{row.changeType,jdbcType=INTEGER}, - change_count = #{row.changeCount,jdbcType=INTEGER}, - operate_man = #{row.operateMan,jdbcType=VARCHAR}, - operate_note = #{row.operateNote,jdbcType=VARCHAR}, - source_type = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml deleted file mode 100644 index 8ef9498e1..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml +++ /dev/null @@ -1,259 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - member_id = #{row.memberId,jdbcType=BIGINT}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - change_type = #{row.changeType,jdbcType=INTEGER}, - - - change_count = #{row.changeCount,jdbcType=INTEGER}, - - - operate_man = #{row.operateMan,jdbcType=VARCHAR}, - - - operate_note = #{row.operateNote,jdbcType=VARCHAR}, - - - source_type = #{row.sourceType,jdbcType=INTEGER}, - - - - - - - - update ums_integration_change_history - set id = #{row.id,jdbcType=BIGINT}, - member_id = #{row.memberId,jdbcType=BIGINT}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - change_type = #{row.changeType,jdbcType=INTEGER}, - change_count = #{row.changeCount,jdbcType=INTEGER}, - operate_man = #{row.operateMan,jdbcType=VARCHAR}, - operate_note = #{row.operateNote,jdbcType=VARCHAR}, - source_type = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.xml deleted file mode 100644 index 751b19f6f..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - deduction_per_amount = #{row.deductionPerAmount,jdbcType=INTEGER}, - - - max_percent_per_order = #{row.maxPercentPerOrder,jdbcType=INTEGER}, - - - use_unit = #{row.useUnit,jdbcType=INTEGER}, - - - coupon_status = #{row.couponStatus,jdbcType=INTEGER}, - - - - - - - - update ums_integration_consume_setting - set id = #{row.id,jdbcType=BIGINT}, - deduction_per_amount = #{row.deductionPerAmount,jdbcType=INTEGER}, - max_percent_per_order = #{row.maxPercentPerOrder,jdbcType=INTEGER}, - use_unit = #{row.useUnit,jdbcType=INTEGER}, - coupon_status = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml deleted file mode 100644 index 0edf8a5fc..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml +++ /dev/null @@ -1,339 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - growth_point = #{row.growthPoint,jdbcType=INTEGER}, - - - default_status = #{row.defaultStatus,jdbcType=INTEGER}, - - - free_freight_point = #{row.freeFreightPoint,jdbcType=DECIMAL}, - - - comment_growth_point = #{row.commentGrowthPoint,jdbcType=INTEGER}, - - - priviledge_free_freight = #{row.priviledgeFreeFreight,jdbcType=INTEGER}, - - - priviledge_sign_in = #{row.priviledgeSignIn,jdbcType=INTEGER}, - - - priviledge_comment = #{row.priviledgeComment,jdbcType=INTEGER}, - - - priviledge_promotion = #{row.priviledgePromotion,jdbcType=INTEGER}, - - - priviledge_member_price = #{row.priviledgeMemberPrice,jdbcType=INTEGER}, - - - priviledge_birthday = #{row.priviledgeBirthday,jdbcType=INTEGER}, - - - note = #{row.note,jdbcType=VARCHAR}, - - - - - - - - update ums_member_level - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - growth_point = #{row.growthPoint,jdbcType=INTEGER}, - default_status = #{row.defaultStatus,jdbcType=INTEGER}, - free_freight_point = #{row.freeFreightPoint,jdbcType=DECIMAL}, - comment_growth_point = #{row.commentGrowthPoint,jdbcType=INTEGER}, - priviledge_free_freight = #{row.priviledgeFreeFreight,jdbcType=INTEGER}, - priviledge_sign_in = #{row.priviledgeSignIn,jdbcType=INTEGER}, - priviledge_comment = #{row.priviledgeComment,jdbcType=INTEGER}, - priviledge_promotion = #{row.priviledgePromotion,jdbcType=INTEGER}, - priviledge_member_price = #{row.priviledgeMemberPrice,jdbcType=INTEGER}, - priviledge_birthday = #{row.priviledgeBirthday,jdbcType=INTEGER}, - note = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml deleted file mode 100644 index 730b6ec1e..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - member_id = #{row.memberId,jdbcType=BIGINT}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - ip = #{row.ip,jdbcType=VARCHAR}, - - - city = #{row.city,jdbcType=VARCHAR}, - - - login_type = #{row.loginType,jdbcType=INTEGER}, - - - province = #{row.province,jdbcType=VARCHAR}, - - - - - - - - update ums_member_login_log - set id = #{row.id,jdbcType=BIGINT}, - member_id = #{row.memberId,jdbcType=BIGINT}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - ip = #{row.ip,jdbcType=VARCHAR}, - city = #{row.city,jdbcType=VARCHAR}, - login_type = #{row.loginType,jdbcType=INTEGER}, - province = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml deleted file mode 100644 index 69483c1d0..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml +++ /dev/null @@ -1,431 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - member_level_id = #{row.memberLevelId,jdbcType=BIGINT}, - - - username = #{row.username,jdbcType=VARCHAR}, - - - password = #{row.password,jdbcType=VARCHAR}, - - - nickname = #{row.nickname,jdbcType=VARCHAR}, - - - phone = #{row.phone,jdbcType=VARCHAR}, - - - status = #{row.status,jdbcType=INTEGER}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - icon = #{row.icon,jdbcType=VARCHAR}, - - - gender = #{row.gender,jdbcType=INTEGER}, - - - birthday = #{row.birthday,jdbcType=DATE}, - - - city = #{row.city,jdbcType=VARCHAR}, - - - job = #{row.job,jdbcType=VARCHAR}, - - - personalized_signature = #{row.personalizedSignature,jdbcType=VARCHAR}, - - - source_type = #{row.sourceType,jdbcType=INTEGER}, - - - integration = #{row.integration,jdbcType=INTEGER}, - - - growth = #{row.growth,jdbcType=INTEGER}, - - - luckey_count = #{row.luckeyCount,jdbcType=INTEGER}, - - - history_integration = #{row.historyIntegration,jdbcType=INTEGER}, - - - - - - - - update ums_member - set id = #{row.id,jdbcType=BIGINT}, - member_level_id = #{row.memberLevelId,jdbcType=BIGINT}, - username = #{row.username,jdbcType=VARCHAR}, - password = #{row.password,jdbcType=VARCHAR}, - nickname = #{row.nickname,jdbcType=VARCHAR}, - phone = #{row.phone,jdbcType=VARCHAR}, - status = #{row.status,jdbcType=INTEGER}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - icon = #{row.icon,jdbcType=VARCHAR}, - gender = #{row.gender,jdbcType=INTEGER}, - birthday = #{row.birthday,jdbcType=DATE}, - city = #{row.city,jdbcType=VARCHAR}, - job = #{row.job,jdbcType=VARCHAR}, - personalized_signature = #{row.personalizedSignature,jdbcType=VARCHAR}, - source_type = #{row.sourceType,jdbcType=INTEGER}, - integration = #{row.integration,jdbcType=INTEGER}, - growth = #{row.growth,jdbcType=INTEGER}, - luckey_count = #{row.luckeyCount,jdbcType=INTEGER}, - history_integration = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml deleted file mode 100644 index 0a40cda02..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - member_id = #{row.memberId,jdbcType=BIGINT}, - - - tag_id = #{row.tagId,jdbcType=BIGINT}, - - - - - - - - update ums_member_member_tag_relation - set id = #{row.id,jdbcType=BIGINT}, - member_id = #{row.memberId,jdbcType=BIGINT}, - tag_id = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml deleted file mode 100644 index 31cf00181..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - member_id = #{row.memberId,jdbcType=BIGINT}, - - - product_category_id = #{row.productCategoryId,jdbcType=BIGINT}, - - - - - - - - update ums_member_product_category_relation - set id = #{row.id,jdbcType=BIGINT}, - member_id = #{row.memberId,jdbcType=BIGINT}, - product_category_id = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml deleted file mode 100644 index 96ab4d709..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml +++ /dev/null @@ -1,291 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - member_id = #{row.memberId,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - phone_number = #{row.phoneNumber,jdbcType=VARCHAR}, - - - default_status = #{row.defaultStatus,jdbcType=INTEGER}, - - - post_code = #{row.postCode,jdbcType=VARCHAR}, - - - province = #{row.province,jdbcType=VARCHAR}, - - - city = #{row.city,jdbcType=VARCHAR}, - - - region = #{row.region,jdbcType=VARCHAR}, - - - detail_address = #{row.detailAddress,jdbcType=VARCHAR}, - - - - - - - - update ums_member_receive_address - set id = #{row.id,jdbcType=BIGINT}, - member_id = #{row.memberId,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - phone_number = #{row.phoneNumber,jdbcType=VARCHAR}, - default_status = #{row.defaultStatus,jdbcType=INTEGER}, - post_code = #{row.postCode,jdbcType=VARCHAR}, - province = #{row.province,jdbcType=VARCHAR}, - city = #{row.city,jdbcType=VARCHAR}, - region = #{row.region,jdbcType=VARCHAR}, - detail_address = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml deleted file mode 100644 index 56203504d..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml +++ /dev/null @@ -1,244 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - continue_sign_day = #{row.continueSignDay,jdbcType=INTEGER}, - - - continue_sign_point = #{row.continueSignPoint,jdbcType=INTEGER}, - - - consume_per_point = #{row.consumePerPoint,jdbcType=DECIMAL}, - - - low_order_amount = #{row.lowOrderAmount,jdbcType=DECIMAL}, - - - max_point_per_order = #{row.maxPointPerOrder,jdbcType=INTEGER}, - - - type = #{row.type,jdbcType=INTEGER}, - - - - - - - - update ums_member_rule_setting - set id = #{row.id,jdbcType=BIGINT}, - continue_sign_day = #{row.continueSignDay,jdbcType=INTEGER}, - continue_sign_point = #{row.continueSignPoint,jdbcType=INTEGER}, - consume_per_point = #{row.consumePerPoint,jdbcType=DECIMAL}, - low_order_amount = #{row.lowOrderAmount,jdbcType=DECIMAL}, - max_point_per_order = #{row.maxPointPerOrder,jdbcType=INTEGER}, - type = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml deleted file mode 100644 index 2bff02e91..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml +++ /dev/null @@ -1,386 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - member_id = #{row.memberId,jdbcType=BIGINT}, - - - consume_amount = #{row.consumeAmount,jdbcType=DECIMAL}, - - - order_count = #{row.orderCount,jdbcType=INTEGER}, - - - coupon_count = #{row.couponCount,jdbcType=INTEGER}, - - - comment_count = #{row.commentCount,jdbcType=INTEGER}, - - - return_order_count = #{row.returnOrderCount,jdbcType=INTEGER}, - - - login_count = #{row.loginCount,jdbcType=INTEGER}, - - - attend_count = #{row.attendCount,jdbcType=INTEGER}, - - - fans_count = #{row.fansCount,jdbcType=INTEGER}, - - - collect_product_count = #{row.collectProductCount,jdbcType=INTEGER}, - - - collect_subject_count = #{row.collectSubjectCount,jdbcType=INTEGER}, - - - collect_topic_count = #{row.collectTopicCount,jdbcType=INTEGER}, - - - collect_comment_count = #{row.collectCommentCount,jdbcType=INTEGER}, - - - invite_friend_count = #{row.inviteFriendCount,jdbcType=INTEGER}, - - - recent_order_time = #{row.recentOrderTime,jdbcType=TIMESTAMP}, - - - - - - - - update ums_member_statistics_info - set id = #{row.id,jdbcType=BIGINT}, - member_id = #{row.memberId,jdbcType=BIGINT}, - consume_amount = #{row.consumeAmount,jdbcType=DECIMAL}, - order_count = #{row.orderCount,jdbcType=INTEGER}, - coupon_count = #{row.couponCount,jdbcType=INTEGER}, - comment_count = #{row.commentCount,jdbcType=INTEGER}, - return_order_count = #{row.returnOrderCount,jdbcType=INTEGER}, - login_count = #{row.loginCount,jdbcType=INTEGER}, - attend_count = #{row.attendCount,jdbcType=INTEGER}, - fans_count = #{row.fansCount,jdbcType=INTEGER}, - collect_product_count = #{row.collectProductCount,jdbcType=INTEGER}, - collect_subject_count = #{row.collectSubjectCount,jdbcType=INTEGER}, - collect_topic_count = #{row.collectTopicCount,jdbcType=INTEGER}, - collect_comment_count = #{row.collectCommentCount,jdbcType=INTEGER}, - invite_friend_count = #{row.inviteFriendCount,jdbcType=INTEGER}, - recent_order_time = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml deleted file mode 100644 index 03a112cb8..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - finish_order_count = #{row.finishOrderCount,jdbcType=INTEGER}, - - - finish_order_amount = #{row.finishOrderAmount,jdbcType=DECIMAL}, - - - - - - - - update ums_member_tag - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - finish_order_count = #{row.finishOrderCount,jdbcType=INTEGER}, - finish_order_amount = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml deleted file mode 100644 index 58e1fb230..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - growth = #{row.growth,jdbcType=INTEGER}, - - - intergration = #{row.intergration,jdbcType=INTEGER}, - - - type = #{row.type,jdbcType=INTEGER}, - - - - - - - - update ums_member_task - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - growth = #{row.growth,jdbcType=INTEGER}, - intergration = #{row.intergration,jdbcType=INTEGER}, - type = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMenuMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMenuMapper.xml deleted file mode 100644 index 449fe3714..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMenuMapper.xml +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - 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, create_time, title, level, sort, name, icon, hidden - - - - - delete from ums_menu - where id = #{id,jdbcType=BIGINT} - - - delete from ums_menu - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_menu (parent_id, create_time, title, - level, sort, name, - icon, hidden) - values (#{parentId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{title,jdbcType=VARCHAR}, - #{level,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, - #{icon,jdbcType=VARCHAR}, #{hidden,jdbcType=INTEGER}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_menu - - - parent_id, - - - create_time, - - - title, - - - level, - - - sort, - - - name, - - - icon, - - - hidden, - - - - - #{parentId,jdbcType=BIGINT}, - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{title,jdbcType=VARCHAR}, - - - #{level,jdbcType=INTEGER}, - - - #{sort,jdbcType=INTEGER}, - - - #{name,jdbcType=VARCHAR}, - - - #{icon,jdbcType=VARCHAR}, - - - #{hidden,jdbcType=INTEGER}, - - - - - - update ums_menu - - - id = #{row.id,jdbcType=BIGINT}, - - - parent_id = #{row.parentId,jdbcType=BIGINT}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - title = #{row.title,jdbcType=VARCHAR}, - - - level = #{row.level,jdbcType=INTEGER}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - icon = #{row.icon,jdbcType=VARCHAR}, - - - hidden = #{row.hidden,jdbcType=INTEGER}, - - - - - - - - update ums_menu - set id = #{row.id,jdbcType=BIGINT}, - parent_id = #{row.parentId,jdbcType=BIGINT}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - title = #{row.title,jdbcType=VARCHAR}, - level = #{row.level,jdbcType=INTEGER}, - sort = #{row.sort,jdbcType=INTEGER}, - name = #{row.name,jdbcType=VARCHAR}, - icon = #{row.icon,jdbcType=VARCHAR}, - hidden = #{row.hidden,jdbcType=INTEGER} - - - - - - update ums_menu - - - parent_id = #{parentId,jdbcType=BIGINT}, - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - title = #{title,jdbcType=VARCHAR}, - - - level = #{level,jdbcType=INTEGER}, - - - sort = #{sort,jdbcType=INTEGER}, - - - name = #{name,jdbcType=VARCHAR}, - - - icon = #{icon,jdbcType=VARCHAR}, - - - hidden = #{hidden,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_menu - set parent_id = #{parentId,jdbcType=BIGINT}, - create_time = #{createTime,jdbcType=TIMESTAMP}, - title = #{title,jdbcType=VARCHAR}, - level = #{level,jdbcType=INTEGER}, - sort = #{sort,jdbcType=INTEGER}, - name = #{name,jdbcType=VARCHAR}, - icon = #{icon,jdbcType=VARCHAR}, - hidden = #{hidden,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsPermissionMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsPermissionMapper.xml deleted file mode 100644 index f45990679..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsPermissionMapper.xml +++ /dev/null @@ -1,288 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - pid = #{row.pid,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - value = #{row.value,jdbcType=VARCHAR}, - - - icon = #{row.icon,jdbcType=VARCHAR}, - - - type = #{row.type,jdbcType=INTEGER}, - - - uri = #{row.uri,jdbcType=VARCHAR}, - - - status = #{row.status,jdbcType=INTEGER}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - - - - - - update ums_permission - set id = #{row.id,jdbcType=BIGINT}, - pid = #{row.pid,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - value = #{row.value,jdbcType=VARCHAR}, - icon = #{row.icon,jdbcType=VARCHAR}, - type = #{row.type,jdbcType=INTEGER}, - uri = #{row.uri,jdbcType=VARCHAR}, - status = #{row.status,jdbcType=INTEGER}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - sort = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceCategoryMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceCategoryMapper.xml deleted file mode 100644 index 35fa23b6c..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceCategoryMapper.xml +++ /dev/null @@ -1,196 +0,0 @@ - - - - - - - - - - - - - - - - - - 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, create_time, name, sort - - - - - delete from ums_resource_category - where id = #{id,jdbcType=BIGINT} - - - delete from ums_resource_category - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_resource_category (create_time, name, sort - ) - values (#{createTime,jdbcType=TIMESTAMP}, #{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER} - ) - - - - SELECT LAST_INSERT_ID() - - insert into ums_resource_category - - - create_time, - - - name, - - - sort, - - - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{name,jdbcType=VARCHAR}, - - - #{sort,jdbcType=INTEGER}, - - - - - - update ums_resource_category - - - id = #{row.id,jdbcType=BIGINT}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - - - - - - update ums_resource_category - set id = #{row.id,jdbcType=BIGINT}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - name = #{row.name,jdbcType=VARCHAR}, - sort = #{row.sort,jdbcType=INTEGER} - - - - - - update ums_resource_category - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - name = #{name,jdbcType=VARCHAR}, - - - sort = #{sort,jdbcType=INTEGER}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_resource_category - set create_time = #{createTime,jdbcType=TIMESTAMP}, - name = #{name,jdbcType=VARCHAR}, - sort = #{sort,jdbcType=INTEGER} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceMapper.xml deleted file mode 100644 index ef8fee689..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceMapper.xml +++ /dev/null @@ -1,226 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 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, create_time, name, url, description, category_id - - - - - delete from ums_resource - where id = #{id,jdbcType=BIGINT} - - - delete from ums_resource - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_resource (create_time, name, url, - description, category_id) - values (#{createTime,jdbcType=TIMESTAMP}, #{name,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, - #{description,jdbcType=VARCHAR}, #{categoryId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_resource - - - create_time, - - - name, - - - url, - - - description, - - - category_id, - - - - - #{createTime,jdbcType=TIMESTAMP}, - - - #{name,jdbcType=VARCHAR}, - - - #{url,jdbcType=VARCHAR}, - - - #{description,jdbcType=VARCHAR}, - - - #{categoryId,jdbcType=BIGINT}, - - - - - - update ums_resource - - - id = #{row.id,jdbcType=BIGINT}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - url = #{row.url,jdbcType=VARCHAR}, - - - description = #{row.description,jdbcType=VARCHAR}, - - - category_id = #{row.categoryId,jdbcType=BIGINT}, - - - - - - - - update ums_resource - set id = #{row.id,jdbcType=BIGINT}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - name = #{row.name,jdbcType=VARCHAR}, - url = #{row.url,jdbcType=VARCHAR}, - description = #{row.description,jdbcType=VARCHAR}, - category_id = #{row.categoryId,jdbcType=BIGINT} - - - - - - update ums_resource - - - create_time = #{createTime,jdbcType=TIMESTAMP}, - - - name = #{name,jdbcType=VARCHAR}, - - - url = #{url,jdbcType=VARCHAR}, - - - description = #{description,jdbcType=VARCHAR}, - - - category_id = #{categoryId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_resource - set create_time = #{createTime,jdbcType=TIMESTAMP}, - name = #{name,jdbcType=VARCHAR}, - url = #{url,jdbcType=VARCHAR}, - description = #{description,jdbcType=VARCHAR}, - category_id = #{categoryId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMapper.xml deleted file mode 100644 index 62a0714cd..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMapper.xml +++ /dev/null @@ -1,243 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - name = #{row.name,jdbcType=VARCHAR}, - - - description = #{row.description,jdbcType=VARCHAR}, - - - admin_count = #{row.adminCount,jdbcType=INTEGER}, - - - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - - - status = #{row.status,jdbcType=INTEGER}, - - - sort = #{row.sort,jdbcType=INTEGER}, - - - - - - - - update ums_role - set id = #{row.id,jdbcType=BIGINT}, - name = #{row.name,jdbcType=VARCHAR}, - description = #{row.description,jdbcType=VARCHAR}, - admin_count = #{row.adminCount,jdbcType=INTEGER}, - create_time = #{row.createTime,jdbcType=TIMESTAMP}, - status = #{row.status,jdbcType=INTEGER}, - sort = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMenuRelationMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMenuRelationMapper.xml deleted file mode 100644 index 7b3619a7d..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMenuRelationMapper.xml +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - 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, menu_id - - - - - delete from ums_role_menu_relation - where id = #{id,jdbcType=BIGINT} - - - delete from ums_role_menu_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_role_menu_relation (role_id, menu_id) - values (#{roleId,jdbcType=BIGINT}, #{menuId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_role_menu_relation - - - role_id, - - - menu_id, - - - - - #{roleId,jdbcType=BIGINT}, - - - #{menuId,jdbcType=BIGINT}, - - - - - - update ums_role_menu_relation - - - id = #{row.id,jdbcType=BIGINT}, - - - role_id = #{row.roleId,jdbcType=BIGINT}, - - - menu_id = #{row.menuId,jdbcType=BIGINT}, - - - - - - - - update ums_role_menu_relation - set id = #{row.id,jdbcType=BIGINT}, - role_id = #{row.roleId,jdbcType=BIGINT}, - menu_id = #{row.menuId,jdbcType=BIGINT} - - - - - - update ums_role_menu_relation - - - role_id = #{roleId,jdbcType=BIGINT}, - - - menu_id = #{menuId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_role_menu_relation - set role_id = #{roleId,jdbcType=BIGINT}, - menu_id = #{menuId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRolePermissionRelationMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRolePermissionRelationMapper.xml deleted file mode 100644 index bae671453..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRolePermissionRelationMapper.xml +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - 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 = #{row.id,jdbcType=BIGINT}, - - - role_id = #{row.roleId,jdbcType=BIGINT}, - - - permission_id = #{row.permissionId,jdbcType=BIGINT}, - - - - - - - - update ums_role_permission_relation - set id = #{row.id,jdbcType=BIGINT}, - role_id = #{row.roleId,jdbcType=BIGINT}, - permission_id = #{row.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/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleResourceRelationMapper.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleResourceRelationMapper.xml deleted file mode 100644 index 3f0563783..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleResourceRelationMapper.xml +++ /dev/null @@ -1,179 +0,0 @@ - - - - - - - - - - - - - - - - - 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, resource_id - - - - - delete from ums_role_resource_relation - where id = #{id,jdbcType=BIGINT} - - - delete from ums_role_resource_relation - - - - - - - SELECT LAST_INSERT_ID() - - insert into ums_role_resource_relation (role_id, resource_id) - values (#{roleId,jdbcType=BIGINT}, #{resourceId,jdbcType=BIGINT}) - - - - SELECT LAST_INSERT_ID() - - insert into ums_role_resource_relation - - - role_id, - - - resource_id, - - - - - #{roleId,jdbcType=BIGINT}, - - - #{resourceId,jdbcType=BIGINT}, - - - - - - update ums_role_resource_relation - - - id = #{row.id,jdbcType=BIGINT}, - - - role_id = #{row.roleId,jdbcType=BIGINT}, - - - resource_id = #{row.resourceId,jdbcType=BIGINT}, - - - - - - - - update ums_role_resource_relation - set id = #{row.id,jdbcType=BIGINT}, - role_id = #{row.roleId,jdbcType=BIGINT}, - resource_id = #{row.resourceId,jdbcType=BIGINT} - - - - - - update ums_role_resource_relation - - - role_id = #{roleId,jdbcType=BIGINT}, - - - resource_id = #{resourceId,jdbcType=BIGINT}, - - - where id = #{id,jdbcType=BIGINT} - - - update ums_role_resource_relation - set role_id = #{roleId,jdbcType=BIGINT}, - resource_id = #{resourceId,jdbcType=BIGINT} - where id = #{id,jdbcType=BIGINT} - - \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/generator.properties b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/generator.properties deleted file mode 100644 index 173547bb7..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/generator.properties +++ /dev/null @@ -1,4 +0,0 @@ -jdbc.driverClass=com.mysql.cj.jdbc.Driver -jdbc.connectionURL=jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai -jdbc.userId=root -jdbc.password=root \ No newline at end of file diff --git a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/generatorConfig.xml b/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/generatorConfig.xml deleted file mode 100644 index b5ec296ce..000000000 --- a/ruoyi-saas-app/ruoyi-mall/ruoyi-mall-mbg/src/main/resources/generatorConfig.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
\ No newline at end of file diff --git a/ruoyi-site/pom.xml b/ruoyi-site/pom.xml index d9878264d..e84b50e52 100644 --- a/ruoyi-site/pom.xml +++ b/ruoyi-site/pom.xml @@ -11,6 +11,7 @@ ruoyi-sso-server + ruoyi-h5 ruoyi-site diff --git a/ruoyi-site/ruoyi-h5/Dockerfile b/ruoyi-site/ruoyi-h5/Dockerfile new file mode 100644 index 000000000..2f3ca5818 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/Dockerfile @@ -0,0 +1,25 @@ +# 贝尔实验室 Spring 官方推荐镜像 JDK下载地址 https://bell-sw.com/pages/downloads/ +FROM bellsoft/liberica-openjdk-debian:17.0.11-cds +#FROM bellsoft/liberica-openjdk-debian:21.0.3-cds +#FROM findepi/graalvm:java17-native + +LABEL maintainer="Lion Li" + +RUN mkdir -p /ruoyi/resource/logs \ + /ruoyi/resource/temp \ + /ruoyi/skywalking/agent + +WORKDIR /ruoyi/resource + +ENV SERVER_PORT=9204 LANG=C.UTF-8 LC_ALL=C.UTF-8 JAVA_OPTS="" + +EXPOSE ${SERVER_PORT} + +ADD ./target/ruoyi-resource.jar ./app.jar + +ENTRYPOINT java -Djava.security.egd=file:/dev/./urandom -Dserver.port=${SERVER_PORT} \ + #-Dskywalking.agent.service_name=ruoyi-resource \ + #-javaagent:/ruoyi/skywalking/agent/skywalking-agent.jar \ + -XX:+HeapDumpOnOutOfMemoryError -XX:+UseZGC ${JAVA_OPTS} \ + -jar app.jar + diff --git a/ruoyi-site/ruoyi-h5/pom.xml b/ruoyi-site/ruoyi-h5/pom.xml new file mode 100644 index 000000000..101a8d7e9 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/pom.xml @@ -0,0 +1,106 @@ + + + + org.dromara + ruoyi-site + ${revision} + + 4.0.0 + + ruoyi-h5 + + + ruoyi-h5 h5 + + + + + + org.dromara + ruoyi-common-core + + + + + org.dromara + ruoyi-common-tenant + + + + + org.dromara + ruoyi-common-mybatis + + + + org.dromara + ruoyi-common-doc + + + + + org.dromara + ruoyi-api-system + + + + org.dromara + ruoyi-common-log + + + + + com.mysql + mysql-connector-j + + + + org.dromara + ruoyi-common-encrypt + + + + + + + + + + org.springframework.boot + spring-boot-starter-web + + + + + org.apache.dubbo + dubbo-spring-boot-starter + + + + org.apache.dubbo + dubbo-nacos-spring-boot-starter + + + + + + ${project.artifactId} + + + org.springframework.boot + spring-boot-maven-plugin + ${spring-boot.version} + + + + repackage + + + + + + + + diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/MallH5Application.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/MallH5Application.java new file mode 100644 index 000000000..9a424b279 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/MallH5Application.java @@ -0,0 +1,20 @@ +package com.luban.api; + +import org.apache.dubbo.config.spring.context.annotation.EnableDubbo; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * 鲁班H5 api启动类 + * + * @author WeiHongBin + */ +@EnableDubbo +@SpringBootApplication +public class MallH5Application { + + public static void main(String[] args) { + SpringApplication.run(MallH5Application.class, args); + } + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/JsonConfig.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/JsonConfig.java new file mode 100644 index 000000000..7d0e0aecb --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/JsonConfig.java @@ -0,0 +1,32 @@ +package com.luban.api.config; + +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; +import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer; +import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer; +import com.fasterxml.jackson.datatype.jsr310.ser.LocalTimeSerializer; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.time.LocalTime; +import java.time.format.DateTimeFormatter; + +/** + * JSON 配置,修改默认 时间序列化格式 + * + * @author WeiHongBin + */ +@Configuration +public class JsonConfig { + @Bean + public ObjectMapper mapperObject() { + JavaTimeModule module = new JavaTimeModule(); + module.addSerializer(LocalDateTime.class, new LocalDateTimeSerializer(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"))); + module.addSerializer(LocalDate.class, new LocalDateSerializer(DateTimeFormatter.ofPattern("yyyy-MM-dd"))); + module.addSerializer(LocalTime.class, new LocalTimeSerializer(DateTimeFormatter.ofPattern("HH:mm:ss"))); + return new ObjectMapper().registerModule(module); + } + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/MybatisPlusAutoConfigTenant.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/MybatisPlusAutoConfigTenant.java new file mode 100644 index 000000000..3fa3b9f92 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/MybatisPlusAutoConfigTenant.java @@ -0,0 +1,15 @@ +package com.luban.api.config; + +import com.baomidou.mybatisplus.extension.plugins.inner.TenantLineInnerInterceptor; +import org.dromara.common.tenant.properties.TenantProperties; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +@Configuration +public class MybatisPlusAutoConfigTenant { + + @Bean + public TenantLineInnerInterceptor tenantLineInnerInterceptor(TenantProperties tenantProperties) { + return new TenantLineInnerInterceptor(new PlusTenantLineHandler(tenantProperties)); + } +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/PlusTenantLineHandler.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/PlusTenantLineHandler.java new file mode 100644 index 000000000..f661c163e --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/PlusTenantLineHandler.java @@ -0,0 +1,56 @@ +package com.luban.api.config; + +import cn.hutool.core.collection.ListUtil; +import com.baomidou.mybatisplus.extension.plugins.handler.TenantLineHandler; +import lombok.AllArgsConstructor; +import lombok.extern.slf4j.Slf4j; +import net.sf.jsqlparser.expression.Expression; +import net.sf.jsqlparser.expression.NullValue; +import net.sf.jsqlparser.expression.StringValue; +import org.dromara.common.core.utils.StringUtils; +import org.dromara.common.tenant.helper.TenantHelper; +import org.dromara.common.tenant.properties.TenantProperties; + +import java.util.List; + +/** + * 自定义租户处理器 + * + * @author Lion Li + */ +@Slf4j +@AllArgsConstructor +public class PlusTenantLineHandler implements TenantLineHandler { + + private final TenantProperties tenantProperties; + + @Override + public Expression getTenantId() { + String tenantId = TenantHelper.getTenantId(); + if (StringUtils.isBlank(tenantId)) { + log.error("无法获取有效的租户id -> Null"); + return new NullValue(); + } + // 返回固定租户 + return new StringValue(tenantId); + } + + @Override + public boolean ignoreTable(String tableName) { + String tenantId = TenantHelper.getTenantId(); + // 判断是否有租户 + if (StringUtils.isNotBlank(tenantId)) { + // 不需要过滤租户的表 + List excludes = tenantProperties.getExcludes(); + // 非业务表 + List tables = ListUtil.toList( + "gen_table", + "gen_table_column" + ); + tables.addAll(excludes); + return tables.contains(tableName); + } + return true; + } + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/WebMvcConfig.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/WebMvcConfig.java new file mode 100644 index 000000000..e6dcc72d2 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/config/WebMvcConfig.java @@ -0,0 +1,22 @@ +package com.luban.api.config; + +import org.springframework.context.annotation.Configuration; +import org.springframework.web.servlet.config.annotation.EnableWebMvc; +import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; + +@Configuration +@EnableWebMvc +public class WebMvcConfig implements WebMvcConfigurer { + @Override + public void addResourceHandlers(ResourceHandlerRegistry registry) { + //兼容swagger老版本v1,v2 + registry.addResourceHandler("/statics/**").addResourceLocations("classpath:/statics/"); + registry.addResourceHandler("/static/**").addResourceLocations("classpath:/static/"); + registry.addResourceHandler("swagger-ui.html").addResourceLocations("classpath:/META-INF/resources/"); + registry.addResourceHandler("/webjars/**").addResourceLocations("classpath:/META-INF/resources/webjars/"); + registry.addResourceHandler("/swagger-ui/**").addResourceLocations("classpath:/META-INF/resources/webjars/springfox-swagger-ui/"); + registry.addResourceHandler("doc.html").addResourceLocations("classpath:/META-INF/resources/"); + registry.addResourceHandler("/**").addResourceLocations("classpath:/META-INF/resources/").setCachePeriod(0); + } +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/constant/PackageConstant.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/constant/PackageConstant.java new file mode 100644 index 000000000..47f9055c0 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/constant/PackageConstant.java @@ -0,0 +1,18 @@ +package com.luban.api.constant; + +/** + * 包名常量 + * + * @author WeiHongBin + */ +public final class PackageConstant { + + + public static final String BASE_PACKAGE = "com.luban.api"; + + public static final String CONTROLLER_PACKAGE = BASE_PACKAGE + ".controller"; + + public static final String DAO_PACKAGE = BASE_PACKAGE + ".dao"; + + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/ScriptsController.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/ScriptsController.java new file mode 100644 index 000000000..b0688d084 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/ScriptsController.java @@ -0,0 +1,50 @@ +package com.luban.api.controller; + + +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.luban.api.entity.Scripts; +import com.luban.api.convert.ScriptsConvert; +import com.luban.api.service.ScriptsService; +import com.luban.api.vo.ScriptsVO; +import io.swagger.v3.oas.annotations.Operation; +import org.springframework.web.bind.annotation.*; + +import java.util.List; +import java.util.stream.Collectors; + +/** + *

+ * 作品 前端控制器 + *

+ * + * @author lizhengwei + * @since 2024-06-21 + */ +@RestController +@RequestMapping("/scripts") +public class ScriptsController { + + + private final ScriptsService scriptsService; + + public ScriptsController(ScriptsService scriptsService) { + this.scriptsService = scriptsService; + } + + + @Operation(summary = "根据scriptsId查询") + @GetMapping("/{id}") + public ScriptsVO findScriptsById(@PathVariable Long id) { + return ScriptsConvert.toVO(scriptsService.getById(id)); + } + + @Operation(summary = "查询所有scripts") + @GetMapping + public List listAllScriptss(@RequestParam Integer _limit) { + QueryWrapper wrapper = new QueryWrapper<>(); + wrapper.last("limit " + _limit); + return scriptsService.list(wrapper).stream().map(ScriptsConvert::toVO).collect(Collectors.toList()); + } + +} + diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/UploadController.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/UploadController.java new file mode 100644 index 000000000..65db005fb --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/UploadController.java @@ -0,0 +1,51 @@ +package com.luban.api.controller; + +import cn.hutool.core.util.IdUtil; +import com.luban.api.exception.UnifiedException; +import com.luban.api.vo.FileVO; +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; +import lombok.extern.slf4j.Slf4j; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.PostMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; +import org.springframework.web.multipart.MultipartFile; + +import java.io.File; +import java.io.IOException; +import java.util.ArrayList; +import java.util.List; + +/** + * @author WeiHongBin + */ +@RestController +@RequestMapping("/upload") +@Tag(name = "上传文件") +@Slf4j +public class UploadController { + +// @Value("${upload-path}") todo 改成公共文件上传下载 + + public String uploadPath = "data"; + + @Operation(summary = "文件上传") + @PostMapping + public List upload(@Validated MultipartFile files) { + String originalFilename = files.getOriginalFilename(); + assert originalFilename != null; + String suffix = originalFilename.substring(originalFilename.lastIndexOf(".") + 1); + String key = IdUtil.fastSimpleUUID() + "." + suffix; + try { + files.transferTo(new File(uploadPath + key)); + } catch (IOException e) { + throw new UnifiedException("文件上传失败"); + } + return new ArrayList() {{ + add(new FileVO() {{ + setUrl(key); + }}); + }}; + } +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/WorkController.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/WorkController.java new file mode 100644 index 000000000..d23546051 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/WorkController.java @@ -0,0 +1,175 @@ +package com.luban.api.controller; + + +import cn.hutool.json.JSONUtil; +import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; +import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.luban.api.convert.WorkConvert; +import com.luban.api.dto.WorkCreateDTO; +import com.luban.api.dto.WorkQueryDTO; +import com.luban.api.dto.WorkUpdateDTO; +import com.luban.api.entity.Work; +import com.luban.api.service.WorkService; +import com.luban.api.vo.WorkVO; +import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; +import jakarta.validation.Valid; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.BeanUtils; +import org.springframework.util.CollectionUtils; +import org.springframework.util.StringUtils; +import org.springframework.web.bind.annotation.*; +import org.springframework.web.servlet.ModelAndView; + +import java.time.LocalDateTime; +import java.util.List; +import java.util.stream.Collectors; + +/** + *

+ * 前端控制器 + *

+ *

+ * 由于业务都非常简单,并没有把业务代码下沉到 service 层 + * + * @author WeiHongBin + */ +@RestController +@RequestMapping("/works") +@Tag(name = "作品管理", description = "作品管理") +@Slf4j +public class WorkController { + + + private final WorkService workService; + + public WorkController(WorkService workService) { + this.workService = workService; + } + + + @Operation(summary = "根据workId查询") + @GetMapping("/has-forms") + public List hasForms() { + return WorkConvert.toVO(workService.list()); + } + + @Operation(summary = "根据workId查询") + @GetMapping("/{id}") + public WorkVO findWorkById(@PathVariable Long id) { + return WorkConvert.toVO(workService.getById(id)); + } + + @Operation(summary = "查询所有work") + @GetMapping + public List listAllWorks(@Valid WorkQueryDTO dto) { + WorkVO vo = new WorkVO(); + vo.setTemplate(Boolean.parseBoolean(dto.getIs_template())); + BeanUtils.copyProperties(dto, vo); + return workService.list(new QueryWrapper<>(WorkConvert.toEntity(vo))).stream().map(WorkConvert::toVO).collect(Collectors.toList()); + } + + + @Operation(summary = "分页查询works") + @GetMapping("/pageable") + public IPage listWorks(@Valid WorkQueryDTO dto) { + WorkVO vo = new WorkVO(); + vo.setTemplate(Boolean.parseBoolean(dto.getIs_template())); + BeanUtils.copyProperties(dto, vo); + IPage page = workService.page(new Page<>(dto.getCurrent(), dto.getSize()), new LambdaQueryWrapper<>(WorkConvert.toEntity(vo)).orderByDesc(Work::getCreateTime)); + List voList = page.getRecords().stream().map(WorkConvert::toVO).collect(Collectors.toList()); + return new Page(page.getCurrent(), page.getSize(), page.getTotal()).setPages(page.getPages()).setRecords(voList); + } + + @Operation(summary = "创建work") + @PostMapping + public WorkVO createWork(@RequestBody @Valid WorkCreateDTO dto) { + WorkVO vo = new WorkVO(); + BeanUtils.copyProperties(dto, vo); + Work work = WorkConvert.toEntity(vo); + workService.save(work); + return WorkConvert.toVO(work); + } + + @Operation(summary = "更新work") + @PutMapping("/{id}") + public WorkVO updateWork(@PathVariable Long id, @RequestBody @Valid WorkUpdateDTO dto) { + Work work = workService.getById(id); + if (!StringUtils.isEmpty(dto.getTitle())) { + work.setTitle(dto.getTitle()); + } + if (!StringUtils.isEmpty(dto.getDescription())) { + work.setDescription(dto.getDescription()); + } + if (!StringUtils.isEmpty(dto.getCoverImageUrl())) { + work.setCoverImageUrl(dto.getCoverImageUrl()); + } + if (!CollectionUtils.isEmpty(dto.getPages())) { + work.setPages(JSONUtil.toJsonStr(dto.getPages())); + } + work.setIsTemplate(dto.isTemplate()); + work.setIsPublish(dto.isPublish()); + work.setWidth(dto.getWidth()); + work.setHeight(dto.getWidth()); + work.setPageMode(dto.getWidth()); + + work.setUpdateTime(LocalDateTime.now()); + workService.saveOrUpdate(work); + return WorkConvert.toVO(work); + } + + + @Operation(summary = "删除work") + @DeleteMapping("/{id}") + public void deleteWorkById(@PathVariable Long id) { + workService.removeById(id); + } + + @Operation(summary = "设为模板") + @PostMapping("/set-as-template/{id}") + public WorkVO markWorkAsTemplate(@PathVariable Long id) { + Work work = workService.getById(id); + work.setIsTemplate(true); + work.setUpdateTime(LocalDateTime.now()); + workService.updateById(work); + return WorkConvert.toVO(work); + } + + @Operation(summary = "统计作品总数") + @GetMapping("/count") + public long countWork() { + return workService.count(); + } + + @Operation(summary = "使用模板") + @PostMapping("/use-template/{id}") + public WorkVO useTemplate(@PathVariable Long id) { + Work work = workService.getById(id); + work.setId(null); + work.setIsTemplate(false); + work.setIsPublish(false); + workService.save(work); + return WorkConvert.toVO(work); + } + + @Operation(summary = "使用模板") + @GetMapping("/preview/{id}") + public ModelAndView useTemplate(@PathVariable Long id, @RequestParam(value = "view_mode", required = false) String viewMode) { + Work work = workService.getById(id); + + // 非预览模式, 查看不到内容 + boolean canRender = "preview".equals(viewMode) || work.getIsPublish(); + + if (!canRender) { + work.setPages("[]"); + } + ModelAndView mv = new ModelAndView("engine"); + //TODO 后端处理前端,这种方式不是很好,最后改成纯前端处理 + mv.addObject("workString", JSONUtil.toJsonStr(WorkConvert.toVO(work))); + mv.addObject("work", work); + return mv; + } +} + diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/WorkFormsController.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/WorkFormsController.java new file mode 100644 index 000000000..4be91bc65 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/controller/WorkFormsController.java @@ -0,0 +1,20 @@ +package com.luban.api.controller; + + +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + +/** + *

+ * 前端控制器 + *

+ * + * @author WeiHongBin + * @since 2019-11-26 + */ +@RestController +@RequestMapping("/work-forms") +public class WorkFormsController { + +} + diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/convert/ScriptsConvert.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/convert/ScriptsConvert.java new file mode 100644 index 000000000..6e31e01e1 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/convert/ScriptsConvert.java @@ -0,0 +1,21 @@ +package com.luban.api.convert; + +import com.luban.api.entity.Scripts; +import com.luban.api.vo.ScriptsVO; +import org.springframework.beans.BeanUtils; + +/** + * Scripts 转换器 + * + * @author WeiHongBin + */ +public class ScriptsConvert { + + + public static ScriptsVO toVO(Scripts entity) { + ScriptsVO vo = new ScriptsVO(); + BeanUtils.copyProperties(entity, vo); + return vo; + } + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/convert/WorkConvert.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/convert/WorkConvert.java new file mode 100644 index 000000000..0e39b8e6a --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/convert/WorkConvert.java @@ -0,0 +1,49 @@ +package com.luban.api.convert; + +import cn.hutool.json.JSONUtil; +import com.luban.api.entity.Work; +import com.luban.api.vo.WorkVO; +import org.springframework.beans.BeanUtils; +import org.springframework.util.CollectionUtils; +import org.springframework.util.StringUtils; + +import java.util.ArrayList; +import java.util.List; + +/** + * Work 转换器 + * + * @author WeiHongBin + */ +public class WorkConvert { + + + public static WorkVO toVO(Work entity) { + WorkVO vo = new WorkVO(); + BeanUtils.copyProperties(entity, vo); + if (!StringUtils.isEmpty(entity.getPages())) { + vo.setPages(JSONUtil.parseArray(entity.getPages())); + } + return vo; + } + + + public static List toVO(List entitys) { + List workVOS = new ArrayList<>(); + for (Work entity : entitys) { + workVOS.add(toVO(entity)); + } + return workVOS; + } + + public static Work toEntity(WorkVO vo) { + Work work = new Work(); + BeanUtils.copyProperties(vo, work); + if (!CollectionUtils.isEmpty(vo.getPages())) { + work.setPages(JSONUtil.toJsonStr(vo.getPages())); + } + return work; + } + + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dao/ScriptsDao.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dao/ScriptsDao.java new file mode 100644 index 000000000..b9bc16b95 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dao/ScriptsDao.java @@ -0,0 +1,16 @@ +package com.luban.api.dao; + +import com.luban.api.entity.Scripts; +import com.baomidou.mybatisplus.core.mapper.BaseMapper; + +/** + *

+ * 作品 Mapper 接口 + *

+ * + * @author lizhengwei + * @since 2024-06-21 + */ +public interface ScriptsDao extends BaseMapper { + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dao/WorkDao.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dao/WorkDao.java new file mode 100644 index 000000000..2830e7d02 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dao/WorkDao.java @@ -0,0 +1,16 @@ +package com.luban.api.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.luban.api.entity.Work; + +/** + *

+ * Mapper 接口 + *

+ * + * @author WeiHongBin + * @since 2019-11-26 + */ +public interface WorkDao extends BaseMapper { + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dao/WorkFormsDao.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dao/WorkFormsDao.java new file mode 100644 index 000000000..685f5a2f6 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dao/WorkFormsDao.java @@ -0,0 +1,16 @@ +package com.luban.api.dao; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.luban.api.entity.WorkForms; + +/** + *

+ * Mapper 接口 + *

+ * + * @author WeiHongBin + * @since 2019-11-26 + */ +public interface WorkFormsDao extends BaseMapper { + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/PageDtoBase.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/PageDtoBase.java new file mode 100644 index 000000000..43598a9fc --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/PageDtoBase.java @@ -0,0 +1,37 @@ +package com.luban.api.dto; + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; + +/** + * 分页基类 + * + * @author admin + */ +@Data +public class PageDtoBase { + /** + * 每页行数 + */ + @Schema(title = "每页行数") + protected Integer size = 10; + + /** + * 页码 + */ + @Schema(title = "页码") + protected Integer current = 1; + + + public void setSize(Integer size) { + if (size != null) { + this.size = size; + } + } + + public void setCurrent(Integer current) { + if (current != null) { + this.current = current; + } + } +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/ScriptsQueryDTO.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/ScriptsQueryDTO.java new file mode 100644 index 000000000..80ae28ace --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/ScriptsQueryDTO.java @@ -0,0 +1,15 @@ +package com.luban.api.dto; + + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +@Data +@EqualsAndHashCode +@Accessors(chain = true) +@Schema(title = "WorkQueryDTO") +public class ScriptsQueryDTO { + private Integer _limit; +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/WorkCreateDTO.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/WorkCreateDTO.java new file mode 100644 index 000000000..c755dec02 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/WorkCreateDTO.java @@ -0,0 +1,35 @@ +package com.luban.api.dto; + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +import java.time.LocalDateTime; +import java.util.List; + +/** + * @author WeiHongBin + */ +@Data +@EqualsAndHashCode +@Accessors(chain = true) +@Schema(title = "WorkCreateDTO") +public class WorkCreateDTO { + + private String title; + + private String description; + + private String coverImageUrl; + + private List pages; + + private LocalDateTime createTime = LocalDateTime.now(); + + private LocalDateTime updateTime = LocalDateTime.now(); + + private boolean isPublish = false; + + private boolean isTemplate = false; +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/WorkQueryDTO.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/WorkQueryDTO.java new file mode 100644 index 000000000..ce6be983c --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/WorkQueryDTO.java @@ -0,0 +1,35 @@ +package com.luban.api.dto; + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +import java.time.LocalDateTime; +import java.util.List; + +/** + * @author WeiHongBin + */ +@Data +@EqualsAndHashCode +@Accessors(chain = true) +@Schema(title = "WorkQueryDTO") +public class WorkQueryDTO extends PageDtoBase { + + private String title; + + private String description; + + private String coverImageUrl; + + private List pages; + + private LocalDateTime createTime; + + private LocalDateTime updateTime; + + private String is_publish; + + private String is_template; +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/WorkUpdateDTO.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/WorkUpdateDTO.java new file mode 100644 index 000000000..9c743e223 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/dto/WorkUpdateDTO.java @@ -0,0 +1,42 @@ +package com.luban.api.dto; + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +import java.time.LocalDateTime; +import java.util.List; + +/** + * @author WeiHongBin + */ +@Data +@EqualsAndHashCode +@Accessors(chain = true) +@Schema(title = "WorkQueryDTO") +public class WorkUpdateDTO { + + private String title; + + private String description; + + private String coverImageUrl; + + private String width; + + private String height; + + /** + * 页面模式:h5_swipper、h5_long_page、h5_form + */ + private String pageMode; + + private List pages; + + private LocalDateTime updateTime = LocalDateTime.now(); + + private boolean isPublish; + + private boolean isTemplate; +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/entity/Scripts.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/entity/Scripts.java new file mode 100644 index 000000000..10e864999 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/entity/Scripts.java @@ -0,0 +1,43 @@ +package com.luban.api.entity; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +import java.io.Serializable; +import java.time.LocalDateTime; + +/** + *

+ * 作品 + *

+ * + * @author lizhengwei + * @since 2024-06-21 + */ +@Data +@EqualsAndHashCode(callSuper = false) +@Accessors(chain = true) +@Schema(name = "Scripts对象", description = "作品") +public class Scripts implements Serializable { + + private static final long serialVersionUID=1L; + + @TableId(value = "id", type = IdType.AUTO) + private Integer id; + + @Schema(title = "标题") + private String title; + + @Schema(title = "内容") + private String content; + + private LocalDateTime createTime; + + private LocalDateTime updateTime; + + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/entity/Work.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/entity/Work.java new file mode 100644 index 000000000..9b8ce1f5a --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/entity/Work.java @@ -0,0 +1,62 @@ +package com.luban.api.entity; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +import java.io.Serializable; +import java.time.LocalDateTime; + +/** + *

+ * + *

+ * + * @author WeiHongBin + * @since 2019-11-26 + */ +@Data +@EqualsAndHashCode +@Accessors(chain = true) +@Schema(title = "Work对象") +public class Work implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + @Schema(title = "标题") + private String title; + + @Schema(title = "描述") + private String description; + + private String coverImageUrl; + + private String pages; + + private String width; + + private String height; + + /** + * 页面模式:h5_swipper、h5_long_page、h5_form + */ + private String pageMode; + + private Boolean isPublish; + + private Boolean isTemplate; + + @Schema(title = "创建时间") + private LocalDateTime createTime; + + @Schema(title = "更新时间") + private LocalDateTime updateTime; + + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/entity/WorkForms.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/entity/WorkForms.java new file mode 100644 index 000000000..c14c6379e --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/entity/WorkForms.java @@ -0,0 +1,36 @@ +package com.luban.api.entity; + +import com.baomidou.mybatisplus.annotation.IdType; +import com.baomidou.mybatisplus.annotation.TableId; +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +import java.io.Serializable; + +/** + *

+ * + *

+ * + * @author WeiHongBin + * @since 2019-11-26 + */ +@Data +@EqualsAndHashCode +@Accessors(chain = true) +@Schema(title = "WorkForms对象") +public class WorkForms implements Serializable { + + private static final long serialVersionUID = 1L; + + @TableId(value = "id", type = IdType.AUTO) + private Long id; + + private String form; + + private Long workId; + + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/exception/ExceptionHandle.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/exception/ExceptionHandle.java new file mode 100644 index 000000000..540c5922d --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/exception/ExceptionHandle.java @@ -0,0 +1,113 @@ +package com.luban.api.exception; + + +import com.luban.api.util.JSON; +import com.luban.api.vo.Result; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.http.HttpStatus; +import org.springframework.http.ResponseEntity; +import org.springframework.validation.BindException; +import org.springframework.validation.FieldError; +import org.springframework.validation.ObjectError; +import org.springframework.web.bind.MethodArgumentNotValidException; +import org.springframework.web.bind.annotation.ExceptionHandler; +import org.springframework.web.bind.annotation.ResponseStatus; +import org.springframework.web.bind.annotation.RestControllerAdvice; +import org.springframework.web.servlet.NoHandlerFoundException; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * 异常处理 + * + * @author WeiHongBin + */ +@Slf4j +@RestControllerAdvice +public class ExceptionHandle { + + + @Autowired + private JSON json; + + /** + * 统一异常处理器 + * + * @param e UnifiedException + * @return 响应实体 + */ + @ExceptionHandler(value = UnifiedException.class) + public ResponseEntity> unifiedExceptionHandle(UnifiedException e) { + Result result = new Result<>(e.getMessage(), e.getStatus()); + if (e.getStatus() == HttpStatus.INTERNAL_SERVER_ERROR) { + log.error(e.getMessage(), e); + } else { + log.warn(e.getMessage(), e); + } + return new ResponseEntity<>(result, HttpStatus.OK); + } + + + /** + * 处理参数校验异常 + * + * @param e BindException + * @return 响应实体 + */ + @ExceptionHandler(value = MethodArgumentNotValidException.class) + @ResponseStatus(HttpStatus.OK) + public Result methodArgumentNotValidExceptionHandle(MethodArgumentNotValidException e) { + // 获取全部错误对象 + List allErrors = e.getBindingResult().getAllErrors(); + String errorMsg = objectErrorHandle(allErrors); + log.warn("MethodArgumentNotValidException:", e); + return new Result<>().error(HttpStatus.BAD_REQUEST, errorMsg); + } + + private String objectErrorHandle(List allErrors) { + Map map = new HashMap<>(allErrors.size()); + // 把错误对象转成 k,v 存入Map + allErrors.forEach(error -> { + String key = error.getObjectName(); + if (error instanceof FieldError) { + FieldError fieldError = (FieldError) error; + key = fieldError.getField(); + } + map.put(key, error.getDefaultMessage()); + }); + return json.toJSON(map); + } + + /** + * 处理参数校验异常 + * + * @param e BindException + * @return 响应实体 + */ + @ExceptionHandler(value = BindException.class) + @ResponseStatus(HttpStatus.OK) + public Result bindExceptionHandle(BindException e) { + // 获取全部错误对象 + List allErrors = e.getAllErrors(); + String errorMsg = objectErrorHandle(allErrors); + log.warn("BindException:", e); + return new Result<>().error(HttpStatus.BAD_REQUEST, errorMsg); + } + + @ExceptionHandler(value = NoHandlerFoundException.class) + @ResponseStatus(HttpStatus.OK) + public Result noHandlerFoundExceptionHandle(NoHandlerFoundException e) { + log.warn("NoHandlerFoundException 异常:", e); + return new Result<>().error(HttpStatus.NOT_FOUND, e.getMessage()); + } + + @ExceptionHandler(value = Exception.class) + @ResponseStatus(HttpStatus.OK) + public Result exceptionHandle(Exception e) { + log.error("Exception 异常:", e); + return new Result<>().error(HttpStatus.INTERNAL_SERVER_ERROR, "服务繁忙,请稍后再试!"); + } +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/exception/UnifiedException.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/exception/UnifiedException.java new file mode 100644 index 000000000..19f574b4a --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/exception/UnifiedException.java @@ -0,0 +1,91 @@ +package com.luban.api.exception; + +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.databind.ObjectMapper; +import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule; +import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateSerializer; +import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer; +import com.fasterxml.jackson.datatype.jsr310.ser.LocalTimeSerializer; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.extern.slf4j.Slf4j; +import org.springframework.http.HttpStatus; + +import java.time.LocalDate; +import java.time.LocalDateTime; +import java.time.LocalTime; +import java.time.format.DateTimeFormatter; +import java.util.Map; + +/** + * 统一异常 + * + * @author WeiHongBin + */ +@Slf4j +@Data +@EqualsAndHashCode +public class UnifiedException extends RuntimeException { + private HttpStatus status; + private String message; + + + /** + * Unified exception + * 统一异常 + */ + public UnifiedException() { + super("服务器忙,请稍候重试"); + this.status = HttpStatus.INTERNAL_SERVER_ERROR; + this.message = "服务器忙,请稍候重试"; + } + + /** + * 统一异常 + * + * @param status 异常状态码 + * @param message 异常消息 + */ + public UnifiedException(HttpStatus status, String message) { + super(message); + this.status = status; + this.message = message; + } + + /** + * 统一异常 + * + * @param message 异常消息 + */ + public UnifiedException(String message) { + super(message); + this.status = HttpStatus.INTERNAL_SERVER_ERROR; + this.message = message; + } + + public UnifiedException(String message, Throwable e) { + super(message, e); + this.status = HttpStatus.INTERNAL_SERVER_ERROR; + this.message = message; + } + + public UnifiedException unauthorized(String message) { + return new UnifiedException(HttpStatus.UNAUTHORIZED, message); + } + + public UnifiedException verifyError(Map map) { + JavaTimeModule module = new JavaTimeModule(); + module.addSerializer(LocalDateTime.class, new LocalDateTimeSerializer(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss"))); + module.addSerializer(LocalDate.class, new LocalDateSerializer(DateTimeFormatter.ofPattern("yyyy-MM-dd"))); + module.addSerializer(LocalTime.class, new LocalTimeSerializer(DateTimeFormatter.ofPattern("HH:mm:ss"))); + ObjectMapper mapper = new ObjectMapper().registerModule(module); + String asString = ""; + try { + asString = mapper.writeValueAsString(map); + } catch (JsonProcessingException e) { + log.error("JSON 转换异常", e); + } + return new UnifiedException(HttpStatus.BAD_REQUEST, asString); + } +} + diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/log/P6SpyLogger.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/log/P6SpyLogger.java new file mode 100644 index 000000000..620d3a0e7 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/log/P6SpyLogger.java @@ -0,0 +1,21 @@ +package com.luban.api.log; + +import com.baomidou.mybatisplus.core.toolkit.StringUtils; +import com.p6spy.engine.spy.appender.MessageFormattingStrategy; +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Component; + +/** + * P6Spy 日志自定义处理 + * + * @author WeiHongBin + */ +@Slf4j +@Component +public class P6SpyLogger implements MessageFormattingStrategy { + @Override + public String formatMessage(int connectionId, String now, long elapsed, String category, String prepared, String sql, String url) { + return StringUtils.isNotEmpty(sql) ? " Consume Time:" + elapsed + " ms " + now + + "\n Execute SQL:" + sql.replaceAll("[\\s]+", " ") + "\n" : null; + } +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/log/StdoutLogger.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/log/StdoutLogger.java new file mode 100644 index 000000000..437c007ec --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/log/StdoutLogger.java @@ -0,0 +1,20 @@ +package com.luban.api.log; + +import lombok.extern.slf4j.Slf4j; +import org.springframework.stereotype.Component; + +/** + * 修改SQL执行输出到 日志,便于分析 + * + * @author WeiHongBin + */ +@Slf4j +@Component +public class StdoutLogger extends com.p6spy.engine.spy.appender.StdoutLogger { + @Override + public void logText(String text) { + if (log.isDebugEnabled()) { + log.debug(text); + } + } +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/ScriptsService.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/ScriptsService.java new file mode 100644 index 000000000..c7bc9bc73 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/ScriptsService.java @@ -0,0 +1,16 @@ +package com.luban.api.service; + +import com.luban.api.entity.Scripts; +import com.baomidou.mybatisplus.extension.service.IService; + +/** + *

+ * 作品 服务类 + *

+ * + * @author lizhengwei + * @since 2024-06-21 + */ +public interface ScriptsService extends IService { + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/WorkFormsService.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/WorkFormsService.java new file mode 100644 index 000000000..0317bcb29 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/WorkFormsService.java @@ -0,0 +1,16 @@ +package com.luban.api.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.luban.api.entity.WorkForms; + +/** + *

+ * 服务类 + *

+ * + * @author WeiHongBin + * @since 2019-11-26 + */ +public interface WorkFormsService extends IService { + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/WorkService.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/WorkService.java new file mode 100644 index 000000000..e4cf7aa3c --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/WorkService.java @@ -0,0 +1,16 @@ +package com.luban.api.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.luban.api.entity.Work; + +/** + *

+ * 服务类 + *

+ * + * @author WeiHongBin + * @since 2019-11-26 + */ +public interface WorkService extends IService { + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/impl/ScriptsServiceImpl.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/impl/ScriptsServiceImpl.java new file mode 100644 index 000000000..70db2c4b7 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/impl/ScriptsServiceImpl.java @@ -0,0 +1,20 @@ +package com.luban.api.service.impl; + +import com.luban.api.dao.ScriptsDao; +import com.luban.api.entity.Scripts; +import com.luban.api.service.ScriptsService; +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import org.springframework.stereotype.Service; + +/** + *

+ * 作品 服务实现类 + *

+ * + * @author lizhengwei + * @since 2024-06-21 + */ +@Service +public class ScriptsServiceImpl extends ServiceImpl implements ScriptsService { + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/impl/WorkFormsServiceImpl.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/impl/WorkFormsServiceImpl.java new file mode 100644 index 000000000..a64c228b1 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/impl/WorkFormsServiceImpl.java @@ -0,0 +1,20 @@ +package com.luban.api.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.luban.api.dao.WorkFormsDao; +import com.luban.api.entity.WorkForms; +import com.luban.api.service.WorkFormsService; +import org.springframework.stereotype.Service; + +/** + *

+ * 服务实现类 + *

+ * + * @author WeiHongBin + * @since 2019-11-26 + */ +@Service +public class WorkFormsServiceImpl extends ServiceImpl implements WorkFormsService { + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/impl/WorkServiceImpl.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/impl/WorkServiceImpl.java new file mode 100644 index 000000000..b447ff738 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/service/impl/WorkServiceImpl.java @@ -0,0 +1,21 @@ +package com.luban.api.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.luban.api.dao.WorkDao; +import com.luban.api.entity.Work; +import com.luban.api.service.WorkService; +import org.springframework.stereotype.Service; + +/** + *

+ * 服务实现类 + *

+ * + * @author WeiHongBin + * @since 2019-11-26 + */ +@Service +public class WorkServiceImpl extends ServiceImpl implements WorkService { + + +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/util/JSON.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/util/JSON.java new file mode 100644 index 000000000..f756e40e8 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/util/JSON.java @@ -0,0 +1,66 @@ +package com.luban.api.util; + + +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.core.type.TypeReference; +import com.fasterxml.jackson.databind.ObjectMapper; +import lombok.extern.slf4j.Slf4j; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Component; + +import java.io.IOException; +import java.util.List; +import java.util.Map; + +/** + * JSON 转换工具 + * + * @author WeiHongBin + */ +@Slf4j +@Component +public class JSON { + + @Autowired + private ObjectMapper objectMapper; + + public String toJSON(Object jsonObj) { + try { + return objectMapper.writeValueAsString(jsonObj); + } catch (JsonProcessingException e) { + log.error("JSON 转换异常 转换异常的数据类型: " + jsonObj.getClass().getName(), e); + } + return jsonObj.toString(); + } + + + public Map toMap(String json) { + try { + return objectMapper.readValue(json, Map.class); + } catch (IOException e) { + log.error("JSON 转换异常", e); + } + return null; + } + + public List> toListMapStr(String json) { + try { + return objectMapper.readValue(json, new TypeReference>>() { + }); + } catch (IOException e) { + log.error("JSON 转换异常", e); + } + return null; + } + + + public List toListString(String json) { + try { + return objectMapper.readValue(json, new TypeReference>() { + }); + } catch (IOException e) { + log.error("JSON 转换异常", e); + } + return null; + } +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/FileVO.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/FileVO.java new file mode 100644 index 000000000..0921ee88e --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/FileVO.java @@ -0,0 +1,17 @@ +package com.luban.api.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +/** + * @author WeiHongBin + */ +@Data +@EqualsAndHashCode +@Accessors(chain = true) +@Schema(title = "文件视图对象") +public class FileVO { + private String url; +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/Result.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/Result.java new file mode 100644 index 000000000..e3b2e2e5c --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/Result.java @@ -0,0 +1,84 @@ +package com.luban.api.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import org.springframework.http.HttpStatus; +import org.springframework.stereotype.Component; + +/** + * 统一返回 + * + * @author WeiHongBin + */ +@Schema(description = "返回响应数据") +@Component +@Data +public class Result { + @Schema(title = "返回状态码") + private Integer code; + @Schema(title = "返回消息") + private String msg; + @Schema(title = "返回当前状态") + private HttpStatus status; + @Schema(title = "返回对象") + private T data; + + public Result() { + this.msg = "成功"; + setStatus(HttpStatus.OK); + } + + public void setStatus(HttpStatus status) { + this.status = status; + setCode(status.value()); + } + + private void setCode(Integer code) { + this.code = code; + } + + public Result(T data) { + setStatus(HttpStatus.OK); + this.msg = "成功"; + this.data = data; + } + + public Result(String msg, HttpStatus status, T data) { + this.msg = msg; + setStatus(status); + this.data = data; + } + + public Result(String msg, HttpStatus status) { + this.msg = msg; + setStatus(status); + } + + public Result ok(T data) { + setStatus(HttpStatus.OK); + this.msg = "成功"; + this.data = data; + return this; + } + + public Result error(HttpStatus status, String msg) { + setStatus(status); + this.msg = msg; + this.data = null; + return this; + } + + public boolean isOK() { + return this.getStatus() == HttpStatus.OK; + } + + @Override + public String toString() { + return "Result{" + + "code=" + code + + ", msg='" + msg + '\'' + + ", status=" + status + + ", data=" + data + + '}'; + } +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/ScriptsVO.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/ScriptsVO.java new file mode 100644 index 000000000..7c3edc831 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/ScriptsVO.java @@ -0,0 +1,28 @@ +package com.luban.api.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +import java.io.Serializable; +import java.time.LocalDateTime; + +@Data +@EqualsAndHashCode +@Accessors(chain = true) +@Schema(title = "Script视图对象") +public class ScriptsVO implements Serializable { + + private static final long serialVersionUID = 1L; + + private Integer id; + + private String title; + + private String content; + + private LocalDateTime createTime; + + private LocalDateTime updateTime; +} diff --git a/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/WorkVO.java b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/WorkVO.java new file mode 100644 index 000000000..b97ed012c --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/java/com/luban/api/vo/WorkVO.java @@ -0,0 +1,37 @@ +package com.luban.api.vo; + +import io.swagger.v3.oas.annotations.media.Schema; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +import java.time.LocalDateTime; +import java.util.List; + +/** + * @author WeiHongBin + */ +@Data +@EqualsAndHashCode +@Accessors(chain = true) +@Schema(title = "Work视图对象") +public class WorkVO { + + private Long id; + + private String title; + + private String description; + + private String coverImageUrl; + + private List pages; + + private LocalDateTime createTime; + + private LocalDateTime updateTime; + + private boolean isPublish; + + private boolean isTemplate; +} diff --git a/ruoyi-site/ruoyi-h5/src/main/resources/application.yml b/ruoyi-site/ruoyi-h5/src/main/resources/application.yml new file mode 100644 index 000000000..21efabe8b --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/resources/application.yml @@ -0,0 +1,187 @@ +# Tomcat +server: + port: 9204 + +# Spring +spring: + application: + # 应用名称 + name: mall-h5 + profiles: + # 环境配置 + active: dev + +--- # spring 配置 +spring: + # 资源信息 + messages: + # 国际化资源文件路径 + basename: i18n/messages + servlet: + multipart: + max-file-size: 10MB + thymeleaf: + cache: false + prefix: classpath:/templates/ + check-template-location: true + mode: HTML + datasource: + type: com.zaxxer.hikari.HikariDataSource + # 动态数据源文档 https://www.kancloud.cn/tracy5546/dynamic-datasource/content + dynamic: + # 性能分析插件(有性能损耗 不建议生产环境使用) + p6spy: false + # 设置默认的数据源或者数据源组,默认值即为 master + primary: master + # 严格模式 匹配不到数据源则报错 + strict: true + datasource: + # 主库数据源 + master: + type: ${spring.datasource.type} + driverClassName: com.mysql.cj.jdbc.Driver + # jdbc 所有参数配置参考 https://lionli.blog.csdn.net/article/details/122018562 + # rewriteBatchedStatements=true 批处理优化 大幅提升批量插入更新删除性能(对数据库有性能损耗 使用批量操作应考虑性能问题) + url: jdbc:mysql://localhost:3306/mall-h5-core?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true + username: root + password: root + # 从库数据源 + slave: + lazy: true + type: ${spring.datasource.type} + driverClassName: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://localhost:3306/mall-h5-core?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true + username: + password: + hikari: + # 最大连接池数量 + maxPoolSize: 20 + # 最小空闲线程数量 + minIdle: 10 + # 配置获取连接等待超时的时间 + connectionTimeout: 30000 + # 校验超时时间 + validationTimeout: 5000 + # 空闲连接存活最大时间,默认10分钟 + idleTimeout: 600000 + # 此属性控制池中连接的最长生命周期,值0表示无限生命周期,默认30分钟 + maxLifetime: 1800000 + # 多久检查一次连接的活性 + keepaliveTime: 30000 + data: + redis: + # Redis数据库索引(默认为0) + database: 0 + # Redis服务器地址 + host: 127.0.0.1 + # Redis服务器连接端口 + port: 6379 + # Redis服务器连接密码(默认为空) + password: Lzw8800580/ + # 连接超时时间 + timeout: 10s + lettuce: + pool: + # 连接池最大连接数 + max-active: 200 + # 连接池最大阻塞等待时间(使用负值表示没有限制) + max-wait: -1ms + # 连接池中的最大空闲连接 + max-idle: 10 + # 连接池中的最小空闲连接 + min-idle: 0 + + +springdoc: + api-docs: + # 是否开启接口文档 + enabled: true + # swagger-ui: + # # 持久化认证数据 + # persistAuthorization: true + info: + # 标题 + title: '标题:${spring.application.name}多租户管理系统_接口文档' + # 描述 + description: '描述:用于管理集团旗下公司的人员信息,具体包括XXX,XXX模块...' + # 版本 + version: '版本号: 1.0.0' + # 作者信息 + contact: + name: Lion Li + email: crazylionli@163.com + url: https://gitee.com/dromara/RuoYi-Vue-Plus + components: + # 鉴权方式配置 + security-schemes: + apiKey: + type: APIKEY + in: HEADER + name: Authorization + #这里定义了两个分组,可定义多个,也可以不定义 + group-configs: + - group: 1.演示模块 + packages-to-scan: org.dromara.demo + - group: 2.通用模块 + packages-to-scan: org.dromara.web + - group: 3.系统模块 + packages-to-scan: org.dromara.system + - group: 4.代码生成模块 + packages-to-scan: org.dromara.generator + + + + +# 多租户配置 +tenant: + # 是否开启 + enable: true + # 排除表 + excludes: + - sys_menu + - sys_tenant + - sys_tenant_package + - sys_saas_user_role + + + +# MyBatisPlus配置 +# https://baomidou.com/config/ +mybatis-plus: + # 多包名使用 例如 org.dromara.**.mapper,org.xxx.**.mapper + mapperPackage: com.luban.api.dao +# # 实体扫描,多个package用逗号或者分号分隔 +# typeAliasesPackage: com.luban.api.entity + global-config: + dbConfig: + # 主键类型 + # AUTO 自增 NONE 空 INPUT 用户输入 ASSIGN_ID 雪花 ASSIGN_UUID 唯一 UUID + # 如需改为自增 需要将数据库表全部设置为自增 + idType: ASSIGN_ID + +# dubbo +dubbo: + protocol: + name: tri + port: 20880 + application: + qos-enable: false + logger: slf4j + name: ${spring.application.name} + # 注册中心配置 + registry: + address: nacos://127.0.0.1:8848 + group: DUBBO_GROUP + parameters: + namespace: c5c00044-93e6-4e66-8060-3f39aa7ab82b + # 消费者相关配置 + consumer: + # 结果缓存(LRU算法) + # 会有数据不一致问题 建议在注解局部开启 + cache: false + # 支持校验注解 + validation: jvalidationNew + # 调用重试 不包括第一次 0为不需要重试 + retries: 0 + # 初始化检查 + check: false diff --git a/ruoyi-site/ruoyi-h5/src/main/resources/engine-assets/engine.umd.js b/ruoyi-site/ruoyi-h5/src/main/resources/engine-assets/engine.umd.js new file mode 100644 index 000000000..9c7179cd6 --- /dev/null +++ b/ruoyi-site/ruoyi-h5/src/main/resources/engine-assets/engine.umd.js @@ -0,0 +1,205925 @@ +(function webpackUniversalModuleDefinition(root, factory) { + if(typeof exports === 'object' && typeof module === 'object') + module.exports = factory(require("vue")); + else if(typeof define === 'function' && define.amd) + define([], factory); + else if(typeof exports === 'object') + exports["engine"] = factory(require("vue")); + else + root["engine"] = factory(root["Vue"]); +})((typeof self !== 'undefined' ? self : this), function(__WEBPACK_EXTERNAL_MODULE__8bbf__) { +return /******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "fb15"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ 0: +/*!********************************!*\ + !*** ./util.inspect (ignored) ***! + \********************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +/* (ignored) */ + +/***/ }), + +/***/ "0020": +/*!*******************************************************!*\ + !*** ./node_modules/ant-design-vue/es/table/index.js ***! + \*******************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-runtime/helpers/extends */ "41b2"); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ "8e8e"); +/* harmony import */ var babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _Table__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./Table */ "372e"); +/* harmony import */ var vue_ref__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue-ref */ "46cf"); +/* harmony import */ var vue_ref__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(vue_ref__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! vue */ "8bbf"); +/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _util_props_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_util/props-util */ "daa3"); +/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../base */ "db14"); + + + + + + + + +vue__WEBPACK_IMPORTED_MODULE_4___default.a.use(vue_ref__WEBPACK_IMPORTED_MODULE_3___default.a, { name: 'ant-ref' }); + +var Table = { + name: 'ATable', + Column: _Table__WEBPACK_IMPORTED_MODULE_2__["default"].Column, + ColumnGroup: _Table__WEBPACK_IMPORTED_MODULE_2__["default"].ColumnGroup, + props: _Table__WEBPACK_IMPORTED_MODULE_2__["default"].props, + methods: { + normalize: function normalize() { + var _this = this; + + var elements = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + + var columns = []; + elements.forEach(function (element) { + if (!element.tag) { + return; + } + var key = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getKey"])(element); + var style = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getStyle"])(element); + var cls = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getClass"])(element); + var props = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getOptionProps"])(element); + var events = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getEvents"])(element); + var listeners = {}; + Object.keys(events).forEach(function (e) { + /* + Convert events on template Column to function props onPropAbcChange in Table.columns prop. + If you write template code like below: + + You will get these events: + { + 'prop-abc-change': this.f1, + 'update:prop-abc': [this.f2, e => this.dataAbc = e], + 'update:propAbc': e => this.dataAbc = e, + } + All of these events would be treat as column.onPropAbcChange, + but only one of them will be valid, which can not be determined. + */ + var k = void 0; + if (e.startsWith('update:')) { + k = 'on-' + e.substr('update:'.length) + '-change'; + } else { + k = 'on-' + e; + } + listeners[Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["camelize"])(k)] = events[e]; + }); + + var _getSlots = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getSlots"])(element), + children = _getSlots['default'], + restSlots = babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_getSlots, ['default']); + + var column = babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, restSlots, props, { style: style, 'class': cls }, listeners); + if (key) { + column.key = key; + } + if (Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getSlotOptions"])(element).__ANT_TABLE_COLUMN_GROUP) { + column.children = _this.normalize(typeof children === 'function' ? children() : children); + } else { + var customRender = element.data && element.data.scopedSlots && element.data.scopedSlots['default']; + column.customRender = column.customRender || customRender; + } + columns.push(column); + }); + return columns; + }, + updateColumns: function updateColumns() { + var _this2 = this; + + var cols = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : []; + + var columns = []; + var $slots = this.$slots, + $scopedSlots = this.$scopedSlots; + + cols.forEach(function (col) { + var _col$slots = col.slots, + slots = _col$slots === undefined ? {} : _col$slots, + _col$scopedSlots = col.scopedSlots, + scopedSlots = _col$scopedSlots === undefined ? {} : _col$scopedSlots, + restProps = babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(col, ['slots', 'scopedSlots']); + + var column = babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, restProps); + Object.keys(slots).forEach(function (key) { + var name = slots[key]; + if (column[key] === undefined && $slots[name]) { + column[key] = $slots[name].length === 1 ? $slots[name][0] : $slots[name]; + } + }); + Object.keys(scopedSlots).forEach(function (key) { + var name = scopedSlots[key]; + if (column[key] === undefined && $scopedSlots[name]) { + column[key] = $scopedSlots[name]; + } + }); + // if (slotScopeName && $scopedSlots[slotScopeName]) { + // column.customRender = column.customRender || $scopedSlots[slotScopeName] + // } + if (col.children) { + column.children = _this2.updateColumns(column.children); + } + columns.push(column); + }); + return columns; + } + }, + render: function render() { + var h = arguments[0]; + var $slots = this.$slots, + normalize = this.normalize, + $scopedSlots = this.$scopedSlots; + + var props = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getOptionProps"])(this); + var columns = props.columns ? this.updateColumns(props.columns) : normalize($slots['default']); + var title = props.title, + footer = props.footer; + var slotTitle = $scopedSlots.title, + slotFooter = $scopedSlots.footer, + _$scopedSlots$expande = $scopedSlots.expandedRowRender, + expandedRowRender = _$scopedSlots$expande === undefined ? props.expandedRowRender : _$scopedSlots$expande, + expandIcon = $scopedSlots.expandIcon; + + title = title || slotTitle; + footer = footer || slotFooter; + var tProps = { + props: babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, props, { + columns: columns, + title: title, + footer: footer, + expandedRowRender: expandedRowRender, + expandIcon: this.$props.expandIcon || expandIcon + }), + on: Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getListeners"])(this) + }; + return h(_Table__WEBPACK_IMPORTED_MODULE_2__["default"], tProps); + } +}; +/* istanbul ignore next */ +Table.install = function (Vue) { + Vue.use(_base__WEBPACK_IMPORTED_MODULE_6__["default"]); + Vue.component(Table.name, Table); + Vue.component(Table.Column.name, Table.Column); + Vue.component(Table.ColumnGroup.name, Table.ColumnGroup); +}; + +/* harmony default export */ __webpack_exports__["default"] = (Table); + +/***/ }), + +/***/ "0066": +/*!*************************************************************************!*\ + !*** ./node_modules/ant-design-vue/es/vc-tree-select/src/SelectNode.js ***! + \*************************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-runtime/helpers/extends */ "41b2"); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _vc_tree__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../vc-tree */ "7d1c"); +/* harmony import */ var _vc_tree__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_vc_tree__WEBPACK_IMPORTED_MODULE_1__); + + +/** + * SelectNode wrapped the tree node. + * Let's use SelectNode instead of TreeNode + * since TreeNode is so confuse here. + */ +/* harmony default export */ __webpack_exports__["default"] = ({ + name: 'SelectNode', + functional: true, + isTreeNode: true, + props: _vc_tree__WEBPACK_IMPORTED_MODULE_1__["TreeNode"].props, + render: function render(h, context) { + var props = context.props, + slots = context.slots, + listeners = context.listeners, + data = context.data, + scopedSlots = context.scopedSlots; + + var $slots = slots() || {}; + var children = $slots['default']; + var slotsKey = Object.keys($slots); + var scopedSlotsTemp = {}; // for vue 2.5.x + slotsKey.forEach(function (name) { + scopedSlotsTemp[name] = function () { + return $slots[name]; + }; + }); + var treeNodeProps = babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, data, { + on: babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, listeners, data.nativeOn), + props: props, + scopedSlots: babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, scopedSlotsTemp, scopedSlots) + }); + return h( + _vc_tree__WEBPACK_IMPORTED_MODULE_1__["TreeNode"], + treeNodeProps, + [children] + ); + } +}); + +/***/ }), + +/***/ "00a8": +/*!*****************************************************************!*\ + !*** ./node_modules/ant-design-vue/es/vc-trigger/PopupInner.js ***! + \*****************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-helper-vue-jsx-merge-props */ "92fa"); +/* harmony import */ var babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _util_vue_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_util/vue-types */ "4d91"); +/* harmony import */ var _LazyRenderBox__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./LazyRenderBox */ "e7b9"); +/* harmony import */ var _util_props_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/props-util */ "daa3"); + + + + + +/* harmony default export */ __webpack_exports__["default"] = ({ + props: { + hiddenClassName: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string.def(''), + prefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + visible: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool + }, + render: function render() { + var h = arguments[0]; + var _$props = this.$props, + prefixCls = _$props.prefixCls, + visible = _$props.visible, + hiddenClassName = _$props.hiddenClassName; + + var divProps = { + on: Object(_util_props_util__WEBPACK_IMPORTED_MODULE_3__["getListeners"])(this) + }; + + return h( + 'div', + babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default()([divProps, { 'class': !visible ? hiddenClassName : '' }]), + [h( + _LazyRenderBox__WEBPACK_IMPORTED_MODULE_2__["default"], + { 'class': prefixCls + '-content', attrs: { visible: visible } + }, + [this.$slots['default']] + )] + ); + } +}); + +/***/ }), + +/***/ "00ce": +/*!*********************************************!*\ + !*** ./node_modules/get-intrinsic/index.js ***! + \*********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var undefined; + +var $Error = __webpack_require__(/*! es-errors */ "a645"); +var $EvalError = __webpack_require__(/*! es-errors/eval */ "417f"); +var $RangeError = __webpack_require__(/*! es-errors/range */ "dc99"); +var $ReferenceError = __webpack_require__(/*! es-errors/ref */ "1409"); +var $SyntaxError = __webpack_require__(/*! es-errors/syntax */ "67ee"); +var $TypeError = __webpack_require__(/*! es-errors/type */ "0d25"); +var $URIError = __webpack_require__(/*! es-errors/uri */ "67d9"); + +var $Function = Function; + +// eslint-disable-next-line consistent-return +var getEvalledConstructor = function (expressionSyntax) { + try { + return $Function('"use strict"; return (' + expressionSyntax + ').constructor;')(); + } catch (e) {} +}; + +var $gOPD = Object.getOwnPropertyDescriptor; +if ($gOPD) { + try { + $gOPD({}, ''); + } catch (e) { + $gOPD = null; // this is IE 8, which has a broken gOPD + } +} + +var throwTypeError = function () { + throw new $TypeError(); +}; +var ThrowTypeError = $gOPD + ? (function () { + try { + // eslint-disable-next-line no-unused-expressions, no-caller, no-restricted-properties + arguments.callee; // IE 8 does not throw here + return throwTypeError; + } catch (calleeThrows) { + try { + // IE 8 throws on Object.getOwnPropertyDescriptor(arguments, '') + return $gOPD(arguments, 'callee').get; + } catch (gOPDthrows) { + return throwTypeError; + } + } + }()) + : throwTypeError; + +var hasSymbols = __webpack_require__(/*! has-symbols */ "5156")(); +var hasProto = __webpack_require__(/*! has-proto */ "0a36")(); + +var getProto = Object.getPrototypeOf || ( + hasProto + ? function (x) { return x.__proto__; } // eslint-disable-line no-proto + : null +); + +var needsEval = {}; + +var TypedArray = typeof Uint8Array === 'undefined' || !getProto ? undefined : getProto(Uint8Array); + +var INTRINSICS = { + __proto__: null, + '%AggregateError%': typeof AggregateError === 'undefined' ? undefined : AggregateError, + '%Array%': Array, + '%ArrayBuffer%': typeof ArrayBuffer === 'undefined' ? undefined : ArrayBuffer, + '%ArrayIteratorPrototype%': hasSymbols && getProto ? getProto([][Symbol.iterator]()) : undefined, + '%AsyncFromSyncIteratorPrototype%': undefined, + '%AsyncFunction%': needsEval, + '%AsyncGenerator%': needsEval, + '%AsyncGeneratorFunction%': needsEval, + '%AsyncIteratorPrototype%': needsEval, + '%Atomics%': typeof Atomics === 'undefined' ? undefined : Atomics, + '%BigInt%': typeof BigInt === 'undefined' ? undefined : BigInt, + '%BigInt64Array%': typeof BigInt64Array === 'undefined' ? undefined : BigInt64Array, + '%BigUint64Array%': typeof BigUint64Array === 'undefined' ? undefined : BigUint64Array, + '%Boolean%': Boolean, + '%DataView%': typeof DataView === 'undefined' ? undefined : DataView, + '%Date%': Date, + '%decodeURI%': decodeURI, + '%decodeURIComponent%': decodeURIComponent, + '%encodeURI%': encodeURI, + '%encodeURIComponent%': encodeURIComponent, + '%Error%': $Error, + '%eval%': eval, // eslint-disable-line no-eval + '%EvalError%': $EvalError, + '%Float32Array%': typeof Float32Array === 'undefined' ? undefined : Float32Array, + '%Float64Array%': typeof Float64Array === 'undefined' ? undefined : Float64Array, + '%FinalizationRegistry%': typeof FinalizationRegistry === 'undefined' ? undefined : FinalizationRegistry, + '%Function%': $Function, + '%GeneratorFunction%': needsEval, + '%Int8Array%': typeof Int8Array === 'undefined' ? undefined : Int8Array, + '%Int16Array%': typeof Int16Array === 'undefined' ? undefined : Int16Array, + '%Int32Array%': typeof Int32Array === 'undefined' ? undefined : Int32Array, + '%isFinite%': isFinite, + '%isNaN%': isNaN, + '%IteratorPrototype%': hasSymbols && getProto ? getProto(getProto([][Symbol.iterator]())) : undefined, + '%JSON%': typeof JSON === 'object' ? JSON : undefined, + '%Map%': typeof Map === 'undefined' ? undefined : Map, + '%MapIteratorPrototype%': typeof Map === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Map()[Symbol.iterator]()), + '%Math%': Math, + '%Number%': Number, + '%Object%': Object, + '%parseFloat%': parseFloat, + '%parseInt%': parseInt, + '%Promise%': typeof Promise === 'undefined' ? undefined : Promise, + '%Proxy%': typeof Proxy === 'undefined' ? undefined : Proxy, + '%RangeError%': $RangeError, + '%ReferenceError%': $ReferenceError, + '%Reflect%': typeof Reflect === 'undefined' ? undefined : Reflect, + '%RegExp%': RegExp, + '%Set%': typeof Set === 'undefined' ? undefined : Set, + '%SetIteratorPrototype%': typeof Set === 'undefined' || !hasSymbols || !getProto ? undefined : getProto(new Set()[Symbol.iterator]()), + '%SharedArrayBuffer%': typeof SharedArrayBuffer === 'undefined' ? undefined : SharedArrayBuffer, + '%String%': String, + '%StringIteratorPrototype%': hasSymbols && getProto ? getProto(''[Symbol.iterator]()) : undefined, + '%Symbol%': hasSymbols ? Symbol : undefined, + '%SyntaxError%': $SyntaxError, + '%ThrowTypeError%': ThrowTypeError, + '%TypedArray%': TypedArray, + '%TypeError%': $TypeError, + '%Uint8Array%': typeof Uint8Array === 'undefined' ? undefined : Uint8Array, + '%Uint8ClampedArray%': typeof Uint8ClampedArray === 'undefined' ? undefined : Uint8ClampedArray, + '%Uint16Array%': typeof Uint16Array === 'undefined' ? undefined : Uint16Array, + '%Uint32Array%': typeof Uint32Array === 'undefined' ? undefined : Uint32Array, + '%URIError%': $URIError, + '%WeakMap%': typeof WeakMap === 'undefined' ? undefined : WeakMap, + '%WeakRef%': typeof WeakRef === 'undefined' ? undefined : WeakRef, + '%WeakSet%': typeof WeakSet === 'undefined' ? undefined : WeakSet +}; + +if (getProto) { + try { + null.error; // eslint-disable-line no-unused-expressions + } catch (e) { + // https://github.com/tc39/proposal-shadowrealm/pull/384#issuecomment-1364264229 + var errorProto = getProto(getProto(e)); + INTRINSICS['%Error.prototype%'] = errorProto; + } +} + +var doEval = function doEval(name) { + var value; + if (name === '%AsyncFunction%') { + value = getEvalledConstructor('async function () {}'); + } else if (name === '%GeneratorFunction%') { + value = getEvalledConstructor('function* () {}'); + } else if (name === '%AsyncGeneratorFunction%') { + value = getEvalledConstructor('async function* () {}'); + } else if (name === '%AsyncGenerator%') { + var fn = doEval('%AsyncGeneratorFunction%'); + if (fn) { + value = fn.prototype; + } + } else if (name === '%AsyncIteratorPrototype%') { + var gen = doEval('%AsyncGenerator%'); + if (gen && getProto) { + value = getProto(gen.prototype); + } + } + + INTRINSICS[name] = value; + + return value; +}; + +var LEGACY_ALIASES = { + __proto__: null, + '%ArrayBufferPrototype%': ['ArrayBuffer', 'prototype'], + '%ArrayPrototype%': ['Array', 'prototype'], + '%ArrayProto_entries%': ['Array', 'prototype', 'entries'], + '%ArrayProto_forEach%': ['Array', 'prototype', 'forEach'], + '%ArrayProto_keys%': ['Array', 'prototype', 'keys'], + '%ArrayProto_values%': ['Array', 'prototype', 'values'], + '%AsyncFunctionPrototype%': ['AsyncFunction', 'prototype'], + '%AsyncGenerator%': ['AsyncGeneratorFunction', 'prototype'], + '%AsyncGeneratorPrototype%': ['AsyncGeneratorFunction', 'prototype', 'prototype'], + '%BooleanPrototype%': ['Boolean', 'prototype'], + '%DataViewPrototype%': ['DataView', 'prototype'], + '%DatePrototype%': ['Date', 'prototype'], + '%ErrorPrototype%': ['Error', 'prototype'], + '%EvalErrorPrototype%': ['EvalError', 'prototype'], + '%Float32ArrayPrototype%': ['Float32Array', 'prototype'], + '%Float64ArrayPrototype%': ['Float64Array', 'prototype'], + '%FunctionPrototype%': ['Function', 'prototype'], + '%Generator%': ['GeneratorFunction', 'prototype'], + '%GeneratorPrototype%': ['GeneratorFunction', 'prototype', 'prototype'], + '%Int8ArrayPrototype%': ['Int8Array', 'prototype'], + '%Int16ArrayPrototype%': ['Int16Array', 'prototype'], + '%Int32ArrayPrototype%': ['Int32Array', 'prototype'], + '%JSONParse%': ['JSON', 'parse'], + '%JSONStringify%': ['JSON', 'stringify'], + '%MapPrototype%': ['Map', 'prototype'], + '%NumberPrototype%': ['Number', 'prototype'], + '%ObjectPrototype%': ['Object', 'prototype'], + '%ObjProto_toString%': ['Object', 'prototype', 'toString'], + '%ObjProto_valueOf%': ['Object', 'prototype', 'valueOf'], + '%PromisePrototype%': ['Promise', 'prototype'], + '%PromiseProto_then%': ['Promise', 'prototype', 'then'], + '%Promise_all%': ['Promise', 'all'], + '%Promise_reject%': ['Promise', 'reject'], + '%Promise_resolve%': ['Promise', 'resolve'], + '%RangeErrorPrototype%': ['RangeError', 'prototype'], + '%ReferenceErrorPrototype%': ['ReferenceError', 'prototype'], + '%RegExpPrototype%': ['RegExp', 'prototype'], + '%SetPrototype%': ['Set', 'prototype'], + '%SharedArrayBufferPrototype%': ['SharedArrayBuffer', 'prototype'], + '%StringPrototype%': ['String', 'prototype'], + '%SymbolPrototype%': ['Symbol', 'prototype'], + '%SyntaxErrorPrototype%': ['SyntaxError', 'prototype'], + '%TypedArrayPrototype%': ['TypedArray', 'prototype'], + '%TypeErrorPrototype%': ['TypeError', 'prototype'], + '%Uint8ArrayPrototype%': ['Uint8Array', 'prototype'], + '%Uint8ClampedArrayPrototype%': ['Uint8ClampedArray', 'prototype'], + '%Uint16ArrayPrototype%': ['Uint16Array', 'prototype'], + '%Uint32ArrayPrototype%': ['Uint32Array', 'prototype'], + '%URIErrorPrototype%': ['URIError', 'prototype'], + '%WeakMapPrototype%': ['WeakMap', 'prototype'], + '%WeakSetPrototype%': ['WeakSet', 'prototype'] +}; + +var bind = __webpack_require__(/*! function-bind */ "0f7c"); +var hasOwn = __webpack_require__(/*! hasown */ "9671"); +var $concat = bind.call(Function.call, Array.prototype.concat); +var $spliceApply = bind.call(Function.apply, Array.prototype.splice); +var $replace = bind.call(Function.call, String.prototype.replace); +var $strSlice = bind.call(Function.call, String.prototype.slice); +var $exec = bind.call(Function.call, RegExp.prototype.exec); + +/* adapted from https://github.com/lodash/lodash/blob/4.17.15/dist/lodash.js#L6735-L6744 */ +var rePropName = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g; +var reEscapeChar = /\\(\\)?/g; /** Used to match backslashes in property paths. */ +var stringToPath = function stringToPath(string) { + var first = $strSlice(string, 0, 1); + var last = $strSlice(string, -1); + if (first === '%' && last !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected closing `%`'); + } else if (last === '%' && first !== '%') { + throw new $SyntaxError('invalid intrinsic syntax, expected opening `%`'); + } + var result = []; + $replace(string, rePropName, function (match, number, quote, subString) { + result[result.length] = quote ? $replace(subString, reEscapeChar, '$1') : number || match; + }); + return result; +}; +/* end adaptation */ + +var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) { + var intrinsicName = name; + var alias; + if (hasOwn(LEGACY_ALIASES, intrinsicName)) { + alias = LEGACY_ALIASES[intrinsicName]; + intrinsicName = '%' + alias[0] + '%'; + } + + if (hasOwn(INTRINSICS, intrinsicName)) { + var value = INTRINSICS[intrinsicName]; + if (value === needsEval) { + value = doEval(intrinsicName); + } + if (typeof value === 'undefined' && !allowMissing) { + throw new $TypeError('intrinsic ' + name + ' exists, but is not available. Please file an issue!'); + } + + return { + alias: alias, + name: intrinsicName, + value: value + }; + } + + throw new $SyntaxError('intrinsic ' + name + ' does not exist!'); +}; + +module.exports = function GetIntrinsic(name, allowMissing) { + if (typeof name !== 'string' || name.length === 0) { + throw new $TypeError('intrinsic name must be a non-empty string'); + } + if (arguments.length > 1 && typeof allowMissing !== 'boolean') { + throw new $TypeError('"allowMissing" argument must be a boolean'); + } + + if ($exec(/^%?[^%]*%?$/, name) === null) { + throw new $SyntaxError('`%` may not be present anywhere but at the beginning and end of the intrinsic name'); + } + var parts = stringToPath(name); + var intrinsicBaseName = parts.length > 0 ? parts[0] : ''; + + var intrinsic = getBaseIntrinsic('%' + intrinsicBaseName + '%', allowMissing); + var intrinsicRealName = intrinsic.name; + var value = intrinsic.value; + var skipFurtherCaching = false; + + var alias = intrinsic.alias; + if (alias) { + intrinsicBaseName = alias[0]; + $spliceApply(parts, $concat([0, 1], alias)); + } + + for (var i = 1, isOwn = true; i < parts.length; i += 1) { + var part = parts[i]; + var first = $strSlice(part, 0, 1); + var last = $strSlice(part, -1); + if ( + ( + (first === '"' || first === "'" || first === '`') + || (last === '"' || last === "'" || last === '`') + ) + && first !== last + ) { + throw new $SyntaxError('property names with quotes must have matching quotes'); + } + if (part === 'constructor' || !isOwn) { + skipFurtherCaching = true; + } + + intrinsicBaseName += '.' + part; + intrinsicRealName = '%' + intrinsicBaseName + '%'; + + if (hasOwn(INTRINSICS, intrinsicRealName)) { + value = INTRINSICS[intrinsicRealName]; + } else if (value != null) { + if (!(part in value)) { + if (!allowMissing) { + throw new $TypeError('base intrinsic for ' + name + ' exists, but the property is not available.'); + } + return void undefined; + } + if ($gOPD && (i + 1) >= parts.length) { + var desc = $gOPD(value, part); + isOwn = !!desc; + + // By convention, when a data property is converted to an accessor + // property to emulate a data property that does not suffer from + // the override mistake, that accessor's getter is marked with + // an `originalValue` property. Here, when we detect this, we + // uphold the illusion by pretending to see that original data + // property, i.e., returning the value rather than the getter + // itself. + if (isOwn && 'get' in desc && !('originalValue' in desc.get)) { + value = desc.get; + } else { + value = value[part]; + } + } else { + isOwn = hasOwn(value, part); + value = value[part]; + } + + if (isOwn && !skipFurtherCaching) { + INTRINSICS[intrinsicRealName] = value; + } + } + } + return value; +}; + + +/***/ }), + +/***/ "00fd": +/*!*******************************************!*\ + !*** ./node_modules/lodash/_getRawTag.js ***! + \*******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +var Symbol = __webpack_require__(/*! ./_Symbol */ "9e69"); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * Used to resolve the + * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring) + * of values. + */ +var nativeObjectToString = objectProto.toString; + +/** Built-in value references. */ +var symToStringTag = Symbol ? Symbol.toStringTag : undefined; + +/** + * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values. + * + * @private + * @param {*} value The value to query. + * @returns {string} Returns the raw `toStringTag`. + */ +function getRawTag(value) { + var isOwn = hasOwnProperty.call(value, symToStringTag), + tag = value[symToStringTag]; + + try { + value[symToStringTag] = undefined; + var unmasked = true; + } catch (e) {} + + var result = nativeObjectToString.call(value); + if (unmasked) { + if (isOwn) { + value[symToStringTag] = tag; + } else { + delete value[symToStringTag]; + } + } + return result; +} + +module.exports = getRawTag; + + +/***/ }), + +/***/ "010e": +/*!***********************************************!*\ + !*** ./node_modules/moment/locale/uz-latn.js ***! + \***********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Uzbek Latin [uz-latn] +//! author : Rasulbek Mirzayev : github.com/Rasulbeeek + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "c1df")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var uzLatn = moment.defineLocale('uz-latn', { + months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split( + '_' + ), + monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'), + weekdays: + 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split( + '_' + ), + weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'), + weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'D MMMM YYYY, dddd HH:mm', + }, + calendar: { + sameDay: '[Bugun soat] LT [da]', + nextDay: '[Ertaga] LT [da]', + nextWeek: 'dddd [kuni soat] LT [da]', + lastDay: '[Kecha soat] LT [da]', + lastWeek: "[O'tgan] dddd [kuni soat] LT [da]", + sameElse: 'L', + }, + relativeTime: { + future: 'Yaqin %s ichida', + past: 'Bir necha %s oldin', + s: 'soniya', + ss: '%d soniya', + m: 'bir daqiqa', + mm: '%d daqiqa', + h: 'bir soat', + hh: '%d soat', + d: 'bir kun', + dd: '%d kun', + M: 'bir oy', + MM: '%d oy', + y: 'bir yil', + yy: '%d yil', + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return uzLatn; + +}))); + + +/***/ }), + +/***/ "0113": +/*!*****************************************************************!*\ + !*** ./node_modules/ant-design-vue/es/vc-table/src/TableRow.js ***! + \*****************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ "8e8e"); +/* harmony import */ var babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! babel-runtime/helpers/defineProperty */ "6042"); +/* harmony import */ var babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babel-runtime/helpers/extends */ "41b2"); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! classnames */ "4d26"); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _util_vue_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../_util/vue-types */ "4d91"); +/* harmony import */ var _TableCell__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./TableCell */ "22d5"); +/* harmony import */ var _util_props_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../_util/props-util */ "daa3"); +/* harmony import */ var _util_BaseMixin__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../_util/BaseMixin */ "b488"); +/* harmony import */ var _util_warning__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../_util/warning */ "6a21"); + + + + + + + + + +function noop() {} +var TableRow = { + name: 'TableRow', + mixins: [_util_BaseMixin__WEBPACK_IMPORTED_MODULE_7__["default"]], + inject: { + store: { from: 'table-store', 'default': function _default() { + return {}; + } } + }, + props: Object(_util_props_util__WEBPACK_IMPORTED_MODULE_6__["initDefaultProps"])({ + customRow: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].func, + // onRowClick: PropTypes.func, + // onRowDoubleClick: PropTypes.func, + // onRowContextMenu: PropTypes.func, + // onRowMouseEnter: PropTypes.func, + // onRowMouseLeave: PropTypes.func, + record: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].object, + prefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].string, + // onHover: PropTypes.func, + columns: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].array, + index: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].number, + rowKey: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].number]).isRequired, + className: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].string, + indent: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].number, + indentSize: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].number, + hasExpandIcon: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].func, + fixed: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].bool]), + renderExpandIcon: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].func, + renderExpandIconCell: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].func, + components: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].any, + expandedRow: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].bool, + isAnyColumnsFixed: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].bool, + ancestorKeys: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].array.isRequired, + expandIconColumnIndex: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].number, + expandRowByClick: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].bool + // visible: PropTypes.bool, + // hovered: PropTypes.bool, + // height: PropTypes.any, + }, { + // expandIconColumnIndex: 0, + // expandRowByClick: false, + hasExpandIcon: function hasExpandIcon() {}, + renderExpandIcon: function renderExpandIcon() {}, + renderExpandIconCell: function renderExpandIconCell() {} + }), + + computed: { + visible: function visible() { + var expandedRowKeys = this.store.expandedRowKeys; + var ancestorKeys = this.$props.ancestorKeys; + + return !!(ancestorKeys.length === 0 || ancestorKeys.every(function (k) { + return expandedRowKeys.includes(k); + })); + }, + height: function height() { + var _store = this.store, + expandedRowsHeight = _store.expandedRowsHeight, + fixedColumnsBodyRowsHeight = _store.fixedColumnsBodyRowsHeight; + var _$props = this.$props, + fixed = _$props.fixed, + rowKey = _$props.rowKey; + + + if (!fixed) { + return null; + } + + if (expandedRowsHeight[rowKey]) { + return expandedRowsHeight[rowKey]; + } + + if (fixedColumnsBodyRowsHeight[rowKey]) { + return fixedColumnsBodyRowsHeight[rowKey]; + } + + return null; + }, + hovered: function hovered() { + var currentHoverKey = this.store.currentHoverKey; + var rowKey = this.$props.rowKey; + + return currentHoverKey === rowKey; + } + }, + + data: function data() { + // this.shouldRender = this.visible + return { + shouldRender: this.visible + }; + }, + mounted: function mounted() { + var _this = this; + + if (this.shouldRender) { + this.$nextTick(function () { + _this.saveRowRef(); + }); + } + }, + + watch: { + visible: { + handler: function handler(val) { + if (val) { + this.shouldRender = true; + } + }, + + immediate: true + } + }, + + updated: function updated() { + var _this2 = this; + + if (this.shouldRender && !this.rowRef) { + this.$nextTick(function () { + _this2.saveRowRef(); + }); + } + }, + + methods: { + onRowClick: function onRowClick(event) { + var rowPropFunc = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop; + var record = this.record, + index = this.index; + + this.__emit('rowClick', record, index, event); + rowPropFunc(event); + }, + onRowDoubleClick: function onRowDoubleClick(event) { + var rowPropFunc = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop; + var record = this.record, + index = this.index; + + this.__emit('rowDoubleClick', record, index, event); + rowPropFunc(event); + }, + onContextMenu: function onContextMenu(event) { + var rowPropFunc = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop; + var record = this.record, + index = this.index; + + this.__emit('rowContextmenu', record, index, event); + rowPropFunc(event); + }, + onMouseEnter: function onMouseEnter(event) { + var rowPropFunc = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop; + var record = this.record, + index = this.index, + rowKey = this.rowKey; + + this.__emit('hover', true, rowKey); + this.__emit('rowMouseenter', record, index, event); + rowPropFunc(event); + }, + onMouseLeave: function onMouseLeave(event) { + var rowPropFunc = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : noop; + var record = this.record, + index = this.index, + rowKey = this.rowKey; + + this.__emit('hover', false, rowKey); + this.__emit('rowMouseleave', record, index, event); + rowPropFunc(event); + }, + setExpandedRowHeight: function setExpandedRowHeight() { + var store = this.store, + rowKey = this.rowKey; + var expandedRowsHeight = store.expandedRowsHeight; + + var height = this.rowRef.getBoundingClientRect().height; + expandedRowsHeight = babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({}, expandedRowsHeight, babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, rowKey, height)); + store.expandedRowsHeight = expandedRowsHeight; + }, + setRowHeight: function setRowHeight() { + var store = this.store, + rowKey = this.rowKey; + var fixedColumnsBodyRowsHeight = store.fixedColumnsBodyRowsHeight; + + var height = this.rowRef.getBoundingClientRect().height; + store.fixedColumnsBodyRowsHeight = babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({}, fixedColumnsBodyRowsHeight, babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()({}, rowKey, height)); + }, + getStyle: function getStyle() { + var height = this.height, + visible = this.visible; + + var style = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_6__["getStyle"])(this); + if (height) { + style = babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({}, style, { height: height }); + } + + if (!visible && !style.display) { + style = babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({}, style, { display: 'none' }); + } + + return style; + }, + saveRowRef: function saveRowRef() { + this.rowRef = this.$el; + + var isAnyColumnsFixed = this.isAnyColumnsFixed, + fixed = this.fixed, + expandedRow = this.expandedRow, + ancestorKeys = this.ancestorKeys; + + + if (!isAnyColumnsFixed) { + return; + } + + if (!fixed && expandedRow) { + this.setExpandedRowHeight(); + } + + if (!fixed && ancestorKeys.length >= 0) { + this.setRowHeight(); + } + } + }, + + render: function render() { + var _this3 = this; + + var h = arguments[0]; + + if (!this.shouldRender) { + return null; + } + + var prefixCls = this.prefixCls, + columns = this.columns, + record = this.record, + rowKey = this.rowKey, + index = this.index, + _customRow = this.customRow, + customRow = _customRow === undefined ? noop : _customRow, + indent = this.indent, + indentSize = this.indentSize, + hovered = this.hovered, + height = this.height, + visible = this.visible, + components = this.components, + hasExpandIcon = this.hasExpandIcon, + renderExpandIcon = this.renderExpandIcon, + renderExpandIconCell = this.renderExpandIconCell; + + var BodyRow = components.body.row; + var BodyCell = components.body.cell; + + var className = ''; + + if (hovered) { + className += ' ' + prefixCls + '-hover'; + } + + var cells = []; + + renderExpandIconCell(cells); + + for (var i = 0; i < columns.length; i += 1) { + var column = columns[i]; + + Object(_util_warning__WEBPACK_IMPORTED_MODULE_8__["default"])(column.onCellClick === undefined, 'column[onCellClick] is deprecated, please use column[customCell] instead.'); + + cells.push(h(_TableCell__WEBPACK_IMPORTED_MODULE_5__["default"], { + attrs: { + prefixCls: prefixCls, + record: record, + indentSize: indentSize, + indent: indent, + index: index, + column: column, + + expandIcon: hasExpandIcon(i) && renderExpandIcon(), + component: BodyCell + }, + key: column.key || column.dataIndex })); + } + + var _ref = customRow(record, index) || {}, + customClass = _ref['class'], + customClassName = _ref.className, + customStyle = _ref.style, + rowProps = babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_0___default()(_ref, ['class', 'className', 'style']); + + var style = { height: typeof height === 'number' ? height + 'px' : height }; + + if (!visible) { + style.display = 'none'; + } + + style = babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({}, style, customStyle); + var rowClassName = classnames__WEBPACK_IMPORTED_MODULE_3___default()(prefixCls, className, prefixCls + '-level-' + indent, customClassName, customClass); + var rowPropEvents = rowProps.on || {}; + var bodyRowProps = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_6__["mergeProps"])(babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({}, rowProps, { style: style }), { + on: { + click: function click(e) { + _this3.onRowClick(e, rowPropEvents.click); + }, + dblclick: function dblclick(e) { + _this3.onRowDoubleClick(e, rowPropEvents.dblclick); + }, + mouseenter: function mouseenter(e) { + _this3.onMouseEnter(e, rowPropEvents.mouseenter); + }, + mouseleave: function mouseleave(e) { + _this3.onMouseLeave(e, rowPropEvents.mouseleave); + }, + contextmenu: function contextmenu(e) { + _this3.onContextMenu(e, rowPropEvents.contextmenu); + } + }, + 'class': rowClassName + }, { + attrs: { + 'data-row-key': rowKey + } + }); + return h( + BodyRow, + bodyRowProps, + [cells] + ); + } +}; + +/* harmony default export */ __webpack_exports__["default"] = (TableRow); + +/***/ }), + +/***/ "014b": +/*!************************************************************!*\ + !*** ./node_modules/core-js/library/modules/es6.symbol.js ***! + \************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +// ECMAScript 6 symbols shim +var global = __webpack_require__(/*! ./_global */ "e53d"); +var has = __webpack_require__(/*! ./_has */ "07e3"); +var DESCRIPTORS = __webpack_require__(/*! ./_descriptors */ "8e60"); +var $export = __webpack_require__(/*! ./_export */ "63b6"); +var redefine = __webpack_require__(/*! ./_redefine */ "9138"); +var META = __webpack_require__(/*! ./_meta */ "ebfd").KEY; +var $fails = __webpack_require__(/*! ./_fails */ "294c"); +var shared = __webpack_require__(/*! ./_shared */ "dbdb"); +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "45f2"); +var uid = __webpack_require__(/*! ./_uid */ "62a0"); +var wks = __webpack_require__(/*! ./_wks */ "5168"); +var wksExt = __webpack_require__(/*! ./_wks-ext */ "ccb9"); +var wksDefine = __webpack_require__(/*! ./_wks-define */ "6718"); +var enumKeys = __webpack_require__(/*! ./_enum-keys */ "47ee"); +var isArray = __webpack_require__(/*! ./_is-array */ "9003"); +var anObject = __webpack_require__(/*! ./_an-object */ "e4ae"); +var isObject = __webpack_require__(/*! ./_is-object */ "f772"); +var toObject = __webpack_require__(/*! ./_to-object */ "241eb"); +var toIObject = __webpack_require__(/*! ./_to-iobject */ "36c3"); +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "1bc3"); +var createDesc = __webpack_require__(/*! ./_property-desc */ "aebd"); +var _create = __webpack_require__(/*! ./_object-create */ "a159"); +var gOPNExt = __webpack_require__(/*! ./_object-gopn-ext */ "0395"); +var $GOPD = __webpack_require__(/*! ./_object-gopd */ "bf0b"); +var $GOPS = __webpack_require__(/*! ./_object-gops */ "9aa9"); +var $DP = __webpack_require__(/*! ./_object-dp */ "d9f6"); +var $keys = __webpack_require__(/*! ./_object-keys */ "c3a1"); +var gOPD = $GOPD.f; +var dP = $DP.f; +var gOPN = gOPNExt.f; +var $Symbol = global.Symbol; +var $JSON = global.JSON; +var _stringify = $JSON && $JSON.stringify; +var PROTOTYPE = 'prototype'; +var HIDDEN = wks('_hidden'); +var TO_PRIMITIVE = wks('toPrimitive'); +var isEnum = {}.propertyIsEnumerable; +var SymbolRegistry = shared('symbol-registry'); +var AllSymbols = shared('symbols'); +var OPSymbols = shared('op-symbols'); +var ObjectProto = Object[PROTOTYPE]; +var USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f; +var QObject = global.QObject; +// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173 +var setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild; + +// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687 +var setSymbolDesc = DESCRIPTORS && $fails(function () { + return _create(dP({}, 'a', { + get: function () { return dP(this, 'a', { value: 7 }).a; } + })).a != 7; +}) ? function (it, key, D) { + var protoDesc = gOPD(ObjectProto, key); + if (protoDesc) delete ObjectProto[key]; + dP(it, key, D); + if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc); +} : dP; + +var wrap = function (tag) { + var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]); + sym._k = tag; + return sym; +}; + +var isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) { + return typeof it == 'symbol'; +} : function (it) { + return it instanceof $Symbol; +}; + +var $defineProperty = function defineProperty(it, key, D) { + if (it === ObjectProto) $defineProperty(OPSymbols, key, D); + anObject(it); + key = toPrimitive(key, true); + anObject(D); + if (has(AllSymbols, key)) { + if (!D.enumerable) { + if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {})); + it[HIDDEN][key] = true; + } else { + if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false; + D = _create(D, { enumerable: createDesc(0, false) }); + } return setSymbolDesc(it, key, D); + } return dP(it, key, D); +}; +var $defineProperties = function defineProperties(it, P) { + anObject(it); + var keys = enumKeys(P = toIObject(P)); + var i = 0; + var l = keys.length; + var key; + while (l > i) $defineProperty(it, key = keys[i++], P[key]); + return it; +}; +var $create = function create(it, P) { + return P === undefined ? _create(it) : $defineProperties(_create(it), P); +}; +var $propertyIsEnumerable = function propertyIsEnumerable(key) { + var E = isEnum.call(this, key = toPrimitive(key, true)); + if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false; + return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true; +}; +var $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) { + it = toIObject(it); + key = toPrimitive(key, true); + if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return; + var D = gOPD(it, key); + if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true; + return D; +}; +var $getOwnPropertyNames = function getOwnPropertyNames(it) { + var names = gOPN(toIObject(it)); + var result = []; + var i = 0; + var key; + while (names.length > i) { + if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key); + } return result; +}; +var $getOwnPropertySymbols = function getOwnPropertySymbols(it) { + var IS_OP = it === ObjectProto; + var names = gOPN(IS_OP ? OPSymbols : toIObject(it)); + var result = []; + var i = 0; + var key; + while (names.length > i) { + if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]); + } return result; +}; + +// 19.4.1.1 Symbol([description]) +if (!USE_NATIVE) { + $Symbol = function Symbol() { + if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!'); + var tag = uid(arguments.length > 0 ? arguments[0] : undefined); + var $set = function (value) { + if (this === ObjectProto) $set.call(OPSymbols, value); + if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false; + setSymbolDesc(this, tag, createDesc(1, value)); + }; + if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set }); + return wrap(tag); + }; + redefine($Symbol[PROTOTYPE], 'toString', function toString() { + return this._k; + }); + + $GOPD.f = $getOwnPropertyDescriptor; + $DP.f = $defineProperty; + __webpack_require__(/*! ./_object-gopn */ "6abf").f = gOPNExt.f = $getOwnPropertyNames; + __webpack_require__(/*! ./_object-pie */ "355d").f = $propertyIsEnumerable; + $GOPS.f = $getOwnPropertySymbols; + + if (DESCRIPTORS && !__webpack_require__(/*! ./_library */ "b8e3")) { + redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true); + } + + wksExt.f = function (name) { + return wrap(wks(name)); + }; +} + +$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol }); + +for (var es6Symbols = ( + // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14 + 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables' +).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]); + +for (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]); + +$export($export.S + $export.F * !USE_NATIVE, 'Symbol', { + // 19.4.2.1 Symbol.for(key) + 'for': function (key) { + return has(SymbolRegistry, key += '') + ? SymbolRegistry[key] + : SymbolRegistry[key] = $Symbol(key); + }, + // 19.4.2.5 Symbol.keyFor(sym) + keyFor: function keyFor(sym) { + if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!'); + for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key; + }, + useSetter: function () { setter = true; }, + useSimple: function () { setter = false; } +}); + +$export($export.S + $export.F * !USE_NATIVE, 'Object', { + // 19.1.2.2 Object.create(O [, Properties]) + create: $create, + // 19.1.2.4 Object.defineProperty(O, P, Attributes) + defineProperty: $defineProperty, + // 19.1.2.3 Object.defineProperties(O, Properties) + defineProperties: $defineProperties, + // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P) + getOwnPropertyDescriptor: $getOwnPropertyDescriptor, + // 19.1.2.7 Object.getOwnPropertyNames(O) + getOwnPropertyNames: $getOwnPropertyNames, + // 19.1.2.8 Object.getOwnPropertySymbols(O) + getOwnPropertySymbols: $getOwnPropertySymbols +}); + +// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives +// https://bugs.chromium.org/p/v8/issues/detail?id=3443 +var FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); }); + +$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', { + getOwnPropertySymbols: function getOwnPropertySymbols(it) { + return $GOPS.f(toObject(it)); + } +}); + +// 24.3.2 JSON.stringify(value [, replacer [, space]]) +$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () { + var S = $Symbol(); + // MS Edge converts symbol values to JSON as {} + // WebKit converts symbol values to JSON as null + // V8 throws on boxed symbols + return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}'; +})), 'JSON', { + stringify: function stringify(it) { + var args = [it]; + var i = 1; + var replacer, $replacer; + while (arguments.length > i) args.push(arguments[i++]); + $replacer = replacer = args[1]; + if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined + if (!isArray(replacer)) replacer = function (key, value) { + if (typeof $replacer == 'function') value = $replacer.call(this, key, value); + if (!isSymbol(value)) return value; + }; + args[1] = replacer; + return _stringify.apply($JSON, args); + } +}); + +// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint) +$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(/*! ./_hide */ "35e8")($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf); +// 19.4.3.5 Symbol.prototype[@@toStringTag] +setToStringTag($Symbol, 'Symbol'); +// 20.2.1.9 Math[@@toStringTag] +setToStringTag(Math, 'Math', true); +// 24.3.3 JSON[@@toStringTag] +setToStringTag(global.JSON, 'JSON', true); + + +/***/ }), + +/***/ "0169": +/*!****************************************************!*\ + !*** ./src/components/core/plugins/charts/line.js ***! + \****************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _luban_h5_plugin_common_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @luban-h5/plugin-common-props */ "380b"); +/* harmony import */ var _utils_excel_parser__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @/utils/excel-parser */ "b92b"); + + +var _window$VeIndex = window.VeIndex, + VeLine = _window$VeIndex.VeLine, + VeRadar = _window$VeIndex.VeRadar, + VePie = _window$VeIndex.VePie, + VeHistogram = _window$VeIndex.VeHistogram, + VeFunnel = _window$VeIndex.VeFunnel; + +// const title = str => str.slice(0, 1).toUpperCase() + str.slice(1) + +/* harmony default export */ __webpack_exports__["default"] = ({ + extra: { + defaultStyle: { + width: 320, + height: 400 + } + }, + name: 'lbp-line-chart', + // mixins: [ChartMixin], + props: { + dataset: _luban_h5_plugin_common_props__WEBPACK_IMPORTED_MODULE_0__["default"].excel({ + defaultValue: function defaultValue() { + return [['日期', '销售量'], ['1月1日', 123], ['1月2日', 1223], ['1月3日', 2123], ['1月4日', 4123], ['1月5日', 3123], ['1月6日', 7123]]; + } + }), + type: _luban_h5_plugin_common_props__WEBPACK_IMPORTED_MODULE_0__["default"].string({ + label: '类型', + defaultValue: 'line', + visible: false + }), + colors: _luban_h5_plugin_common_props__WEBPACK_IMPORTED_MODULE_0__["default"].colors({ + label: '颜色面板', + defaultValue: function defaultValue() { + return [ + // https://github.com/ElemeFE/v-charts/blob/01ebb541a5d905047dd52957ae0898d529342235/src/constants.js#L20 + '#19d4ae', '#5ab1ef', '#fa6e86', '#ffb980', '#0067a6', '#c4b4e4', '#d87a80', '#9cbbff', '#d9d0c7', '#87a997', '#d49ea2', '#5b4947', '#7ba3a8']; + } + }) + }, + data: function data() { + return { + option: {} + }; + }, + render: function render() { + var h = arguments[0]; + var chartData = _utils_excel_parser__WEBPACK_IMPORTED_MODULE_1__["default"].csv2VChartJson(this.dataset); + switch (this.type) { + case 'line': + return h(VeLine, { + "attrs": { + "data": chartData, + "colors": this.colors + } + }); + case 'histogram': + return h(VeHistogram, { + "attrs": { + "data": chartData, + "colors": this.colors + } + }); + case 'pie': + return h(VePie, { + "attrs": { + "data": chartData, + "colors": this.colors + } + }); + case 'funnel': + return h(VeFunnel, { + "attrs": { + "data": chartData, + "colors": this.colors + } + }); + case 'radar': + return h(VeRadar, { + "attrs": { + "data": chartData, + "colors": this.colors + } + }); + default: + return null; + } + }, + mounted: function mounted() { + // this.renderChart() + } +}); + +/***/ }), + +/***/ "01c2": +/*!********************************************************************!*\ + !*** ./node_modules/ant-design-vue/es/time-picker/locale/en_US.js ***! + \********************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +var locale = { + placeholder: 'Select time' +}; + +/* harmony default export */ __webpack_exports__["default"] = (locale); + +/***/ }), + +/***/ "01c9": +/*!***********************************************************!*\ + !*** ./node_modules/ant-design-vue/es/table/interface.js ***! + \***********************************************************/ +/*! exports provided: ColumnFilterItem, ColumnProps, TableLocale, RowSelectionType, TableRowSelection, TableProps, SelectionCheckboxAllProps, SelectionBoxProps, FilterMenuProps */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ColumnFilterItem", function() { return ColumnFilterItem; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "ColumnProps", function() { return ColumnProps; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TableLocale", function() { return TableLocale; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "RowSelectionType", function() { return RowSelectionType; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TableRowSelection", function() { return TableRowSelection; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "TableProps", function() { return TableProps; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SelectionCheckboxAllProps", function() { return SelectionCheckboxAllProps; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SelectionBoxProps", function() { return SelectionBoxProps; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "FilterMenuProps", function() { return FilterMenuProps; }); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-runtime/helpers/extends */ "41b2"); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var _util_vue_types__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../_util/vue-types */ "4d91"); +/* harmony import */ var _pagination__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../pagination */ "de1b"); +/* harmony import */ var _spin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../spin */ "8592"); + + + + + +var PaginationProps = Object(_pagination__WEBPACK_IMPORTED_MODULE_2__["PaginationProps"])(); +var SpinProps = Object(_spin__WEBPACK_IMPORTED_MODULE_3__["SpinProps"])(); + +// export type CompareFn = ((a: T, b: T) => number); +var ColumnFilterItem = _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].shape({ + text: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + value: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + children: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array +}).loose; + +var ColumnProps = { + title: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + // key?: React.Key; + dataIndex: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + customRender: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + customCell: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + customHeaderCell: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + align: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOf(['left', 'right', 'center']), + ellipsis: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + filters: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].arrayOf(ColumnFilterItem), + // onFilter: (value: any, record: T) => PropTypes.bool, + filterMultiple: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + filterDropdown: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + filterDropdownVisible: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + // onFilterDropdownVisibleChange?: (visible: boolean) => void; + sorter: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].boolean, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func]), + defaultSortOrder: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOf(['ascend', 'descend']), + colSpan: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].number, + width: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].number]), + className: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + fixed: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOf(['left', 'right'])]), + filterIcon: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + filteredValue: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array, + filtered: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + defaultFilteredValue: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array, + sortOrder: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOf(['ascend', 'descend'])]), + sortDirections: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array + // children?: ColumnProps[]; + // onCellClick?: (record: T, event: any) => void; + // onCell?: (record: T) => any; + // onHeaderCell?: (props: ColumnProps) => any; +}; + +// export interface TableComponents { +// table?: any; +// header?: { +// wrapper?: any; +// row?: any; +// cell?: any; +// }; +// body?: { +// wrapper?: any; +// row?: any; +// cell?: any; +// }; +// } + +var TableLocale = _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].shape({ + filterTitle: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + filterConfirm: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + filterReset: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + emptyText: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + selectAll: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + selectInvert: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + sortTitle: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + expand: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + collapse: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string +}).loose; + +var RowSelectionType = _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOf(['checkbox', 'radio']); +// export type SelectionSelectFn = (record: T, selected: boolean, selectedRows: Object[]) => any; + +var TableRowSelection = { + type: RowSelectionType, + selectedRowKeys: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array, + // onChange?: (selectedRowKeys: string[] | number[], selectedRows: Object[]) => any; + getCheckboxProps: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + // onSelect?: SelectionSelectFn; + // onSelectAll?: (selected: boolean, selectedRows: Object[], changeRows: Object[]) => any; + // onSelectInvert?: (selectedRows: Object[]) => any; + selections: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool]), + hideDefaultSelections: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + fixed: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + columnWidth: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].number]), + selectWay: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOf(['onSelect', 'onSelectMultiple', 'onSelectAll', 'onSelectInvert']), + columnTitle: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any +}; + +var TableProps = { + prefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + dropdownPrefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + rowSelection: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].shape(TableRowSelection).loose, null]), + pagination: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].shape(babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, PaginationProps, { + position: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOf(['top', 'bottom', 'both']) + })).loose, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool]), + size: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOf(['default', 'middle', 'small', 'large']), + dataSource: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array, + components: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].object, + columns: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array, + rowKey: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func]), + rowClassName: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + expandedRowRender: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + defaultExpandAllRows: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + defaultExpandedRowKeys: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array, + expandedRowKeys: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array, + expandIconAsCell: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + expandIconColumnIndex: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].number, + expandRowByClick: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + // onExpandedRowsChange?: (expandedRowKeys: string[] | number[]) => void; + // onExpand?: (expanded: boolean, record: T) => void; + // onChange?: (pagination: PaginationProps | boolean, filters: string[], sorter: Object) => any; + loading: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].shape(SpinProps).loose, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool]), + locale: TableLocale, + indentSize: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].number, + // onRowClick?: (record: T, index: number, event: Event) => any; + customRow: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + customHeaderRow: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + useFixedHeader: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + bordered: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + showHeader: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + footer: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + title: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + scroll: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].object, + childrenColumnName: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string]), + bodyStyle: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + sortDirections: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array, + tableLayout: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + getPopupContainer: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + expandIcon: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + transformCellText: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func + // className?: PropTypes.string, + // style?: React.CSSProperties; + // children?: React.ReactNode; +}; + +// export interface TableStateFilters { +// [key: string]: string[]; +// } + +// export interface TableState { +// pagination: PaginationProps; +// filters: TableStateFilters; +// sortColumn: ColumnProps | null; +// sortOrder: PropTypes.string, +// } + +// export type SelectionItemSelectFn = (key: string[]) => any; + +// export interface SelectionItem { +// key: PropTypes.string, +// text: PropTypes.any, +// onSelect: SelectionItemSelectFn; +// } + +var SelectionCheckboxAllProps = { + store: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + locale: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + disabled: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + getCheckboxPropsByItem: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + getRecordKey: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + data: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array, + prefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + // onSelect: (key: string, index: number, selectFunc: any) => void; + hideDefaultSelections: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + selections: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].array, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool]), + getPopupContainer: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func +}; + +// export interface SelectionCheckboxAllState { +// checked: PropTypes.bool, +// indeterminate: PropTypes.bool, +// } + +var SelectionBoxProps = { + store: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + type: RowSelectionType, + defaultSelection: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].arrayOf([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].number]), + rowIndex: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].number]), + name: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + disabled: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].bool, + id: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string + // onChange: React.ChangeEventHandler; +}; + +// export interface SelectionBoxState { +// checked?: PropTypes.bool, +// } + +var FilterMenuProps = { + _propsSymbol: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].any, + locale: TableLocale, + selectedKeys: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].arrayOf([_util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].number]), + column: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].object, + confirmFilter: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + prefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + dropdownPrefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].string, + getPopupContainer: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func, + handleFilter: _util_vue_types__WEBPACK_IMPORTED_MODULE_1__["default"].func +}; + +// export interface FilterMenuState { +// selectedKeys: string[]; +// keyPathOfSelectedItem: { [key: string]: string }; +// visible?: PropTypes.bool, +// } + +/***/ }), + +/***/ "01f9": +/*!******************************************************!*\ + !*** ./node_modules/core-js/modules/_iter-define.js ***! + \******************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var LIBRARY = __webpack_require__(/*! ./_library */ "2d00"); +var $export = __webpack_require__(/*! ./_export */ "5ca1"); +var redefine = __webpack_require__(/*! ./_redefine */ "2aba"); +var hide = __webpack_require__(/*! ./_hide */ "32e9"); +var Iterators = __webpack_require__(/*! ./_iterators */ "84f2"); +var $iterCreate = __webpack_require__(/*! ./_iter-create */ "41a0"); +var setToStringTag = __webpack_require__(/*! ./_set-to-string-tag */ "7f20"); +var getPrototypeOf = __webpack_require__(/*! ./_object-gpo */ "38fd"); +var ITERATOR = __webpack_require__(/*! ./_wks */ "2b4c")('iterator'); +var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next` +var FF_ITERATOR = '@@iterator'; +var KEYS = 'keys'; +var VALUES = 'values'; + +var returnThis = function () { return this; }; + +module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) { + $iterCreate(Constructor, NAME, next); + var getMethod = function (kind) { + if (!BUGGY && kind in proto) return proto[kind]; + switch (kind) { + case KEYS: return function keys() { return new Constructor(this, kind); }; + case VALUES: return function values() { return new Constructor(this, kind); }; + } return function entries() { return new Constructor(this, kind); }; + }; + var TAG = NAME + ' Iterator'; + var DEF_VALUES = DEFAULT == VALUES; + var VALUES_BUG = false; + var proto = Base.prototype; + var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]; + var $default = $native || getMethod(DEFAULT); + var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined; + var $anyNative = NAME == 'Array' ? proto.entries || $native : $native; + var methods, key, IteratorPrototype; + // Fix native + if ($anyNative) { + IteratorPrototype = getPrototypeOf($anyNative.call(new Base())); + if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) { + // Set @@toStringTag to native iterators + setToStringTag(IteratorPrototype, TAG, true); + // fix for some old engines + if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis); + } + } + // fix Array#{values, @@iterator}.name in V8 / FF + if (DEF_VALUES && $native && $native.name !== VALUES) { + VALUES_BUG = true; + $default = function values() { return $native.call(this); }; + } + // Define iterator + if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) { + hide(proto, ITERATOR, $default); + } + // Plug for library + Iterators[NAME] = $default; + Iterators[TAG] = returnThis; + if (DEFAULT) { + methods = { + values: DEF_VALUES ? $default : getMethod(VALUES), + keys: IS_SET ? $default : getMethod(KEYS), + entries: $entries + }; + if (FORCED) for (key in methods) { + if (!(key in proto)) redefine(proto, key, methods[key]); + } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods); + } + return methods; +}; + + +/***/ }), + +/***/ "022e": +/*!**********************************************************!*\ + !*** ./node_modules/vant/es/mixins/close-on-popstate.js ***! + \**********************************************************/ +/*! exports provided: CloseOnPopstateMixin */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "CloseOnPopstateMixin", function() { return CloseOnPopstateMixin; }); +/* harmony import */ var _utils_dom_event__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../utils/dom/event */ "1325"); +/* harmony import */ var _bind_event__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./bind-event */ "5fbe"); + + +var CloseOnPopstateMixin = { + mixins: [Object(_bind_event__WEBPACK_IMPORTED_MODULE_1__["BindEventMixin"])(function (bind, isBind) { + this.handlePopstate(isBind && this.closeOnPopstate); + })], + props: { + closeOnPopstate: Boolean + }, + data: function data() { + return { + bindStatus: false + }; + }, + watch: { + closeOnPopstate: function closeOnPopstate(val) { + this.handlePopstate(val); + } + }, + methods: { + onPopstate: function onPopstate() { + this.close(); + this.shouldReopen = false; + }, + handlePopstate: function handlePopstate(bind) { + /* istanbul ignore if */ + if (this.$isServer) { + return; + } + + if (this.bindStatus !== bind) { + this.bindStatus = bind; + var action = bind ? _utils_dom_event__WEBPACK_IMPORTED_MODULE_0__["on"] : _utils_dom_event__WEBPACK_IMPORTED_MODULE_0__["off"]; + action(window, 'popstate', this.onPopstate); + } + } + } +}; + +/***/ }), + +/***/ "0252": +/*!**********************************************************************************!*\ + !*** ./node_modules/strapi-sdk-javascript/node_modules/axios/lib/core/settle.js ***! + \**********************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var createError = __webpack_require__(/*! ./createError */ "9ca0"); + +/** + * Resolve or reject a Promise based on response status. + * + * @param {Function} resolve A function that resolves the promise. + * @param {Function} reject A function that rejects the promise. + * @param {object} response The response. + */ +module.exports = function settle(resolve, reject, response) { + var validateStatus = response.config.validateStatus; + // Note: status is not exposed by XDomainRequest + if (!response.status || !validateStatus || validateStatus(response.status)) { + resolve(response); + } else { + reject(createError( + 'Request failed with status code ' + response.status, + response.config, + null, + response.request, + response + )); + } +}; + + +/***/ }), + +/***/ "0264": +/*!***********************************************************!*\ + !*** ./node_modules/ant-design-vue/es/vc-upload/index.js ***! + \***********************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _src__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./src */ "a9a1"); +// rc-upload 2.9.4 + + +/* harmony default export */ __webpack_exports__["default"] = (_src__WEBPACK_IMPORTED_MODULE_0__["default"]); + +/***/ }), + +/***/ "027b": +/*!**************************************************************************************!*\ + !*** ./node_modules/strapi-sdk-javascript/node_modules/axios/lib/helpers/cookies.js ***! + \**************************************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +var utils = __webpack_require__(/*! ./../utils */ "c181"); + +module.exports = ( + utils.isStandardBrowserEnv() ? + + // Standard browser envs support document.cookie + (function standardBrowserEnv() { + return { + write: function write(name, value, expires, path, domain, secure) { + var cookie = []; + cookie.push(name + '=' + encodeURIComponent(value)); + + if (utils.isNumber(expires)) { + cookie.push('expires=' + new Date(expires).toGMTString()); + } + + if (utils.isString(path)) { + cookie.push('path=' + path); + } + + if (utils.isString(domain)) { + cookie.push('domain=' + domain); + } + + if (secure === true) { + cookie.push('secure'); + } + + document.cookie = cookie.join('; '); + }, + + read: function read(name) { + var match = document.cookie.match(new RegExp('(^|;\\s*)(' + name + ')=([^;]*)')); + return (match ? decodeURIComponent(match[3]) : null); + }, + + remove: function remove(name) { + this.write(name, '', Date.now() - 86400000); + } + }; + })() : + + // Non standard browser env (web workers, react-native) lack needed support. + (function nonStandardBrowserEnv() { + return { + write: function write() {}, + read: function read() { return null; }, + remove: function remove() {} + }; + })() +); + + +/***/ }), + +/***/ "02de": +/*!*************************************************!*\ + !*** ./node_modules/vant/es/utils/dom/style.js ***! + \*************************************************/ +/*! exports provided: isHidden */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "isHidden", function() { return isHidden; }); +function isHidden(el) { + var style = window.getComputedStyle(el); + var hidden = style.display === 'none'; // offsetParent returns null in the following situations: + // 1. The element or its parent element has the display property set to none. + // 2. The element has the position property set to fixed + + var parentHidden = el.offsetParent === null && style.position !== 'fixed'; + return hidden || parentHidden; +} + +/***/ }), + +/***/ "02ea": +/*!*******************************************************************!*\ + !*** ./node_modules/ant-design-vue/es/locale-provider/default.js ***! + \*******************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _locale_default__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../locale/default */ "7320"); + + +/* harmony default export */ __webpack_exports__["default"] = (_locale_default__WEBPACK_IMPORTED_MODULE_0__["default"]); + +/***/ }), + +/***/ "02f4": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_string-at.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +var toInteger = __webpack_require__(/*! ./_to-integer */ "4588"); +var defined = __webpack_require__(/*! ./_defined */ "be13"); +// true -> String#at +// false -> String#codePointAt +module.exports = function (TO_STRING) { + return function (that, pos) { + var s = String(defined(that)); + var i = toInteger(pos); + var l = s.length; + var a, b; + if (i < 0 || i >= l) return TO_STRING ? '' : undefined; + a = s.charCodeAt(i); + return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff + ? TO_STRING ? s.charAt(i) : a + : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000; + }; +}; + + +/***/ }), + +/***/ "02fb": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/ml.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Malayalam [ml] +//! author : Floyd Pink : https://github.com/floydpink + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "c1df")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var ml = moment.defineLocale('ml', { + months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split( + '_' + ), + monthsShort: + 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split( + '_' + ), + monthsParseExact: true, + weekdays: + 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split( + '_' + ), + weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'), + weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'), + longDateFormat: { + LT: 'A h:mm -നു', + LTS: 'A h:mm:ss -നു', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY, A h:mm -നു', + LLLL: 'dddd, D MMMM YYYY, A h:mm -നു', + }, + calendar: { + sameDay: '[ഇന്ന്] LT', + nextDay: '[നാളെ] LT', + nextWeek: 'dddd, LT', + lastDay: '[ഇന്നലെ] LT', + lastWeek: '[കഴിഞ്ഞ] dddd, LT', + sameElse: 'L', + }, + relativeTime: { + future: '%s കഴിഞ്ഞ്', + past: '%s മുൻപ്', + s: 'അൽപ നിമിഷങ്ങൾ', + ss: '%d സെക്കൻഡ്', + m: 'ഒരു മിനിറ്റ്', + mm: '%d മിനിറ്റ്', + h: 'ഒരു മണിക്കൂർ', + hh: '%d മണിക്കൂർ', + d: 'ഒരു ദിവസം', + dd: '%d ദിവസം', + M: 'ഒരു മാസം', + MM: '%d മാസം', + y: 'ഒരു വർഷം', + yy: '%d വർഷം', + }, + meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i, + meridiemHour: function (hour, meridiem) { + if (hour === 12) { + hour = 0; + } + if ( + (meridiem === 'രാത്രി' && hour >= 4) || + meridiem === 'ഉച്ച കഴിഞ്ഞ്' || + meridiem === 'വൈകുന്നേരം' + ) { + return hour + 12; + } else { + return hour; + } + }, + meridiem: function (hour, minute, isLower) { + if (hour < 4) { + return 'രാത്രി'; + } else if (hour < 12) { + return 'രാവിലെ'; + } else if (hour < 17) { + return 'ഉച്ച കഴിഞ്ഞ്'; + } else if (hour < 20) { + return 'വൈകുന്നേരം'; + } else { + return 'രാത്രി'; + } + }, + }); + + return ml; + +}))); + + +/***/ }), + +/***/ "02fe": +/*!***********************************************************!*\ + !*** ./node_modules/vant/es/sku/components/SkuStepper.js ***! + \***********************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils */ "a142"); +/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../constants */ "885d"); +/* harmony import */ var _stepper__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../stepper */ "20fb"); + + + +var namespace = Object(_utils__WEBPACK_IMPORTED_MODULE_0__["createNamespace"])('sku-stepper'); +var createComponent = namespace[0]; +var t = namespace[2]; +var QUOTA_LIMIT = _constants__WEBPACK_IMPORTED_MODULE_1__["LIMIT_TYPE"].QUOTA_LIMIT, + STOCK_LIMIT = _constants__WEBPACK_IMPORTED_MODULE_1__["LIMIT_TYPE"].STOCK_LIMIT; +/* harmony default export */ __webpack_exports__["default"] = (createComponent({ + props: { + stock: Number, + skuEventBus: Object, + skuStockNum: Number, + selectedNum: Number, + stepperTitle: String, + disableStepperInput: Boolean, + customStepperConfig: Object, + hideQuotaText: Boolean, + quota: { + type: Number, + default: 0 + }, + quotaUsed: { + type: Number, + default: 0 + }, + startSaleNum: { + type: Number, + default: 1 + } + }, + data: function data() { + return { + currentNum: this.selectedNum, + // 购买限制类型: 限购/库存 + limitType: STOCK_LIMIT + }; + }, + watch: { + currentNum: function currentNum(num) { + var intValue = parseInt(num, 10); + + if (intValue >= this.stepperMinLimit && intValue <= this.stepperLimit) { + this.skuEventBus.$emit('sku:numChange', intValue); + } + }, + stepperLimit: function stepperLimit(limit) { + if (limit < this.currentNum && this.stepperMinLimit <= limit) { + this.currentNum = limit; + } + + this.checkState(this.stepperMinLimit, limit); + }, + stepperMinLimit: function stepperMinLimit(start) { + if (start > this.currentNum || start > this.stepperLimit) { + this.currentNum = start; + } + + this.checkState(start, this.stepperLimit); + } + }, + computed: { + stepperLimit: function stepperLimit() { + var quotaLimit = this.quota - this.quotaUsed; + var limit; // 无限购时直接取库存,有限购时取限购数和库存数中小的那个 + + if (this.quota > 0 && quotaLimit <= this.stock) { + // 修正负的limit + limit = quotaLimit < 0 ? 0 : quotaLimit; + this.limitType = QUOTA_LIMIT; + } else { + limit = this.stock; + this.limitType = STOCK_LIMIT; + } + + return limit; + }, + stepperMinLimit: function stepperMinLimit() { + return this.startSaleNum < 1 ? 1 : this.startSaleNum; + }, + quotaText: function quotaText() { + var _this$customStepperCo = this.customStepperConfig, + quotaText = _this$customStepperCo.quotaText, + hideQuotaText = _this$customStepperCo.hideQuotaText; + if (hideQuotaText) return ''; + var text = ''; + + if (quotaText) { + text = quotaText; + } else { + var textArr = []; + + if (this.startSaleNum > 1) { + textArr.push(t('quotaStart', this.startSaleNum)); + } + + if (this.quota > 0) { + textArr.push(t('quotaLimit', this.quota)); + } + + text = textArr.join(t('comma')); + } + + return text; + } + }, + created: function created() { + this.checkState(this.stepperMinLimit, this.stepperLimit); + }, + methods: { + setCurrentNum: function setCurrentNum(num) { + this.currentNum = num; + this.checkState(this.stepperMinLimit, this.stepperLimit); + }, + onOverLimit: function onOverLimit(action) { + this.skuEventBus.$emit('sku:overLimit', { + action: action, + limitType: this.limitType, + quota: this.quota, + quotaUsed: this.quotaUsed, + startSaleNum: this.startSaleNum + }); + }, + onChange: function onChange(currentValue) { + var intValue = parseInt(currentValue, 10); + var handleStepperChange = this.customStepperConfig.handleStepperChange; + handleStepperChange && handleStepperChange(intValue); + this.$emit('change', intValue); + }, + checkState: function checkState(min, max) { + // 如果选择小于起售,则强制变为起售 + if (this.currentNum < min || min > max) { + this.currentNum = min; + } else if (this.currentNum > max) { + // 当前选择数量大于最大可选时,需要重置已选数量 + this.currentNum = max; + } + + this.skuEventBus.$emit('sku:stepperState', { + valid: min <= max, + min: min, + max: max, + limitType: this.limitType, + quota: this.quota, + quotaUsed: this.quotaUsed, + startSaleNum: this.startSaleNum + }); + } + }, + render: function render() { + var _this = this; + + var h = arguments[0]; + return h("div", { + "class": "van-sku-stepper-stock" + }, [h("div", { + "class": "van-sku__stepper-title" + }, [this.stepperTitle || t('num')]), h(_stepper__WEBPACK_IMPORTED_MODULE_2__["default"], { + "attrs": { + "integer": true, + "min": this.stepperMinLimit, + "max": this.stepperLimit, + "disableInput": this.disableStepperInput + }, + "class": "van-sku__stepper", + "on": { + "overlimit": this.onOverLimit, + "change": this.onChange + }, + "model": { + value: _this.currentNum, + callback: function callback($$v) { + _this.currentNum = $$v; + } + } + }), !this.hideQuotaText && this.quotaText && h("span", { + "class": "van-sku__stepper-quota" + }, ["(", this.quotaText, ")"])]); + } +})); + +/***/ }), + +/***/ "030f": +/*!********************************************************************!*\ + !*** ./node_modules/strapi-sdk-javascript/build/module/lib/sdk.js ***! + \********************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "default", function() { return Strapi; }); +/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ "0ca8"); +/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! js-cookie */ "a78e"); +/* harmony import */ var js_cookie__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(js_cookie__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! qs */ "4328"); +/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_2__); + + + +class Strapi { + /** + * Default constructor. + * @param baseURL Your Strapi host. + * @param axiosConfig Extend Axios configuration. + */ + constructor(baseURL, storeConfig, requestConfig) { + this.axios = axios__WEBPACK_IMPORTED_MODULE_0___default.a.create({ + baseURL, + paramsSerializer: qs__WEBPACK_IMPORTED_MODULE_2__["stringify"], + ...requestConfig + }); + this.storeConfig = { + cookie: { + key: 'jwt', + options: { + path: '/' + } + }, + localStorage: { + key: 'jwt' + }, + ...storeConfig + }; + if (this.isBrowser()) { + let existingToken; + if (this.storeConfig.cookie) { + existingToken = js_cookie__WEBPACK_IMPORTED_MODULE_1__["get"](this.storeConfig.cookie.key); + } + else if (this.storeConfig.localStorage) { + existingToken = JSON.parse(window.localStorage.getItem(this.storeConfig.localStorage.key)); + } + if (existingToken) { + this.setToken(existingToken, true); + } + } + } + /** + * Axios request + * @param method Request method + * @param url Server URL + * @param requestConfig Custom Axios config + */ + async request(method, url, requestConfig) { + try { + const response = await this.axios.request({ + method, + url, + ...requestConfig + }); + return response.data; + } + catch (error) { + if (error.response) { + throw new Error(error.response.data.message); + } + else { + throw error; + } + } + } + /** + * Register a new user. + * @param username + * @param email + * @param password + * @returns Authentication User token and profile + */ + async register(username, email, password) { + this.clearToken(); + const authentication = await this.request('post', '/auth/local/register', { + data: { + email, + password, + username + } + }); + this.setToken(authentication.jwt); + return authentication; + } + /** + * Login by getting an authentication token. + * @param identifier Can either be an email or a username. + * @param password + * @returns Authentication User token and profile + */ + async login(identifier, password) { + this.clearToken(); + const authentication = await this.request('post', '/auth/local', { + data: { + identifier, + password + } + }); + this.setToken(authentication.jwt); + return authentication; + } + /** + * Sends an email to a user with the link of your reset password page. + * This link contains an URL param code which is required to reset user password. + * Received link url format https://my-domain.com/rest-password?code=privateCode. + * @param email + * @param url Link that user will receive. + */ + async forgotPassword(email, url) { + this.clearToken(); + await this.request('post', '/auth/forgot-password', { + data: { + email, + url + } + }); + } + /** + * Reset the user password. + * @param code Is the url params received from the email link (see forgot password). + * @param password + * @param passwordConfirmation + */ + async resetPassword(code, password, passwordConfirmation) { + this.clearToken(); + await this.request('post', '/auth/reset-password', { + data: { + code, + password, + passwordConfirmation + } + }); + } + /** + * Retrieve the connect provider URL + * @param provider + */ + getProviderAuthenticationUrl(provider) { + return `${this.axios.defaults.baseURL}/connect/${provider}`; + } + /** + * Authenticate the user with the token present on the URL (for browser) or in `params` (on Node.js) + * @param provider + * @param params + */ + async authenticateProvider(provider, params) { + this.clearToken(); + // Handling browser query + if (this.isBrowser()) { + params = qs__WEBPACK_IMPORTED_MODULE_2__["parse"](window.location.search, { ignoreQueryPrefix: true }); + } + const authentication = await this.request('get', `/auth/${provider}/callback`, { + params + }); + this.setToken(authentication.jwt); + return authentication; + } + /** + * List entries + * @param contentTypePluralized + * @param params Filter and order queries. + */ + getEntries(contentTypePluralized, params) { + return this.request('get', `/${contentTypePluralized}`, { + params + }); + } + /** + * Get the total count of entries with the provided criteria + * @param contentType + * @param params Filter and order queries. + */ + getEntryCount(contentType, params) { + return this.request('get', `/${contentType}/count`, { + params + }); + } + /** + * Get a specific entry + * @param contentTypePluralized Type of entry pluralized + * @param id ID of entry + */ + getEntry(contentTypePluralized, id) { + return this.request('get', `/${contentTypePluralized}/${id}`); + } + /** + * Create data + * @param contentTypePluralized Type of entry pluralized + * @param data New entry + */ + createEntry(contentTypePluralized, data) { + return this.request('post', `/${contentTypePluralized}`, { + data + }); + } + /** + * Update data + * @param contentTypePluralized Type of entry pluralized + * @param id ID of entry + * @param data + */ + updateEntry(contentTypePluralized, id, data) { + return this.request('put', `/${contentTypePluralized}/${id}`, { + data + }); + } + /** + * Delete an entry + * @param contentTypePluralized Type of entry pluralized + * @param id ID of entry + */ + deleteEntry(contentTypePluralized, id) { + return this.request('delete', `/${contentTypePluralized}/${id}`); + } + /** + * Search for files + * @param query Keywords + */ + searchFiles(query) { + return this.request('get', `/upload/search/${decodeURIComponent(query)}`); + } + /** + * Get files + * @param params Filter and order queries + * @returns Object[] Files data + */ + getFiles(params) { + return this.request('get', '/upload/files', { + params + }); + } + /** + * Get file + * @param id ID of entry + */ + getFile(id) { + return this.request('get', `/upload/files/${id}`); + } + /** + * Upload files + * + * ### Browser example + * ```js + * const form = new FormData(); + * form.append('files', fileInputElement.files[0], 'file-name.ext'); + * form.append('files', fileInputElement.files[1], 'file-2-name.ext'); + * const files = await strapi.upload(form); + * ``` + * + * ### Node.js example + * ```js + * const FormData = require('form-data'); + * const fs = require('fs'); + * const form = new FormData(); + * form.append('files', fs.createReadStream('./file-name.ext'), 'file-name.ext'); + * const files = await strapi.upload(form, { + * headers: form.getHeaders() + * }); + * ``` + * + * @param data FormData + * @param requestConfig + */ + upload(data, requestConfig) { + return this.request('post', '/upload', { + data, + ...requestConfig + }); + } + /** + * Set token on Axios configuration + * @param token Retrieved by register or login + */ + setToken(token, comesFromStorage) { + this.axios.defaults.headers.common.Authorization = 'Bearer ' + token; + if (this.isBrowser() && !comesFromStorage) { + if (this.storeConfig.localStorage) { + window.localStorage.setItem(this.storeConfig.localStorage.key, JSON.stringify(token)); + } + if (this.storeConfig.cookie) { + js_cookie__WEBPACK_IMPORTED_MODULE_1__["set"](this.storeConfig.cookie.key, token, this.storeConfig.cookie.options); + } + } + } + /** + * Remove token from Axios configuration + */ + clearToken() { + delete this.axios.defaults.headers.common.Authorization; + if (this.isBrowser()) { + if (this.storeConfig.localStorage) { + window.localStorage.removeItem(this.storeConfig.localStorage.key); + } + if (this.storeConfig.cookie) { + js_cookie__WEBPACK_IMPORTED_MODULE_1__["remove"](this.storeConfig.cookie.key, this.storeConfig.cookie.options); + } + } + } + /** + * Check if it runs on browser + */ + isBrowser() { + return typeof window !== 'undefined'; + } +} +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2RrLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9zZGsudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUEyRCxNQUFNLE9BQU8sQ0FBQztBQUNoRixPQUFPLEtBQUssT0FBTyxNQUFNLFdBQVcsQ0FBQztBQUNyQyxPQUFPLEtBQUssRUFBRSxNQUFNLElBQUksQ0FBQztBQTZCekIsTUFBTSxDQUFDLE9BQU8sT0FBTyxNQUFNO0lBSXpCOzs7O09BSUc7SUFDSCxZQUNFLE9BQWUsRUFDZixXQUF5QixFQUN6QixhQUFrQztRQUVsQyxJQUFJLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQyxNQUFNLENBQUM7WUFDeEIsT0FBTztZQUNQLGdCQUFnQixFQUFFLEVBQUUsQ0FBQyxTQUFTO1lBQzlCLEdBQUcsYUFBYTtTQUNqQixDQUFDLENBQUM7UUFDSCxJQUFJLENBQUMsV0FBVyxHQUFHO1lBQ2pCLE1BQU0sRUFBRTtnQkFDTixHQUFHLEVBQUUsS0FBSztnQkFDVixPQUFPLEVBQUU7b0JBQ1AsSUFBSSxFQUFFLEdBQUc7aUJBQ1Y7YUFDRjtZQUNELFlBQVksRUFBRTtnQkFDWixHQUFHLEVBQUUsS0FBSzthQUNYO1lBQ0QsR0FBRyxXQUFXO1NBQ2YsQ0FBQztRQUVGLElBQUksSUFBSSxDQUFDLFNBQVMsRUFBRSxFQUFFO1lBQ3BCLElBQUksYUFBYSxDQUFDO1lBQ2xCLElBQUksSUFBSSxDQUFDLFdBQVcsQ0FBQyxNQUFNLEVBQUU7Z0JBQzNCLGFBQWEsR0FBRyxPQUFPLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUFDLEdBQUcsQ0FBQyxDQUFDO2FBQzFEO2lCQUFNLElBQUksSUFBSSxDQUFDLFdBQVcsQ0FBQyxZQUFZLEVBQUU7Z0JBQ3hDLGFBQWEsR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLE1BQU0sQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUNwRCxJQUFJLENBQUMsV0FBVyxDQUFDLFlBQVksQ0FBQyxHQUFHLENBQ3hCLENBQUMsQ0FBQzthQUNkO1lBQ0QsSUFBSSxhQUFhLEVBQUU7Z0JBQ2pCLElBQUksQ0FBQyxRQUFRLENBQUMsYUFBYSxFQUFFLElBQUksQ0FBQyxDQUFDO2FBQ3BDO1NBQ0Y7SUFDSCxDQUFDO0lBRUQ7Ozs7O09BS0c7SUFDSSxLQUFLLENBQUMsT0FBTyxDQUNsQixNQUFjLEVBQ2QsR0FBVyxFQUNYLGFBQWtDO1FBRWxDLElBQUk7WUFDRixNQUFNLFFBQVEsR0FBa0IsTUFBTSxJQUFJLENBQUMsS0FBSyxDQUFDLE9BQU8sQ0FBQztnQkFDdkQsTUFBTTtnQkFDTixHQUFHO2dCQUNILEdBQUcsYUFBYTthQUNqQixDQUFDLENBQUM7WUFDSCxPQUFPLFFBQVEsQ0FBQyxJQUFJLENBQUM7U0FDdEI7UUFBQyxPQUFPLEtBQUssRUFBRTtZQUNkLElBQUksS0FBSyxDQUFDLFFBQVEsRUFBRTtnQkFDbEIsTUFBTSxJQUFJLEtBQUssQ0FBQyxLQUFLLENBQUMsUUFBUSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsQ0FBQzthQUM5QztpQkFBTTtnQkFDTCxNQUFNLEtBQUssQ0FBQzthQUNiO1NBQ0Y7SUFDSCxDQUFDO0lBRUQ7Ozs7OztPQU1HO0lBQ0ksS0FBSyxDQUFDLFFBQVEsQ0FDbkIsUUFBZ0IsRUFDaEIsS0FBYSxFQUNiLFFBQWdCO1FBRWhCLElBQUksQ0FBQyxVQUFVLEVBQUUsQ0FBQztRQUNsQixNQUFNLGNBQWMsR0FBbUIsTUFBTSxJQUFJLENBQUMsT0FBTyxDQUN2RCxNQUFNLEVBQ04sc0JBQXNCLEVBQ3RCO1lBQ0UsSUFBSSxFQUFFO2dCQUNKLEtBQUs7Z0JBQ0wsUUFBUTtnQkFDUixRQUFRO2FBQ1Q7U0FDRixDQUNGLENBQUM7UUFDRixJQUFJLENBQUMsUUFBUSxDQUFDLGNBQWMsQ0FBQyxHQUFHLENBQUMsQ0FBQztRQUNsQyxPQUFPLGNBQWMsQ0FBQztJQUN4QixDQUFDO0lBRUQ7Ozs7O09BS0c7SUFDSSxLQUFLLENBQUMsS0FBSyxDQUNoQixVQUFrQixFQUNsQixRQUFnQjtRQUVoQixJQUFJLENBQUMsVUFBVSxFQUFFLENBQUM7UUFDbEIsTUFBTSxjQUFjLEdBQW1CLE1BQU0sSUFBSSxDQUFDLE9BQU8sQ0FDdkQsTUFBTSxFQUNOLGFBQWEsRUFDYjtZQUNFLElBQUksRUFBRTtnQkFDSixVQUFVO2dCQUNWLFFBQVE7YUFDVDtTQUNGLENBQ0YsQ0FBQztRQUNGLElBQUksQ0FBQyxRQUFRLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxDQUFDO1FBQ2xDLE9BQU8sY0FBYyxDQUFDO0lBQ3hCLENBQUM7SUFFRDs7Ozs7O09BTUc7SUFDSSxLQUFLLENBQUMsY0FBYyxDQUFDLEtBQWEsRUFBRSxHQUFXO1FBQ3BELElBQUksQ0FBQyxVQUFVLEVBQUUsQ0FBQztRQUNsQixNQUFNLElBQUksQ0FBQyxPQUFPLENBQUMsTUFBTSxFQUFFLHVCQUF1QixFQUFFO1lBQ2xELElBQUksRUFBRTtnQkFDSixLQUFLO2dCQUNMLEdBQUc7YUFDSjtTQUNGLENBQUMsQ0FBQztJQUNMLENBQUM7SUFFRDs7Ozs7T0FLRztJQUNJLEtBQUssQ0FBQyxhQUFhLENBQ3hCLElBQVksRUFDWixRQUFnQixFQUNoQixvQkFBNEI7UUFFNUIsSUFBSSxDQUFDLFVBQVUsRUFBRSxDQUFDO1FBQ2xCLE1BQU0sSUFBSSxDQUFDLE9BQU8sQ0FBQyxNQUFNLEVBQUUsc0JBQXNCLEVBQUU7WUFDakQsSUFBSSxFQUFFO2dCQUNKLElBQUk7Z0JBQ0osUUFBUTtnQkFDUixvQkFBb0I7YUFDckI7U0FDRixDQUFDLENBQUM7SUFDTCxDQUFDO0lBRUQ7OztPQUdHO0lBQ0ksNEJBQTRCLENBQUMsUUFBa0I7UUFDcEQsT0FBTyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsUUFBUSxDQUFDLE9BQU8sWUFBWSxRQUFRLEVBQUUsQ0FBQztJQUM5RCxDQUFDO0lBRUQ7Ozs7T0FJRztJQUNJLEtBQUssQ0FBQyxvQkFBb0IsQ0FDL0IsUUFBa0IsRUFDbEIsTUFBc0I7UUFFdEIsSUFBSSxDQUFDLFVBQVUsRUFBRSxDQUFDO1FBQ2xCLHlCQUF5QjtRQUN6QixJQUFJLElBQUksQ0FBQyxTQUFTLEVBQUUsRUFBRTtZQUNwQixNQUFNLEdBQUcsRUFBRSxDQUFDLEtBQUssQ0FBQyxNQUFNLENBQUMsUUFBUSxDQUFDLE1BQU0sRUFBRSxFQUFFLGlCQUFpQixFQUFFLElBQUksRUFBRSxDQUFDLENBQUM7U0FDeEU7UUFDRCxNQUFNLGNBQWMsR0FBbUIsTUFBTSxJQUFJLENBQUMsT0FBTyxDQUN2RCxLQUFLLEVBQ0wsU0FBUyxRQUFRLFdBQVcsRUFDNUI7WUFDRSxNQUFNO1NBQ1AsQ0FDRixDQUFDO1FBQ0YsSUFBSSxDQUFDLFFBQVEsQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLENBQUM7UUFDbEMsT0FBTyxjQUFjLENBQUM7SUFDeEIsQ0FBQztJQUVEOzs7O09BSUc7SUFDSSxVQUFVLENBQ2YscUJBQTZCLEVBQzdCLE1BQXFDO1FBRXJDLE9BQU8sSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLEVBQUUsSUFBSSxxQkFBcUIsRUFBRSxFQUFFO1lBQ3RELE1BQU07U0FDUCxDQUFDLENBQUM7SUFDTCxDQUFDO0lBRUQ7Ozs7T0FJRztJQUNJLGFBQWEsQ0FDbEIsV0FBbUIsRUFDbkIsTUFBcUM7UUFFckMsT0FBTyxJQUFJLENBQUMsT0FBTyxDQUFDLEtBQUssRUFBRSxJQUFJLFdBQVcsUUFBUSxFQUFFO1lBQ2xELE1BQU07U0FDUCxDQUFDLENBQUM7SUFDTCxDQUFDO0lBRUQ7Ozs7T0FJRztJQUNJLFFBQVEsQ0FBQyxxQkFBNkIsRUFBRSxFQUFVO1FBQ3ZELE9BQU8sSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLEVBQUUsSUFBSSxxQkFBcUIsSUFBSSxFQUFFLEVBQUUsQ0FBQyxDQUFDO0lBQ2hFLENBQUM7SUFFRDs7OztPQUlHO0lBQ0ksV0FBVyxDQUNoQixxQkFBNkIsRUFDN0IsSUFBZ0M7UUFFaEMsT0FBTyxJQUFJLENBQUMsT0FBTyxDQUFDLE1BQU0sRUFBRSxJQUFJLHFCQUFxQixFQUFFLEVBQUU7WUFDdkQsSUFBSTtTQUNMLENBQUMsQ0FBQztJQUNMLENBQUM7SUFFRDs7Ozs7T0FLRztJQUNJLFdBQVcsQ0FDaEIscUJBQTZCLEVBQzdCLEVBQVUsRUFDVixJQUFnQztRQUVoQyxPQUFPLElBQUksQ0FBQyxPQUFPLENBQUMsS0FBSyxFQUFFLElBQUkscUJBQXFCLElBQUksRUFBRSxFQUFFLEVBQUU7WUFDNUQsSUFBSTtTQUNMLENBQUMsQ0FBQztJQUNMLENBQUM7SUFFRDs7OztPQUlHO0lBQ0ksV0FBVyxDQUNoQixxQkFBNkIsRUFDN0IsRUFBVTtRQUVWLE9BQU8sSUFBSSxDQUFDLE9BQU8sQ0FBQyxRQUFRLEVBQUUsSUFBSSxxQkFBcUIsSUFBSSxFQUFFLEVBQUUsQ0FBQyxDQUFDO0lBQ25FLENBQUM7SUFFRDs7O09BR0c7SUFDSSxXQUFXLENBQUMsS0FBYTtRQUM5QixPQUFPLElBQUksQ0FBQyxPQUFPLENBQUMsS0FBSyxFQUFFLGtCQUFrQixrQkFBa0IsQ0FBQyxLQUFLLENBQUMsRUFBRSxDQUFDLENBQUM7SUFDNUUsQ0FBQztJQUVEOzs7O09BSUc7SUFDSSxRQUFRLENBQUMsTUFBcUM7UUFDbkQsT0FBTyxJQUFJLENBQUMsT0FBTyxDQUFDLEtBQUssRUFBRSxlQUFlLEVBQUU7WUFDMUMsTUFBTTtTQUNQLENBQUMsQ0FBQztJQUNMLENBQUM7SUFFRDs7O09BR0c7SUFDSSxPQUFPLENBQUMsRUFBVTtRQUN2QixPQUFPLElBQUksQ0FBQyxPQUFPLENBQUMsS0FBSyxFQUFFLGlCQUFpQixFQUFFLEVBQUUsQ0FBQyxDQUFDO0lBQ3BELENBQUM7SUFFRDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O09Bd0JHO0lBQ0ksTUFBTSxDQUNYLElBQWMsRUFDZCxhQUFrQztRQUVsQyxPQUFPLElBQUksQ0FBQyxPQUFPLENBQUMsTUFBTSxFQUFFLFNBQVMsRUFBRTtZQUNyQyxJQUFJO1lBQ0osR0FBRyxhQUFhO1NBQ2pCLENBQUMsQ0FBQztJQUNMLENBQUM7SUFFRDs7O09BR0c7SUFDSSxRQUFRLENBQUMsS0FBYSxFQUFFLGdCQUEwQjtRQUN2RCxJQUFJLENBQUMsS0FBSyxDQUFDLFFBQVEsQ0FBQyxPQUFPLENBQUMsTUFBTSxDQUFDLGFBQWEsR0FBRyxTQUFTLEdBQUcsS0FBSyxDQUFDO1FBQ3JFLElBQUksSUFBSSxDQUFDLFNBQVMsRUFBRSxJQUFJLENBQUMsZ0JBQWdCLEVBQUU7WUFDekMsSUFBSSxJQUFJLENBQUMsV0FBVyxDQUFDLFlBQVksRUFBRTtnQkFDakMsTUFBTSxDQUFDLFlBQVksQ0FBQyxPQUFPLENBQ3pCLElBQUksQ0FBQyxXQUFXLENBQUMsWUFBWSxDQUFDLEdBQUcsRUFDakMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxLQUFLLENBQUMsQ0FDdEIsQ0FBQzthQUNIO1lBQ0QsSUFBSSxJQUFJLENBQUMsV0FBVyxDQUFDLE1BQU0sRUFBRTtnQkFDM0IsT0FBTyxDQUFDLEdBQUcsQ0FDVCxJQUFJLENBQUMsV0FBVyxDQUFDLE1BQU0sQ0FBQyxHQUFHLEVBQzNCLEtBQUssRUFDTCxJQUFJLENBQUMsV0FBVyxDQUFDLE1BQU0sQ0FBQyxPQUFPLENBQ2hDLENBQUM7YUFDSDtTQUNGO0lBQ0gsQ0FBQztJQUVEOztPQUVHO0lBQ0ksVUFBVTtRQUNmLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQyxRQUFRLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQyxhQUFhLENBQUM7UUFDeEQsSUFBSSxJQUFJLENBQUMsU0FBUyxFQUFFLEVBQUU7WUFDcEIsSUFBSSxJQUFJLENBQUMsV0FBVyxDQUFDLFlBQVksRUFBRTtnQkFDakMsTUFBTSxDQUFDLFlBQVksQ0FBQyxVQUFVLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxZQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7YUFDbkU7WUFDRCxJQUFJLElBQUksQ0FBQyxXQUFXLENBQUMsTUFBTSxFQUFFO2dCQUMzQixPQUFPLENBQUMsTUFBTSxDQUNaLElBQUksQ0FBQyxXQUFXLENBQUMsTUFBTSxDQUFDLEdBQUcsRUFDM0IsSUFBSSxDQUFDLFdBQVcsQ0FBQyxNQUFNLENBQUMsT0FBTyxDQUNoQyxDQUFDO2FBQ0g7U0FDRjtJQUNILENBQUM7SUFFRDs7T0FFRztJQUNLLFNBQVM7UUFDZixPQUFPLE9BQU8sTUFBTSxLQUFLLFdBQVcsQ0FBQztJQUN2QyxDQUFDO0NBQ0YifQ== + +/***/ }), + +/***/ "0331": +/*!***********************************************************!*\ + !*** ./node_modules/ant-design-vue/es/statistic/utils.js ***! + \***********************************************************/ +/*! exports provided: formatTimeStr, formatCountdown */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "formatTimeStr", function() { return formatTimeStr; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "formatCountdown", function() { return formatCountdown; }); +/* harmony import */ var babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-runtime/helpers/slicedToArray */ "b24f"); +/* harmony import */ var babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! moment */ "c1df"); +/* harmony import */ var moment__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(moment__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var lodash_padStart__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! lodash/padStart */ "4106"); +/* harmony import */ var lodash_padStart__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(lodash_padStart__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _util_interopDefault__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/interopDefault */ "2cf8"); + + + + + + +// Countdown +var timeUnits = [['Y', 1000 * 60 * 60 * 24 * 365], // years +['M', 1000 * 60 * 60 * 24 * 30], // months +['D', 1000 * 60 * 60 * 24], // days +['H', 1000 * 60 * 60], // hours +['m', 1000 * 60], // minutes +['s', 1000], // seconds +['S', 1]]; + +function formatTimeStr(duration, format) { + var leftDuration = duration; + + var escapeRegex = /\[[^\]]*\]/g; + var keepList = (format.match(escapeRegex) || []).map(function (str) { + return str.slice(1, -1); + }); + var templateText = format.replace(escapeRegex, '[]'); + + var replacedText = timeUnits.reduce(function (current, _ref) { + var _ref2 = babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0___default()(_ref, 2), + name = _ref2[0], + unit = _ref2[1]; + + if (current.indexOf(name) !== -1) { + var value = Math.floor(leftDuration / unit); + leftDuration -= value * unit; + return current.replace(new RegExp(name + '+', 'g'), function (match) { + var len = match.length; + return lodash_padStart__WEBPACK_IMPORTED_MODULE_2___default()(value.toString(), len, '0'); + }); + } + return current; + }, templateText); + + var index = 0; + return replacedText.replace(escapeRegex, function () { + var match = keepList[index]; + index += 1; + return match; + }); +} + +function formatCountdown(value, config) { + var _config$format = config.format, + format = _config$format === undefined ? '' : _config$format; + + var target = Object(_util_interopDefault__WEBPACK_IMPORTED_MODULE_3__["default"])(moment__WEBPACK_IMPORTED_MODULE_1__)(value).valueOf(); + var current = Object(_util_interopDefault__WEBPACK_IMPORTED_MODULE_3__["default"])(moment__WEBPACK_IMPORTED_MODULE_1__)().valueOf(); + var diff = Math.max(target - current, 0); + return formatTimeStr(diff, format); +} + +/***/ }), + +/***/ "0390": +/*!***************************************************************!*\ + !*** ./node_modules/core-js/modules/_advance-string-index.js ***! + \***************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + +var at = __webpack_require__(/*! ./_string-at */ "02f4")(true); + + // `AdvanceStringIndex` abstract operation +// https://tc39.github.io/ecma262/#sec-advancestringindex +module.exports = function (S, index, unicode) { + return index + (unicode ? at(S, index).length : 1); +}; + + +/***/ }), + +/***/ "0395": +/*!******************************************************************!*\ + !*** ./node_modules/core-js/library/modules/_object-gopn-ext.js ***! + \******************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window +var toIObject = __webpack_require__(/*! ./_to-iobject */ "36c3"); +var gOPN = __webpack_require__(/*! ./_object-gopn */ "6abf").f; +var toString = {}.toString; + +var windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames + ? Object.getOwnPropertyNames(window) : []; + +var getWindowNames = function (it) { + try { + return gOPN(it); + } catch (e) { + return windowNames.slice(); + } +}; + +module.exports.f = function getOwnPropertyNames(it) { + return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it)); +}; + + +/***/ }), + +/***/ "03b8": +/*!***********************************************************!*\ + !*** ./node_modules/ant-design-vue/es/vc-switch/index.js ***! + \***********************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _Switch__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Switch */ "e471"); +// base rc-switch 1.9.0 + + +/* harmony default export */ __webpack_exports__["default"] = (_Switch__WEBPACK_IMPORTED_MODULE_0__["default"]); + +/***/ }), + +/***/ "03dd": +/*!******************************************!*\ + !*** ./node_modules/lodash/_baseKeys.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +var isPrototype = __webpack_require__(/*! ./_isPrototype */ "eac5"), + nativeKeys = __webpack_require__(/*! ./_nativeKeys */ "57a5"); + +/** Used for built-in method references. */ +var objectProto = Object.prototype; + +/** Used to check objects for own properties. */ +var hasOwnProperty = objectProto.hasOwnProperty; + +/** + * The base implementation of `_.keys` which doesn't treat sparse arrays as dense. + * + * @private + * @param {Object} object The object to query. + * @returns {Array} Returns the array of property names. + */ +function baseKeys(object) { + if (!isPrototype(object)) { + return nativeKeys(object); + } + var result = []; + for (var key in Object(object)) { + if (hasOwnProperty.call(object, key) && key != 'constructor') { + result.push(key); + } + } + return result; +} + +module.exports = baseKeys; + + +/***/ }), + +/***/ "03ec": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/cv.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Chuvash [cv] +//! author : Anatoly Mironov : https://github.com/mirontoli + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "c1df")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var cv = moment.defineLocale('cv', { + months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split( + '_' + ), + monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'), + weekdays: + 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split( + '_' + ), + weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'), + weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'), + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD-MM-YYYY', + LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]', + LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm', + }, + calendar: { + sameDay: '[Паян] LT [сехетре]', + nextDay: '[Ыран] LT [сехетре]', + lastDay: '[Ӗнер] LT [сехетре]', + nextWeek: '[Ҫитес] dddd LT [сехетре]', + lastWeek: '[Иртнӗ] dddd LT [сехетре]', + sameElse: 'L', + }, + relativeTime: { + future: function (output) { + var affix = /сехет$/i.exec(output) + ? 'рен' + : /ҫул$/i.exec(output) + ? 'тан' + : 'ран'; + return output + affix; + }, + past: '%s каялла', + s: 'пӗр-ик ҫеккунт', + ss: '%d ҫеккунт', + m: 'пӗр минут', + mm: '%d минут', + h: 'пӗр сехет', + hh: '%d сехет', + d: 'пӗр кун', + dd: '%d кун', + M: 'пӗр уйӑх', + MM: '%d уйӑх', + y: 'пӗр ҫул', + yy: '%d ҫул', + }, + dayOfMonthOrdinalParse: /\d{1,2}-мӗш/, + ordinal: '%d-мӗш', + week: { + dow: 1, // Monday is the first day of the week. + doy: 7, // The week that contains Jan 7th is the first week of the year. + }, + }); + + return cv; + +}))); + + +/***/ }), + +/***/ "0447": +/*!***********************************************************************!*\ + !*** ./node_modules/ant-design-vue/es/vc-table/src/TableHeaderRow.js ***! + \***********************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-helper-vue-jsx-merge-props */ "92fa"); +/* harmony import */ var babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! babel-runtime/helpers/defineProperty */ "6042"); +/* harmony import */ var babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ "8e8e"); +/* harmony import */ var babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! babel-runtime/helpers/extends */ "41b2"); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! classnames */ "4d26"); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_4__); +/* harmony import */ var _util_vue_types__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../_util/vue-types */ "4d91"); +/* harmony import */ var _util_props_util__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../_util/props-util */ "daa3"); + + + + + + + + +var TableHeaderRow = { + inject: { + store: { from: 'table-store', 'default': function _default() { + return {}; + } } + }, + props: { + index: _util_vue_types__WEBPACK_IMPORTED_MODULE_5__["default"].number, + fixed: _util_vue_types__WEBPACK_IMPORTED_MODULE_5__["default"].string, + columns: _util_vue_types__WEBPACK_IMPORTED_MODULE_5__["default"].array, + rows: _util_vue_types__WEBPACK_IMPORTED_MODULE_5__["default"].array, + row: _util_vue_types__WEBPACK_IMPORTED_MODULE_5__["default"].array, + components: _util_vue_types__WEBPACK_IMPORTED_MODULE_5__["default"].object, + customHeaderRow: _util_vue_types__WEBPACK_IMPORTED_MODULE_5__["default"].func, + prefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_5__["default"].string + }, + name: 'TableHeaderRow', + computed: { + height: function height() { + var fixedColumnsHeadRowsHeight = this.store.fixedColumnsHeadRowsHeight; + var _$props = this.$props, + columns = _$props.columns, + rows = _$props.rows, + fixed = _$props.fixed; + + var headerHeight = fixedColumnsHeadRowsHeight[0]; + + if (!fixed) { + return null; + } + + if (headerHeight && columns) { + if (headerHeight === 'auto') { + return 'auto'; + } + return headerHeight / rows.length + 'px'; + } + return null; + } + }, + render: function render(h) { + var row = this.row, + index = this.index, + height = this.height, + components = this.components, + customHeaderRow = this.customHeaderRow, + prefixCls = this.prefixCls; + + var HeaderRow = components.header.row; + var HeaderCell = components.header.cell; + var rowProps = customHeaderRow(row.map(function (cell) { + return cell.column; + }), index); + var customStyle = rowProps ? rowProps.style : {}; + var style = babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3___default()({ height: height }, customStyle); + if (style.height === null) { + delete style.height; + } + return h( + HeaderRow, + babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default()([rowProps, { style: style }]), + [row.map(function (cell, i) { + var _classNames; + + var column = cell.column, + isLast = cell.isLast, + children = cell.children, + className = cell.className, + cellProps = babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_2___default()(cell, ['column', 'isLast', 'children', 'className']); + + var customProps = column.customHeaderCell ? column.customHeaderCell(column) : {}; + var headerCellProps = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_6__["mergeProps"])({ + attrs: babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3___default()({}, cellProps) + }, babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3___default()({}, customProps, { + key: column.key || column.dataIndex || i + })); + + if (column.align) { + headerCellProps.style = babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_3___default()({}, customProps.style, { textAlign: column.align }); + } + + headerCellProps['class'] = classnames__WEBPACK_IMPORTED_MODULE_4___default()(customProps['class'], customProps.className, column['class'], column.className, (_classNames = {}, babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classNames, prefixCls + '-align-' + column.align, !!column.align), babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classNames, prefixCls + '-row-cell-ellipsis', !!column.ellipsis), babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classNames, prefixCls + '-row-cell-break-word', !!column.width), babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_1___default()(_classNames, prefixCls + '-row-cell-last', isLast), _classNames)); + + if (typeof HeaderCell === 'function') { + return HeaderCell(h, headerCellProps, children); + } + return h( + HeaderCell, + headerCellProps, + [children] + ); + })] + ); + } +}; + +/* harmony default export */ __webpack_exports__["default"] = (TableHeaderRow); + +/***/ }), + +/***/ "044b": +/*!*****************************************!*\ + !*** ./node_modules/is-buffer/index.js ***! + \*****************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +/*! + * Determine if an object is a Buffer + * + * @author Feross Aboukhadijeh + * @license MIT + */ + +module.exports = function isBuffer (obj) { + return obj != null && obj.constructor != null && + typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj) +} + + +/***/ }), + +/***/ "0464": +/*!******************************************!*\ + !*** ./node_modules/omit.js/es/index.js ***! + \******************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-runtime/helpers/extends */ "41b2"); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__); + +function omit(obj, fields) { + var shallowCopy = babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, obj); + for (var i = 0; i < fields.length; i++) { + var key = fields[i]; + delete shallowCopy[key]; + } + return shallowCopy; +} + +/* harmony default export */ __webpack_exports__["default"] = (omit); + +/***/ }), + +/***/ "046c": +/*!*******************************************************!*\ + !*** ./node_modules/vant/es/sku/utils/time-helper.js ***! + \*******************************************************/ +/*! exports provided: stringToDate, dateToString */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "stringToDate", function() { return stringToDate; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "dateToString", function() { return dateToString; }); +/* harmony import */ var _utils_format_string__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils/format/string */ "68ed"); + // 字符串转 Date +// 只处理 YYYY-MM-DD 或者 YYYY-MM-DD HH:MM 格式 + +function stringToDate(timeString) { + if (!timeString) { + return null; + } + + return new Date(timeString.replace(/-/g, '/')); +} // Date 转字符串 +// type: date or datetime + +function dateToString(date, type) { + if (type === void 0) { + type = 'date'; + } + + if (!date) { + return ''; + } + + var year = date.getFullYear(); + var month = date.getMonth() + 1; + var day = date.getDate(); + var timeString = year + "-" + Object(_utils_format_string__WEBPACK_IMPORTED_MODULE_0__["padZero"])(month) + "-" + Object(_utils_format_string__WEBPACK_IMPORTED_MODULE_0__["padZero"])(day); + + if (type === 'datetime') { + var hours = date.getHours(); + var minute = date.getMinutes(); + timeString += " " + Object(_utils_format_string__WEBPACK_IMPORTED_MODULE_0__["padZero"])(hours) + ":" + Object(_utils_format_string__WEBPACK_IMPORTED_MODULE_0__["padZero"])(minute); + } + + return timeString; +} + +/***/ }), + +/***/ "0497": +/*!*****************************************************!*\ + !*** ./node_modules/string-convert/camel2hyphen.js ***! + \*****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +var camel2hyphen = function (str) { + return str + .replace(/[A-Z]/g, function (match) { + return '-' + match.toLowerCase(); + }) + .toLowerCase(); +}; + +module.exports = camel2hyphen; + +/***/ }), + +/***/ "0524": +/*!*************************************************!*\ + !*** ./src/components/core/enum/data-source.js ***! + \*************************************************/ +/*! exports provided: default, REFRESH_ENUM, REFRESH_DEFAULT_INTERVAL */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "REFRESH_ENUM", function() { return REFRESH_ENUM; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "REFRESH_DEFAULT_INTERVAL", function() { return REFRESH_DEFAULT_INTERVAL; }); +/* harmony import */ var _utils_enum__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @/utils/enum */ "08f3"); + +var HTTP_API = 'httpApi'; +var STATIC = 'static'; +var CSV = 'csv'; + +// [label, value, code] +/* harmony default export */ __webpack_exports__["default"] = (Object(_utils_enum__WEBPACK_IMPORTED_MODULE_0__["getEnum"])([['静态数据源', STATIC, 'STATIC'], ['http/https', HTTP_API, 'HTTP_API'], ['CSV', CSV, 'CSV']])); +var REFRESH_ENUM = Object(_utils_enum__WEBPACK_IMPORTED_MODULE_0__["getEnum"])([['单次触发', 'once', 'ONCE'], ['定时更新', 'fixed', 'FIXED']]); +var REFRESH_DEFAULT_INTERVAL = 2; + +/***/ }), + +/***/ "054e": +/*!**********************************************************!*\ + !*** ./node_modules/ant-design-vue/es/skeleton/Title.js ***! + \**********************************************************/ +/*! exports provided: SkeletonTitleProps, default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SkeletonTitleProps", function() { return SkeletonTitleProps; }); +/* harmony import */ var _util_vue_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../_util/vue-types */ "4d91"); + + +var skeletonTitleProps = { + prefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_0__["default"].string, + width: _util_vue_types__WEBPACK_IMPORTED_MODULE_0__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_0__["default"].number, _util_vue_types__WEBPACK_IMPORTED_MODULE_0__["default"].string]) +}; + +var SkeletonTitleProps = _util_vue_types__WEBPACK_IMPORTED_MODULE_0__["default"].shape(skeletonTitleProps); + +var Title = { + props: skeletonTitleProps, + render: function render() { + var h = arguments[0]; + var _$props = this.$props, + prefixCls = _$props.prefixCls, + width = _$props.width; + + var zWidth = typeof width === 'number' ? width + 'px' : width; + return h('h3', { 'class': prefixCls, style: { width: zWidth } }); + } +}; + +/* harmony default export */ __webpack_exports__["default"] = (Title); + +/***/ }), + +/***/ "0558": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/is.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Icelandic [is] +//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "c1df")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + function plural(n) { + if (n % 100 === 11) { + return true; + } else if (n % 10 === 1) { + return false; + } + return true; + } + function translate(number, withoutSuffix, key, isFuture) { + var result = number + ' '; + switch (key) { + case 's': + return withoutSuffix || isFuture + ? 'nokkrar sekúndur' + : 'nokkrum sekúndum'; + case 'ss': + if (plural(number)) { + return ( + result + + (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum') + ); + } + return result + 'sekúnda'; + case 'm': + return withoutSuffix ? 'mínúta' : 'mínútu'; + case 'mm': + if (plural(number)) { + return ( + result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum') + ); + } else if (withoutSuffix) { + return result + 'mínúta'; + } + return result + 'mínútu'; + case 'hh': + if (plural(number)) { + return ( + result + + (withoutSuffix || isFuture + ? 'klukkustundir' + : 'klukkustundum') + ); + } + return result + 'klukkustund'; + case 'd': + if (withoutSuffix) { + return 'dagur'; + } + return isFuture ? 'dag' : 'degi'; + case 'dd': + if (plural(number)) { + if (withoutSuffix) { + return result + 'dagar'; + } + return result + (isFuture ? 'daga' : 'dögum'); + } else if (withoutSuffix) { + return result + 'dagur'; + } + return result + (isFuture ? 'dag' : 'degi'); + case 'M': + if (withoutSuffix) { + return 'mánuður'; + } + return isFuture ? 'mánuð' : 'mánuði'; + case 'MM': + if (plural(number)) { + if (withoutSuffix) { + return result + 'mánuðir'; + } + return result + (isFuture ? 'mánuði' : 'mánuðum'); + } else if (withoutSuffix) { + return result + 'mánuður'; + } + return result + (isFuture ? 'mánuð' : 'mánuði'); + case 'y': + return withoutSuffix || isFuture ? 'ár' : 'ári'; + case 'yy': + if (plural(number)) { + return result + (withoutSuffix || isFuture ? 'ár' : 'árum'); + } + return result + (withoutSuffix || isFuture ? 'ár' : 'ári'); + } + } + + var is = moment.defineLocale('is', { + months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split( + '_' + ), + monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), + weekdays: + 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split( + '_' + ), + weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'), + weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'), + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD.MM.YYYY', + LL: 'D. MMMM YYYY', + LLL: 'D. MMMM YYYY [kl.] H:mm', + LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm', + }, + calendar: { + sameDay: '[í dag kl.] LT', + nextDay: '[á morgun kl.] LT', + nextWeek: 'dddd [kl.] LT', + lastDay: '[í gær kl.] LT', + lastWeek: '[síðasta] dddd [kl.] LT', + sameElse: 'L', + }, + relativeTime: { + future: 'eftir %s', + past: 'fyrir %s síðan', + s: translate, + ss: translate, + m: translate, + mm: translate, + h: 'klukkustund', + hh: translate, + d: translate, + dd: translate, + M: translate, + MM: translate, + y: translate, + yy: translate, + }, + dayOfMonthOrdinalParse: /\d{1,2}\./, + ordinal: '%d.', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return is; + +}))); + + +/***/ }), + +/***/ "05a8": +/*!********************************************************************!*\ + !*** ./node_modules/ant-design-vue/es/vc-dropdown/src/Dropdown.js ***! + \********************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-runtime/helpers/extends */ "41b2"); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ "8e8e"); +/* harmony import */ var babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var _util_vue_types__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../_util/vue-types */ "4d91"); +/* harmony import */ var _vc_trigger__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../vc-trigger */ "8496"); +/* harmony import */ var _placements__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./placements */ "74f0"); +/* harmony import */ var _util_props_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../_util/props-util */ "daa3"); +/* harmony import */ var _util_BaseMixin__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../_util/BaseMixin */ "b488"); +/* harmony import */ var _util_vnode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../_util/vnode */ "7b05"); + + + + + + + + + +/* harmony default export */ __webpack_exports__["default"] = ({ + mixins: [_util_BaseMixin__WEBPACK_IMPORTED_MODULE_6__["default"]], + props: { + minOverlayWidthMatchTrigger: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].bool, + prefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].string.def('rc-dropdown'), + transitionName: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].string, + overlayClassName: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].string.def(''), + openClassName: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].string, + animation: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].any, + align: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].object, + overlayStyle: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].object.def(function () { + return {}; + }), + placement: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].string.def('bottomLeft'), + overlay: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].any, + trigger: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].array.def(['hover']), + alignPoint: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].bool, + showAction: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].array.def([]), + hideAction: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].array.def([]), + getPopupContainer: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].func, + visible: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].bool, + defaultVisible: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].bool.def(false), + mouseEnterDelay: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].number.def(0.15), + mouseLeaveDelay: _util_vue_types__WEBPACK_IMPORTED_MODULE_2__["default"].number.def(0.1) + }, + data: function data() { + var sVisible = this.defaultVisible; + if (Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["hasProp"])(this, 'visible')) { + sVisible = this.visible; + } + return { + sVisible: sVisible + }; + }, + + watch: { + visible: function visible(val) { + if (val !== undefined) { + this.setState({ + sVisible: val + }); + } + } + }, + methods: { + onClick: function onClick(e) { + // do no call onVisibleChange, if you need click to hide, use onClick and control visible + if (!Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["hasProp"])(this, 'visible')) { + this.setState({ + sVisible: false + }); + } + this.$emit('overlayClick', e); + if (this.childOriginEvents.click) { + this.childOriginEvents.click(e); + } + }, + onVisibleChange: function onVisibleChange(visible) { + if (!Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["hasProp"])(this, 'visible')) { + this.setState({ + sVisible: visible + }); + } + this.__emit('visibleChange', visible); + }, + getMinOverlayWidthMatchTrigger: function getMinOverlayWidthMatchTrigger() { + var props = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getOptionProps"])(this); + var minOverlayWidthMatchTrigger = props.minOverlayWidthMatchTrigger, + alignPoint = props.alignPoint; + + if ('minOverlayWidthMatchTrigger' in props) { + return minOverlayWidthMatchTrigger; + } + + return !alignPoint; + }, + getOverlayElement: function getOverlayElement() { + var overlay = this.overlay || this.$slots.overlay || this.$scopedSlots.overlay; + var overlayElement = void 0; + if (typeof overlay === 'function') { + overlayElement = overlay(); + } else { + overlayElement = overlay; + } + return overlayElement; + }, + getMenuElement: function getMenuElement() { + var _this = this; + + var onClick = this.onClick, + prefixCls = this.prefixCls, + $slots = this.$slots; + + this.childOriginEvents = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getEvents"])($slots.overlay[0]); + var overlayElement = this.getOverlayElement(); + var extraOverlayProps = { + props: { + prefixCls: prefixCls + '-menu', + getPopupContainer: function getPopupContainer() { + return _this.getPopupDomNode(); + } + }, + on: { + click: onClick + } + }; + if (typeof overlayElement.type === 'string') { + delete extraOverlayProps.props.prefixCls; + } + return Object(_util_vnode__WEBPACK_IMPORTED_MODULE_7__["cloneElement"])($slots.overlay[0], extraOverlayProps); + }, + getMenuElementOrLambda: function getMenuElementOrLambda() { + var overlay = this.overlay || this.$slots.overlay || this.$scopedSlots.overlay; + if (typeof overlay === 'function') { + return this.getMenuElement; + } + return this.getMenuElement(); + }, + getPopupDomNode: function getPopupDomNode() { + return this.$refs.trigger.getPopupDomNode(); + }, + getOpenClassName: function getOpenClassName() { + var _$props = this.$props, + openClassName = _$props.openClassName, + prefixCls = _$props.prefixCls; + + if (openClassName !== undefined) { + return openClassName; + } + return prefixCls + '-open'; + }, + afterVisibleChange: function afterVisibleChange(visible) { + if (visible && this.getMinOverlayWidthMatchTrigger()) { + var overlayNode = this.getPopupDomNode(); + var rootNode = this.$el; + if (rootNode && overlayNode && rootNode.offsetWidth > overlayNode.offsetWidth) { + overlayNode.style.minWidth = rootNode.offsetWidth + 'px'; + if (this.$refs.trigger && this.$refs.trigger._component && this.$refs.trigger._component.$refs && this.$refs.trigger._component.$refs.alignInstance) { + this.$refs.trigger._component.$refs.alignInstance.forceAlign(); + } + } + } + }, + renderChildren: function renderChildren() { + var children = this.$slots['default'] && this.$slots['default'][0]; + var sVisible = this.sVisible; + + return sVisible && children ? Object(_util_vnode__WEBPACK_IMPORTED_MODULE_7__["cloneElement"])(children, { 'class': this.getOpenClassName() }) : children; + } + }, + + render: function render() { + var h = arguments[0]; + + var _$props2 = this.$props, + prefixCls = _$props2.prefixCls, + transitionName = _$props2.transitionName, + animation = _$props2.animation, + align = _$props2.align, + placement = _$props2.placement, + getPopupContainer = _$props2.getPopupContainer, + showAction = _$props2.showAction, + hideAction = _$props2.hideAction, + overlayClassName = _$props2.overlayClassName, + overlayStyle = _$props2.overlayStyle, + trigger = _$props2.trigger, + otherProps = babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_$props2, ['prefixCls', 'transitionName', 'animation', 'align', 'placement', 'getPopupContainer', 'showAction', 'hideAction', 'overlayClassName', 'overlayStyle', 'trigger']); + + var triggerHideAction = hideAction; + if (!triggerHideAction && trigger.indexOf('contextmenu') !== -1) { + triggerHideAction = ['click']; + } + + var triggerProps = { + props: babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, otherProps, { + prefixCls: prefixCls, + popupClassName: overlayClassName, + popupStyle: overlayStyle, + builtinPlacements: _placements__WEBPACK_IMPORTED_MODULE_4__["default"], + action: trigger, + showAction: showAction, + hideAction: triggerHideAction || [], + popupPlacement: placement, + popupAlign: align, + popupTransitionName: transitionName, + popupAnimation: animation, + popupVisible: this.sVisible, + afterPopupVisibleChange: this.afterVisibleChange, + getPopupContainer: getPopupContainer + }), + on: { + popupVisibleChange: this.onVisibleChange + }, + ref: 'trigger' + }; + return h( + _vc_trigger__WEBPACK_IMPORTED_MODULE_3__["default"], + triggerProps, + [this.renderChildren(), h( + 'template', + { slot: 'popup' }, + [this.$slots.overlay && this.getMenuElement()] + )] + ); + } +}); + +/***/ }), + +/***/ "05d9": +/*!***********************************************************!*\ + !*** ./src/components/core/plugins/lbp-qq-map/src/Map.js ***! + \***********************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/es6.promise */ "551c"); +/* harmony import */ var core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_promise__WEBPACK_IMPORTED_MODULE_0__); + +function isScriptLoaded(src) { + return !!document.querySelector('script[src="' + src + '"]'); +} +/* harmony default export */ __webpack_exports__["default"] = ({ + map: null, + load: function load(key) { + return new Promise(function (resolve, reject) { + var src = '//map.qq.com/api/js?v=2.exp&libraries=place&callback=init&key=' + key; + if (isScriptLoaded(src)) { + resolve(window.qq); + return; + } + window.init = function () { + resolve(window.qq); // 注意这里 + }; + var script = document.createElement('script'); + script.type = 'text/javascript'; + script.src = src; + script.onerror = reject; + document.head.appendChild(script); + }); + }, + getPosition: function getPosition(_ref) { + var lat = _ref.lat, + lng = _ref.lng; + return new window.qq.maps.LatLng(lat, lng); // 地图的中心地理坐标 + } +}); + +/***/ }), + +/***/ "0607": +/*!**********************************************!*\ + !*** ./node_modules/vant/lib/info/index.css ***! + \**********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +// style-loader: Adds some css to the DOM by adding a \n ' + domainScript + '\n \n \n
\n \n ' + domainInput + '\n \n
\n \n \n '; + }, + initIframeSrc: function initIframeSrc() { + if (this.domain) { + this.getIframeNode().src = 'javascript:void((function(){\n var d = document;\n d.open();\n d.domain=\'' + this.domain + '\';\n d.write(\'\');\n d.close();\n })())'; + } + }, + initIframe: function initIframe() { + var iframeNode = this.getIframeNode(); + var win = iframeNode.contentWindow; + var doc = void 0; + this.domain = this.domain || ''; + this.initIframeSrc(); + try { + doc = win.document; + } catch (e) { + this.domain = document.domain; + this.initIframeSrc(); + win = iframeNode.contentWindow; + doc = win.document; + } + doc.open('text/html', 'replace'); + doc.write(this.getIframeHTML(this.domain)); + doc.close(); + this.getFormInputNode().onchange = this.onChange; + }, + endUpload: function endUpload() { + if (this.uploading) { + this.file = {}; + // hack avoid batch + this.uploading = false; + this.setState({ + uploading: false + }); + this.initIframe(); + } + }, + startUpload: function startUpload() { + if (!this.uploading) { + this.uploading = true; + this.setState({ + uploading: true + }); + } + }, + updateIframeWH: function updateIframeWH() { + var rootNode = this.$el; + var iframeNode = this.getIframeNode(); + iframeNode.style.height = rootNode.offsetHeight + 'px'; + iframeNode.style.width = rootNode.offsetWidth + 'px'; + }, + abort: function abort(file) { + if (file) { + var uid = file; + if (file && file.uid) { + uid = file.uid; + } + if (uid === this.file.uid) { + this.endUpload(); + } + } else { + this.endUpload(); + } + }, + post: function post(file) { + var _this2 = this; + + var formNode = this.getFormNode(); + var dataSpan = this.getFormDataNode(); + var data = this.$props.data; + + if (typeof data === 'function') { + data = data(file); + } + var inputs = document.createDocumentFragment(); + for (var key in data) { + if (data.hasOwnProperty(key)) { + var input = document.createElement('input'); + input.setAttribute('name', key); + input.value = data[key]; + inputs.appendChild(input); + } + } + dataSpan.appendChild(inputs); + new Promise(function (resolve) { + var action = _this2.action; + + if (typeof action === 'function') { + return resolve(action(file)); + } + resolve(action); + }).then(function (action) { + formNode.setAttribute('action', action); + formNode.submit(); + dataSpan.innerHTML = ''; + _this2.$emit('start', file); + }); + } + }, + mounted: function mounted() { + var _this3 = this; + + this.$nextTick(function () { + _this3.updateIframeWH(); + _this3.initIframe(); + }); + }, + updated: function updated() { + var _this4 = this; + + this.$nextTick(function () { + _this4.updateIframeWH(); + }); + }, + render: function render() { + var _classNames; + + var h = arguments[0]; + var _$props = this.$props, + Tag = _$props.componentTag, + disabled = _$props.disabled, + prefixCls = _$props.prefixCls; + + var iframeStyle = babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({}, IFRAME_STYLE, { + display: this.uploading || disabled ? 'none' : '' + }); + var cls = classnames__WEBPACK_IMPORTED_MODULE_4___default()((_classNames = {}, babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_classNames, prefixCls, true), babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_classNames, prefixCls + '-disabled', disabled), _classNames)); + + return h( + Tag, + { + attrs: { className: cls }, + style: { position: 'relative', zIndex: 0 } }, + [h('iframe', { ref: 'iframeRef', on: { + 'load': this.onLoad + }, + style: iframeStyle }), this.$slots['default']] + ); + } +}; + +/* harmony default export */ __webpack_exports__["default"] = (IframeUploader); + +/***/ }), + +/***/ "84f2": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_iterators.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +module.exports = {}; + + +/***/ }), + +/***/ "851f": +/*!************************************************************!*\ + !*** ./node_modules/ant-design-vue/es/statistic/Number.js ***! + \************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var lodash_padEnd__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! lodash/padEnd */ "07a9"); +/* harmony import */ var lodash_padEnd__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(lodash_padEnd__WEBPACK_IMPORTED_MODULE_0__); + + +/* harmony default export */ __webpack_exports__["default"] = ({ + name: 'AStatisticNumber', + functional: true, + render: function render(h, context) { + var _context$props = context.props, + value = _context$props.value, + formatter = _context$props.formatter, + precision = _context$props.precision, + decimalSeparator = _context$props.decimalSeparator, + _context$props$groupS = _context$props.groupSeparator, + groupSeparator = _context$props$groupS === undefined ? '' : _context$props$groupS, + prefixCls = _context$props.prefixCls; + + var valueNode = void 0; + + if (typeof formatter === 'function') { + // Customize formatter + valueNode = formatter({ value: value, h: h }); + } else { + // Internal formatter + var val = String(value); + var cells = val.match(/^(-?)(\d*)(\.(\d+))?$/); + // Process if illegal number + if (!cells) { + valueNode = val; + } else { + var negative = cells[1]; + var int = cells[2] || '0'; + var decimal = cells[4] || ''; + + int = int.replace(/\B(?=(\d{3})+(?!\d))/g, groupSeparator); + if (typeof precision === 'number') { + decimal = lodash_padEnd__WEBPACK_IMPORTED_MODULE_0___default()(decimal, precision, '0').slice(0, precision); + } + + if (decimal) { + decimal = '' + decimalSeparator + decimal; + } + + valueNode = [h( + 'span', + { key: 'int', 'class': prefixCls + '-content-value-int' }, + [negative, int] + ), decimal && h( + 'span', + { key: 'decimal', 'class': prefixCls + '-content-value-decimal' }, + [decimal] + )]; + } + } + + return h( + 'span', + { 'class': prefixCls + '-content-value' }, + [valueNode] + ); + } +}); + +/***/ }), + +/***/ "8520": +/*!********************************************************!*\ + !*** ./node_modules/@ant-design/icons-vue/es/index.js ***! + \********************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _components_Icon__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./components/Icon */ "e6b1"); + + +/* harmony default export */ __webpack_exports__["default"] = (_components_Icon__WEBPACK_IMPORTED_MODULE_0__["default"]); + +/***/ }), + +/***/ "8592": +/*!******************************************************!*\ + !*** ./node_modules/ant-design-vue/es/spin/index.js ***! + \******************************************************/ +/*! exports provided: SpinProps, default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _Spin__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./Spin */ "b1e0"); +/* harmony import */ var _base__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../base */ "db14"); +/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "SpinProps", function() { return _Spin__WEBPACK_IMPORTED_MODULE_0__["SpinProps"]; }); + + + + + + +_Spin__WEBPACK_IMPORTED_MODULE_0__["default"].setDefaultIndicator = _Spin__WEBPACK_IMPORTED_MODULE_0__["setDefaultIndicator"]; + +/* istanbul ignore next */ +_Spin__WEBPACK_IMPORTED_MODULE_0__["default"].install = function (Vue) { + Vue.use(_base__WEBPACK_IMPORTED_MODULE_1__["default"]); + Vue.component(_Spin__WEBPACK_IMPORTED_MODULE_0__["default"].name, _Spin__WEBPACK_IMPORTED_MODULE_0__["default"]); +}; + +/* harmony default export */ __webpack_exports__["default"] = (_Spin__WEBPACK_IMPORTED_MODULE_0__["default"]); + +/***/ }), + +/***/ "85e3": +/*!***************************************!*\ + !*** ./node_modules/lodash/_apply.js ***! + \***************************************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +/** + * A faster alternative to `Function#apply`, this function invokes `func` + * with the `this` binding of `thisArg` and the arguments of `args`. + * + * @private + * @param {Function} func The function to invoke. + * @param {*} thisArg The `this` binding of `func`. + * @param {Array} args The arguments to invoke `func` with. + * @returns {*} Returns the result of `func`. + */ +function apply(func, thisArg, args) { + switch (args.length) { + case 0: return func.call(thisArg); + case 1: return func.call(thisArg, args[0]); + case 2: return func.call(thisArg, args[0], args[1]); + case 3: return func.call(thisArg, args[0], args[1], args[2]); + } + return func.apply(thisArg, args); +} + +module.exports = apply; + + +/***/ }), + +/***/ "8604": +/*!**************************************!*\ + !*** ./node_modules/lodash/hasIn.js ***! + \**************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +var baseHasIn = __webpack_require__(/*! ./_baseHasIn */ "26e8"), + hasPath = __webpack_require__(/*! ./_hasPath */ "e2c0"); + +/** + * Checks if `path` is a direct or inherited property of `object`. + * + * @static + * @memberOf _ + * @since 4.0.0 + * @category Object + * @param {Object} object The object to query. + * @param {Array|string} path The path to check. + * @returns {boolean} Returns `true` if `path` exists, else `false`. + * @example + * + * var object = _.create({ 'a': _.create({ 'b': 2 }) }); + * + * _.hasIn(object, 'a'); + * // => true + * + * _.hasIn(object, 'a.b'); + * // => true + * + * _.hasIn(object, ['a', 'b']); + * // => true + * + * _.hasIn(object, 'b'); + * // => false + */ +function hasIn(object, path) { + return object != null && hasPath(object, path, baseHasIn); +} + +module.exports = hasIn; + + +/***/ }), + +/***/ "8615": +/*!***********************************************************!*\ + !*** ./node_modules/core-js/modules/es7.object.values.js ***! + \***********************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +// https://github.com/tc39/proposal-object-values-entries +var $export = __webpack_require__(/*! ./_export */ "5ca1"); +var $values = __webpack_require__(/*! ./_object-to-array */ "504c")(false); + +$export($export.S, 'Object', { + values: function values(it) { + return $values(it); + } +}); + + +/***/ }), + +/***/ "8689": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/my.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Burmese [my] +//! author : Squar team, mysquar.com +//! author : David Rossellat : https://github.com/gholadr +//! author : Tin Aung Lin : https://github.com/thanyawzinmin + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "c1df")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var symbolMap = { + 1: '၁', + 2: '၂', + 3: '၃', + 4: '၄', + 5: '၅', + 6: '၆', + 7: '၇', + 8: '၈', + 9: '၉', + 0: '၀', + }, + numberMap = { + '၁': '1', + '၂': '2', + '၃': '3', + '၄': '4', + '၅': '5', + '၆': '6', + '၇': '7', + '၈': '8', + '၉': '9', + '၀': '0', + }; + + var my = moment.defineLocale('my', { + months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split( + '_' + ), + monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'), + weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split( + '_' + ), + weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'), + + longDateFormat: { + LT: 'HH:mm', + LTS: 'HH:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D MMMM YYYY', + LLL: 'D MMMM YYYY HH:mm', + LLLL: 'dddd D MMMM YYYY HH:mm', + }, + calendar: { + sameDay: '[ယနေ.] LT [မှာ]', + nextDay: '[မနက်ဖြန်] LT [မှာ]', + nextWeek: 'dddd LT [မှာ]', + lastDay: '[မနေ.က] LT [မှာ]', + lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]', + sameElse: 'L', + }, + relativeTime: { + future: 'လာမည့် %s မှာ', + past: 'လွန်ခဲ့သော %s က', + s: 'စက္ကန်.အနည်းငယ်', + ss: '%d စက္ကန့်', + m: 'တစ်မိနစ်', + mm: '%d မိနစ်', + h: 'တစ်နာရီ', + hh: '%d နာရီ', + d: 'တစ်ရက်', + dd: '%d ရက်', + M: 'တစ်လ', + MM: '%d လ', + y: 'တစ်နှစ်', + yy: '%d နှစ်', + }, + preparse: function (string) { + return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) { + return numberMap[match]; + }); + }, + postformat: function (string) { + return string.replace(/\d/g, function (match) { + return symbolMap[match]; + }); + }, + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return my; + +}))); + + +/***/ }), + +/***/ "86a4": +/*!*************************************************************************!*\ + !*** ./node_modules/ant-design-vue/es/vc-tree-select/src/strategies.js ***! + \*************************************************************************/ +/*! exports provided: SHOW_ALL, SHOW_PARENT, SHOW_CHILD */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SHOW_ALL", function() { return SHOW_ALL; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SHOW_PARENT", function() { return SHOW_PARENT; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "SHOW_CHILD", function() { return SHOW_CHILD; }); +var SHOW_ALL = 'SHOW_ALL'; +var SHOW_PARENT = 'SHOW_PARENT'; +var SHOW_CHILD = 'SHOW_CHILD'; + +/***/ }), + +/***/ "86cc": +/*!****************************************************!*\ + !*** ./node_modules/core-js/modules/_object-dp.js ***! + \****************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +var anObject = __webpack_require__(/*! ./_an-object */ "cb7c"); +var IE8_DOM_DEFINE = __webpack_require__(/*! ./_ie8-dom-define */ "c69a"); +var toPrimitive = __webpack_require__(/*! ./_to-primitive */ "6a99"); +var dP = Object.defineProperty; + +exports.f = __webpack_require__(/*! ./_descriptors */ "9e1e") ? Object.defineProperty : function defineProperty(O, P, Attributes) { + anObject(O); + P = toPrimitive(P, true); + anObject(Attributes); + if (IE8_DOM_DEFINE) try { + return dP(O, P, Attributes); + } catch (e) { /* empty */ } + if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!'); + if ('value' in Attributes) O[P] = Attributes.value; + return O; +}; + + +/***/ }), + +/***/ "872a": +/*!*************************************************!*\ + !*** ./node_modules/lodash/_baseAssignValue.js ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +var defineProperty = __webpack_require__(/*! ./_defineProperty */ "3b4a"); + +/** + * The base implementation of `assignValue` and `assignMergeValue` without + * value checks. + * + * @private + * @param {Object} object The object to modify. + * @param {string} key The key of the property to assign. + * @param {*} value The value to assign. + */ +function baseAssignValue(object, key, value) { + if (key == '__proto__' && defineProperty) { + defineProperty(object, key, { + 'configurable': true, + 'enumerable': true, + 'value': value, + 'writable': true + }); + } else { + object[key] = value; + } +} + +module.exports = baseAssignValue; + + +/***/ }), + +/***/ "8757": +/*!*******************************************************!*\ + !*** ./node_modules/ant-design-vue/es/empty/empty.js ***! + \*******************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony default export */ __webpack_exports__["default"] = ({ + functional: true, + PRESENTED_IMAGE_DEFAULT: true, + render: function render() { + var h = arguments[0]; + + return h( + "svg", + { + attrs: { width: "184", height: "152", viewBox: "0 0 184 152", xmlns: "http://www.w3.org/2000/svg" } + }, + [h( + "g", + { + attrs: { fill: "none", fillRule: "evenodd" } + }, + [h( + "g", + { + attrs: { transform: "translate(24 31.67)" } + }, + [h("ellipse", { + attrs: { + fillOpacity: ".8", + fill: "#F5F5F7", + cx: "67.797", + cy: "106.89", + rx: "67.797", + ry: "12.668" + } + }), h("path", { + attrs: { + d: "M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z", + fill: "#AEB8C2" + } + }), h("path", { + attrs: { + d: "M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z", + fill: "url(#linearGradient-1)", + transform: "translate(13.56)" + } + }), h("path", { + attrs: { + d: "M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z", + fill: "#F5F5F7" + } + }), h("path", { + attrs: { + d: "M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z", + fill: "#DCE0E6" + } + })] + ), h("path", { + attrs: { + d: "M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z", + fill: "#DCE0E6" + } + }), h( + "g", + { + attrs: { transform: "translate(149.65 15.383)", fill: "#FFF" } + }, + [h("ellipse", { + attrs: { cx: "20.654", cy: "3.167", rx: "2.849", ry: "2.815" } + }), h("path", { + attrs: { d: "M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z" } + })] + )] + )] + ); + } +}); + +/***/ }), + +/***/ "8827": +/*!**************************************************************!*\ + !*** ./node_modules/babel-runtime/helpers/classCallCheck.js ***! + \**************************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +exports.__esModule = true; + +exports.default = function (instance, Constructor) { + if (!(instance instanceof Constructor)) { + throw new TypeError("Cannot call a class as a function"); + } +}; + +/***/ }), + +/***/ "8840": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/gl.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Galician [gl] +//! author : Juan G. Hurtado : https://github.com/juanghurtado + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "c1df")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var gl = moment.defineLocale('gl', { + months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split( + '_' + ), + monthsShort: + 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split( + '_' + ), + monthsParseExact: true, + weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; + }, + nextDay: function () { + return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT'; + }, + nextWeek: function () { + return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'; + }, + lastDay: function () { + return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT'; + }, + lastWeek: function () { + return ( + '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: function (str) { + if (str.indexOf('un') === 0) { + return 'n' + str; + } + return 'en ' + str; + }, + past: 'hai %s', + s: 'uns segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'unha hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + M: 'un mes', + MM: '%d meses', + y: 'un ano', + yy: '%d anos', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + }); + + return gl; + +}))); + + +/***/ }), + +/***/ "885d": +/*!***********************************************!*\ + !*** ./node_modules/vant/es/sku/constants.js ***! + \***********************************************/ +/*! exports provided: LIMIT_TYPE, UNSELECTED_SKU_VALUE_ID, default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "LIMIT_TYPE", function() { return LIMIT_TYPE; }); +/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "UNSELECTED_SKU_VALUE_ID", function() { return UNSELECTED_SKU_VALUE_ID; }); +var LIMIT_TYPE = { + QUOTA_LIMIT: 0, + STOCK_LIMIT: 1 +}; +var UNSELECTED_SKU_VALUE_ID = ''; +/* harmony default export */ __webpack_exports__["default"] = ({ + LIMIT_TYPE: LIMIT_TYPE, + UNSELECTED_SKU_VALUE_ID: UNSELECTED_SKU_VALUE_ID +}); + +/***/ }), + +/***/ "8868": +/*!*****************************************************!*\ + !*** ./node_modules/vant/es/address-edit/Detail.js ***! + \*****************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "c31d"); +/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils */ "a142"); +/* harmony import */ var _utils_validate_system__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../utils/validate/system */ "32d7"); +/* harmony import */ var _cell__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../cell */ "7744"); +/* harmony import */ var _field__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../field */ "565f"); + +// Utils + + // Components + + + + +var _createNamespace = Object(_utils__WEBPACK_IMPORTED_MODULE_1__["createNamespace"])('address-edit-detail'), + createComponent = _createNamespace[0], + bem = _createNamespace[1], + t = _createNamespace[2]; + +var android = Object(_utils_validate_system__WEBPACK_IMPORTED_MODULE_2__["isAndroid"])(); +/* harmony default export */ __webpack_exports__["default"] = (createComponent({ + props: { + value: String, + errorMessage: String, + focused: Boolean, + detailRows: [Number, String], + searchResult: Array, + detailMaxlength: [Number, String], + showSearchResult: Boolean + }, + computed: { + shouldShowSearchResult: function shouldShowSearchResult() { + return this.focused && this.searchResult && this.showSearchResult; + } + }, + methods: { + onSelect: function onSelect(express) { + this.$emit('select-search', express); + this.$emit('input', ((express.address || '') + " " + (express.name || '')).trim()); + }, + onFinish: function onFinish() { + this.$refs.field.blur(); + }, + genFinish: function genFinish() { + var h = this.$createElement; + var show = this.value && this.focused && android; + + if (show) { + return h("div", { + "class": bem('finish'), + "on": { + "click": this.onFinish + } + }, [t('complete')]); + } + }, + genSearchResult: function genSearchResult() { + var _this = this; + + var h = this.$createElement; + var value = this.value, + shouldShowSearchResult = this.shouldShowSearchResult, + searchResult = this.searchResult; + + if (shouldShowSearchResult) { + return searchResult.map(function (express) { + return h(_cell__WEBPACK_IMPORTED_MODULE_3__["default"], { + "key": express.name + express.address, + "attrs": { + "clickable": true, + "border": false, + "icon": "location-o", + "label": express.address + }, + "class": bem('search-item'), + "on": { + "click": function click() { + _this.onSelect(express); + } + }, + "scopedSlots": { + title: function title() { + if (express.name) { + var text = express.name.replace(value, "" + value + ""); + return h("div", { + "domProps": { + "innerHTML": text + } + }); + } + } + } + }); + }); + } + } + }, + render: function render() { + var h = arguments[0]; + return h(_cell__WEBPACK_IMPORTED_MODULE_3__["default"], { + "class": bem() + }, [h(_field__WEBPACK_IMPORTED_MODULE_4__["default"], { + "attrs": { + "autosize": true, + "rows": this.detailRows, + "clearable": !android, + "type": "textarea", + "value": this.value, + "errorMessage": this.errorMessage, + "border": !this.shouldShowSearchResult, + "label": t('label'), + "maxlength": this.detailMaxlength, + "placeholder": t('placeholder') + }, + "ref": "field", + "scopedSlots": { + icon: this.genFinish + }, + "on": Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, this.$listeners) + }), this.genSearchResult()]); + } +})); + +/***/ }), + +/***/ "887f": +/*!**********************************************!*\ + !*** ./node_modules/vant/es/tabs/Content.js ***! + \**********************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @babel/runtime/helpers/esm/extends */ "c31d"); +/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../utils */ "a142"); +/* harmony import */ var _mixins_touch__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../mixins/touch */ "3875"); + + + + +var _createNamespace = Object(_utils__WEBPACK_IMPORTED_MODULE_1__["createNamespace"])('tabs'), + createComponent = _createNamespace[0], + bem = _createNamespace[1]; + +var MIN_SWIPE_DISTANCE = 50; +/* harmony default export */ __webpack_exports__["default"] = (createComponent({ + mixins: [_mixins_touch__WEBPACK_IMPORTED_MODULE_2__["TouchMixin"]], + props: { + count: Number, + duration: [Number, String], + animated: Boolean, + swipeable: Boolean, + currentIndex: Number + }, + computed: { + style: function style() { + if (this.animated) { + return { + transform: "translate3d(" + -1 * this.currentIndex * 100 + "%, 0, 0)", + transitionDuration: this.duration + "s" + }; + } + }, + listeners: function listeners() { + if (this.swipeable) { + return { + touchstart: this.touchStart, + touchmove: this.touchMove, + touchend: this.onTouchEnd, + touchcancel: this.onTouchEnd + }; + } + } + }, + methods: { + // watch swipe touch end + onTouchEnd: function onTouchEnd() { + var direction = this.direction, + deltaX = this.deltaX, + currentIndex = this.currentIndex; + /* istanbul ignore else */ + + if (direction === 'horizontal' && this.offsetX >= MIN_SWIPE_DISTANCE) { + /* istanbul ignore else */ + if (deltaX > 0 && currentIndex !== 0) { + this.$emit('change', currentIndex - 1); + } else if (deltaX < 0 && currentIndex !== this.count - 1) { + this.$emit('change', currentIndex + 1); + } + } + }, + genChildren: function genChildren() { + var h = this.$createElement; + + if (this.animated) { + return h("div", { + "class": bem('track'), + "style": this.style + }, [this.slots()]); + } + + return this.slots(); + } + }, + render: function render() { + var h = arguments[0]; + return h("div", { + "class": bem('content', { + animated: this.animated + }), + "on": Object(_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__["default"])({}, this.listeners) + }, [this.genChildren()]); + } +})); + +/***/ }), + +/***/ "8891": +/*!**********************************************************************!*\ + !*** ./node_modules/ant-design-vue/es/vc-tabs/src/TabBarRootNode.js ***! + \**********************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-helper-vue-jsx-merge-props */ "92fa"); +/* harmony import */ var babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! babel-runtime/helpers/extends */ "41b2"); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babel-runtime/helpers/defineProperty */ "6042"); +/* harmony import */ var babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _util_vnode__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../_util/vnode */ "7b05"); +/* harmony import */ var _util_vue_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../_util/vue-types */ "4d91"); +/* harmony import */ var _util_BaseMixin__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../_util/BaseMixin */ "b488"); + + + + + + +function noop() {} +/* harmony default export */ __webpack_exports__["default"] = ({ + name: 'TabBarRootNode', + mixins: [_util_BaseMixin__WEBPACK_IMPORTED_MODULE_5__["default"]], + props: { + saveRef: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].func.def(noop), + getRef: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].func.def(noop), + prefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].string.def(''), + tabBarPosition: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].string.def('top'), + extraContent: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].any + }, + methods: { + onKeyDown: function onKeyDown(e) { + this.__emit('keydown', e); + } + }, + render: function render() { + var h = arguments[0]; + var prefixCls = this.prefixCls, + onKeyDown = this.onKeyDown, + tabBarPosition = this.tabBarPosition, + extraContent = this.extraContent; + + var cls = babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_2___default()({}, prefixCls + '-bar', true); + var topOrBottom = tabBarPosition === 'top' || tabBarPosition === 'bottom'; + var tabBarExtraContentStyle = topOrBottom ? { float: 'right' } : {}; + var children = this.$slots['default']; + var newChildren = children; + if (extraContent) { + newChildren = [Object(_util_vnode__WEBPACK_IMPORTED_MODULE_3__["cloneElement"])(extraContent, { + key: 'extra', + style: babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({}, tabBarExtraContentStyle) + }), Object(_util_vnode__WEBPACK_IMPORTED_MODULE_3__["cloneElement"])(children, { key: 'content' })]; + newChildren = topOrBottom ? newChildren : newChildren.reverse(); + } + + return h( + 'div', + babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default()([{ + attrs: { + role: 'tablist', + + tabIndex: '0' + }, + 'class': cls, on: { + 'keydown': onKeyDown + } + }, { + directives: [{ + name: 'ant-ref', + value: this.saveRef('root') + }] + }]), + [newChildren] + ); + } +}); + +/***/ }), + +/***/ "8898": +/*!****************************************************************!*\ + !*** ./node_modules/ant-design-vue/es/vc-cascader/Cascader.js ***! + \****************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-runtime/helpers/extends */ "41b2"); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ "8e8e"); +/* harmony import */ var babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! babel-runtime/helpers/toConsumableArray */ "9b57"); +/* harmony import */ var babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _util_props_util__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/props-util */ "daa3"); +/* harmony import */ var _util_vue_types__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../_util/vue-types */ "4d91"); +/* harmony import */ var _vc_trigger__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../vc-trigger */ "8496"); +/* harmony import */ var _Menus__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./Menus */ "7a5b"); +/* harmony import */ var _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../_util/KeyCode */ "18a7"); +/* harmony import */ var array_tree_filter__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! array-tree-filter */ "b8ad"); +/* harmony import */ var array_tree_filter__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(array_tree_filter__WEBPACK_IMPORTED_MODULE_8__); +/* harmony import */ var shallow_equal_arrays__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! shallow-equal/arrays */ "c2b3"); +/* harmony import */ var shallow_equal_arrays__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(shallow_equal_arrays__WEBPACK_IMPORTED_MODULE_9__); +/* harmony import */ var _util_BaseMixin__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../_util/BaseMixin */ "b488"); +/* harmony import */ var _util_vnode__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_util/vnode */ "7b05"); + + + + + + + + + + + + + + +var BUILT_IN_PLACEMENTS = { + bottomLeft: { + points: ['tl', 'bl'], + offset: [0, 4], + overflow: { + adjustX: 1, + adjustY: 1 + } + }, + topLeft: { + points: ['bl', 'tl'], + offset: [0, -4], + overflow: { + adjustX: 1, + adjustY: 1 + } + }, + bottomRight: { + points: ['tr', 'br'], + offset: [0, 4], + overflow: { + adjustX: 1, + adjustY: 1 + } + }, + topRight: { + points: ['br', 'tr'], + offset: [0, -4], + overflow: { + adjustX: 1, + adjustY: 1 + } + } +}; + +/* harmony default export */ __webpack_exports__["default"] = ({ + mixins: [_util_BaseMixin__WEBPACK_IMPORTED_MODULE_10__["default"]], + model: { + prop: 'value', + event: 'change' + }, + props: { + value: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].array, + defaultValue: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].array, + options: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].array, + // onChange: PropTypes.func, + // onPopupVisibleChange: PropTypes.func, + popupVisible: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].bool, + disabled: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].bool.def(false), + transitionName: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].string.def(''), + popupClassName: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].string.def(''), + popupStyle: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].object.def(function () { + return {}; + }), + popupPlacement: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].string.def('bottomLeft'), + prefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].string.def('rc-cascader'), + dropdownMenuColumnStyle: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].object, + builtinPlacements: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].object.def(BUILT_IN_PLACEMENTS), + loadData: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].func, + changeOnSelect: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].bool, + // onKeyDown: PropTypes.func, + expandTrigger: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].string.def('click'), + fieldNames: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].object.def(function () { + return { + label: 'label', + value: 'value', + children: 'children' + }; + }), + expandIcon: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].any, + loadingIcon: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].any, + getPopupContainer: _util_vue_types__WEBPACK_IMPORTED_MODULE_4__["default"].func + }, + data: function data() { + var initialValue = []; + var value = this.value, + defaultValue = this.defaultValue, + popupVisible = this.popupVisible; + + if (Object(_util_props_util__WEBPACK_IMPORTED_MODULE_3__["hasProp"])(this, 'value')) { + initialValue = value || []; + } else if (Object(_util_props_util__WEBPACK_IMPORTED_MODULE_3__["hasProp"])(this, 'defaultValue')) { + initialValue = defaultValue || []; + } + // warning(!('filedNames' in props), + // '`filedNames` of Cascader is a typo usage and deprecated, please use `fieldNames` instead.'); + + return { + sPopupVisible: popupVisible, + sActiveValue: initialValue, + sValue: initialValue + }; + }, + + watch: { + value: function value(val, oldValue) { + if (!shallow_equal_arrays__WEBPACK_IMPORTED_MODULE_9___default()(val, oldValue)) { + var newValues = { + sValue: val || [] + }; + // allow activeValue diff from value + // https://github.com/ant-design/ant-design/issues/2767 + if (!Object(_util_props_util__WEBPACK_IMPORTED_MODULE_3__["hasProp"])(this, 'loadData')) { + newValues.sActiveValue = val || []; + } + this.setState(newValues); + } + }, + popupVisible: function popupVisible(val) { + this.setState({ + sPopupVisible: val + }); + } + }, + methods: { + getPopupDOMNode: function getPopupDOMNode() { + return this.$refs.trigger.getPopupDomNode(); + }, + getFieldName: function getFieldName(name) { + var defaultFieldNames = this.defaultFieldNames, + fieldNames = this.fieldNames; + + return fieldNames[name] || defaultFieldNames[name]; + }, + getFieldNames: function getFieldNames() { + return this.fieldNames; + }, + getCurrentLevelOptions: function getCurrentLevelOptions() { + var _this = this; + + var _options = this.options, + options = _options === undefined ? [] : _options, + _sActiveValue = this.sActiveValue, + sActiveValue = _sActiveValue === undefined ? [] : _sActiveValue; + + var result = array_tree_filter__WEBPACK_IMPORTED_MODULE_8___default()(options, function (o, level) { + return o[_this.getFieldName('value')] === sActiveValue[level]; + }, { childrenKeyName: this.getFieldName('children') }); + if (result[result.length - 2]) { + return result[result.length - 2][this.getFieldName('children')]; + } + return [].concat(babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2___default()(options)).filter(function (o) { + return !o.disabled; + }); + }, + getActiveOptions: function getActiveOptions(activeValue) { + var _this2 = this; + + return array_tree_filter__WEBPACK_IMPORTED_MODULE_8___default()(this.options || [], function (o, level) { + return o[_this2.getFieldName('value')] === activeValue[level]; + }, { childrenKeyName: this.getFieldName('children') }); + }, + setPopupVisible: function setPopupVisible(popupVisible) { + if (!Object(_util_props_util__WEBPACK_IMPORTED_MODULE_3__["hasProp"])(this, 'popupVisible')) { + this.setState({ sPopupVisible: popupVisible }); + } + // sync activeValue with value when panel open + if (popupVisible && !this.sPopupVisible) { + this.setState({ + sActiveValue: this.sValue + }); + } + this.__emit('popupVisibleChange', popupVisible); + }, + handleChange: function handleChange(options, setProps, e) { + var _this3 = this; + + if (e.type !== 'keydown' || e.keyCode === _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].ENTER) { + this.__emit('change', options.map(function (o) { + return o[_this3.getFieldName('value')]; + }), options); + this.setPopupVisible(setProps.visible); + } + }, + handlePopupVisibleChange: function handlePopupVisibleChange(popupVisible) { + this.setPopupVisible(popupVisible); + }, + handleMenuSelect: function handleMenuSelect(targetOption, menuIndex, e) { + // Keep focused state for keyboard support + var triggerNode = this.$refs.trigger.getRootDomNode(); + if (triggerNode && triggerNode.focus) { + triggerNode.focus(); + } + var changeOnSelect = this.changeOnSelect, + loadData = this.loadData, + expandTrigger = this.expandTrigger; + + if (!targetOption || targetOption.disabled) { + return; + } + var sActiveValue = this.sActiveValue; + + sActiveValue = sActiveValue.slice(0, menuIndex + 1); + sActiveValue[menuIndex] = targetOption[this.getFieldName('value')]; + var activeOptions = this.getActiveOptions(sActiveValue); + if (targetOption.isLeaf === false && !targetOption[this.getFieldName('children')] && loadData) { + if (changeOnSelect) { + this.handleChange(activeOptions, { visible: true }, e); + } + this.setState({ sActiveValue: sActiveValue }); + loadData(activeOptions); + return; + } + var newState = {}; + if (!targetOption[this.getFieldName('children')] || !targetOption[this.getFieldName('children')].length) { + this.handleChange(activeOptions, { visible: false }, e); + // set value to activeValue when select leaf option + newState.sValue = sActiveValue; + // add e.type judgement to prevent `onChange` being triggered by mouseEnter + } else if (changeOnSelect && (e.type === 'click' || e.type === 'keydown')) { + if (expandTrigger === 'hover') { + this.handleChange(activeOptions, { visible: false }, e); + } else { + this.handleChange(activeOptions, { visible: true }, e); + } + // set value to activeValue on every select + newState.sValue = sActiveValue; + } + newState.sActiveValue = sActiveValue; + // not change the value by keyboard + if (Object(_util_props_util__WEBPACK_IMPORTED_MODULE_3__["hasProp"])(this, 'value') || e.type === 'keydown' && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].ENTER) { + delete newState.sValue; + } + this.setState(newState); + }, + handleItemDoubleClick: function handleItemDoubleClick() { + var changeOnSelect = this.$props.changeOnSelect; + + if (changeOnSelect) { + this.setPopupVisible(false); + } + }, + handleKeyDown: function handleKeyDown(e) { + var _this4 = this; + + var $slots = this.$slots; + + var children = $slots['default'] && $slots['default'][0]; + // https://github.com/ant-design/ant-design/issues/6717 + // Don't bind keyboard support when children specify the onKeyDown + if (children) { + var keydown = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_3__["getEvents"])(children).keydown; + if (keydown) { + keydown(e); + return; + } + } + var activeValue = [].concat(babel_runtime_helpers_toConsumableArray__WEBPACK_IMPORTED_MODULE_2___default()(this.sActiveValue)); + var currentLevel = activeValue.length - 1 < 0 ? 0 : activeValue.length - 1; + var currentOptions = this.getCurrentLevelOptions(); + var currentIndex = currentOptions.map(function (o) { + return o[_this4.getFieldName('value')]; + }).indexOf(activeValue[currentLevel]); + if (e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].DOWN && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].UP && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].LEFT && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].RIGHT && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].ENTER && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].SPACE && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].BACKSPACE && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].ESC && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].TAB) { + return; + } + // Press any keys above to reopen menu + if (!this.sPopupVisible && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].BACKSPACE && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].LEFT && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].RIGHT && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].ESC && e.keyCode !== _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].TAB) { + this.setPopupVisible(true); + return; + } + if (e.keyCode === _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].DOWN || e.keyCode === _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].UP) { + e.preventDefault(); + var nextIndex = currentIndex; + if (nextIndex !== -1) { + if (e.keyCode === _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].DOWN) { + nextIndex += 1; + nextIndex = nextIndex >= currentOptions.length ? 0 : nextIndex; + } else { + nextIndex -= 1; + nextIndex = nextIndex < 0 ? currentOptions.length - 1 : nextIndex; + } + } else { + nextIndex = 0; + } + activeValue[currentLevel] = currentOptions[nextIndex][this.getFieldName('value')]; + } else if (e.keyCode === _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].LEFT || e.keyCode === _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].BACKSPACE) { + e.preventDefault(); + activeValue.splice(activeValue.length - 1, 1); + } else if (e.keyCode === _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].RIGHT) { + e.preventDefault(); + if (currentOptions[currentIndex] && currentOptions[currentIndex][this.getFieldName('children')]) { + activeValue.push(currentOptions[currentIndex][this.getFieldName('children')][0][this.getFieldName('value')]); + } + } else if (e.keyCode === _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].ESC || e.keyCode === _util_KeyCode__WEBPACK_IMPORTED_MODULE_7__["default"].TAB) { + this.setPopupVisible(false); + return; + } + if (!activeValue || activeValue.length === 0) { + this.setPopupVisible(false); + } + var activeOptions = this.getActiveOptions(activeValue); + var targetOption = activeOptions[activeOptions.length - 1]; + this.handleMenuSelect(targetOption, activeOptions.length - 1, e); + this.__emit('keydown', e); + } + }, + + render: function render() { + var h = arguments[0]; + var $props = this.$props, + sActiveValue = this.sActiveValue, + handleMenuSelect = this.handleMenuSelect, + sPopupVisible = this.sPopupVisible, + handlePopupVisibleChange = this.handlePopupVisibleChange, + handleKeyDown = this.handleKeyDown; + + var listeners = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_3__["getListeners"])(this); + + var prefixCls = $props.prefixCls, + transitionName = $props.transitionName, + popupClassName = $props.popupClassName, + _$props$options = $props.options, + options = _$props$options === undefined ? [] : _$props$options, + disabled = $props.disabled, + builtinPlacements = $props.builtinPlacements, + popupPlacement = $props.popupPlacement, + restProps = babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()($props, ['prefixCls', 'transitionName', 'popupClassName', 'options', 'disabled', 'builtinPlacements', 'popupPlacement']); + // Did not show popup when there is no options + + + var menus = h('div'); + var emptyMenuClassName = ''; + if (options && options.length > 0) { + var loadingIcon = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_3__["getComponentFromProp"])(this, 'loadingIcon'); + var expandIcon = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_3__["getComponentFromProp"])(this, 'expandIcon') || '>'; + var menusProps = { + props: babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, $props, { + fieldNames: this.getFieldNames(), + defaultFieldNames: this.defaultFieldNames, + activeValue: sActiveValue, + visible: sPopupVisible, + loadingIcon: loadingIcon, + expandIcon: expandIcon + }), + on: babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, listeners, { + select: handleMenuSelect, + itemDoubleClick: this.handleItemDoubleClick + }) + }; + menus = h(_Menus__WEBPACK_IMPORTED_MODULE_6__["default"], menusProps); + } else { + emptyMenuClassName = ' ' + prefixCls + '-menus-empty'; + } + var triggerProps = { + props: babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, restProps, { + disabled: disabled, + popupPlacement: popupPlacement, + builtinPlacements: builtinPlacements, + popupTransitionName: transitionName, + action: disabled ? [] : ['click'], + popupVisible: disabled ? false : sPopupVisible, + prefixCls: prefixCls + '-menus', + popupClassName: popupClassName + emptyMenuClassName + }), + on: babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({}, listeners, { + popupVisibleChange: handlePopupVisibleChange + }), + ref: 'trigger' + }; + var children = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_3__["getSlot"])(this, 'default')[0]; + return h( + _vc_trigger__WEBPACK_IMPORTED_MODULE_5__["default"], + triggerProps, + [children && Object(_util_vnode__WEBPACK_IMPORTED_MODULE_11__["cloneElement"])(children, { + on: { + keydown: handleKeyDown + }, + attrs: { + tabIndex: disabled ? undefined : 0 + } + }), h( + 'template', + { slot: 'popup' }, + [menus] + )] + ); + } +}); + +/***/ }), + +/***/ "88ee": +/*!**************************************************************!*\ + !*** ./node_modules/ant-design-vue/es/vc-trigger/Trigger.js ***! + \**************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-runtime/helpers/extends */ "41b2"); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! vue */ "8bbf"); +/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var vue_ref__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue-ref */ "46cf"); +/* harmony import */ var vue_ref__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(vue_ref__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _util_vue_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/vue-types */ "4d91"); +/* harmony import */ var _vc_util_Dom_contains__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../vc-util/Dom/contains */ "6bb4"); +/* harmony import */ var _util_props_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_util/props-util */ "daa3"); +/* harmony import */ var _util_requestAnimationTimeout__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../_util/requestAnimationTimeout */ "d41d"); +/* harmony import */ var _vc_util_Dom_addEventListener__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../vc-util/Dom/addEventListener */ "c8c6"); +/* harmony import */ var _util_warning__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../_util/warning */ "6a21"); +/* harmony import */ var _Popup__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ./Popup */ "f3dd"); +/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ./utils */ "cb7d"); +/* harmony import */ var _util_BaseMixin__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../_util/BaseMixin */ "b488"); +/* harmony import */ var _util_vnode__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../_util/vnode */ "7b05"); +/* harmony import */ var _util_ContainerRender__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../_util/ContainerRender */ "98d3"); + + + + + + + + + + + + + + + +vue__WEBPACK_IMPORTED_MODULE_1___default.a.use(vue_ref__WEBPACK_IMPORTED_MODULE_2___default.a, { name: 'ant-ref' }); + +function returnEmptyString() { + return ''; +} + +function returnDocument() { + return window.document; +} +var ALL_HANDLERS = ['click', 'mousedown', 'touchstart', 'mouseenter', 'mouseleave', 'focus', 'blur', 'contextmenu']; + +/* harmony default export */ __webpack_exports__["default"] = ({ + name: 'Trigger', + mixins: [_util_BaseMixin__WEBPACK_IMPORTED_MODULE_11__["default"]], + props: { + action: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].arrayOf(_util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].string)]).def([]), + showAction: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].any.def([]), + hideAction: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].any.def([]), + getPopupClassNameFromAlign: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].any.def(returnEmptyString), + // onPopupVisibleChange: PropTypes.func.def(noop), + afterPopupVisibleChange: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].func.def(_utils__WEBPACK_IMPORTED_MODULE_10__["noop"]), + popup: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].any, + popupStyle: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].object.def(function () { + return {}; + }), + prefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].string.def('rc-trigger-popup'), + popupClassName: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].string.def(''), + popupPlacement: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].string, + builtinPlacements: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].object, + popupTransitionName: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].object]), + popupAnimation: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].any, + mouseEnterDelay: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].number.def(0), + mouseLeaveDelay: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].number.def(0.1), + zIndex: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].number, + focusDelay: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].number.def(0), + blurDelay: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].number.def(0.15), + getPopupContainer: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].func, + getDocument: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].func.def(returnDocument), + forceRender: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].bool, + destroyPopupOnHide: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].bool.def(false), + mask: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].bool.def(false), + maskClosable: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].bool.def(true), + // onPopupAlign: PropTypes.func.def(noop), + popupAlign: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].object.def(function () { + return {}; + }), + popupVisible: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].bool, + defaultPopupVisible: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].bool.def(false), + maskTransitionName: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].oneOfType([_util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].string, _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].object]), + maskAnimation: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].string, + stretch: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].string, + alignPoint: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].bool // Maybe we can support user pass position in the future + }, + provide: function provide() { + return { + vcTriggerContext: this + }; + }, + + inject: { + vcTriggerContext: { 'default': function _default() { + return {}; + } }, + savePopupRef: { 'default': function _default() { + return _utils__WEBPACK_IMPORTED_MODULE_10__["noop"]; + } }, + dialogContext: { 'default': function _default() { + return null; + } } + }, + data: function data() { + var _this = this; + + var props = this.$props; + var popupVisible = void 0; + if (Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["hasProp"])(this, 'popupVisible')) { + popupVisible = !!props.popupVisible; + } else { + popupVisible = !!props.defaultPopupVisible; + } + ALL_HANDLERS.forEach(function (h) { + _this['fire' + h] = function (e) { + _this.fireEvents(h, e); + }; + }); + return { + prevPopupVisible: popupVisible, + sPopupVisible: popupVisible, + point: null + }; + }, + + watch: { + popupVisible: function popupVisible(val) { + if (val !== undefined) { + this.prevPopupVisible = this.sPopupVisible; + this.sPopupVisible = val; + } + } + }, + deactivated: function deactivated() { + this.setPopupVisible(false); + }, + mounted: function mounted() { + var _this2 = this; + + this.$nextTick(function () { + _this2.renderComponent(null); + _this2.updatedCal(); + }); + }, + updated: function updated() { + var _this3 = this; + + var triggerAfterPopupVisibleChange = function triggerAfterPopupVisibleChange() { + if (_this3.sPopupVisible !== _this3.prevPopupVisible) { + _this3.afterPopupVisibleChange(_this3.sPopupVisible); + } + _this3.prevPopupVisible = _this3.sPopupVisible; + }; + this.renderComponent(null, triggerAfterPopupVisibleChange); + this.$nextTick(function () { + _this3.updatedCal(); + }); + }, + beforeDestroy: function beforeDestroy() { + this.clearDelayTimer(); + this.clearOutsideHandler(); + clearTimeout(this.mouseDownTimeout); + }, + + methods: { + updatedCal: function updatedCal() { + var props = this.$props; + var state = this.$data; + + // We must listen to `mousedown` or `touchstart`, edge case: + // https://github.com/ant-design/ant-design/issues/5804 + // https://github.com/react-component/calendar/issues/250 + // https://github.com/react-component/trigger/issues/50 + if (state.sPopupVisible) { + var currentDocument = void 0; + if (!this.clickOutsideHandler && (this.isClickToHide() || this.isContextmenuToShow())) { + currentDocument = props.getDocument(); + this.clickOutsideHandler = Object(_vc_util_Dom_addEventListener__WEBPACK_IMPORTED_MODULE_7__["default"])(currentDocument, 'mousedown', this.onDocumentClick); + } + // always hide on mobile + if (!this.touchOutsideHandler) { + currentDocument = currentDocument || props.getDocument(); + this.touchOutsideHandler = Object(_vc_util_Dom_addEventListener__WEBPACK_IMPORTED_MODULE_7__["default"])(currentDocument, 'touchstart', this.onDocumentClick); + } + // close popup when trigger type contains 'onContextmenu' and document is scrolling. + if (!this.contextmenuOutsideHandler1 && this.isContextmenuToShow()) { + currentDocument = currentDocument || props.getDocument(); + this.contextmenuOutsideHandler1 = Object(_vc_util_Dom_addEventListener__WEBPACK_IMPORTED_MODULE_7__["default"])(currentDocument, 'scroll', this.onContextmenuClose); + } + // close popup when trigger type contains 'onContextmenu' and window is blur. + if (!this.contextmenuOutsideHandler2 && this.isContextmenuToShow()) { + this.contextmenuOutsideHandler2 = Object(_vc_util_Dom_addEventListener__WEBPACK_IMPORTED_MODULE_7__["default"])(window, 'blur', this.onContextmenuClose); + } + } else { + this.clearOutsideHandler(); + } + }, + onMouseenter: function onMouseenter(e) { + var mouseEnterDelay = this.$props.mouseEnterDelay; + + this.fireEvents('mouseenter', e); + this.delaySetPopupVisible(true, mouseEnterDelay, mouseEnterDelay ? null : e); + }, + onMouseMove: function onMouseMove(e) { + this.fireEvents('mousemove', e); + this.setPoint(e); + }, + onMouseleave: function onMouseleave(e) { + this.fireEvents('mouseleave', e); + this.delaySetPopupVisible(false, this.$props.mouseLeaveDelay); + }, + onPopupMouseenter: function onPopupMouseenter() { + this.clearDelayTimer(); + }, + onPopupMouseleave: function onPopupMouseleave(e) { + if (e && e.relatedTarget && !e.relatedTarget.setTimeout && this._component && this._component.getPopupDomNode && Object(_vc_util_Dom_contains__WEBPACK_IMPORTED_MODULE_4__["default"])(this._component.getPopupDomNode(), e.relatedTarget)) { + return; + } + this.delaySetPopupVisible(false, this.$props.mouseLeaveDelay); + }, + onFocus: function onFocus(e) { + this.fireEvents('focus', e); + // incase focusin and focusout + this.clearDelayTimer(); + if (this.isFocusToShow()) { + this.focusTime = Date.now(); + this.delaySetPopupVisible(true, this.$props.focusDelay); + } + }, + onMousedown: function onMousedown(e) { + this.fireEvents('mousedown', e); + this.preClickTime = Date.now(); + }, + onTouchstart: function onTouchstart(e) { + this.fireEvents('touchstart', e); + this.preTouchTime = Date.now(); + }, + onBlur: function onBlur(e) { + if (!Object(_vc_util_Dom_contains__WEBPACK_IMPORTED_MODULE_4__["default"])(e.target, e.relatedTarget || document.activeElement)) { + this.fireEvents('blur', e); + this.clearDelayTimer(); + if (this.isBlurToHide()) { + this.delaySetPopupVisible(false, this.$props.blurDelay); + } + } + }, + onContextmenu: function onContextmenu(e) { + e.preventDefault(); + this.fireEvents('contextmenu', e); + this.setPopupVisible(true, e); + }, + onContextmenuClose: function onContextmenuClose() { + if (this.isContextmenuToShow()) { + this.close(); + } + }, + onClick: function onClick(event) { + this.fireEvents('click', event); + // focus will trigger click + if (this.focusTime) { + var preTime = void 0; + if (this.preClickTime && this.preTouchTime) { + preTime = Math.min(this.preClickTime, this.preTouchTime); + } else if (this.preClickTime) { + preTime = this.preClickTime; + } else if (this.preTouchTime) { + preTime = this.preTouchTime; + } + if (Math.abs(preTime - this.focusTime) < 20) { + return; + } + this.focusTime = 0; + } + this.preClickTime = 0; + this.preTouchTime = 0; + // Only prevent default when all the action is click. + // https://github.com/ant-design/ant-design/issues/17043 + // https://github.com/ant-design/ant-design/issues/17291 + if (this.isClickToShow() && (this.isClickToHide() || this.isBlurToHide()) && event && event.preventDefault) { + event.preventDefault(); + } + if (event && event.domEvent) { + event.domEvent.preventDefault(); + } + var nextVisible = !this.$data.sPopupVisible; + if (this.isClickToHide() && !nextVisible || nextVisible && this.isClickToShow()) { + this.setPopupVisible(!this.$data.sPopupVisible, event); + } + }, + onPopupMouseDown: function onPopupMouseDown() { + var _this4 = this; + + var _vcTriggerContext = this.vcTriggerContext, + vcTriggerContext = _vcTriggerContext === undefined ? {} : _vcTriggerContext; + + this.hasPopupMouseDown = true; + + clearTimeout(this.mouseDownTimeout); + this.mouseDownTimeout = setTimeout(function () { + _this4.hasPopupMouseDown = false; + }, 0); + + if (vcTriggerContext.onPopupMouseDown) { + vcTriggerContext.onPopupMouseDown.apply(vcTriggerContext, arguments); + } + }, + onDocumentClick: function onDocumentClick(event) { + if (this.$props.mask && !this.$props.maskClosable) { + return; + } + var target = event.target; + var root = this.$el; + if (!Object(_vc_util_Dom_contains__WEBPACK_IMPORTED_MODULE_4__["default"])(root, target) && !this.hasPopupMouseDown) { + this.close(); + } + }, + getPopupDomNode: function getPopupDomNode() { + if (this._component && this._component.getPopupDomNode) { + return this._component.getPopupDomNode(); + } + return null; + }, + getRootDomNode: function getRootDomNode() { + return this.$el; + // return this.$el.children[0] || this.$el + }, + handleGetPopupClassFromAlign: function handleGetPopupClassFromAlign(align) { + var className = []; + var props = this.$props; + var popupPlacement = props.popupPlacement, + builtinPlacements = props.builtinPlacements, + prefixCls = props.prefixCls, + alignPoint = props.alignPoint, + getPopupClassNameFromAlign = props.getPopupClassNameFromAlign; + + if (popupPlacement && builtinPlacements) { + className.push(Object(_utils__WEBPACK_IMPORTED_MODULE_10__["getAlignPopupClassName"])(builtinPlacements, prefixCls, align, alignPoint)); + } + if (getPopupClassNameFromAlign) { + className.push(getPopupClassNameFromAlign(align)); + } + return className.join(' '); + }, + getPopupAlign: function getPopupAlign() { + var props = this.$props; + var popupPlacement = props.popupPlacement, + popupAlign = props.popupAlign, + builtinPlacements = props.builtinPlacements; + + if (popupPlacement && builtinPlacements) { + return Object(_utils__WEBPACK_IMPORTED_MODULE_10__["getAlignFromPlacement"])(builtinPlacements, popupPlacement, popupAlign); + } + return popupAlign; + }, + savePopup: function savePopup(node) { + this._component = node; + this.savePopupRef(node); + }, + getComponent: function getComponent() { + var h = this.$createElement; + + var self = this; + var mouseProps = {}; + if (this.isMouseEnterToShow()) { + mouseProps.mouseenter = self.onPopupMouseenter; + } + if (this.isMouseLeaveToHide()) { + mouseProps.mouseleave = self.onPopupMouseleave; + } + mouseProps.mousedown = this.onPopupMouseDown; + mouseProps.touchstart = this.onPopupMouseDown; + var handleGetPopupClassFromAlign = self.handleGetPopupClassFromAlign, + getRootDomNode = self.getRootDomNode, + getContainer = self.getContainer; + var _self$$props = self.$props, + prefixCls = _self$$props.prefixCls, + destroyPopupOnHide = _self$$props.destroyPopupOnHide, + popupClassName = _self$$props.popupClassName, + action = _self$$props.action, + popupAnimation = _self$$props.popupAnimation, + popupTransitionName = _self$$props.popupTransitionName, + popupStyle = _self$$props.popupStyle, + mask = _self$$props.mask, + maskAnimation = _self$$props.maskAnimation, + maskTransitionName = _self$$props.maskTransitionName, + zIndex = _self$$props.zIndex, + stretch = _self$$props.stretch, + alignPoint = _self$$props.alignPoint; + var _$data = this.$data, + sPopupVisible = _$data.sPopupVisible, + point = _$data.point; + + var align = this.getPopupAlign(); + var popupProps = { + props: { + prefixCls: prefixCls, + destroyPopupOnHide: destroyPopupOnHide, + visible: sPopupVisible, + point: alignPoint && point, + action: action, + align: align, + animation: popupAnimation, + getClassNameFromAlign: handleGetPopupClassFromAlign, + stretch: stretch, + getRootDomNode: getRootDomNode, + mask: mask, + zIndex: zIndex, + transitionName: popupTransitionName, + maskAnimation: maskAnimation, + maskTransitionName: maskTransitionName, + getContainer: getContainer, + popupClassName: popupClassName, + popupStyle: popupStyle + }, + on: babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({ + align: Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getListeners"])(this).popupAlign || _utils__WEBPACK_IMPORTED_MODULE_10__["noop"] + }, mouseProps), + directives: [{ + name: 'ant-ref', + value: this.savePopup + }] + }; + return h( + _Popup__WEBPACK_IMPORTED_MODULE_9__["default"], + popupProps, + [Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getComponentFromProp"])(self, 'popup')] + ); + }, + getContainer: function getContainer() { + var props = this.$props, + dialogContext = this.dialogContext; + + var popupContainer = document.createElement('div'); + // Make sure default popup container will never cause scrollbar appearing + // https://github.com/react-component/trigger/issues/41 + popupContainer.style.position = 'absolute'; + popupContainer.style.top = '0'; + popupContainer.style.left = '0'; + popupContainer.style.width = '100%'; + var mountNode = props.getPopupContainer ? props.getPopupContainer(this.$el, dialogContext) : props.getDocument().body; + mountNode.appendChild(popupContainer); + this.popupContainer = popupContainer; + return popupContainer; + }, + setPopupVisible: function setPopupVisible(sPopupVisible, event) { + var alignPoint = this.alignPoint, + prevPopupVisible = this.sPopupVisible; + + this.clearDelayTimer(); + if (prevPopupVisible !== sPopupVisible) { + if (!Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["hasProp"])(this, 'popupVisible')) { + this.setState({ + sPopupVisible: sPopupVisible, + prevPopupVisible: prevPopupVisible + }); + } + var listeners = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getListeners"])(this); + listeners.popupVisibleChange && listeners.popupVisibleChange(sPopupVisible); + } + // Always record the point position since mouseEnterDelay will delay the show + if (alignPoint && event) { + this.setPoint(event); + } + }, + setPoint: function setPoint(point) { + var alignPoint = this.$props.alignPoint; + + if (!alignPoint || !point) return; + + this.setState({ + point: { + pageX: point.pageX, + pageY: point.pageY + } + }); + }, + delaySetPopupVisible: function delaySetPopupVisible(visible, delayS, event) { + var _this5 = this; + + var delay = delayS * 1000; + this.clearDelayTimer(); + if (delay) { + var point = event ? { pageX: event.pageX, pageY: event.pageY } : null; + this.delayTimer = Object(_util_requestAnimationTimeout__WEBPACK_IMPORTED_MODULE_6__["requestAnimationTimeout"])(function () { + _this5.setPopupVisible(visible, point); + _this5.clearDelayTimer(); + }, delay); + } else { + this.setPopupVisible(visible, event); + } + }, + clearDelayTimer: function clearDelayTimer() { + if (this.delayTimer) { + Object(_util_requestAnimationTimeout__WEBPACK_IMPORTED_MODULE_6__["cancelAnimationTimeout"])(this.delayTimer); + this.delayTimer = null; + } + }, + clearOutsideHandler: function clearOutsideHandler() { + if (this.clickOutsideHandler) { + this.clickOutsideHandler.remove(); + this.clickOutsideHandler = null; + } + + if (this.contextmenuOutsideHandler1) { + this.contextmenuOutsideHandler1.remove(); + this.contextmenuOutsideHandler1 = null; + } + + if (this.contextmenuOutsideHandler2) { + this.contextmenuOutsideHandler2.remove(); + this.contextmenuOutsideHandler2 = null; + } + + if (this.touchOutsideHandler) { + this.touchOutsideHandler.remove(); + this.touchOutsideHandler = null; + } + }, + createTwoChains: function createTwoChains(event) { + var fn = function fn() {}; + var events = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getListeners"])(this); + if (this.childOriginEvents[event] && events[event]) { + return this['fire' + event]; + } + fn = this.childOriginEvents[event] || events[event] || fn; + return fn; + }, + isClickToShow: function isClickToShow() { + var _$props = this.$props, + action = _$props.action, + showAction = _$props.showAction; + + return action.indexOf('click') !== -1 || showAction.indexOf('click') !== -1; + }, + isContextmenuToShow: function isContextmenuToShow() { + var _$props2 = this.$props, + action = _$props2.action, + showAction = _$props2.showAction; + + return action.indexOf('contextmenu') !== -1 || showAction.indexOf('contextmenu') !== -1; + }, + isClickToHide: function isClickToHide() { + var _$props3 = this.$props, + action = _$props3.action, + hideAction = _$props3.hideAction; + + return action.indexOf('click') !== -1 || hideAction.indexOf('click') !== -1; + }, + isMouseEnterToShow: function isMouseEnterToShow() { + var _$props4 = this.$props, + action = _$props4.action, + showAction = _$props4.showAction; + + return action.indexOf('hover') !== -1 || showAction.indexOf('mouseenter') !== -1; + }, + isMouseLeaveToHide: function isMouseLeaveToHide() { + var _$props5 = this.$props, + action = _$props5.action, + hideAction = _$props5.hideAction; + + return action.indexOf('hover') !== -1 || hideAction.indexOf('mouseleave') !== -1; + }, + isFocusToShow: function isFocusToShow() { + var _$props6 = this.$props, + action = _$props6.action, + showAction = _$props6.showAction; + + return action.indexOf('focus') !== -1 || showAction.indexOf('focus') !== -1; + }, + isBlurToHide: function isBlurToHide() { + var _$props7 = this.$props, + action = _$props7.action, + hideAction = _$props7.hideAction; + + return action.indexOf('focus') !== -1 || hideAction.indexOf('blur') !== -1; + }, + forcePopupAlign: function forcePopupAlign() { + if (this.$data.sPopupVisible && this._component && this._component.$refs.alignInstance) { + this._component.$refs.alignInstance.forceAlign(); + } + }, + fireEvents: function fireEvents(type, e) { + if (this.childOriginEvents[type]) { + this.childOriginEvents[type](e); + } + this.__emit(type, e); + }, + close: function close() { + this.setPopupVisible(false); + } + }, + render: function render() { + var _this6 = this; + + var h = arguments[0]; + var sPopupVisible = this.sPopupVisible; + + var children = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["filterEmpty"])(this.$slots['default']); + var _$props8 = this.$props, + forceRender = _$props8.forceRender, + alignPoint = _$props8.alignPoint; + + + if (children.length > 1) { + Object(_util_warning__WEBPACK_IMPORTED_MODULE_8__["default"])(false, 'Trigger $slots.default.length > 1, just support only one default', true); + } + var child = children[0]; + this.childOriginEvents = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getDataEvents"])(child); + var newChildProps = { + props: {}, + nativeOn: {}, + key: 'trigger' + }; + + if (this.isContextmenuToShow()) { + newChildProps.nativeOn.contextmenu = this.onContextmenu; + } else { + newChildProps.nativeOn.contextmenu = this.createTwoChains('contextmenu'); + } + + if (this.isClickToHide() || this.isClickToShow()) { + newChildProps.nativeOn.click = this.onClick; + newChildProps.nativeOn.mousedown = this.onMousedown; + newChildProps.nativeOn.touchstart = this.onTouchstart; + } else { + newChildProps.nativeOn.click = this.createTwoChains('click'); + newChildProps.nativeOn.mousedown = this.createTwoChains('mousedown'); + newChildProps.nativeOn.touchstart = this.createTwoChains('onTouchstart'); + } + if (this.isMouseEnterToShow()) { + newChildProps.nativeOn.mouseenter = this.onMouseenter; + if (alignPoint) { + newChildProps.nativeOn.mousemove = this.onMouseMove; + } + } else { + newChildProps.nativeOn.mouseenter = this.createTwoChains('mouseenter'); + } + if (this.isMouseLeaveToHide()) { + newChildProps.nativeOn.mouseleave = this.onMouseleave; + } else { + newChildProps.nativeOn.mouseleave = this.createTwoChains('mouseleave'); + } + + if (this.isFocusToShow() || this.isBlurToHide()) { + newChildProps.nativeOn.focus = this.onFocus; + newChildProps.nativeOn.blur = this.onBlur; + } else { + newChildProps.nativeOn.focus = this.createTwoChains('focus'); + newChildProps.nativeOn.blur = function (e) { + if (e && (!e.relatedTarget || !Object(_vc_util_Dom_contains__WEBPACK_IMPORTED_MODULE_4__["default"])(e.target, e.relatedTarget))) { + _this6.createTwoChains('blur')(e); + } + }; + } + + this.trigger = Object(_util_vnode__WEBPACK_IMPORTED_MODULE_12__["cloneElement"])(child, newChildProps); + + return h(_util_ContainerRender__WEBPACK_IMPORTED_MODULE_13__["default"], { + attrs: { + parent: this, + visible: sPopupVisible, + autoMount: false, + forceRender: forceRender, + getComponent: this.getComponent, + getContainer: this.getContainer, + children: function children(_ref) { + var renderComponent = _ref.renderComponent; + + _this6.renderComponent = renderComponent; + return _this6.trigger; + } + } + }); + } +}); + +/***/ }), + +/***/ "898b": +/*!******************************************!*\ + !*** ./node_modules/moment/locale/es.js ***! + \******************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +//! moment.js locale configuration +//! locale : Spanish [es] +//! author : Julio Napurí : https://github.com/julionc + +;(function (global, factory) { + true ? factory(__webpack_require__(/*! ../moment */ "c1df")) : + undefined +}(this, (function (moment) { 'use strict'; + + //! moment.js locale configuration + + var monthsShortDot = + 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split( + '_' + ), + monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'), + monthsParse = [ + /^ene/i, + /^feb/i, + /^mar/i, + /^abr/i, + /^may/i, + /^jun/i, + /^jul/i, + /^ago/i, + /^sep/i, + /^oct/i, + /^nov/i, + /^dic/i, + ], + monthsRegex = + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i; + + var es = moment.defineLocale('es', { + months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split( + '_' + ), + monthsShort: function (m, format) { + if (!m) { + return monthsShortDot; + } else if (/-MMM-/.test(format)) { + return monthsShort[m.month()]; + } else { + return monthsShortDot[m.month()]; + } + }, + monthsRegex: monthsRegex, + monthsShortRegex: monthsRegex, + monthsStrictRegex: + /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i, + monthsShortStrictRegex: + /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i, + monthsParse: monthsParse, + longMonthsParse: monthsParse, + shortMonthsParse: monthsParse, + weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'), + weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'), + weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'), + weekdaysParseExact: true, + longDateFormat: { + LT: 'H:mm', + LTS: 'H:mm:ss', + L: 'DD/MM/YYYY', + LL: 'D [de] MMMM [de] YYYY', + LLL: 'D [de] MMMM [de] YYYY H:mm', + LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm', + }, + calendar: { + sameDay: function () { + return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextDay: function () { + return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + nextWeek: function () { + return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastDay: function () { + return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT'; + }, + lastWeek: function () { + return ( + '[el] dddd [pasado a la' + + (this.hours() !== 1 ? 's' : '') + + '] LT' + ); + }, + sameElse: 'L', + }, + relativeTime: { + future: 'en %s', + past: 'hace %s', + s: 'unos segundos', + ss: '%d segundos', + m: 'un minuto', + mm: '%d minutos', + h: 'una hora', + hh: '%d horas', + d: 'un día', + dd: '%d días', + w: 'una semana', + ww: '%d semanas', + M: 'un mes', + MM: '%d meses', + y: 'un año', + yy: '%d años', + }, + dayOfMonthOrdinalParse: /\d{1,2}º/, + ordinal: '%dº', + week: { + dow: 1, // Monday is the first day of the week. + doy: 4, // The week that contains Jan 4th is the first week of the year. + }, + invalidDate: 'Fecha inválida', + }); + + return es; + +}))); + + +/***/ }), + +/***/ "89b0": +/*!****************************************************************!*\ + !*** ./node_modules/ant-design-vue/es/vc-progress/src/Line.js ***! + \****************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-helper-vue-jsx-merge-props */ "92fa"); +/* harmony import */ var babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! babel-runtime/helpers/objectWithoutProperties */ "8e8e"); +/* harmony import */ var babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! vue */ "8bbf"); +/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(vue__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var vue_ref__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! vue-ref */ "46cf"); +/* harmony import */ var vue_ref__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(vue_ref__WEBPACK_IMPORTED_MODULE_3__); +/* harmony import */ var _util_props_util__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../_util/props-util */ "daa3"); +/* harmony import */ var _enhancer__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./enhancer */ "5aa9"); +/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./types */ "c91b"); + + + + + + + + +vue__WEBPACK_IMPORTED_MODULE_2___default.a.use(vue_ref__WEBPACK_IMPORTED_MODULE_3___default.a, { name: 'ant-ref' }); + +var Line = { + props: Object(_util_props_util__WEBPACK_IMPORTED_MODULE_4__["initDefaultProps"])(_types__WEBPACK_IMPORTED_MODULE_6__["propTypes"], _types__WEBPACK_IMPORTED_MODULE_6__["defaultProps"]), + created: function created() { + this.paths = {}; + }, + render: function render() { + var _this = this; + + var h = arguments[0]; + + var _$props = this.$props, + percent = _$props.percent, + prefixCls = _$props.prefixCls, + strokeColor = _$props.strokeColor, + strokeLinecap = _$props.strokeLinecap, + strokeWidth = _$props.strokeWidth, + trailColor = _$props.trailColor, + trailWidth = _$props.trailWidth, + transition = _$props.transition, + restProps = babel_runtime_helpers_objectWithoutProperties__WEBPACK_IMPORTED_MODULE_1___default()(_$props, ['percent', 'prefixCls', 'strokeColor', 'strokeLinecap', 'strokeWidth', 'trailColor', 'trailWidth', 'transition']); + + delete restProps.gapPosition; + + var percentList = Array.isArray(percent) ? percent : [percent]; + var strokeColorList = Array.isArray(strokeColor) ? strokeColor : [strokeColor]; + + var center = strokeWidth / 2; + var right = 100 - strokeWidth / 2; + var pathString = 'M ' + (strokeLinecap === 'round' ? center : 0) + ',' + center + '\n L ' + (strokeLinecap === 'round' ? right : 100) + ',' + center; + var viewBoxString = '0 0 100 ' + strokeWidth; + + var stackPtg = 0; + + var pathFirst = { + attrs: { + d: pathString, + 'stroke-linecap': strokeLinecap, + stroke: trailColor, + 'stroke-width': trailWidth || strokeWidth, + 'fill-opacity': '0' + }, + 'class': prefixCls + '-line-trail' + }; + return h( + 'svg', + babel_helper_vue_jsx_merge_props__WEBPACK_IMPORTED_MODULE_0___default()([{ + 'class': prefixCls + '-line', + attrs: { viewBox: viewBoxString, + preserveAspectRatio: 'none' + } + }, restProps]), + [h('path', pathFirst), percentList.map(function (ptg, index) { + var pathStyle = { + strokeDasharray: ptg + 'px, 100px', + strokeDashoffset: '-' + stackPtg + 'px', + transition: transition || 'stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear' + }; + var color = strokeColorList[index] || strokeColorList[strokeColorList.length - 1]; + + stackPtg += ptg; + + var pathProps = { + key: index, + attrs: { + d: pathString, + 'stroke-linecap': strokeLinecap, + stroke: color, + 'stroke-width': strokeWidth, + 'fill-opacity': '0' + }, + 'class': prefixCls + '-line-path', + style: pathStyle, + directives: [{ + name: 'ant-ref', + value: function value(c) { + _this.paths[index] = c; + } + }] + }; + + return h('path', pathProps); + })] + ); + } +}; + +/* harmony default export */ __webpack_exports__["default"] = (Object(_enhancer__WEBPACK_IMPORTED_MODULE_5__["default"])(Line)); + +/***/ }), + +/***/ "89d3": +/*!************************************************************!*\ + !*** ./node_modules/vant/es/sku/components/SkuMessages.js ***! + \************************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../utils */ "a142"); +/* harmony import */ var _utils_validate_email__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../utils/validate/email */ "b4d4"); +/* harmony import */ var _utils_validate_number__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../utils/validate/number */ "90c6"); +/* harmony import */ var _cell__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../cell */ "7744"); +/* harmony import */ var _field__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../field */ "565f"); +/* harmony import */ var _SkuImgUploader__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./SkuImgUploader */ "c569"); +/* harmony import */ var _SkuDateTimeField__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ./SkuDateTimeField */ "4b71"); +// Utils + + + // Components + + + + + + +var _createNamespace = Object(_utils__WEBPACK_IMPORTED_MODULE_0__["createNamespace"])('sku-messages'), + createComponent = _createNamespace[0], + bem = _createNamespace[1], + t = _createNamespace[2]; + +/* harmony default export */ __webpack_exports__["default"] = (createComponent({ + props: { + messageConfig: Object, + goodsId: [Number, String], + messages: { + type: Array, + default: function _default() { + return []; + } + } + }, + data: function data() { + return { + messageValues: this.resetMessageValues(this.messages) + }; + }, + watch: { + messages: function messages(val) { + this.messageValues = this.resetMessageValues(val); + } + }, + methods: { + resetMessageValues: function resetMessageValues(messages) { + var messageConfig = this.messageConfig; + var _messageConfig$initia = messageConfig.initialMessages, + initialMessages = _messageConfig$initia === void 0 ? {} : _messageConfig$initia; + return (messages || []).map(function (message) { + return { + value: initialMessages[message.name] || '' + }; + }); + }, + getType: function getType(message) { + if (+message.multiple === 1) { + return 'textarea'; + } + + if (message.type === 'id_no') { + return 'text'; + } + + return message.datetime > 0 ? 'datetime' : message.type; + }, + getMessages: function getMessages() { + var messages = {}; + this.messageValues.forEach(function (item, index) { + messages["message_" + index] = item.value; + }); + return messages; + }, + getCartMessages: function getCartMessages() { + var _this = this; + + var messages = {}; + this.messageValues.forEach(function (item, index) { + var message = _this.messages[index]; + messages[message.name] = item.value; + }); + return messages; + }, + getPlaceholder: function getPlaceholder(message) { + var type = +message.multiple === 1 ? 'textarea' : message.type; + var map = this.messageConfig.placeholderMap || {}; + return message.placeholder || map[type] || t("placeholder." + type); + }, + validateMessages: function validateMessages() { + var values = this.messageValues; + + for (var i = 0; i < values.length; i++) { + var value = values[i].value; + var message = this.messages[i]; + + if (value === '') { + // 必填字段的校验 + if (String(message.required) === '1') { + var textType = t(message.type === 'image' ? 'upload' : 'fill'); + return textType + message.name; + } + } else { + if (message.type === 'tel' && !Object(_utils_validate_number__WEBPACK_IMPORTED_MODULE_2__["isNumeric"])(value)) { + return t('invalid.tel'); + } + + if (message.type === 'mobile' && !/^\d{6,20}$/.test(value)) { + return t('invalid.mobile'); + } + + if (message.type === 'email' && !Object(_utils_validate_email__WEBPACK_IMPORTED_MODULE_1__["isEmail"])(value)) { + return t('invalid.email'); + } + + if (message.type === 'id_no' && (value.length < 15 || value.length > 18)) { + return t('invalid.id_no'); + } + } + } + }, + + /** + * The phone number copied from IOS mobile phone address book + * will add spaces and invisible Unicode characters + * which cannot pass the /^\d+$/ verification + * so keep numbers and dots + */ + getFormatter: function getFormatter(message) { + return function formatter(value) { + if (message.type === 'mobile' || message.type === 'tel') { + return value.replace(/[^\d.]/g, ''); + } + + return value; + }; + }, + getExtraDesc: function getExtraDesc(message) { + var h = this.$createElement; + var extraDesc = message.extraDesc; + + if (extraDesc) { + return h("div", { + "class": bem('extra-message') + }, [extraDesc]); + } + }, + genMessage: function genMessage(message, index) { + var _this2 = this; + + var h = this.$createElement; + + if (message.type === 'image') { + return h(_cell__WEBPACK_IMPORTED_MODULE_3__["default"], { + "key": this.goodsId + "-" + index, + "attrs": { + "title": message.name, + "required": String(message.required) === '1', + "valueClass": bem('image-cell-value') + }, + "class": bem('image-cell') + }, [h(_SkuImgUploader__WEBPACK_IMPORTED_MODULE_5__["default"], { + "attrs": { + "maxSize": this.messageConfig.uploadMaxSize, + "uploadImg": this.messageConfig.uploadImg, + "customUpload": this.messageConfig.customUpload + }, + "model": { + value: _this2.messageValues[index].value, + callback: function callback($$v) { + _this2.$set(_this2.messageValues[index], "value", $$v); + } + } + }), h("div", { + "class": bem('image-cell-label') + }, [t('imageLabel')])]); + } // 时间和日期使用的vant选择器 + + + var isDateOrTime = ['date', 'time'].indexOf(message.type) > -1; + + if (isDateOrTime) { + return h(_SkuDateTimeField__WEBPACK_IMPORTED_MODULE_6__["default"], { + "attrs": { + "label": message.name, + "required": String(message.required) === '1', + "placeholder": this.getPlaceholder(message), + "type": this.getType(message) + }, + "key": this.goodsId + "-" + index, + "model": { + value: _this2.messageValues[index].value, + callback: function callback($$v) { + _this2.$set(_this2.messageValues[index], "value", $$v); + } + } + }); + } + + return h("div", { + "class": bem('cell-block') + }, [h(_field__WEBPACK_IMPORTED_MODULE_4__["default"], { + "attrs": { + "maxlength": "200", + "center": !message.multiple, + "label": message.name, + "required": String(message.required) === '1', + "placeholder": this.getPlaceholder(message), + "type": this.getType(message), + "formatter": this.getFormatter(message), + "border": false + }, + "key": this.goodsId + "-" + index, + "model": { + value: _this2.messageValues[index].value, + callback: function callback($$v) { + _this2.$set(_this2.messageValues[index], "value", $$v); + } + } + }), this.getExtraDesc(message)]); + } + }, + render: function render() { + var h = arguments[0]; + return h("div", { + "class": bem() + }, [this.messages.map(this.genMessage)]); + } +})); + +/***/ }), + +/***/ "89d9": +/*!********************************************!*\ + !*** ./node_modules/lodash/_basePickBy.js ***! + \********************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +var baseGet = __webpack_require__(/*! ./_baseGet */ "656b"), + baseSet = __webpack_require__(/*! ./_baseSet */ "159a"), + castPath = __webpack_require__(/*! ./_castPath */ "e2e4"); + +/** + * The base implementation of `_.pickBy` without support for iteratee shorthands. + * + * @private + * @param {Object} object The source object. + * @param {string[]} paths The property paths to pick. + * @param {Function} predicate The function invoked per property. + * @returns {Object} Returns the new object. + */ +function basePickBy(object, paths, predicate) { + var index = -1, + length = paths.length, + result = {}; + + while (++index < length) { + var path = paths[index], + value = baseGet(object, path); + + if (predicate(value, path)) { + baseSet(result, castPath(path, object), value); + } + } + return result; +} + +module.exports = basePickBy; + + +/***/ }), + +/***/ "89ee": +/*!*******************************************************!*\ + !*** ./node_modules/ant-design-vue/es/radio/Group.js ***! + \*******************************************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); +/* harmony import */ var babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! babel-runtime/helpers/defineProperty */ "6042"); +/* harmony import */ var babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0__); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! babel-runtime/helpers/extends */ "41b2"); +/* harmony import */ var babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1__); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! classnames */ "4d26"); +/* harmony import */ var classnames__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_2__); +/* harmony import */ var _util_vue_types__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../_util/vue-types */ "4d91"); +/* harmony import */ var _Radio__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./Radio */ "d338"); +/* harmony import */ var _util_props_util__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../_util/props-util */ "daa3"); +/* harmony import */ var _config_provider_configConsumerProps__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../config-provider/configConsumerProps */ "9cba"); + + + + + + + +function noop() {} + +/* harmony default export */ __webpack_exports__["default"] = ({ + name: 'ARadioGroup', + model: { + prop: 'value' + }, + props: { + prefixCls: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].string, + defaultValue: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].any, + value: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].any, + size: { + 'default': 'default', + validator: function validator(value) { + return ['large', 'default', 'small'].includes(value); + } + }, + options: { + 'default': function _default() { + return []; + }, + type: Array + }, + disabled: Boolean, + name: String, + buttonStyle: _util_vue_types__WEBPACK_IMPORTED_MODULE_3__["default"].string.def('outline') + }, + data: function data() { + var value = this.value, + defaultValue = this.defaultValue; + + this.updatingValue = false; + return { + stateValue: value === undefined ? defaultValue : value + }; + }, + provide: function provide() { + return { + radioGroupContext: this + }; + }, + + inject: { + configProvider: { 'default': function _default() { + return _config_provider_configConsumerProps__WEBPACK_IMPORTED_MODULE_6__["ConfigConsumerProps"]; + } } + }, + computed: { + radioOptions: function radioOptions() { + var disabled = this.disabled; + + return this.options.map(function (option) { + return typeof option === 'string' ? { label: option, value: option } : babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_1___default()({}, option, { disabled: option.disabled === undefined ? disabled : option.disabled }); + }); + }, + classes: function classes() { + var _ref; + + var prefixCls = this.prefixCls, + size = this.size; + + return _ref = {}, babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_ref, '' + prefixCls, true), babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()(_ref, prefixCls + '-' + size, size), _ref; + } + }, + watch: { + value: function value(val) { + this.updatingValue = false; + this.stateValue = val; + } + }, + methods: { + onRadioChange: function onRadioChange(ev) { + var _this = this; + + var lastValue = this.stateValue; + var value = ev.target.value; + + if (!Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["hasProp"])(this, 'value')) { + this.stateValue = value; + } + // nextTick for https://github.com/vueComponent/ant-design-vue/issues/1280 + if (!this.updatingValue && value !== lastValue) { + this.updatingValue = true; + this.$emit('input', value); + this.$emit('change', ev); + } + this.$nextTick(function () { + _this.updatingValue = false; + }); + } + }, + render: function render() { + var _this2 = this; + + var h = arguments[0]; + + var _getListeners = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getListeners"])(this), + _getListeners$mouseen = _getListeners.mouseenter, + mouseenter = _getListeners$mouseen === undefined ? noop : _getListeners$mouseen, + _getListeners$mousele = _getListeners.mouseleave, + mouseleave = _getListeners$mousele === undefined ? noop : _getListeners$mousele; + + var props = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["getOptionProps"])(this); + var customizePrefixCls = props.prefixCls, + options = props.options, + buttonStyle = props.buttonStyle; + + var getPrefixCls = this.configProvider.getPrefixCls; + var prefixCls = getPrefixCls('radio', customizePrefixCls); + + var groupPrefixCls = prefixCls + '-group'; + var classString = classnames__WEBPACK_IMPORTED_MODULE_2___default()(groupPrefixCls, groupPrefixCls + '-' + buttonStyle, babel_runtime_helpers_defineProperty__WEBPACK_IMPORTED_MODULE_0___default()({}, groupPrefixCls + '-' + props.size, props.size)); + + var children = Object(_util_props_util__WEBPACK_IMPORTED_MODULE_5__["filterEmpty"])(this.$slots['default']); + + // 如果存在 options, 优先使用 + if (options && options.length > 0) { + children = options.map(function (option) { + if (typeof option === 'string') { + return h( + _Radio__WEBPACK_IMPORTED_MODULE_4__["default"], + { + key: option, + attrs: { prefixCls: prefixCls, + disabled: props.disabled, + value: option, + checked: _this2.stateValue === option + } + }, + [option] + ); + } else { + return h( + _Radio__WEBPACK_IMPORTED_MODULE_4__["default"], + { + key: 'radio-group-value-options-' + option.value, + attrs: { prefixCls: prefixCls, + disabled: option.disabled || props.disabled, + value: option.value, + checked: _this2.stateValue === option.value + } + }, + [option.label] + ); + } + }); + } + + return h( + 'div', + { 'class': classString, on: { + 'mouseenter': mouseenter, + 'mouseleave': mouseleave + } + }, + [children] + ); + } +}); + +/***/ }), + +/***/ "8a5a": +/*!*************************************************!*\ + !*** ./node_modules/vant/lib/overlay/index.css ***! + \*************************************************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +// style-loader: Adds some css to the DOM by adding a + + + +
+
+
+ +
+ +
+
+
+
+
+ 手机扫码分享给好友 +
+
+ +
+
+
+
+ + + + + + + +