Repository: macrozheng/mall Branch: master Commit: d9501e97a78e Files: 694 Total size: 5.3 MB Directory structure: gitextract_p61w707h/ ├── .gitignore ├── LICENSE ├── README.md ├── document/ │ ├── axure/ │ │ ├── app-design.md │ │ ├── mall-app.rp │ │ └── mall-flow.rp │ ├── docker/ │ │ ├── docker-compose-app.yml │ │ ├── docker-compose-env.yml │ │ └── nginx.conf │ ├── elk/ │ │ └── logstash.conf │ ├── mind/ │ │ ├── app.emmx │ │ ├── cms.emmx │ │ ├── home.emmx │ │ ├── oms.emmx │ │ ├── pms.emmx │ │ ├── sms.emmx │ │ └── ums.emmx │ ├── pdm/ │ │ ├── mall.pdb │ │ └── mall.pdm │ ├── pos/ │ │ ├── 业务架构图.pos │ │ ├── 系统架构图.pos │ │ └── 项目开发进度图.pos │ ├── postman/ │ │ ├── mall-admin.postman_collection.json │ │ └── mall-portal.postman_collection.json │ ├── reference/ │ │ ├── deploy-windows.md │ │ ├── dev_flow.md │ │ ├── docker.md │ │ ├── function.md │ │ ├── linux.md │ │ ├── mysql.md │ │ └── shortcut.md │ ├── sh/ │ │ ├── Dockerfile │ │ ├── mall-admin.sh │ │ ├── mall-portal.sh │ │ ├── mall-search.sh │ │ └── run.sh │ └── sql/ │ └── mall.sql ├── mall-admin/ │ ├── pom.xml │ └── src/ │ ├── main/ │ │ ├── java/ │ │ │ └── com/ │ │ │ └── macro/ │ │ │ └── mall/ │ │ │ ├── MallAdminApplication.java │ │ │ ├── bo/ │ │ │ │ └── AdminUserDetails.java │ │ │ ├── config/ │ │ │ │ ├── GlobalCorsConfig.java │ │ │ │ ├── MallSecurityConfig.java │ │ │ │ ├── MyBatisConfig.java │ │ │ │ ├── OssConfig.java │ │ │ │ └── SwaggerConfig.java │ │ │ ├── controller/ │ │ │ │ ├── CmsPrefrenceAreaController.java │ │ │ │ ├── CmsSubjectController.java │ │ │ │ ├── MinioController.java │ │ │ │ ├── OmsCompanyAddressController.java │ │ │ │ ├── OmsOrderController.java │ │ │ │ ├── OmsOrderReturnApplyController.java │ │ │ │ ├── OmsOrderReturnReasonController.java │ │ │ │ ├── OmsOrderSettingController.java │ │ │ │ ├── OssController.java │ │ │ │ ├── PmsBrandController.java │ │ │ │ ├── PmsProductAttributeCategoryController.java │ │ │ │ ├── PmsProductAttributeController.java │ │ │ │ ├── PmsProductCategoryController.java │ │ │ │ ├── PmsProductController.java │ │ │ │ ├── PmsSkuStockController.java │ │ │ │ ├── SmsCouponController.java │ │ │ │ ├── SmsCouponHistoryController.java │ │ │ │ ├── SmsFlashPromotionController.java │ │ │ │ ├── SmsFlashPromotionProductRelationController.java │ │ │ │ ├── SmsFlashPromotionSessionController.java │ │ │ │ ├── SmsHomeAdvertiseController.java │ │ │ │ ├── SmsHomeBrandController.java │ │ │ │ ├── SmsHomeNewProductController.java │ │ │ │ ├── SmsHomeRecommendProductController.java │ │ │ │ ├── SmsHomeRecommendSubjectController.java │ │ │ │ ├── UmsAdminController.java │ │ │ │ ├── UmsMemberLevelController.java │ │ │ │ ├── UmsMenuController.java │ │ │ │ ├── UmsResourceCategoryController.java │ │ │ │ ├── UmsResourceController.java │ │ │ │ └── UmsRoleController.java │ │ │ ├── dao/ │ │ │ │ ├── CmsPrefrenceAreaProductRelationDao.java │ │ │ │ ├── CmsSubjectProductRelationDao.java │ │ │ │ ├── OmsOrderDao.java │ │ │ │ ├── OmsOrderOperateHistoryDao.java │ │ │ │ ├── OmsOrderReturnApplyDao.java │ │ │ │ ├── PmsMemberPriceDao.java │ │ │ │ ├── PmsProductAttributeCategoryDao.java │ │ │ │ ├── PmsProductAttributeDao.java │ │ │ │ ├── PmsProductAttributeValueDao.java │ │ │ │ ├── PmsProductCategoryAttributeRelationDao.java │ │ │ │ ├── PmsProductCategoryDao.java │ │ │ │ ├── PmsProductDao.java │ │ │ │ ├── PmsProductFullReductionDao.java │ │ │ │ ├── PmsProductLadderDao.java │ │ │ │ ├── PmsProductVertifyRecordDao.java │ │ │ │ ├── PmsSkuStockDao.java │ │ │ │ ├── SmsCouponDao.java │ │ │ │ ├── SmsCouponProductCategoryRelationDao.java │ │ │ │ ├── SmsCouponProductRelationDao.java │ │ │ │ ├── SmsFlashPromotionProductRelationDao.java │ │ │ │ ├── UmsAdminRoleRelationDao.java │ │ │ │ └── UmsRoleDao.java │ │ │ ├── dto/ │ │ │ │ ├── BucketPolicyConfigDto.java │ │ │ │ ├── MinioUploadDto.java │ │ │ │ ├── OmsMoneyInfoParam.java │ │ │ │ ├── OmsOrderDeliveryParam.java │ │ │ │ ├── OmsOrderDetail.java │ │ │ │ ├── OmsOrderQueryParam.java │ │ │ │ ├── OmsOrderReturnApplyResult.java │ │ │ │ ├── OmsReceiverInfoParam.java │ │ │ │ ├── OmsReturnApplyQueryParam.java │ │ │ │ ├── OmsUpdateStatusParam.java │ │ │ │ ├── OssCallbackParam.java │ │ │ │ ├── OssCallbackResult.java │ │ │ │ ├── OssPolicyResult.java │ │ │ │ ├── PmsBrandParam.java │ │ │ │ ├── PmsProductAttributeCategoryItem.java │ │ │ │ ├── PmsProductAttributeParam.java │ │ │ │ ├── PmsProductCategoryParam.java │ │ │ │ ├── PmsProductCategoryWithChildrenItem.java │ │ │ │ ├── PmsProductParam.java │ │ │ │ ├── PmsProductQueryParam.java │ │ │ │ ├── PmsProductResult.java │ │ │ │ ├── ProductAttrInfo.java │ │ │ │ ├── SmsCouponParam.java │ │ │ │ ├── SmsFlashPromotionProduct.java │ │ │ │ ├── SmsFlashPromotionSessionDetail.java │ │ │ │ ├── UmsAdminLoginParam.java │ │ │ │ ├── UmsAdminParam.java │ │ │ │ ├── UmsMenuNode.java │ │ │ │ └── UpdateAdminPasswordParam.java │ │ │ ├── service/ │ │ │ │ ├── CmsPrefrenceAreaService.java │ │ │ │ ├── CmsSubjectService.java │ │ │ │ ├── OmsCompanyAddressService.java │ │ │ │ ├── OmsOrderReturnApplyService.java │ │ │ │ ├── OmsOrderReturnReasonService.java │ │ │ │ ├── OmsOrderService.java │ │ │ │ ├── OmsOrderSettingService.java │ │ │ │ ├── OssService.java │ │ │ │ ├── PmsBrandService.java │ │ │ │ ├── PmsProductAttributeCategoryService.java │ │ │ │ ├── PmsProductAttributeService.java │ │ │ │ ├── PmsProductCategoryService.java │ │ │ │ ├── PmsProductService.java │ │ │ │ ├── PmsSkuStockService.java │ │ │ │ ├── SmsCouponHistoryService.java │ │ │ │ ├── SmsCouponService.java │ │ │ │ ├── SmsFlashPromotionProductRelationService.java │ │ │ │ ├── SmsFlashPromotionService.java │ │ │ │ ├── SmsFlashPromotionSessionService.java │ │ │ │ ├── SmsHomeAdvertiseService.java │ │ │ │ ├── SmsHomeBrandService.java │ │ │ │ ├── SmsHomeNewProductService.java │ │ │ │ ├── SmsHomeRecommendProductService.java │ │ │ │ ├── SmsHomeRecommendSubjectService.java │ │ │ │ ├── UmsAdminCacheService.java │ │ │ │ ├── UmsAdminService.java │ │ │ │ ├── UmsMemberLevelService.java │ │ │ │ ├── UmsMenuService.java │ │ │ │ ├── UmsResourceCategoryService.java │ │ │ │ ├── UmsResourceService.java │ │ │ │ ├── UmsRoleService.java │ │ │ │ └── impl/ │ │ │ │ ├── CmsPrefrenceAreaServiceImpl.java │ │ │ │ ├── CmsSubjectServiceImpl.java │ │ │ │ ├── OmsCompanyAddressServiceImpl.java │ │ │ │ ├── OmsOrderReturnApplyServiceImpl.java │ │ │ │ ├── OmsOrderReturnReasonServiceImpl.java │ │ │ │ ├── OmsOrderServiceImpl.java │ │ │ │ ├── OmsOrderSettingServiceImpl.java │ │ │ │ ├── OssServiceImpl.java │ │ │ │ ├── PmsBrandServiceImpl.java │ │ │ │ ├── PmsProductAttributeCategoryServiceImpl.java │ │ │ │ ├── PmsProductAttributeServiceImpl.java │ │ │ │ ├── PmsProductCategoryServiceImpl.java │ │ │ │ ├── PmsProductServiceImpl.java │ │ │ │ ├── PmsSkuStockServiceImpl.java │ │ │ │ ├── SmsCouponHistoryServiceImpl.java │ │ │ │ ├── SmsCouponServiceImpl.java │ │ │ │ ├── SmsFlashPromotionProductRelationServiceImpl.java │ │ │ │ ├── SmsFlashPromotionServiceImpl.java │ │ │ │ ├── SmsFlashPromotionSessionServiceImpl.java │ │ │ │ ├── SmsHomeAdvertiseServiceImpl.java │ │ │ │ ├── SmsHomeBrandServiceImpl.java │ │ │ │ ├── SmsHomeNewProductServiceImpl.java │ │ │ │ ├── SmsHomeRecommendProductServiceImpl.java │ │ │ │ ├── SmsHomeRecommendSubjectServiceImpl.java │ │ │ │ ├── UmsAdminCacheServiceImpl.java │ │ │ │ ├── UmsAdminServiceImpl.java │ │ │ │ ├── UmsMemberLevelServiceImpl.java │ │ │ │ ├── UmsMenuServiceImpl.java │ │ │ │ ├── UmsResourceCategoryServiceImpl.java │ │ │ │ ├── UmsResourceServiceImpl.java │ │ │ │ └── UmsRoleServiceImpl.java │ │ │ └── validator/ │ │ │ ├── FlagValidator.java │ │ │ └── FlagValidatorClass.java │ │ └── resources/ │ │ ├── META-INF/ │ │ │ └── MANIFEST.MF │ │ ├── application-dev.yml │ │ ├── application-prod.yml │ │ ├── application.yml │ │ └── dao/ │ │ ├── CmsPrefrenceAreaProductRelationDao.xml │ │ ├── CmsSubjectProductRelationDao.xml │ │ ├── OmsOrderDao.xml │ │ ├── OmsOrderOperateHistoryDao.xml │ │ ├── OmsOrderReturnApplyDao.xml │ │ ├── PmsMemberPriceDao.xml │ │ ├── PmsProductAttributeCategoryDao.xml │ │ ├── PmsProductAttributeDao.xml │ │ ├── PmsProductAttributeValueDao.xml │ │ ├── PmsProductCategoryAttributeRelationDao.xml │ │ ├── PmsProductCategoryDao.xml │ │ ├── PmsProductDao.xml │ │ ├── PmsProductFullReductionDao.xml │ │ ├── PmsProductLadderDao.xml │ │ ├── PmsProductVertifyRecordDao.xml │ │ ├── PmsSkuStockDao.xml │ │ ├── SmsCouponDao.xml │ │ ├── SmsCouponProductCategoryRelationDao.xml │ │ ├── SmsCouponProductRelationDao.xml │ │ ├── SmsFlashPromotionProductRelationDao.xml │ │ ├── UmsAdminRoleRelationDao.xml │ │ └── UmsRoleDao.xml │ └── test/ │ └── com/ │ └── macro/ │ └── mall/ │ └── PmsDaoTests.java ├── mall-common/ │ ├── pom.xml │ └── src/ │ └── main/ │ ├── java/ │ │ └── com/ │ │ └── macro/ │ │ └── mall/ │ │ └── common/ │ │ ├── api/ │ │ │ ├── CommonPage.java │ │ │ ├── CommonResult.java │ │ │ ├── IErrorCode.java │ │ │ └── ResultCode.java │ │ ├── config/ │ │ │ ├── BaseRedisConfig.java │ │ │ └── BaseSwaggerConfig.java │ │ ├── domain/ │ │ │ ├── SwaggerProperties.java │ │ │ └── WebLog.java │ │ ├── exception/ │ │ │ ├── ApiException.java │ │ │ ├── Asserts.java │ │ │ └── GlobalExceptionHandler.java │ │ ├── log/ │ │ │ └── WebLogAspect.java │ │ ├── service/ │ │ │ ├── RedisService.java │ │ │ └── impl/ │ │ │ └── RedisServiceImpl.java │ │ └── util/ │ │ └── RequestUtil.java │ └── resources/ │ └── logback-spring.xml ├── mall-demo/ │ ├── .gitignore │ ├── pom.xml │ └── src/ │ ├── main/ │ │ ├── java/ │ │ │ └── com/ │ │ │ └── macro/ │ │ │ └── mall/ │ │ │ └── demo/ │ │ │ ├── MallDemoApplication.java │ │ │ ├── bo/ │ │ │ │ └── AdminUserDetails.java │ │ │ ├── config/ │ │ │ │ ├── MyBatisConfig.java │ │ │ │ ├── RestTemplateConfig.java │ │ │ │ ├── SecurityConfig.java │ │ │ │ └── SwaggerConfig.java │ │ │ ├── controller/ │ │ │ │ ├── DemoController.java │ │ │ │ └── RestTemplateDemoController.java │ │ │ ├── dto/ │ │ │ │ └── PmsBrandDto.java │ │ │ ├── service/ │ │ │ │ ├── DemoService.java │ │ │ │ └── impl/ │ │ │ │ └── DemoServiceImpl.java │ │ │ └── validator/ │ │ │ ├── FlagValidator.java │ │ │ └── FlagValidatorClass.java │ │ └── resources/ │ │ └── application.yml │ └── test/ │ └── java/ │ └── com/ │ └── macro/ │ └── mall/ │ └── demo/ │ └── MallDemoApplicationTests.java ├── mall-mbg/ │ ├── .gitignore │ ├── pom.xml │ └── src/ │ └── main/ │ ├── java/ │ │ └── com/ │ │ └── macro/ │ │ └── mall/ │ │ ├── CommentGenerator.java │ │ ├── Generator.java │ │ ├── mapper/ │ │ │ ├── CmsHelpCategoryMapper.java │ │ │ ├── CmsHelpMapper.java │ │ │ ├── CmsMemberReportMapper.java │ │ │ ├── CmsPrefrenceAreaMapper.java │ │ │ ├── CmsPrefrenceAreaProductRelationMapper.java │ │ │ ├── CmsSubjectCategoryMapper.java │ │ │ ├── CmsSubjectCommentMapper.java │ │ │ ├── CmsSubjectMapper.java │ │ │ ├── CmsSubjectProductRelationMapper.java │ │ │ ├── CmsTopicCategoryMapper.java │ │ │ ├── CmsTopicCommentMapper.java │ │ │ ├── CmsTopicMapper.java │ │ │ ├── OmsCartItemMapper.java │ │ │ ├── OmsCompanyAddressMapper.java │ │ │ ├── OmsOrderItemMapper.java │ │ │ ├── OmsOrderMapper.java │ │ │ ├── OmsOrderOperateHistoryMapper.java │ │ │ ├── OmsOrderReturnApplyMapper.java │ │ │ ├── OmsOrderReturnReasonMapper.java │ │ │ ├── OmsOrderSettingMapper.java │ │ │ ├── PmsAlbumMapper.java │ │ │ ├── PmsAlbumPicMapper.java │ │ │ ├── PmsBrandMapper.java │ │ │ ├── PmsCommentMapper.java │ │ │ ├── PmsCommentReplayMapper.java │ │ │ ├── PmsFeightTemplateMapper.java │ │ │ ├── PmsMemberPriceMapper.java │ │ │ ├── PmsProductAttributeCategoryMapper.java │ │ │ ├── PmsProductAttributeMapper.java │ │ │ ├── PmsProductAttributeValueMapper.java │ │ │ ├── PmsProductCategoryAttributeRelationMapper.java │ │ │ ├── PmsProductCategoryMapper.java │ │ │ ├── PmsProductFullReductionMapper.java │ │ │ ├── PmsProductLadderMapper.java │ │ │ ├── PmsProductMapper.java │ │ │ ├── PmsProductOperateLogMapper.java │ │ │ ├── PmsProductVertifyRecordMapper.java │ │ │ ├── PmsSkuStockMapper.java │ │ │ ├── SmsCouponHistoryMapper.java │ │ │ ├── SmsCouponMapper.java │ │ │ ├── SmsCouponProductCategoryRelationMapper.java │ │ │ ├── SmsCouponProductRelationMapper.java │ │ │ ├── SmsFlashPromotionLogMapper.java │ │ │ ├── SmsFlashPromotionMapper.java │ │ │ ├── SmsFlashPromotionProductRelationMapper.java │ │ │ ├── SmsFlashPromotionSessionMapper.java │ │ │ ├── SmsHomeAdvertiseMapper.java │ │ │ ├── SmsHomeBrandMapper.java │ │ │ ├── SmsHomeNewProductMapper.java │ │ │ ├── SmsHomeRecommendProductMapper.java │ │ │ ├── SmsHomeRecommendSubjectMapper.java │ │ │ ├── UmsAdminLoginLogMapper.java │ │ │ ├── UmsAdminMapper.java │ │ │ ├── UmsAdminPermissionRelationMapper.java │ │ │ ├── UmsAdminRoleRelationMapper.java │ │ │ ├── UmsGrowthChangeHistoryMapper.java │ │ │ ├── UmsIntegrationChangeHistoryMapper.java │ │ │ ├── UmsIntegrationConsumeSettingMapper.java │ │ │ ├── UmsMemberLevelMapper.java │ │ │ ├── UmsMemberLoginLogMapper.java │ │ │ ├── UmsMemberMapper.java │ │ │ ├── UmsMemberMemberTagRelationMapper.java │ │ │ ├── UmsMemberProductCategoryRelationMapper.java │ │ │ ├── UmsMemberReceiveAddressMapper.java │ │ │ ├── UmsMemberRuleSettingMapper.java │ │ │ ├── UmsMemberStatisticsInfoMapper.java │ │ │ ├── UmsMemberTagMapper.java │ │ │ ├── UmsMemberTaskMapper.java │ │ │ ├── UmsMenuMapper.java │ │ │ ├── UmsPermissionMapper.java │ │ │ ├── UmsResourceCategoryMapper.java │ │ │ ├── UmsResourceMapper.java │ │ │ ├── UmsRoleMapper.java │ │ │ ├── UmsRoleMenuRelationMapper.java │ │ │ ├── UmsRolePermissionRelationMapper.java │ │ │ └── UmsRoleResourceRelationMapper.java │ │ └── model/ │ │ ├── CmsHelp.java │ │ ├── CmsHelpCategory.java │ │ ├── CmsHelpCategoryExample.java │ │ ├── CmsHelpExample.java │ │ ├── CmsMemberReport.java │ │ ├── CmsMemberReportExample.java │ │ ├── CmsPrefrenceArea.java │ │ ├── CmsPrefrenceAreaExample.java │ │ ├── CmsPrefrenceAreaProductRelation.java │ │ ├── CmsPrefrenceAreaProductRelationExample.java │ │ ├── CmsSubject.java │ │ ├── CmsSubjectCategory.java │ │ ├── CmsSubjectCategoryExample.java │ │ ├── CmsSubjectComment.java │ │ ├── CmsSubjectCommentExample.java │ │ ├── CmsSubjectExample.java │ │ ├── CmsSubjectProductRelation.java │ │ ├── CmsSubjectProductRelationExample.java │ │ ├── CmsTopic.java │ │ ├── CmsTopicCategory.java │ │ ├── CmsTopicCategoryExample.java │ │ ├── CmsTopicComment.java │ │ ├── CmsTopicCommentExample.java │ │ ├── CmsTopicExample.java │ │ ├── OmsCartItem.java │ │ ├── OmsCartItemExample.java │ │ ├── OmsCompanyAddress.java │ │ ├── OmsCompanyAddressExample.java │ │ ├── OmsOrder.java │ │ ├── OmsOrderExample.java │ │ ├── OmsOrderItem.java │ │ ├── OmsOrderItemExample.java │ │ ├── OmsOrderOperateHistory.java │ │ ├── OmsOrderOperateHistoryExample.java │ │ ├── OmsOrderReturnApply.java │ │ ├── OmsOrderReturnApplyExample.java │ │ ├── OmsOrderReturnReason.java │ │ ├── OmsOrderReturnReasonExample.java │ │ ├── OmsOrderSetting.java │ │ ├── OmsOrderSettingExample.java │ │ ├── PmsAlbum.java │ │ ├── PmsAlbumExample.java │ │ ├── PmsAlbumPic.java │ │ ├── PmsAlbumPicExample.java │ │ ├── PmsBrand.java │ │ ├── PmsBrandExample.java │ │ ├── PmsComment.java │ │ ├── PmsCommentExample.java │ │ ├── PmsCommentReplay.java │ │ ├── PmsCommentReplayExample.java │ │ ├── PmsFeightTemplate.java │ │ ├── PmsFeightTemplateExample.java │ │ ├── PmsMemberPrice.java │ │ ├── PmsMemberPriceExample.java │ │ ├── PmsProduct.java │ │ ├── PmsProductAttribute.java │ │ ├── PmsProductAttributeCategory.java │ │ ├── PmsProductAttributeCategoryExample.java │ │ ├── PmsProductAttributeExample.java │ │ ├── PmsProductAttributeValue.java │ │ ├── PmsProductAttributeValueExample.java │ │ ├── PmsProductCategory.java │ │ ├── PmsProductCategoryAttributeRelation.java │ │ ├── PmsProductCategoryAttributeRelationExample.java │ │ ├── PmsProductCategoryExample.java │ │ ├── PmsProductExample.java │ │ ├── PmsProductFullReduction.java │ │ ├── PmsProductFullReductionExample.java │ │ ├── PmsProductLadder.java │ │ ├── PmsProductLadderExample.java │ │ ├── PmsProductOperateLog.java │ │ ├── PmsProductOperateLogExample.java │ │ ├── PmsProductVertifyRecord.java │ │ ├── PmsProductVertifyRecordExample.java │ │ ├── PmsSkuStock.java │ │ ├── PmsSkuStockExample.java │ │ ├── SmsCoupon.java │ │ ├── SmsCouponExample.java │ │ ├── SmsCouponHistory.java │ │ ├── SmsCouponHistoryExample.java │ │ ├── SmsCouponProductCategoryRelation.java │ │ ├── SmsCouponProductCategoryRelationExample.java │ │ ├── SmsCouponProductRelation.java │ │ ├── SmsCouponProductRelationExample.java │ │ ├── SmsFlashPromotion.java │ │ ├── SmsFlashPromotionExample.java │ │ ├── SmsFlashPromotionLog.java │ │ ├── SmsFlashPromotionLogExample.java │ │ ├── SmsFlashPromotionProductRelation.java │ │ ├── SmsFlashPromotionProductRelationExample.java │ │ ├── SmsFlashPromotionSession.java │ │ ├── SmsFlashPromotionSessionExample.java │ │ ├── SmsHomeAdvertise.java │ │ ├── SmsHomeAdvertiseExample.java │ │ ├── SmsHomeBrand.java │ │ ├── SmsHomeBrandExample.java │ │ ├── SmsHomeNewProduct.java │ │ ├── SmsHomeNewProductExample.java │ │ ├── SmsHomeRecommendProduct.java │ │ ├── SmsHomeRecommendProductExample.java │ │ ├── SmsHomeRecommendSubject.java │ │ ├── SmsHomeRecommendSubjectExample.java │ │ ├── UmsAdmin.java │ │ ├── UmsAdminExample.java │ │ ├── UmsAdminLoginLog.java │ │ ├── UmsAdminLoginLogExample.java │ │ ├── UmsAdminPermissionRelation.java │ │ ├── UmsAdminPermissionRelationExample.java │ │ ├── UmsAdminRoleRelation.java │ │ ├── UmsAdminRoleRelationExample.java │ │ ├── UmsGrowthChangeHistory.java │ │ ├── UmsGrowthChangeHistoryExample.java │ │ ├── UmsIntegrationChangeHistory.java │ │ ├── UmsIntegrationChangeHistoryExample.java │ │ ├── UmsIntegrationConsumeSetting.java │ │ ├── UmsIntegrationConsumeSettingExample.java │ │ ├── UmsMember.java │ │ ├── UmsMemberExample.java │ │ ├── UmsMemberLevel.java │ │ ├── UmsMemberLevelExample.java │ │ ├── UmsMemberLoginLog.java │ │ ├── UmsMemberLoginLogExample.java │ │ ├── UmsMemberMemberTagRelation.java │ │ ├── UmsMemberMemberTagRelationExample.java │ │ ├── UmsMemberProductCategoryRelation.java │ │ ├── UmsMemberProductCategoryRelationExample.java │ │ ├── UmsMemberReceiveAddress.java │ │ ├── UmsMemberReceiveAddressExample.java │ │ ├── UmsMemberRuleSetting.java │ │ ├── UmsMemberRuleSettingExample.java │ │ ├── UmsMemberStatisticsInfo.java │ │ ├── UmsMemberStatisticsInfoExample.java │ │ ├── UmsMemberTag.java │ │ ├── UmsMemberTagExample.java │ │ ├── UmsMemberTask.java │ │ ├── UmsMemberTaskExample.java │ │ ├── UmsMenu.java │ │ ├── UmsMenuExample.java │ │ ├── UmsPermission.java │ │ ├── UmsPermissionExample.java │ │ ├── UmsResource.java │ │ ├── UmsResourceCategory.java │ │ ├── UmsResourceCategoryExample.java │ │ ├── UmsResourceExample.java │ │ ├── UmsRole.java │ │ ├── UmsRoleExample.java │ │ ├── UmsRoleMenuRelation.java │ │ ├── UmsRoleMenuRelationExample.java │ │ ├── UmsRolePermissionRelation.java │ │ ├── UmsRolePermissionRelationExample.java │ │ ├── UmsRoleResourceRelation.java │ │ └── UmsRoleResourceRelationExample.java │ └── resources/ │ ├── com/ │ │ └── macro/ │ │ └── mall/ │ │ └── mapper/ │ │ ├── CmsHelpCategoryMapper.xml │ │ ├── CmsHelpMapper.xml │ │ ├── CmsMemberReportMapper.xml │ │ ├── CmsPrefrenceAreaMapper.xml │ │ ├── CmsPrefrenceAreaProductRelationMapper.xml │ │ ├── CmsSubjectCategoryMapper.xml │ │ ├── CmsSubjectCommentMapper.xml │ │ ├── CmsSubjectMapper.xml │ │ ├── CmsSubjectProductRelationMapper.xml │ │ ├── CmsTopicCategoryMapper.xml │ │ ├── CmsTopicCommentMapper.xml │ │ ├── CmsTopicMapper.xml │ │ ├── OmsCartItemMapper.xml │ │ ├── OmsCompanyAddressMapper.xml │ │ ├── OmsOrderItemMapper.xml │ │ ├── OmsOrderMapper.xml │ │ ├── OmsOrderOperateHistoryMapper.xml │ │ ├── OmsOrderReturnApplyMapper.xml │ │ ├── OmsOrderReturnReasonMapper.xml │ │ ├── OmsOrderSettingMapper.xml │ │ ├── PmsAlbumMapper.xml │ │ ├── PmsAlbumPicMapper.xml │ │ ├── PmsBrandMapper.xml │ │ ├── PmsCommentMapper.xml │ │ ├── PmsCommentReplayMapper.xml │ │ ├── PmsFeightTemplateMapper.xml │ │ ├── PmsMemberPriceMapper.xml │ │ ├── PmsProductAttributeCategoryMapper.xml │ │ ├── PmsProductAttributeMapper.xml │ │ ├── PmsProductAttributeValueMapper.xml │ │ ├── PmsProductCategoryAttributeRelationMapper.xml │ │ ├── PmsProductCategoryMapper.xml │ │ ├── PmsProductFullReductionMapper.xml │ │ ├── PmsProductLadderMapper.xml │ │ ├── PmsProductMapper.xml │ │ ├── PmsProductOperateLogMapper.xml │ │ ├── PmsProductVertifyRecordMapper.xml │ │ ├── PmsSkuStockMapper.xml │ │ ├── SmsCouponHistoryMapper.xml │ │ ├── SmsCouponMapper.xml │ │ ├── SmsCouponProductCategoryRelationMapper.xml │ │ ├── SmsCouponProductRelationMapper.xml │ │ ├── SmsFlashPromotionLogMapper.xml │ │ ├── SmsFlashPromotionMapper.xml │ │ ├── SmsFlashPromotionProductRelationMapper.xml │ │ ├── SmsFlashPromotionSessionMapper.xml │ │ ├── SmsHomeAdvertiseMapper.xml │ │ ├── SmsHomeBrandMapper.xml │ │ ├── SmsHomeNewProductMapper.xml │ │ ├── SmsHomeRecommendProductMapper.xml │ │ ├── SmsHomeRecommendSubjectMapper.xml │ │ ├── UmsAdminLoginLogMapper.xml │ │ ├── UmsAdminMapper.xml │ │ ├── UmsAdminPermissionRelationMapper.xml │ │ ├── UmsAdminRoleRelationMapper.xml │ │ ├── UmsGrowthChangeHistoryMapper.xml │ │ ├── UmsIntegrationChangeHistoryMapper.xml │ │ ├── UmsIntegrationConsumeSettingMapper.xml │ │ ├── UmsMemberLevelMapper.xml │ │ ├── UmsMemberLoginLogMapper.xml │ │ ├── UmsMemberMapper.xml │ │ ├── UmsMemberMemberTagRelationMapper.xml │ │ ├── UmsMemberProductCategoryRelationMapper.xml │ │ ├── UmsMemberReceiveAddressMapper.xml │ │ ├── UmsMemberRuleSettingMapper.xml │ │ ├── UmsMemberStatisticsInfoMapper.xml │ │ ├── UmsMemberTagMapper.xml │ │ ├── UmsMemberTaskMapper.xml │ │ ├── UmsMenuMapper.xml │ │ ├── UmsPermissionMapper.xml │ │ ├── UmsResourceCategoryMapper.xml │ │ ├── UmsResourceMapper.xml │ │ ├── UmsRoleMapper.xml │ │ ├── UmsRoleMenuRelationMapper.xml │ │ ├── UmsRolePermissionRelationMapper.xml │ │ └── UmsRoleResourceRelationMapper.xml │ ├── generator.properties │ └── generatorConfig.xml ├── mall-portal/ │ ├── .gitignore │ ├── pom.xml │ └── src/ │ ├── main/ │ │ ├── java/ │ │ │ └── com/ │ │ │ └── macro/ │ │ │ └── mall/ │ │ │ └── portal/ │ │ │ ├── MallPortalApplication.java │ │ │ ├── component/ │ │ │ │ ├── CancelOrderReceiver.java │ │ │ │ ├── CancelOrderSender.java │ │ │ │ └── OrderTimeOutCancelTask.java │ │ │ ├── config/ │ │ │ │ ├── AlipayClientConfig.java │ │ │ │ ├── AlipayConfig.java │ │ │ │ ├── GlobalCorsConfig.java │ │ │ │ ├── JacksonConfig.java │ │ │ │ ├── MallSecurityConfig.java │ │ │ │ ├── MyBatisConfig.java │ │ │ │ ├── RabbitMqConfig.java │ │ │ │ ├── SpringTaskConfig.java │ │ │ │ └── SwaggerConfig.java │ │ │ ├── controller/ │ │ │ │ ├── AlipayController.java │ │ │ │ ├── HomeController.java │ │ │ │ ├── MemberAttentionController.java │ │ │ │ ├── MemberProductCollectionController.java │ │ │ │ ├── MemberReadHistoryController.java │ │ │ │ ├── OmsCartItemController.java │ │ │ │ ├── OmsPortalOrderController.java │ │ │ │ ├── OmsPortalOrderReturnApplyController.java │ │ │ │ ├── PmsPortalBrandController.java │ │ │ │ ├── PmsPortalProductController.java │ │ │ │ ├── UmsMemberController.java │ │ │ │ ├── UmsMemberCouponController.java │ │ │ │ └── UmsMemberReceiveAddressController.java │ │ │ ├── dao/ │ │ │ │ ├── HomeDao.java │ │ │ │ ├── PortalOrderDao.java │ │ │ │ ├── PortalOrderItemDao.java │ │ │ │ ├── PortalProductDao.java │ │ │ │ └── SmsCouponHistoryDao.java │ │ │ ├── domain/ │ │ │ │ ├── AliPayParam.java │ │ │ │ ├── CartProduct.java │ │ │ │ ├── CartPromotionItem.java │ │ │ │ ├── ConfirmOrderResult.java │ │ │ │ ├── FlashPromotionProduct.java │ │ │ │ ├── HomeContentResult.java │ │ │ │ ├── HomeFlashPromotion.java │ │ │ │ ├── MemberBrandAttention.java │ │ │ │ ├── MemberDetails.java │ │ │ │ ├── MemberProductCollection.java │ │ │ │ ├── MemberReadHistory.java │ │ │ │ ├── OmsOrderDetail.java │ │ │ │ ├── OmsOrderReturnApplyParam.java │ │ │ │ ├── OrderParam.java │ │ │ │ ├── PmsPortalProductDetail.java │ │ │ │ ├── PmsProductCategoryNode.java │ │ │ │ ├── PromotionProduct.java │ │ │ │ ├── QueueEnum.java │ │ │ │ └── SmsCouponHistoryDetail.java │ │ │ ├── repository/ │ │ │ │ ├── MemberBrandAttentionRepository.java │ │ │ │ ├── MemberProductCollectionRepository.java │ │ │ │ └── MemberReadHistoryRepository.java │ │ │ ├── service/ │ │ │ │ ├── AlipayService.java │ │ │ │ ├── HomeService.java │ │ │ │ ├── MemberAttentionService.java │ │ │ │ ├── MemberCollectionService.java │ │ │ │ ├── MemberReadHistoryService.java │ │ │ │ ├── OmsCartItemService.java │ │ │ │ ├── OmsPortalOrderReturnApplyService.java │ │ │ │ ├── OmsPortalOrderService.java │ │ │ │ ├── OmsPromotionService.java │ │ │ │ ├── PmsPortalBrandService.java │ │ │ │ ├── PmsPortalProductService.java │ │ │ │ ├── UmsMemberCacheService.java │ │ │ │ ├── UmsMemberCouponService.java │ │ │ │ ├── UmsMemberReceiveAddressService.java │ │ │ │ ├── UmsMemberService.java │ │ │ │ └── impl/ │ │ │ │ ├── AlipayServiceImpl.java │ │ │ │ ├── HomeServiceImpl.java │ │ │ │ ├── MemberAttentionServiceImpl.java │ │ │ │ ├── MemberCollectionServiceImpl.java │ │ │ │ ├── MemberReadHistoryServiceImpl.java │ │ │ │ ├── OmsCartItemServiceImpl.java │ │ │ │ ├── OmsPortalOrderReturnApplyServiceImpl.java │ │ │ │ ├── OmsPortalOrderServiceImpl.java │ │ │ │ ├── OmsPromotionServiceImpl.java │ │ │ │ ├── PmsPortalBrandServiceImpl.java │ │ │ │ ├── PmsPortalProductServiceImpl.java │ │ │ │ ├── UmsMemberCacheServiceImpl.java │ │ │ │ ├── UmsMemberCouponServiceImpl.java │ │ │ │ ├── UmsMemberReceiveAddressServiceImpl.java │ │ │ │ └── UmsMemberServiceImpl.java │ │ │ └── util/ │ │ │ └── DateUtil.java │ │ └── resources/ │ │ ├── application-dev.yml │ │ ├── application-prod.yml │ │ ├── application.yml │ │ └── dao/ │ │ ├── HomeDao.xml │ │ ├── PortalOrderDao.xml │ │ ├── PortalOrderItemDao.xml │ │ ├── PortalProductDao.xml │ │ └── SmsCouponHistoryDao.xml │ └── test/ │ └── java/ │ └── com/ │ └── macro/ │ └── mall/ │ └── portal/ │ ├── MallPortalApplicationTests.java │ └── PortalProductDaoTests.java ├── mall-search/ │ ├── .gitignore │ ├── pom.xml │ └── src/ │ ├── main/ │ │ ├── java/ │ │ │ └── com/ │ │ │ └── macro/ │ │ │ └── mall/ │ │ │ └── search/ │ │ │ ├── MallSearchApplication.java │ │ │ ├── config/ │ │ │ │ ├── MyBatisConfig.java │ │ │ │ └── SwaggerConfig.java │ │ │ ├── controller/ │ │ │ │ └── EsProductController.java │ │ │ ├── dao/ │ │ │ │ └── EsProductDao.java │ │ │ ├── domain/ │ │ │ │ ├── EsProduct.java │ │ │ │ ├── EsProductAttributeValue.java │ │ │ │ └── EsProductRelatedInfo.java │ │ │ ├── repository/ │ │ │ │ └── EsProductRepository.java │ │ │ └── service/ │ │ │ ├── EsProductService.java │ │ │ └── impl/ │ │ │ └── EsProductServiceImpl.java │ │ └── resources/ │ │ ├── application-dev.yml │ │ ├── application-prod.yml │ │ ├── application.yml │ │ └── dao/ │ │ └── EsProductDao.xml │ └── test/ │ └── java/ │ └── com/ │ └── macro/ │ └── mall/ │ └── search/ │ └── MallSearchApplicationTests.java ├── mall-security/ │ ├── .gitignore │ ├── pom.xml │ └── src/ │ └── main/ │ └── java/ │ └── com/ │ └── macro/ │ └── mall/ │ └── security/ │ ├── annotation/ │ │ └── CacheException.java │ ├── aspect/ │ │ └── RedisCacheAspect.java │ ├── component/ │ │ ├── DynamicAccessDecisionManager.java │ │ ├── DynamicSecurityFilter.java │ │ ├── DynamicSecurityMetadataSource.java │ │ ├── DynamicSecurityService.java │ │ ├── JwtAuthenticationTokenFilter.java │ │ ├── RestAuthenticationEntryPoint.java │ │ └── RestfulAccessDeniedHandler.java │ ├── config/ │ │ ├── CommonSecurityConfig.java │ │ ├── IgnoreUrlsConfig.java │ │ ├── RedisConfig.java │ │ └── SecurityConfig.java │ └── util/ │ ├── JwtTokenUtil.java │ └── SpringUtil.java └── pom.xml ================================================ FILE CONTENTS ================================================ ================================================ FILE: .gitignore ================================================ # Maven # target/ # IDEA # .idea/ *.iml # Eclipse # .settings/ .classpath .project ================================================ FILE: LICENSE ================================================ Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: (a) You must give any other recipients of the Work or Derivative Works a copy of this License; and (b) You must cause any modified files to carry prominent notices stating that You changed the files; and (c) You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and (d) If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Apache License to your work. To apply the Apache License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [2018-2026] [macrozheng] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ================================================ FILE: README.md ================================================ # mall

公众号 交流 学习教程 SpringCloud版本 后台管理系统 前台商城项目 码云

## 友情提示 > 1. **快速体验项目**:[在线访问地址](https://www.macrozheng.com/admin/index.html) 。 > 2. **全套学习教程**:[《mall学习教程》](https://www.macrozheng.com) 。 > 3. **视频教程**:[《mall视频教程》](https://www.macrozheng.com/mall/foreword/mall_video.html) 。 > 4. **微服务版本**:基于Spring Cloud Alibaba的项目:[mall-swarm](https://github.com/macrozheng/mall-swarm) 。 > 5. **分支说明**:`master`分支基于Spring Boot 2.7+JDK 8,`dev-v3`分支基于Spring Boot 3.2+JDK 17。 ## 前言 `mall`项目致力于打造一个完整的电商系统,采用现阶段主流技术实现。 ## 项目文档 文档地址:[https://www.macrozheng.com](https://www.macrozheng.com) ## 项目介绍 `mall`项目是一套电商系统,包括前台商城系统及后台管理系统,基于SpringBoot+MyBatis实现,采用Docker容器化部署。前台商城系统包含首页门户、商品推荐、商品搜索、商品展示、购物车、订单流程、会员中心、客户服务、帮助中心等模块。后台管理系统包含商品管理、订单管理、会员管理、促销管理、运营管理、内容管理、统计报表、财务管理、权限管理、设置等模块。 ### 项目演示 #### 后台管理系统 前端项目`mall-admin-web`地址:https://github.com/macrozheng/mall-admin-web 项目演示地址: [https://www.macrozheng.com/admin/index.html](https://www.macrozheng.com/admin/index.html) ![后台管理系统功能演示](./document/resource/mall_admin_show.png) #### 前台商城系统 前端项目`mall-app-web`地址:https://github.com/macrozheng/mall-app-web 项目演示地址(将浏览器切换为手机模式效果更佳):[https://www.macrozheng.com/app/](https://www.macrozheng.com/app/) ![前台商城系统功能演示](./document/resource/re_mall_app_show.jpg) ### 组织结构 ``` lua mall ├── mall-common -- 工具类及通用代码 ├── mall-mbg -- MyBatisGenerator生成的数据库操作代码 ├── mall-security -- SpringSecurity封装公用模块 ├── mall-admin -- 后台商城管理系统接口 ├── mall-search -- 基于Elasticsearch的商品搜索系统 ├── mall-portal -- 前台商城系统接口 └── mall-demo -- 框架搭建时的测试代码 ``` ### 技术选型 #### 后端技术 | 技术 | 说明 | 官网 | | -------------------- | ------------------- | ---------------------------------------------- | | SpringBoot | Web应用开发框架 | https://spring.io/projects/spring-boot | | SpringSecurity | 认证和授权框架 | https://spring.io/projects/spring-security | | MyBatis | ORM框架 | http://www.mybatis.org/mybatis-3/zh/index.html | | MyBatisGenerator | 数据层代码生成器 | http://www.mybatis.org/generator/index.html | | Elasticsearch | 搜索引擎 | https://github.com/elastic/elasticsearch | | RabbitMQ | 消息队列 | https://www.rabbitmq.com/ | | Redis | 内存数据存储 | https://redis.io/ | | MongoDB | NoSql数据库 | https://www.mongodb.com | | LogStash | 日志收集工具 | https://github.com/elastic/logstash | | Kibana | 日志可视化查看工具 | https://github.com/elastic/kibana | | Nginx | 静态资源服务器 | https://www.nginx.com/ | | Docker | 应用容器引擎 | https://www.docker.com | | Jenkins | 自动化部署工具 | https://github.com/jenkinsci/jenkins | | Druid | 数据库连接池 | https://github.com/alibaba/druid | | OSS | 对象存储 | https://github.com/aliyun/aliyun-oss-java-sdk | | MinIO | 对象存储 | https://github.com/minio/minio | | JWT | JWT登录支持 | https://github.com/jwtk/jjwt | | Lombok | Java语言增强库 | https://github.com/rzwitserloot/lombok | | Hutool | Java工具类库 | https://github.com/looly/hutool | | PageHelper | MyBatis物理分页插件 | http://git.oschina.net/free/Mybatis_PageHelper | | Swagger-UI | API文档生成工具 | https://github.com/swagger-api/swagger-ui | | Hibernator-Validator | 验证框架 | http://hibernate.org/validator | #### 前端技术 | 技术 | 说明 | 官网 | | ---------- | --------------------- | -------------------------------------- | | Vue | 前端框架 | https://vuejs.org/ | | Vue-router | 路由框架 | https://router.vuejs.org/ | | Vuex | 全局状态管理框架 | https://vuex.vuejs.org/ | | Element | 前端UI框架 | https://element.eleme.io | | Axios | 前端HTTP框架 | https://github.com/axios/axios | | v-charts | 基于Echarts的图表框架 | https://v-charts.js.org/ | | Js-cookie | cookie管理工具 | https://github.com/js-cookie/js-cookie | | nprogress | 进度条控件 | https://github.com/rstacruz/nprogress | #### 移动端技术 | 技术 | 说明 | 官网 | | ------------ | ---------------- | --------------------------------------- | | Vue | 核心前端框架 | https://vuejs.org | | Vuex | 全局状态管理框架 | https://vuex.vuejs.org | | uni-app | 移动端前端框架 | https://uniapp.dcloud.io | | mix-mall | 电商项目模板 | https://ext.dcloud.net.cn/plugin?id=200 | | luch-request | HTTP请求框架 | https://github.com/lei-mu/luch-request | #### 架构图 ##### 系统架构图 ![系统架构图](./document/resource/re_mall_system_arch.jpg) ##### 业务架构图 ![业务架构图](./document/resource/re_mall_business_arch.jpg) #### 模块介绍 ##### 后台管理系统 `mall-admin` - 商品管理:[功能结构图-商品.jpg](document/resource/mind_product.jpg) - 订单管理:[功能结构图-订单.jpg](document/resource/mind_order.jpg) - 促销管理:[功能结构图-促销.jpg](document/resource/mind_sale.jpg) - 内容管理:[功能结构图-内容.jpg](document/resource/mind_content.jpg) - 用户管理:[功能结构图-用户.jpg](document/resource/mind_member.jpg) ##### 前台商城系统 `mall-portal` [功能结构图-前台.jpg](document/resource/mind_portal.jpg) #### 开发进度 ![项目开发进度图](./document/resource/re_mall_dev_flow.jpg) ## 环境搭建 ### 开发工具 | 工具 | 说明 | 官网 | | ------------- | ------------------- | ----------------------------------------------- | | IDEA | 开发IDE | https://www.jetbrains.com/idea/download | | RedisDesktop | redis客户端连接工具 | https://github.com/qishibo/AnotherRedisDesktopManager | | Robomongo | mongo客户端连接工具 | https://robomongo.org/download | | SwitchHosts | 本地host管理 | https://oldj.github.io/SwitchHosts/ | | X-shell | Linux远程连接工具 | http://www.netsarang.com/download/software.html | | Navicat | 数据库连接工具 | http://www.formysql.com/xiazai.html | | PowerDesigner | 数据库设计工具 | http://powerdesigner.de/ | | Axure | 原型设计工具 | https://www.axure.com/ | | MindMaster | 思维导图设计工具 | http://www.edrawsoft.cn/mindmaster | | ScreenToGif | gif录制工具 | https://www.screentogif.com/ | | ProcessOn | 流程图绘制工具 | https://www.processon.com/ | | PicPick | 图片处理工具 | https://picpick.app/zh/ | | Snipaste | 屏幕截图工具 | https://www.snipaste.com/ | | Postman | API接口调试工具 | https://www.postman.com/ | | Typora | Markdown编辑器 | https://typora.io/ | ### 开发环境 | 工具 | 版本号 | 下载 | | ------------- | ------ | ------------------------------------------------------------ | | JDK | 1.8 | https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html | | MySQL | 5.7 | https://www.mysql.com/ | | Redis | 7.0 | https://redis.io/download | | MongoDB | 5.0 | https://www.mongodb.com/download-center | | RabbitMQ | 3.10.5 | http://www.rabbitmq.com/download.html | | Nginx | 1.22 | http://nginx.org/en/download.html | | Elasticsearch | 7.17.3 | https://www.elastic.co/downloads/elasticsearch | | Logstash | 7.17.3 | https://www.elastic.co/cn/downloads/logstash | | Kibana | 7.17.3 | https://www.elastic.co/cn/downloads/kibana | ### 搭建步骤 > Windows环境部署 - Windows环境搭建请参考:[mall项目后端开发环境搭建](https://www.macrozheng.com/mall/start/mall_deploy_windows.html); - 注意:如果只启动`mall-admin`模块,仅需安装MySQL、Redis即可; - 克隆`mall-admin-web`项目,并导入到IDEA中完成编译:[前端项目地址](https://github.com/macrozheng/mall-admin-web); - `mall-admin-web`项目的安装及部署请参考:[mall项目前端发环境搭建](https://www.macrozheng.com/mall/start/mall_deploy_web.html) 。 > Docker环境部署 - 使用虚拟机安装CentOS7.6请参考:[虚拟机安装及使用Linux,看这一篇就够了](https://www.macrozheng.com/mall/deploy/linux_install.html); - 本项目Docker镜像构建请参考:[使用Maven插件为SpringBoot应用构建Docker镜像](https://www.macrozheng.com/project/maven_docker_fabric8.html); - 本项目在Docker容器下的部署请参考:[mall在Linux环境下的部署(基于Docker容器)](https://www.macrozheng.com/mall/deploy/mall_deploy_docker.html); - 本项目使用Docker Compose请参考: [mall在Linux环境下的部署(基于Docker Compose)](https://www.macrozheng.com/mall/deploy/mall_deploy_docker_compose.html); - 本项目在Linux下的自动化部署请参考:[mall在Linux环境下的自动化部署(基于Jenkins)](https://www.macrozheng.com/mall/deploy/mall_deploy_jenkins.html); ## 公众号 加微信群交流,关注公众号「**macrozheng**」,回复「**加群**」即可。 ![公众号图片](./document/resource/qrcode_for_macrozheng_258.jpg) ## 许可证 [Apache License 2.0](https://github.com/macrozheng/mall/blob/master/LICENSE) Copyright (c) 2018-2026 macrozheng ================================================ FILE: document/axure/app-design.md ================================================ ## app-design ### 原型尺寸 名称 | 尺寸 ----|---- android|360x640 ios|375x667 ### 尺寸 #### 字体大小 名称 | 尺寸 ----|---- 标题栏标题|17 标题栏编辑|15 标题字体1|17 标题字体2|15 正文字体|13 #### 中继器尺寸 名称 | 尺寸 ----|---- 单列宽度|375 双列宽度|150 双列左右填充|30 双列水平垂直边距|15 #### 图标尺寸 名称 | 尺寸 ----|---- 图标|24x24 #### 通用尺寸 名称 | 尺寸 ----|---- 标题栏高度|44 单行列表高度|44或48 矩形内部填充间距|20 分隔条宽度|15 分隔条宽度2|20 ### 颜色 名称 | 尺寸 ----|---- app主色|#2AB795 屏幕背景色|#EEEEEE 弹框背景色|#04040F(40%) 醒目色1|#FB0017 醒目色2|#FD994B 文字颜色1|#333333 文字颜色2|#666666 文字颜色3|#999999 边框及分隔线颜色|#CCCCCC 图标颜色|#666666或主色 半透明色|纯黑色调整透明度 ================================================ FILE: document/docker/docker-compose-app.yml ================================================ version: '3' services: mall-admin: image: mall/mall-admin:1.0-SNAPSHOT container_name: mall-admin ports: - 8080:8080 volumes: - /mydata/app/mall-admin/logs:/var/logs - /etc/localtime:/etc/localtime environment: - 'TZ="Asia/Shanghai"' external_links: - mysql:db #可以用db这个域名访问mysql服务 mall-search: image: mall/mall-search:1.0-SNAPSHOT container_name: mall-search ports: - 8081:8081 volumes: - /mydata/app/mall-search/logs:/var/logs - /etc/localtime:/etc/localtime environment: - 'TZ="Asia/Shanghai"' external_links: - elasticsearch:es #可以用es这个域名访问elasticsearch服务 - mysql:db #可以用db这个域名访问mysql服务 mall-portal: image: mall/mall-portal:1.0-SNAPSHOT container_name: mall-portal ports: - 8085:8085 volumes: - /mydata/app/mall-portal/logs:/var/logs - /etc/localtime:/etc/localtime environment: - 'TZ="Asia/Shanghai"' external_links: - redis:redis #可以用redis这个域名访问redis服务 - mongo:mongo #可以用mongo这个域名访问mongo服务 - mysql:db #可以用db这个域名访问mysql服务 - rabbitmq:rabbit #可以用rabbit这个域名访问rabbitmq服务 ================================================ FILE: document/docker/docker-compose-env.yml ================================================ version: '3' services: mysql: image: mysql:5.7 container_name: mysql command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci restart: always environment: MYSQL_ROOT_PASSWORD: root #设置root帐号密码 ports: - 3306:3306 volumes: - /mydata/mysql/data:/var/lib/mysql #数据文件目录挂载 - /mydata/mysql/conf:/etc/mysql #配置文件目录挂载 - /mydata/mysql/log:/var/log/mysql #日志文件目录挂载 redis: image: redis:7 container_name: redis command: redis-server --appendonly yes volumes: - /mydata/redis/data:/data #数据文件目录挂载 ports: - 6379:6379 nginx: image: nginx:1.22 container_name: nginx volumes: - /mydata/nginx/conf:/etc/nginx #配置文件目录挂载 - /mydata/nginx/html:/usr/share/nginx/html #静态资源根目录挂载 - /mydata/nginx/logs:/var/log/nginx #日志文件目录挂载 ports: - 80:80 rabbitmq: image: rabbitmq:3.9.11-management container_name: rabbitmq volumes: - /mydata/rabbitmq/data:/var/lib/rabbitmq #数据文件目录挂载 ports: - 5672:5672 - 15672:15672 elasticsearch: image: elasticsearch:7.17.3 container_name: elasticsearch environment: - "cluster.name=elasticsearch" #设置集群名称为elasticsearch - "discovery.type=single-node" #以单一节点模式启动 - "ES_JAVA_OPTS=-Xms512m -Xmx1024m" #设置es使用的jvm内存大小 volumes: - /mydata/elasticsearch/plugins:/usr/share/elasticsearch/plugins #插件文件目录挂载 - /mydata/elasticsearch/data:/usr/share/elasticsearch/data #数据文件目录挂载 ports: - 9200:9200 - 9300:9300 logstash: image: logstash:7.17.3 container_name: logstash environment: - TZ=Asia/Shanghai volumes: - /mydata/logstash/logstash.conf:/usr/share/logstash/pipeline/logstash.conf #配置文件挂载 depends_on: - elasticsearch #kibana在elasticsearch启动之后再启动 links: - elasticsearch:es #可以用es这个域名访问elasticsearch服务 ports: - 4560:4560 - 4561:4561 - 4562:4562 - 4563:4563 kibana: image: kibana:7.17.3 container_name: kibana links: - elasticsearch:es #可以用es这个域名访问elasticsearch服务 depends_on: - elasticsearch #kibana在elasticsearch启动之后再启动 environment: - "elasticsearch.hosts=http://es:9200" #设置访问elasticsearch的地址 ports: - 5601:5601 mongo: image: mongo:4 container_name: mongo volumes: - /mydata/mongo/db:/data/db #数据文件目录挂载 ports: - 27017:27017 minio: image: minio/minio container_name: minio command: server /data --console-address ":9001" #指定数据目录及console运行端口启动 volumes: - /mydata/minio/data:/data #数据目录挂载 environment: - "MINIO_ROOT_USER=minioadmin" - "MINIO_ROOT_PASSWORD=minioadmin" ports: - 9090:9000 - 9001:9001 ================================================ FILE: document/docker/nginx.conf ================================================ user nginx; worker_processes 1; error_log /var/log/nginx/error.log warn; pid /var/run/nginx.pid; events { worker_connections 1024; } http { include /etc/nginx/mime.types; default_type application/octet-stream; log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; #tcp_nopush on; keepalive_timeout 65; #gzip on; server { listen 80; server_name localhost; location / { root /usr/share/nginx/html; index index.html index.htm; } error_page 500 502 503 504 /50x.html; location = /50x.html { root /usr/share/nginx/html; } } } ================================================ FILE: document/elk/logstash.conf ================================================ input { tcp { mode => "server" host => "0.0.0.0" port => 4560 codec => json_lines type => "debug" } tcp { mode => "server" host => "0.0.0.0" port => 4561 codec => json_lines type => "error" } tcp { mode => "server" host => "0.0.0.0" port => 4562 codec => json_lines type => "business" } tcp { mode => "server" host => "0.0.0.0" port => 4563 codec => json_lines type => "record" } } filter{ if [type] == "record" { mutate { remove_field => "port" remove_field => "host" remove_field => "@version" } json { source => "message" remove_field => ["message"] } } } output { elasticsearch { hosts => "localhost:9200" index => "mall-%{type}-%{+YYYY.MM.dd}" } } ================================================ FILE: document/pdm/mall.pdb ================================================ 7BB41C87-EFE8-409A-A86E-B1C3FCE34F8C mall mall 1521705583 zhenghong 1580869150 zhenghong [FolderOptions] [FolderOptions\Physical Objects] GenerationCheckModel=Yes GenerationPath= GenerationOptions= GenerationTasks= GenerationTargets= GenerationSelections= RevPkey=Yes RevFkey=Yes RevAkey=Yes RevCheck=Yes RevIndx=Yes RevOpts=Yes RevViewAsTabl=No RevViewOpts=Yes RevSystAsTabl=Yes RevTablPerm=No RevViewPerm=No RevProcPerm=No RevDbpkPerm=No RevSqncPerm=No RevAdtPerm=No RevUserPriv=No RevUserOpts=No RevGrpePriv=No RevRolePriv=No RevDtbsOpts=Yes RevDtbsPerm=No RevViewIndx=Yes RevJidxOpts=Yes RevStats=No RevTspcPerm=No RevCaseSensitive=No GenTrgrStdMsg=Yes GenTrgrMsgTab= GenTrgrMsgNo= GenTrgrMsgTxt= TrgrPreserve=No TrgrIns=Yes TrgrUpd=Yes TrgrDel=Yes TrgrC2Ins=Yes TrgrC2Upd=Yes TrgrC3=Yes TrgrC4=Yes TrgrC5=Yes TrgrC6=Yes TrgrC7=Yes TrgrC8=Yes TrgrC9=Yes TrgrC10=Yes TrgrC11=Yes TrgrC1=Yes TrgrC12Ins=Yes TrgrC12Upd=Yes TrgrC13=Yes UpdateTableStatistics=Yes UpdateColumnStatistics=Yes [FolderOptions\Physical Objects\Database Generation] GenScriptName=create.sql GenScriptName0=update.sql GenScriptName1=crebas.sql GenScriptName2=crebas GenScriptName3= GenScriptName4= GenScriptName5= GenScriptName6= GenScriptName7= GenScriptName8= GenScriptName9= GenPathName=C:\Users\zhenghong\Desktop\ GenSingleFile=Yes GenODBC=No GenCheckModel=Yes GenScriptPrev=Yes GenArchiveModel=No GenUseSync=No GenSyncChoice=0 GenSyncArch= GenSyncRmg=0 [FolderOptions\Physical Objects\Database Generation\Format] GenScriptTitle=Yes GenScriptNamLabl=No GenScriptQDtbs=No GenScriptQOwnr=Yes GenScriptCase=0 GenScriptEncoding=UTF8 GenScriptNAcct=No IdentifierDelimiter=" [FolderOptions\Physical Objects\Database Generation\Database] Create=Yes Open=Yes Close=Yes Drop=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\Database\Create] Physical Options=Yes Header=Yes Footer=Yes [FolderOptions\Physical Objects\Database Generation\Tablespace] Create=Yes Drop=Yes Comment=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\Tablespace\Create] Header=Yes Footer=Yes [FolderOptions\Physical Objects\Database Generation\Storage] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\User] Create=Yes Drop=Yes Comment=Yes Privilege=No [FolderOptions\Physical Objects\Database Generation\User\Create] Physical Options=No [FolderOptions\Physical Objects\Database Generation\Group] Create=Yes Drop=Yes Comment=Yes Privilege=No [FolderOptions\Physical Objects\Database Generation\Role] Create=Yes Drop=Yes Privilege=No [FolderOptions\Physical Objects\Database Generation\UserDefinedDataType] Create=Yes Comment=Yes Drop=Yes [FolderOptions\Physical Objects\Database Generation\UserDefinedDataType\Create] Default value=Yes Check=Yes [FolderOptions\Physical Objects\Database Generation\AbstractDataType] Create=Yes Header=Yes Footer=Yes Drop=Yes Comment=Yes Install JAVA class=Yes Remove JAVA class=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\Rule] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Default] Create=Yes Comment=Yes Drop=Yes [FolderOptions\Physical Objects\Database Generation\Sequence] Create=Yes Drop=Yes Comment=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\Table&&Column] [FolderOptions\Physical Objects\Database Generation\Table&&Column\Table] Create=Yes Drop=Yes Comment=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\Table&&Column\Table\Create] Check=Yes Physical Options=Yes Header=Yes Footer=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Table\Create\Check] Constraint declaration=No [FolderOptions\Physical Objects\Database Generation\Table&&Column\Column] User datatype=No Default value=Yes Check=Yes Physical Options=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Column\Check] Constraint declaration=No [FolderOptions\Physical Objects\Database Generation\Table&&Column\Key] [FolderOptions\Physical Objects\Database Generation\Table&&Column\Key\Primary key] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Key\Primary key\Create] Constraint declaration=No Physical Options=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Key\Alternate key] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Key\Alternate key\Create] Constraint declaration=No Physical Options=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Foreign key] Create=No Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Foreign key\Create] Constraint declaration=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Index] Create=No Drop=No Comment=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Index\Create] Constraint declaration=Yes Physical Options=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Index\Filter] Primary key=No Foreign key=No Alternate key=No Cluster=Yes Other=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Trigger] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Trigger\Filter] For insert=Yes For update=Yes For delete=Yes For other=Yes [FolderOptions\Physical Objects\Database Generation\View] Create=Yes Drop=Yes Comment=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\View\Create] Force Column list=No Physical Options=Yes Header=Yes Footer=Yes [FolderOptions\Physical Objects\Database Generation\View\ViewColumn] Comment=Yes [FolderOptions\Physical Objects\Database Generation\View\ViewIndex] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\View\ViewIndex\Create] Physical Options=Yes [FolderOptions\Physical Objects\Database Generation\View\ViewIndex\Filter] Cluster=Yes Other=Yes [FolderOptions\Physical Objects\Database Generation\View\Trigger] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\View\Trigger\Filter] For insert=Yes For update=Yes For delete=Yes For other=Yes [FolderOptions\Physical Objects\Database Generation\DBMSTrigger] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Synonym] Create=Yes Drop=Yes [FolderOptions\Physical Objects\Database Generation\Synonym\Filter] Table=Yes View=Yes Proc=Yes Synonym=Yes Database Package=Yes Sequence=Yes [FolderOptions\Physical Objects\Database Generation\JoinIndex] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\JoinIndex\Create] Physical Options=Yes Header=Yes Footer=Yes [FolderOptions\Physical Objects\Database Generation\Procedure] Create=Yes Drop=Yes Comment=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\Procedure\Create] Header=Yes Footer=Yes [FolderOptions\Physical Objects\Database Generation\DatabasePackage] Create=Yes Drop=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\WebService] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Dimension] Create=Yes Drop=Yes [FolderOptions\Physical Objects\Database Generation\Synchronization] GenBackupTabl=1 GenKeepBackTabl=1 GenTmpTablDrop=No GenKeepTablOpts=No [FolderOptions\Physical Objects\Test Data] GenDataPathName=C:\Users\zhenghong\Desktop\ GenDataSinglefile=Yes GenDataScriptName=testdata.sql GenDataScriptName0= GenDataScriptName1= GenDataScriptName2= GenDataScriptName3= GenDataScriptName4= GenDataScriptName5= GenDataScriptName6= GenDataScriptName7= GenDataScriptName8= GenDataScriptName9= GenDataOdbc=0 GenDataDelOld=No GenDataTitle=No GenDataDefNumRows=20 GenDataCommit=0 GenDataPacket=0 GenDataOwner=No GenDataProfNumb= GenDataProfChar= GenDataProfDate= GenDataCSVSeparator=, GenDataFileFormat=CSV GenDataUseWizard=No [FolderOptions\Pdm] IndxIQName=%COLUMN%_%INDEXTYPE% IndxPK=Yes IndxFK=Yes IndxAK=Yes IndxPKName=%TABLE%_PK IndxFKName=%REFR%_FK IndxAKName=%AKEY%_AK IndxPreserve=No IndxThreshold=0 IndxStats=No RefrPreserve=No JidxPreserve=No RbldMultiFact=Yes RbldMultiDim=Yes RbldMultiJidx=Yes CubePreserve=No TablStProcPreserve=No ProcDepPreserve=Yes TrgrDepPreserve=Yes CubeScriptPath= CubeScriptCase=0 CubeScriptEncoding=ANSI CubeScriptNacct=No CubeScriptHeader=No CubeScriptExt=csv CubeScriptExt0=txt CubeScriptExt1= CubeScriptExt2= CubeScriptSep=, CubeScriptDeli=" EstimationYears=0 DfltDomnName=D_%.U:VALUE% DfltColnName=D_%.U:VALUE% DfltReuse=Yes DfltDrop=Yes [FolderOptions\CheckModel] [FolderOptions\CheckModel\Package] [FolderOptions\CheckModel\Package\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\CheckPackageMissTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\DefaultCheckPackageMissTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\CircularReference] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\ConstraintName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\CnstMaxLen] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\CircularDependency] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\ShortcutUniqCode] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Table] [FolderOptions\CheckModel\Table\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\UniqIndex] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\MaxLen - NAME] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\EmptyColl - COLNCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\EmptyColl - INDXCOL] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\EmptyColl - KEYCOL] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\SerialColumnNumber] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\EmptyCollYesYes] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\TableIndexes] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\Mapping] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Table\MappingSFMap] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Table\EmptyColl - PERMCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Table\CheckTablePartitionKey] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckTableStartDate] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckTableRefNoLifecycle] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckTableSourceMapping] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckTablePartialColumnMapping] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckTableKeyColumnMapping] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckTableNotOnLifecycleTablespace] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\MYSQL50_Table_Table_storage_type] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Table.Column] [FolderOptions\CheckModel\Table.Column\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\DomainDivergence] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\ColumnMandatory] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckNumParam] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckPrecSupLng] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckUndefDttp] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\FkeyDttpDivergence] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\FkeyCheckDivergence] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\ColnSqncNoKey] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\ColnSqncDttp] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\SerialColumnFK] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\ColumnCompExpr] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckColumnOneToOneMapping] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckColumnDataTypeMapping] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckColumnNoMapping] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckDttpIncompatibleFormat] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\MYSQL50_Column_Auto_increment_key] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\MYSQL50_Column_Datatype_attributes] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index] [FolderOptions\CheckModel\Table.Index\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\EmptyColl - CIDXCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\UndefIndexType] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\IndexColumnCount] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\IQIndxHNGUniq] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\CheckIncludeColl - Tabl] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\MYSQL50_Index_Fulltext_indexes_validity] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key] [FolderOptions\CheckModel\Table.Key\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\EmptyColl - COLNCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\CheckIncludeColl - Tabl] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\MultiKeySqnc] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger] [FolderOptions\CheckModel\Table.Trigger\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index] [FolderOptions\CheckModel\Join Index\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View] [FolderOptions\CheckModel\View\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\EmptyColl - PERMCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\View.View Index] [FolderOptions\CheckModel\View.View Index\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\EmptyColl - CIDXCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\IndexColumnCount] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\CheckIncludeColl - Tabl] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference] [FolderOptions\CheckModel\Reference\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\Reflexive] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\EmptyColl - RFJNCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\IncompleteJoin] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\JoinOrder] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference] [FolderOptions\CheckModel\View Reference\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\EmptyColl - VRFJNCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain] [FolderOptions\CheckModel\Domain\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\CheckNumParam] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\CheckPrecSupLng] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\CheckUndefDttp] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\CheckDttpIncompatibleFormat] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default] [FolderOptions\CheckModel\Default\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\DfltValeEmpty] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\DfltSameVale] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User] [FolderOptions\CheckModel\User\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\UniquePassword] CheckSeverity=No FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Group] [FolderOptions\CheckModel\Group\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\EmptyColl - USERCOL] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\UniquePassword] CheckSeverity=No FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Role] [FolderOptions\CheckModel\Role\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\EmptyColl - USERCOL] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure] [FolderOptions\CheckModel\Procedure\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\ProcBodyEmpty] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\EmptyColl - PERMCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\DBMS Trigger] [FolderOptions\CheckModel\DBMS Trigger\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\DbmsTriggerEvent] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source] [FolderOptions\CheckModel\Data Source\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\EmptyColl - MODLSRC] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\DtscTargets] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\CheckDataSourceModels] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Horizontal Partitioning] [FolderOptions\CheckModel\Horizontal Partitioning\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Horizontal Partitioning\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Horizontal Partitioning\EmptyColl - PARTCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Horizontal Partitioning\TargetTables] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Vertical Partitioning] [FolderOptions\CheckModel\Vertical Partitioning\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Vertical Partitioning\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Vertical Partitioning\EmptyColl - PARTCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Vertical Partitioning\TargetTables] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table Collapsing] [FolderOptions\CheckModel\Table Collapsing\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table Collapsing\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table Collapsing\EmptyColl - TargetTable] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table Collapsing\TargetTables] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact] [FolderOptions\CheckModel\Fact\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\EmptyColl - MEASCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\Mapping] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Fact\MappingSFMap] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Fact\EmptyColl - ALLOLINKCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\CubeDupAssociation] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension] [FolderOptions\CheckModel\Dimension\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\EmptyColl - DATTRCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\EmptyColl - HIERCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\DimnDupHierarchy] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\DimnDefHierarchy] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\Mapping] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Dimension\MappingSFMap] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Dimension\SerialColumnNumber] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Association] [FolderOptions\CheckModel\Association\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Association\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Association\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Association\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Association\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Association\EmptyColl - Hierarchy] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute] [FolderOptions\CheckModel\Dimension.Attribute\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure] [FolderOptions\CheckModel\Fact.Measure\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy] [FolderOptions\CheckModel\Dimension.Hierarchy\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\EmptyColl - DATTRCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym] [FolderOptions\CheckModel\Synonym\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\MaxLen - NAME] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\EmptyColl - BASEOBJ] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type] [FolderOptions\CheckModel\Abstract Data Type\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\AdtInstantiable] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\AdtAbstractUsed] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure] [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\AdtProcUniqName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\UniqueDefinition] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\ReturnDataType] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package] [FolderOptions\CheckModel\Database Package\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\MaxLen - NAME] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\EmptyColl - PROCOL] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\EmptyColl - CURCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Database Package\EmptyColl - VARCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Database Package\EmptyColl - TYPCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Database Package\EmptyColl - EXCCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Database Package.Database Package Procedure] [FolderOptions\CheckModel\Database Package.Database Package Procedure\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\UniqueDefinition] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\EmptyColl - PARM] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Database Package.Database Package Procedure\ReturnDataType] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence] [FolderOptions\CheckModel\Sequence\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor] [FolderOptions\CheckModel\Database Package.Database Package Cursor\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\UniqueDefinition] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\ReturnDataType] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\EmptyColl - PARM] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Database Package.Database Package Variable] [FolderOptions\CheckModel\Database Package.Database Package Variable\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\CheckUndefDttp] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type] [FolderOptions\CheckModel\Database Package.Database Package Type\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\UniqueDefinition] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception] [FolderOptions\CheckModel\Database Package.Database Package Exception\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace] [FolderOptions\CheckModel\Tablespace\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\IsObjectUsed] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage] [FolderOptions\CheckModel\Storage\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\IsObjectUsed] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database] [FolderOptions\CheckModel\Database\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\IsObjectUsed] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service] [FolderOptions\CheckModel\Web Service\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation] [FolderOptions\CheckModel\Web Service.Web Operation\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle] [FolderOptions\CheckModel\Lifecycle\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\CheckLifecyclePhase] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\CheckLifecycleRetention] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\CheckPartitionRange] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase] [FolderOptions\CheckModel\Lifecycle.Phase\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseTbspace] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseIQTbspace] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseDuplicateTbspace] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseTbspaceCurrency] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseRetention] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseIdlePeriod] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseDataSource] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseExternalOnFirst] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Replication] [FolderOptions\CheckModel\Replication\PartialReplication] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule] [FolderOptions\CheckModel\Business Rule\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\EmptyColl - OBJCOL] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object] [FolderOptions\CheckModel\Extended Object\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link] [FolderOptions\CheckModel\Extended Link\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File] [FolderOptions\CheckModel\File\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File\CheckPathExists] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format] [FolderOptions\CheckModel\Data Format\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\CheckDataFormatNullExpression] CheckSeverity=No FixRequested=No CheckRequested=Yes [ModelOptions] [ModelOptions\Physical Objects] CaseSensitive=No DisplayName=Yes EnableTrans=No UseTerm=No EnableRequirements=No EnableFullShortcut=Yes DefaultDttp= IgnoreOwner=No RebuildTrigger=Yes RefrUnique=No RefrAutoMigrate=Yes RefrMigrateReuse=No RefrMigrateDomain=Yes RefrMigrateCheck=Yes RefrMigrateRule=Yes RefrMigrateExtd=No RefrMigrDefaultLink=No RefrDfltImpl=D RefrPrgtColn=No RefrMigrateToEnd=No RebuildTriggerDep=No ColnFKName=%.3:PARENT%_%COLUMN% ColnFKNameUse=No DomnCopyDttp=Yes DomnCopyChck=No DomnCopyRule=No DomnCopyMand=No DomnCopyExtd=No DomnCopyProf=No Notation=0 DomnDefaultMandatory=No ColnDefaultMandatory=No TablDefaultOwner= ViewDefaultOwner= TrgrDefaultOwnerTabl= TrgrDefaultOwnerView= IdxDefaultOwnerTabl= IdxDefaultOwnerView= JdxDefaultOwner= DBPackDefaultOwner= SeqDefaultOwner= ProcDefaultOwner= DBMSTrgrDefaultOwner= Currency=USD RefrDeleteConstraint=1 RefrUpdateConstraint=1 RefrParentMandatory=No RefrParentChangeAllow=Yes RefrCheckOnCommit=No [ModelOptions\Physical Objects\NamingOptionsTemplates] [ModelOptions\Physical Objects\ClssNamingOptions] [ModelOptions\Physical Objects\ClssNamingOptions\PDMPCKG] [ModelOptions\Physical Objects\ClssNamingOptions\PDMPCKG\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\PDMPCKG\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\PDMDOMN] [ModelOptions\Physical Objects\ClssNamingOptions\PDMDOMN\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\PDMDOMN\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\TABL] [ModelOptions\Physical Objects\ClssNamingOptions\TABL\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\TABL\Code] Template= MaxLen=64 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\COLN] [ModelOptions\Physical Objects\ClssNamingOptions\COLN\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\COLN\Code] Template= MaxLen=64 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\INDX] [ModelOptions\Physical Objects\ClssNamingOptions\INDX\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\INDX\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\REFR] [ModelOptions\Physical Objects\ClssNamingOptions\REFR\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\REFR\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\VREF] [ModelOptions\Physical Objects\ClssNamingOptions\VREF\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\VREF\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\VIEW] [ModelOptions\Physical Objects\ClssNamingOptions\VIEW\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\VIEW\Code] Template= MaxLen=64 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\VIEWC] [ModelOptions\Physical Objects\ClssNamingOptions\VIEWC\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\VIEWC\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\WEBSERV] [ModelOptions\Physical Objects\ClssNamingOptions\WEBSERV\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\WEBSERV\Code] Template= MaxLen=254 Case=M ValidChar='a'-'z','A'-'Z','0'-'9',"/-_.!~*'()" InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\WEBOP] [ModelOptions\Physical Objects\ClssNamingOptions\WEBOP\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\WEBOP\Code] Template= MaxLen=254 Case=M ValidChar='a'-'z','A'-'Z','0'-'9',"/-_.!~*'()" InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\WPARAM] [ModelOptions\Physical Objects\ClssNamingOptions\WPARAM\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\WPARAM\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FACT] [ModelOptions\Physical Objects\ClssNamingOptions\FACT\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FACT\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\DIMN] [ModelOptions\Physical Objects\ClssNamingOptions\DIMN\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\DIMN\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\MEAS] [ModelOptions\Physical Objects\ClssNamingOptions\MEAS\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\MEAS\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\DATTR] [ModelOptions\Physical Objects\ClssNamingOptions\DATTR\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\DATTR\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FILO] [ModelOptions\Physical Objects\ClssNamingOptions\FILO\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FILO\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FRMEOBJ] [ModelOptions\Physical Objects\ClssNamingOptions\FRMEOBJ\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FRMEOBJ\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FRMELNK] [ModelOptions\Physical Objects\ClssNamingOptions\FRMELNK\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FRMELNK\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\DefaultClass] [ModelOptions\Physical Objects\ClssNamingOptions\DefaultClass\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\DefaultClass\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Connection] [ModelOptions\Pdm] [ModelOptions\Generate] [ModelOptions\Generate\Xsm] GenRootElement=Yes GenComplexType=No GenAttribute=Yes CheckModel=Yes SaveLinks=Yes ORMapping=No NameToCode=No [ModelOptions\Generate\Pdm] RRMapping=No [ModelOptions\Generate\Cdm] CheckModel=Yes SaveLinks=Yes NameToCode=No Notation=2 [ModelOptions\Generate\Oom] CheckModel=Yes SaveLinks=Yes ORMapping=No NameToCode=Yes ClassPrefix= [ModelOptions\Generate\Ldm] CheckModel=Yes SaveLinks=Yes NameToCode=No [ModelOptions\Default Opts] [ModelOptions\Default Opts\TABL] PhysOpts= [ModelOptions\Default Opts\COLN] PhysOpts= [ModelOptions\Default Opts\INDX] PhysOpts= [ModelOptions\Default Opts\AKEY] PhysOpts= [ModelOptions\Default Opts\PKEY] PhysOpts= [ModelOptions\Default Opts\STOR] PhysOpts= [ModelOptions\Default Opts\TSPC] PhysOpts= [ModelOptions\Default Opts\SQNC] PhysOpts= [ModelOptions\Default Opts\DTBS] PhysOpts= [ModelOptions\Default Opts\USER] PhysOpts= [ModelOptions\Default Opts\JIDX] PhysOpts= 14D4F090-917F-4538-8687-B423AA42B832 MySQL 5.0 MYSQL50 1521705583 zhenghong 1521705583 zhenghong F4F16ECD-F2F1-4006-AF6F-638D5C65F35E 4BA9F647-DAB1-11D1-9944-006097355D9B 137EC109-4534-4C7A-BB72-091B8362EA59 diagram diagram 1521705583 zhenghong 1580869150 zhenghong [DisplayPreferences] [DisplayPreferences\PDM] [DisplayPreferences\General] Adjust to text=Yes Snap Grid=No Constrain Labels=Yes Display Grid=No Show Page Delimiter=Yes Show Links intersections=Yes Activate automatic link routing=Yes Grid size=800 Graphic unit=2 Window color=255 255 255 Background image= Background mode=8 Watermark image= Watermark mode=8 Show watermark on screen=No Gradient mode=0 Gradient end color=255 255 255 Show Swimlane=No SwimlaneVert=Yes TreeVert=No CompDark=0 [DisplayPreferences\Object] Show Icon=No Mode=2 Trunc Length=40 Word Length=40 Word Text=!"#$%&')*+,-./:;=>?@\]^_`|}~ Shortcut IntIcon=Yes Shortcut IntLoct=Yes Shortcut IntFullPath=No Shortcut IntLastPackage=Yes Shortcut ExtIcon=Yes Shortcut ExtLoct=No Shortcut ExtFullPath=No Shortcut ExtLastPackage=Yes Shortcut ExtIncludeModl=Yes EObjShowStrn=Yes ExtendedObject.Comment=No ExtendedObject.IconPicture=No ExtendedObject.TextStyle=No ExtendedObject_SymbolLayout=<Form>[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Object Name" Attribute="DisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <Separator Name="Separator" />[CRLF] <StandardAttribute Name="Comment" Attribute="Comment" Prefix="" Suffix="" Alignment="LEFT" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Icon" Attribute="IconPicture" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <StandardAttribute Name="Force top align" Attribute="TextStyle" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF]</Form> ELnkShowStrn=Yes ELnkShowName=Yes ExtendedLink_SymbolLayout=<Form>[CRLF] <Form Name="Center" >[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] </Form>[CRLF] <Form Name="Source" >[CRLF] </Form>[CRLF] <Form Name="Destination" >[CRLF] </Form>[CRLF]</Form> FileObject.Stereotype=No FileObject.DisplayName=Yes FileObject.LocationOrName=No FileObject.IconPicture=No FileObject.TextStyle=No FileObject.IconMode=Yes FileObject_SymbolLayout=<Form>[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <ExclusiveChoice Name="Exclusive Choice" Mandatory="Yes" Display="HorizontalRadios" >[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Location" Attribute="LocationOrName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] </ExclusiveChoice>[CRLF] <StandardAttribute Name="Icon" Attribute="IconPicture" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <StandardAttribute Name="Force top align" Attribute="TextStyle" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF]</Form> Package.Stereotype=Yes Package.Comment=No Package.IconPicture=No Package.TextStyle=No Package_SymbolLayout=<Form>[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <Separator Name="Separator" />[CRLF] <StandardAttribute Name="Comment" Attribute="Comment" Prefix="" Suffix="" Alignment="LEFT" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Icon" Attribute="IconPicture" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <StandardAttribute Name="Force top align" Attribute="TextStyle" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF]</Form> Display Model Version=Yes Table.Stereotype=Yes Table.DisplayName=Yes Table.OwnerDisplayName=No Table.Columns=Yes Table.Columns._Filter="All Columns" PDMCOLNALL Table.Columns._Columns=Stereotype DataType KeyIndicator Table.Columns._Limit=-5 Table.Keys=No Table.Keys._Columns=Stereotype Indicator Table.Indexes=No Table.Indexes._Columns=Stereotype Table.Triggers=No Table.Triggers._Columns=Stereotype Table.Comment=No Table.IconPicture=No Table.TextStyle=No Table_SymbolLayout=<Form>[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <ExclusiveChoice Name="Exclusive Choice" Mandatory="Yes" Display="HorizontalRadios" >[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Owner and Name" Attribute="OwnerDisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] </ExclusiveChoice>[CRLF] <Separator Name="Separator" />[CRLF] <StandardCollection Name="Columns" Collection="Columns" Columns="Stereotype No\r\nDisplayName Yes\r\nDataType No\r\nSymbolDataType No &quot;Domain or Data type&quot;\r\nDomain No\r\nKeyIndicator No\r\nIndexIndicator No\r\nNullStatus No" Filters="&quot;All Columns&quot; PDMCOLNALL &quot;&quot;\r\n&quot;PK Columns&quot; PDMCOLNPK &quot;\&quot;PRIM \&quot;TRUE\&quot; TRUE\&quot;&quot;\r\n&quot;Key Columns&quot; PDMCOLNKEY &quot;\&quot;KEYS \&quot;TRUE\&quot; TRUE\&quot;&quot;" HasLimit="Yes" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardCollection Name="Keys" Collection="Keys" Columns="Stereotype No\r\nDisplayName Yes\r\nIndicator No" HasLimit="No" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardCollection Name="Indexes" Collection="Indexes" Columns="Stereotype No\r\nDisplayName Yes\r\nIndicator No" HasLimit="No" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardCollection Name="Triggers" Collection="Triggers" Columns="Stereotype No\r\nDisplayName Yes" HasLimit="No" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Comment" Attribute="Comment" Prefix="" Suffix="" Alignment="LEFT" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Icon" Attribute="IconPicture" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <StandardAttribute Name="Force top align" Attribute="TextStyle" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF]</Form> View.Stereotype=Yes View.DisplayName=Yes View.OwnerDisplayName=No View.Columns=Yes View.Columns._Columns=DisplayName View.Columns._Limit=-5 View.TemporaryVTables=Yes View.Indexes=No View.Comment=No View.IconPicture=No View.TextStyle=No View_SymbolLayout=<Form>[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <ExclusiveChoice Name="Exclusive Choice" Mandatory="Yes" Display="HorizontalRadios" >[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Owner and Name" Attribute="OwnerDisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] </ExclusiveChoice>[CRLF] <Separator Name="Separator" />[CRLF] <StandardCollection Name="Columns" Collection="Columns" Columns="DisplayName No\r\nExpression No\r\nDataType No\r\nSymbolDataType No &quot;Domain or Data type&quot;\r\nIndexIndicator No" HasLimit="Yes" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardCollection Name="Tables" Collection="TemporaryVTables" Columns="Name Yes" HasLimit="No" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardCollection Name="Indexes" Collection="Indexes" Columns="DisplayName Yes" HasLimit="No" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Comment" Attribute="Comment" Prefix="" Suffix="" Alignment="LEFT" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Icon" Attribute="IconPicture" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <StandardAttribute Name="Force top align" Attribute="TextStyle" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF]</Form> Procedure.Stereotype=No Procedure.DisplayName=Yes Procedure.OwnerDisplayName=No Procedure.Comment=No Procedure.IconPicture=No Procedure.TextStyle=No Procedure_SymbolLayout=<Form>[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <ExclusiveChoice Name="Exclusive Choice" Mandatory="Yes" Display="HorizontalRadios" >[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Owner and Name" Attribute="OwnerDisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] </ExclusiveChoice>[CRLF] <Separator Name="Separator" />[CRLF] <StandardAttribute Name="Comment" Attribute="Comment" Prefix="" Suffix="" Alignment="LEFT" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Icon" Attribute="IconPicture" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <StandardAttribute Name="Force top align" Attribute="TextStyle" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF]</Form> Reference.Cardinality=No Reference.ImplementationType=No Reference.ChildRole=Yes Reference.Stereotype=Yes Reference.DisplayName=No Reference.ForeignKeyConstraintName=No Reference.JoinExpression=No Reference.Integrity=No Reference.ParentRole=Yes Reference_SymbolLayout=<Form>[CRLF] <Form Name="Source" >[CRLF] <StandardAttribute Name="Cardinality" Attribute="Cardinality" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Implementation" Attribute="ImplementationType" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Child Role" Attribute="ChildRole" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] </Form>[CRLF] <Form Name="Center" >[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Caption="" Mandatory="No" />[CRLF] <ExclusiveChoice Name="Exclusive Choice" Mandatory="No" Display="HorizontalRadios" >[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Cons&amp;traint Name" Attribute="ForeignKeyConstraintName" Prefix="" Suffix="" Caption="Cons&amp;traint Name" Mandatory="No" />[CRLF] <StandardAttribute Name="Join" Attribute="JoinExpression" Prefix="" Suffix="" Caption="Join" Mandatory="No" />[CRLF] </ExclusiveChoice>[CRLF] <StandardAttribute Name="Referential integrity" Attribute="Integrity" Prefix="" Suffix="" Caption="Referential integrity" Mandatory="No" />[CRLF] </Form>[CRLF] <Form Name="Destination" >[CRLF] <StandardAttribute Name="Parent Role" Attribute="ParentRole" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] </Form>[CRLF]</Form> ViewReference.ChildRole=Yes ViewReference.Stereotype=Yes ViewReference.DisplayName=No ViewReference.JoinExpression=No ViewReference.ParentRole=Yes ViewReference_SymbolLayout=<Form>[CRLF] <Form Name="Source" >[CRLF] <StandardAttribute Name="Child Role" Attribute="ChildRole" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] </Form>[CRLF] <Form Name="Center" >[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Caption="" Mandatory="No" />[CRLF] <ExclusiveChoice Name="Exclusive Choice" Mandatory="No" Display="HorizontalRadios" >[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Join Expression" Attribute="JoinExpression" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] </ExclusiveChoice>[CRLF] </Form>[CRLF] <Form Name="Destination" >[CRLF] <StandardAttribute Name="Parent Role" Attribute="ParentRole" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] </Form>[CRLF]</Form> [DisplayPreferences\Symbol] [DisplayPreferences\Symbol\FRMEOBJ] STRNFont=新宋体,8,N STRNFont color=0 0 0 DISPNAMEFont=新宋体,8,N DISPNAMEFont color=0 0 0 LABLFont=新宋体,8,N LABLFont color=0 0 0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Width=6000 Height=2000 Brush color=255 255 255 Fill Color=Yes Brush style=6 Brush bitmap mode=12 Brush gradient mode=64 Brush gradient color=192 192 192 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 255 128 128 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\FRMELNK] CENTERFont=新宋体,8,N CENTERFont color=0 0 0 Line style=1 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Brush color=255 255 255 Fill Color=Yes Brush style=1 Brush bitmap mode=12 Brush gradient mode=0 Brush gradient color=118 118 118 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 128 128 255 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\FILO] OBJSTRNFont=新宋体,8,N OBJSTRNFont color=0 0 0 DISPNAMEFont=新宋体,8,N DISPNAMEFont color=0 0 0 LCNMFont=新宋体,8,N LCNMFont color=0 0 0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Width=4800 Height=3600 Brush color=255 255 255 Fill Color=Yes Brush style=1 Brush bitmap mode=12 Brush gradient mode=0 Brush gradient color=118 118 118 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 0 0 255 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\PDMPCKG] STRNFont=新宋体,8,N STRNFont color=0 0 0 DISPNAMEFont=新宋体,8,N DISPNAMEFont color=0 0 0 LABLFont=新宋体,8,N LABLFont color=0 0 0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Width=4800 Height=4000 Brush color=255 255 192 Fill Color=Yes Brush style=6 Brush bitmap mode=12 Brush gradient mode=65 Brush gradient color=255 255 255 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 178 178 178 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\TABL] STRNFont=新宋体,10,N STRNFont color=0 0 0 DISPNAMEFont=新宋体,8,N DISPNAMEFont color=0 0 0 OWNRDISPNAMEFont=新宋体,8,N OWNRDISPNAMEFont color=0 0 0 ColumnsFont=新宋体,8,N ColumnsFont color=0 0 0 TablePkColumnsFont=新宋体,8,U TablePkColumnsFont color=0 0 0 TableFkColumnsFont=新宋体,8,N TableFkColumnsFont color=0 0 0 KeysFont=新宋体,8,N KeysFont color=0 0 0 IndexesFont=新宋体,8,N IndexesFont color=0 0 0 TriggersFont=新宋体,8,N TriggersFont color=0 0 0 LABLFont=新宋体,8,N LABLFont color=0 0 0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Width=4800 Height=4000 Brush color=178 214 252 Fill Color=Yes Brush style=6 Brush bitmap mode=12 Brush gradient mode=65 Brush gradient color=255 255 255 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 0 128 192 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\VIEW] STRNFont=新宋体,8,N STRNFont color=0 0 0 DISPNAMEFont=新宋体,8,N DISPNAMEFont color=0 0 0 OWNRDISPNAMEFont=新宋体,8,N OWNRDISPNAMEFont color=0 0 0 ColumnsFont=新宋体,8,N ColumnsFont color=0 0 0 TablePkColumnsFont=新宋体,8,U TablePkColumnsFont color=0 0 0 TableFkColumnsFont=新宋体,8,N TableFkColumnsFont color=0 0 0 TemporaryVTablesFont=新宋体,8,N TemporaryVTablesFont color=0 0 0 IndexesFont=新宋体,8,N IndexesFont color=0 0 0 LABLFont=新宋体,8,N LABLFont color=0 0 0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Width=4800 Height=4000 Brush color=208 208 255 Fill Color=Yes Brush style=6 Brush bitmap mode=12 Brush gradient mode=65 Brush gradient color=255 255 255 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 128 128 192 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\PROC] STRNFont=新宋体,8,N STRNFont color=0 0 0 DISPNAMEFont=新宋体,8,N DISPNAMEFont color=0 0 0 OWNRDISPNAMEFont=新宋体,8,N OWNRDISPNAMEFont color=0 0 0 LABLFont=新宋体,8,N LABLFont color=0 0 0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Width=4000 Height=1000 Brush color=255 255 192 Fill Color=Yes Brush style=6 Brush bitmap mode=12 Brush gradient mode=65 Brush gradient color=255 255 255 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 128 108 0 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\REFR] SOURCEFont=新宋体,8,N SOURCEFont color=0 0 0 CENTERFont=新宋体,8,N CENTERFont color=0 0 0 DESTINATIONFont=新宋体,8,N DESTINATIONFont color=0 0 0 Line style=1 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Brush color=255 255 255 Fill Color=Yes Brush style=1 Brush bitmap mode=12 Brush gradient mode=0 Brush gradient color=118 118 118 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 0 128 192 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\VREF] SOURCEFont=新宋体,8,N SOURCEFont color=0 0 0 CENTERFont=新宋体,8,N CENTERFont color=0 0 0 DESTINATIONFont=新宋体,8,N DESTINATIONFont color=0 0 0 Line style=1 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Brush color=255 255 255 Fill Color=Yes Brush style=1 Brush bitmap mode=12 Brush gradient mode=0 Brush gradient color=118 118 118 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 128 128 192 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\USRDEPD] OBJXSTRFont=新宋体,8,N OBJXSTRFont color=0 0 0 Line style=1 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Brush color=255 255 255 Fill Color=Yes Brush style=1 Brush bitmap mode=12 Brush gradient mode=0 Brush gradient color=118 118 118 Brush background image= Custom shape= Custom text mode=0 Pen=2 0 128 128 255 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\Free Symbol] Free TextFont=新宋体,8,N Free TextFont color=0 0 0 Line style=0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Brush color=255 255 255 Fill Color=Yes Brush style=1 Brush bitmap mode=12 Brush gradient mode=0 Brush gradient color=118 118 118 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 0 0 255 Shadow color=192 192 192 Shadow=0 (2280, 128972) ((315,354), (433,354)) 1 15 1521706257 1522399274 ((118,137911), (3606,139161)) ((518,138536),(3206,138536)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521710488 1522301998 ((-32542,131813), (-18882,146342)) ((-32142,145942),(-32142,132438),(-19282,132438)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521770349 1522399160 ((-19307,147483), (-18057,152962)) ((-18682,152562),(-18682,147883)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521771362 1522722888 ((-2768,147483), (-1518,154573)) ((-2143,154173),(-2143,147883)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521773101 1522399245 ((118,145689), (8052,147828)) ((518,146089),(4085,146089),(4085,147203),(7652,147203)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521783613 1522301998 ((-36148,140470), (-18882,141720)) ((-19282,141095),(-35748,141095)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521791466 1522721783 ((-35006,116007), (-18882,117257)) ((-34606,116632),(-19282,116632)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521792428 1522721669 ((-37186,123158), (-18882,124408)) ((-36786,123783),(-19282,123783)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521792909 1522721672 ((-36959,130601), (-18882,131851)) ((-36559,131226),(-19282,131226)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522045168 1522399263 ((26779,91096), (28029,95555)) ((27404,91496),(27404,95155)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522046100 1522399263 ((118,99478), (28233,125231)) ((518,124831),(27608,124831),(27608,99878)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522046451 1522399258 ((-10672,88961), (-7729,112209)) ((-8129,89361),(-10047,89361),(-10047,111809)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522046456 1522399261 ((6477,85210), (12264,86460)) ((6877,85835),(11864,85835)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522112691 1522399105 ((-41320,55031), (-36214,56281)) ((-36614,55656),(-40920,55656)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522112694 1522399105 ((-16713,57856), (-15463,112209)) ((-16088,58256),(-16088,111809)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522114406 1522399245 ((16796,151962), (26808,154513)) ((18480,152362),(26408,152362),(26408,153888),(17196,153888)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 4 1522115961 1522399266 ((16844,105298), (20156,145559)) ((17244,105698),(19531,105698),(19531,145159)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522115983 1522399266 ((11839,91096), (13089,104099)) ((12464,103699),(12464,91496)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522118676 1522721912 ((-21193,102395), (-18057,112209)) ((-20793,102795),(-18682,102795),(-18682,111809)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522119056 1522721912 ((-37481,102138), (-32899,103388)) ((-37081,102763),(-33299,102763)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522120295 1522399221 ((-24810,167598), (-19344,168848)) ((-19744,168223),(-24410,168223)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522138613 1522399095 ((-24954,40604), (-19115,41854)) ((-19515,41229),(-24554,41229)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522138618 1522399095 ((-34348,42015), (-12721,130651)) ((-13121,42415),(-13121,75553),(-33948,75553),(-33948,130026),(-19282,130026)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522138705 1522399092 ((-43671,34853), (-38546,36103)) ((-38946,35478),(-43271,35478)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522141157 1522399066 ((-25433,19586), (-17431,20836)) ((-17831,20211),(-25033,20211)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522141232 1522399094 ((-43321,40604), (-38546,41854)) ((-42921,41229),(-38946,41229)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522141316 1522399068 ((-44663,18136), (-38253,19386)) ((-38653,18761),(-44263,18761)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522142006 1522399038 ((-42272,4919), (-33459,6169)) ((-41872,5544),(-33859,5544)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522215975 1522398810 ((62000,154589), (65163,155839)) ((62400,155214),(64763,155214)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522216015 1522398810 ((118,129221), (50900,156036)) ((50500,155636),(41338,155636),(41338,129846),(518,129846)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522216251 1522398808 ((62486,144990), (65163,146240)) ((62886,145615),(64763,145615)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522216380 1522399245 ((20100,145134), (46631,146384)) ((46231,145759),(20500,145759)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522220508 1541490687 ((77597,148397), (88375,149647)) ((87975,149022),(77997,149022)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522220546 1541490615 ((59369,64259), (99115,147363)) ((98715,146963),(98715,64884),(59769,64884)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522224364 1522399274 ((18744,122602), (80891,138598)) ((80491,123002),(74505,123002),(74505,137973),(19144,137973)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522225874 1522398795 ((118,126647), (80417,130069)) ((80017,129669),(72926,129669),(72926,127272),(518,127272)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522226077 1522398792 ((118,130712), (79609,136199)) ((79209,135799),(38938,135799),(38938,131337),(518,131337)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522226272 1522399075 ((-38306,48140), (83441,113756)) ((83041,113356),(83041,94555),(-37681,94555),(-37681,48540)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522303390 1542180981 ((56152,72245), (57402,98630)) ((56777,98230),(56777,72645)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522303410 1542180981 ((-9472,101195), (50367,112209)) ((49967,101595),(-8847,101595),(-8847,111809)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522304178 1538200596 ((35098,10654), (42842,11904)) ((35498,11279),(42442,11279)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522386868 1522398605 ((36870,42888), (49607,52723)) ((49207,52323),(49207,43513),(37270,43513)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522387461 1522399143 ((50982,72245), (52232,75672)) ((51607,75272),(51607,72645)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522387526 1522399245 ((20100,78871), (40538,151445)) ((40138,79271),(40138,150820),(20500,150820)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522389232 1522398872 ((33605,58216), (43845,60017)) ((34005,59617),(34005,58841),(43445,58841)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 2 1522390434 1522398601 ((33005,54232), (43845,55482)) ((33405,54857),(43445,54857)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522390644 1522398535 ((33522,26819), (52232,52723)) ((33922,27219),(51607,27219),(51607,52323)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522391366 1522398601 ((59369,61859), (62562,63109)) ((62162,62484),(59769,62484)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522391379 1522398616 ((69534,56429), (70784,60444)) ((70159,60044),(70159,56829)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522396648 1522398621 ((52182,34420), (64724,52723)) ((64324,34820),(52807,34820),(52807,52323)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522396864 1522398618 ((53382,44918), (64185,52723)) ((63785,45318),(54007,45318),(54007,52323)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522659209 1522724919 ((-101497,31459), (51032,102938)) ((-101097,102538),(-101097,31859),(50407,31859),(50407,52323)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522660753 1522724919 ((-90857,129887), (-79217,131137)) ((-79617,130512),(-90457,130512)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522660820 1522719674 ((-64973,127931), (-18882,129181)) ((-64573,128556),(-19282,128556)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522721755 1522721783 ((-55169,48103), (20574,117096)) ((-49770,116696),(-54769,116696),(-54769,48728),(20174,48728)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522724329 1522724329 ((-100297,77071), (65163,153166)) ((-99897,102538),(-99897,77471),(35821,77471),(35821,152541),(64763,152541)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522725331 1522725331 ((-90857,117058), (-77798,118308)) ((-78198,117683),(-90457,117683)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522733188 1539745800 ((-90857,102513), (-73424,103763)) ((-73824,103138),(-90457,103138)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522745521 1539745800 ((-84902,89423), (-73424,90673)) ((-73824,90048),(-84502,90048)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1533109967 1533110262 ((-119919,81722), (-12496,112209)) ((-119519,94842),(-119519,82122),(-13121,82122),(-13121,111809)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1533115827 1533116074 ((-112642,102747), (-38745,153053)) ((-112242,103147),(-109969,103147),(-109969,152428),(-39145,152428)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1533115888 1533115888 ((-121119,61859), (43845,95242)) ((-120719,94842),(-120719,78671),(37870,78671),(37870,62484),(43445,62484)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1538202362 1580624566 ((25795,-5333), (33632,-148)) ((26195,-2272),(26195,-548),(32832,-548),(32832,-4708),(32232,-4708)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 4 1538202471 1580609625 ((54116,11057), (59346,12307)) ((58946,11682),(54516,11682)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1538202492 1580609625 ((65496,8109), (66746,11214)) ((66121,10814),(66121,8509)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1538202586 1580624567 ((46201,-5622), (66746,1711)) ((46601,-5222),(66121,-5222),(66121,1311)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1538202588 1580624567 ((31832,-6533), (34857,-5283)) ((34457,-5908),(32232,-5908)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1538202927 1580624563 ((31729,2823), (42842,4073)) ((32129,3448),(42442,3448)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1538202929 1580624566 ((24370,-2672), (25620,1487)) ((24995,1087),(24995,-2272)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1539746524 1539746524 ((-65536,108004), (-18882,114533)) ((-65136,108404),(-65136,113908),(-19282,113908)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1541490540 1541490615 ((-90857,91755), (97915,147363)) ((97515,146963),(97515,92155),(-20193,92155),(-20193,111251),(-90457,111251)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1542179374 1542180977 ((47632,114935), (48882,118924)) ((48257,115335),(48257,118524)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1542179394 1542180977 ((64837,114935), (66087,117902)) ((65462,115335),(65462,117502)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1542179438 1542180977 ((118,111784), (42403,113034)) ((42003,112409),(518,112409)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1580625109 1580625137 ((83723,16521), (99015,25885)) ((86540,16921),(86540,25485),(98615,25485),(98615,20467),(84123,20467)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 4 1580625333 1580625381 ((71758,1788), (77807,3038)) ((77407,2413),(72158,2413)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1580625352 1580625378 ((81744,4384), (82994,12281)) ((82369,4784),(82369,11881)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1580625421 1580625458 ((71758,4759), (92510,6009)) ((92110,5384),(72158,5384)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1580625435 1581324463 ((95430,5190), (96680,9775)) ((96055,5590),(96055,9375)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1580869150 1581324463 ((101766,14015), (107589,15265)) ((102166,14640),(107189,14640)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521705853 1524811003 -1 ((-19282,111809), (518,147883)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521706107 1522399274 -1 ((3206,132976), (19144,143474)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 Table.Stereotype 1 Table.DisplayName 1 Table.OwnerDisplayName 0 Table.Columns 1 -5 "All Columns" PDMCOLNALL Stereotype DataType KeyIndicator Table.Keys 0 0 "" "" Stereotype Indicator Table.Indexes 0 0 "" "" Stereotype Table.Triggers 0 0 "" "" Stereotype Table.Comment 0 1521709482 1582277412 -1 ((-39145,145942), (-25139,158914)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521710820 1522399160 -1 ((-25547,152562), (-13473,158934)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521770649 1522722888 -1 ((-9920,154173), (5632,165495)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521773028 1522399245 -1 ((7652,145159), (20500,156481)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521782818 1522116249 -1 ((-49754,136272), (-35748,144294)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521791032 1528184156 -1 ((-49770,113922), (-34606,119470)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521791865 1522721669 -1 ((-48860,121016), (-36786,126564)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521791901 1522721672 -1 ((-49407,129426), (-36559,134150)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522044163 1522399263 -1 ((20787,95155), (34021,99878)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522044465 1522399261 -1 ((11864,80174), (30892,91496)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522046351 1524811003 -1 ((-8675,84638), (6877,89361)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522050428 1522399063 -1 ((-38653,14550), (-25033,25872)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522112533 1522399103 -1 ((-53768,52470), (-40920,58842)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522112617 1522399105 -1 ((-36614,53594), (-15488,58256)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522115893 1522399266 -1 ((378,103699), (17244,107698)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522118136 1522721912 -1 ((-33299,95709), (-20793,109817)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522118840 1522721910 -1 ((-49529,99005), (-37081,106855)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522120039 1522399218 -1 ((-36872,165037), (-24410,171409)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522120250 1522399221 -1 ((-19744,166032), (-8442,170031)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522138190 1542086220 -1 ((-38946,33918), (-24554,48540)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522138561 1522399095 -1 ((-19515,38416), (-6728,42415)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522138655 1522399092 -1 ((-56119,32459), (-43271,38831)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522139643 1522399094 -1 ((-55369,40423), (-42921,47585)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522141104 1522399066 -1 ((-17831,15073), (-5383,22235)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522141269 1522399068 -1 ((-57111,15575), (-44263,21947)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522141745 1522399038 -1 ((-50946,1067), (-41872,9775)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522141950 1522399038 -1 ((-33859,2358), (-21783,8730)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522142154 1522399038 -1 ((-14870,1448), (-1842,9470)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522215010 1541748859 -1 ((64763,140885), (77997,157159)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522215792 1522398810 -1 ((50500,153048), (62400,157047)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522216155 1522398808 -1 ((46231,143710), (62886,147709)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522217089 1541490687 -1 ((87975,146963), (103049,157789)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522217487 1522398601 -1 ((43445,52323), (59769,72645)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522223818 1522398796 -1 ((80491,120228), (94111,125776)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522224403 1522398795 -1 ((80017,126895), (93637,132443)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522226008 1522398792 -1 ((79209,133025), (92829,138573)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522226140 1522398801 -1 ((81729,113356), (95349,118904)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522227700 1542179018 -1 ((84563,94201), (96637,105523)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522300652 1542180972 -1 ((42220,118524), (54294,124896)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522303116 1542180981 -1 ((49967,98230), (63587,105428)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522303730 1538200596 -1 ((42442,2610), (54516,12282)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522303928 1522398635 -1 ((23424,7923), (35498,14295)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522379808 1522398605 -1 ((20174,37439), (37270,49587)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522387387 1522399143 -1 ((38718,75272), (55734,79271)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522387906 1522398872 -1 ((20470,59617), (36794,74239)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522390106 1535437026 -1 ((20171,50021), (33405,59693)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522390511 1522398535 -1 ((22234,23620), (33922,30818)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522390830 1522398616 -1 ((62383,52106), (77935,56829)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522391304 1522398550 -1 ((62162,60044), (74010,64043)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522396385 1522398621 -1 ((64324,30809), (76786,38831)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522396809 1522398618 -1 ((63785,41307), (76247,49329)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522397182 1522398632 -1 ((60231,18019), (72693,23567)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522397511 1522398629 -1 ((41533,16306), (57085,23504)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522398032 1535615091 -1 ((22716,17129), (36336,22677)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522658325 1522724919 -1 ((-109337,102538), (-90457,132828)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522660695 1522723641 -1 ((-79617,123965), (-64573,137059)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522724973 1522725331 -1 ((-78198,113051), (-65736,119423)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522726076 1522732894 -1 ((-125389,125206), (-111769,131578)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522732897 1539745800 -1 ((-73824,83922), (-57114,108404)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522745162 1522745515 -1 ((-97736,85264), (-84502,94832)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522745726 1522745726 -1 ((-125978,117636), (-113904,123184)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1533108597 1533116074 -1 ((-126796,94842), (-112242,111452)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1538200619 1538202954 -1 ((60084,1311), (72158,8509)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1538201545 1580624566 -1 ((20158,-11944), (32232,-2272)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1538202419 1580609625 -1 ((58946,10814), (73218,15337)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1538202537 1580624567 -1 ((34457,-7542), (46601,-2903)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1538202617 1580624563 -1 ((20655,1087), (32129,5810)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1542177985 1542179426 -1 ((57941,117502), (72983,124214)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1542179013 1542180977 -1 ((42003,107173), (68001,115335)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1580624574 1580625137 -1 ((76332,11881), (88406,21427)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1580624625 1581324463 -1 ((89944,9375), (102166,16974)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1580624663 1580625381 -1 ((77407,42), (87097,4784)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1580624686 1580625458 -1 ((92110,601), (102656,5590)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1580869056 1580869177 -1 ((107189,12279), (119263,17002)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 164FB8D9-0905-474E-87B0-2A812FEB067D pms_product pms_product 1521705853 zhenghong 1542179559 zhenghong 商品信息 8AF7359B-13B5-4473-A6E3-242871D32BD6 id id 1521705876 zhenghong 1542179474 zhenghong bigint 1 1 B6BFD1D9-71C4-49F0-A761-EB23FDF9EF89 brand_id brand_id 1521706257 zhenghong 1521706277 zhenghong bigint EFA57D19-DB53-47A2-9E13-6F237D2B8765 product_category_id product_category_id 1521773101 zhenghong 1521773123 zhenghong bigint 9E4E0B0C-6DC6-4602-A1BB-BEF479CC25B4 feight_template_id feight_template_id 1521783613 zhenghong 1521783636 zhenghong bigint 122FA791-93A8-4854-AB3B-87B68387B78D product_attribute_category_id product_attribute_category_id 1522046100 zhenghong 1522046125 zhenghong bigint C67A0956-CA1B-4ADF-878F-13B1538C122A name name 1521705899 zhenghong 1521771550 zhenghong varchar(64) 64 1 EC9E5B4D-23BF-425E-9781-90BD8BC6D802 pic pic 1521705899 zhenghong 1521770319 zhenghong varchar(255) 255 BAAD6FF5-DD35-4EFA-8B78-E4DB32CCFC06 product_sn product_sn 1521706312 zhenghong 1521771591 zhenghong 货号 varchar(64) 64 1 FC369A8B-64C8-4931-A1E2-80F902E4FE4A delete_status delete_status 1521773185 zhenghong 1521773247 zhenghong 删除状态:0->未删除;1->已删除 int(1) 1 12E77491-5C20-442C-9E04-DE7192B496D3 publish_status publish_status 1521706416 zhenghong 1521708284 zhenghong 上架状态:0->下架;1->上架 int(1) 1 7E4B57E7-DCCD-4D96-93E0-E3A2E0D9B2F8 new_status new_status 1521708193 zhenghong 1521708312 zhenghong 新品状态:0->不是新品;1->新品 int(1) 1 C32DF9EC-A332-4DB2-A56B-74E0F6168FF1 recommand_status recommand_status 1521708193 zhenghong 1521708410 zhenghong 推荐状态;0->不推荐;1->推荐 int(1) 1 47876735-91B4-42FC-A052-22640AC057D8 verify_status verify_status 1521710674 zhenghong 1521710725 zhenghong 审核状态:0->未审核;1->审核通过 int(1) 1 07A57EB8-410D-4E59-AD0C-8A1AD4DD3951 sort sort 1521708381 zhenghong 1521708544 zhenghong 排序 int 93478201-C851-481D-B110-56414379F2A3 sale sale 1521710587 zhenghong 1521710613 zhenghong 销量 int C5845093-F658-46C1-B381-6585F2337029 price price 1521706312 zhenghong 1521706372 zhenghong decimal(10,2) 10 2 8A8C872F-23FC-42E2-BC8F-EA4374E0C4ED promotion_price promotion_price 1521770729 zhenghong 1522720423 zhenghong 促销价格 decimal(10,2) 10 2 DADE2195-8B3B-42F2-9C5A-847124C0C327 gift_growth gift_growth 1527561524 zhenghong 1535963779 zhenghong 赠送的成长值 0 int 9ECDB8CD-593F-431C-B580-756BC29F0E69 gift_point gift_point 1521771016 zhenghong 1535963789 zhenghong 赠送的积分 0 int 1C3E16DC-0AB6-489F-83D6-CB92058E8AD6 use_point_limit use_point_limit 1521771103 zhenghong 1521771156 zhenghong 限制使用的积分数 int 8DBA22FF-9FEF-4E36-8B0D-D0712EB1AFDD sub_title sub_title 1521773700 zhenghong 1521773733 zhenghong 副标题 varchar(255) 255 074C30CA-F802-4EA3-8B92-AE332D8FE237 description description 1521774517 zhenghong 1521791536 zhenghong 商品描述 text 50335AAB-9D8F-4794-A706-A51E04285498 original_price original_price 1521775224 zhenghong 1521775254 zhenghong 市场价 decimal(10,2) 10 2 F1511198-BFDC-4CA7-A79F-6BEA7863E4CA stock stock 1521775417 zhenghong 1521775449 zhenghong 库存 int 9B83BF24-B43F-41AE-93AA-6E9723B41F3D low_stock low_stock 1521775417 zhenghong 1521775458 zhenghong 库存预警值 int 29B50C2C-38C6-4080-83F7-309CC040B9D3 unit unit 1521775486 zhenghong 1521775515 zhenghong 单位 varchar(16) 16 F07F26B4-DC76-4F4D-8FF7-6E299DAE613A weight weight 1521775567 zhenghong 1521775649 zhenghong 商品重量,默认为克 decimal(10,2) 10 2 730DF7D7-E307-4039-BFD4-04B4E145776D preview_status preview_status 1521782409 zhenghong 1521782456 zhenghong 是否为预告商品:0->不是;1->是 int(1) 1 BB566C0D-3C0A-42EB-AAFE-89E56EDB5AF3 service_ids service_ids 1521783875 zhenghong 1521784127 zhenghong 以逗号分割的产品服务:1->无忧退货;2->快速退款;3->免费包邮 varchar(64) 64 25E62F7C-D9D8-4B61-8337-7A94F4A1F969 keywords keywords 1521784236 zhenghong 1521784353 zhenghong varchar(255) 255 730BAD96-E459-412D-B812-E9BDBDF6DC1B note note 1521784236 zhenghong 1521784353 zhenghong varchar(255) 255 22BBCF62-4B72-4C69-BFE1-81F1378D4703 album_pics album_pics 1522046916 zhenghong 1522046981 zhenghong 画册图片,连产品图片限制为5张,以逗号分割 varchar(255) 255 27D69BFE-AEE5-4095-9688-3F11B0A3F5B3 detail_title detail_title 1521784236 zhenghong 1521784353 zhenghong varchar(255) 255 66C1D3B2-DFB9-472B-9B46-054F4A995EC8 detail_desc detail_desc 1521784236 zhenghong 1521784353 zhenghong text 4407B70B-168F-489C-86FC-913130573035 detail_html detail_html 1522047002 zhenghong 1522047039 zhenghong 产品详情网页内容 text A16D766A-2FAC-4806-B5B6-7BCE643BD125 detail_mobile_html detail_mobile_html 1522047022 zhenghong 1522047069 zhenghong 移动端网页详情 text 125B7984-46F6-4A6B-986E-637075A7B792 promotion_start_time promotion_start_time 1522721079 zhenghong 1522721101 zhenghong 促销开始时间 datetime CD7F32DC-B2C4-4F0B-86A6-C3EF8BBC11E4 promotion_end_time promotion_end_time 1522721096 zhenghong 1522721135 zhenghong 促销结束时间 datetime AF663519-4F0B-438D-9F86-A3B4494C91B5 promotion_per_limit promotion_per_limit 1522721333 zhenghong 1522721377 zhenghong 活动限购数量 int 2870F419-7F16-4C2C-BEE8-69AD3C322429 promotion_type promotion_type 1522721953 zhenghong 1542179623 zhenghong 促销类型:0->没有促销使用原价;1->使用促销价;2->使用会员价;3->使用阶梯价格;4->使用满减价格;5->限时购 int(1) 1 BC8E43C1-F35D-4BA2-A622-D282035B08CF product_category_name product_category_name 1524810975 zhenghong 1524811010 zhenghong 产品分类名称 varchar(255) 255 7B4B3817-5E34-476B-B9DF-20FC181A2FC4 brand_name brand_name 1524811003 zhenghong 1524811036 zhenghong 品牌名称 varchar(255) 255 8FF04A0E-BF3D-4A1B-B05D-FAD79976F256 Key_1 Key_1 1521705876 zhenghong 1542179474 zhenghong C003EAE8-4D2B-4CD2-910D-617ED63DCFDE index_name index_name 1521771497 zhenghong 1521771550 zhenghong F55EF3D5-E93C-4AAE-95BE-5E91AD084511 1521771542 zhenghong 1521771550 zhenghong EC80C139-CCE0-49CF-AF77-52A1C35DC8AC index_product_sn index_product_sn 1521771497 zhenghong 1521772268 zhenghong 1 D0E6B1E9-C1D3-40AD-BCA6-928C253C57CC 1521771579 zhenghong 1521771591 zhenghong 8DB91C27-0C0C-42C1-9C82-B99A752DFFDE pms_brand pms_brand 1521706107 zhenghong 1522116692 zhenghong 品牌表 BA330DA5-20D1-42FB-A362-94D07D30A4B6 id id 1521706123 zhenghong 1521706154 zhenghong bigint 1 1 45F3DFE2-8F5D-4CDF-9FE5-4A6904BB07D4 name name 1521706148 zhenghong 1521706194 zhenghong varchar(64) 64 CDFF668D-2DBA-4D99-8E76-B05114B8EAD7 first_letter first_letter 1522116447 zhenghong 1522116473 zhenghong 首字母 varchar(8) 8 9E323340-1826-471A-93EE-92C45769B194 sort sort 1522116482 zhenghong 1522116540 zhenghong int 97FF98F7-8A09-4C40-8D52-FC32F0021DF9 factory_status factory_status 1522116482 zhenghong 1522116560 zhenghong 是否为品牌制造商:0->不是;1->是 int(1) 1 5F86AE1D-14C6-421F-9065-6B3248678ECF show_status show_status 1522116540 zhenghong 1522116692 zhenghong int(1) 1 A8CA06B3-8F05-4D05-A9E0-B979D053C74A product_count product_count 1522116540 zhenghong 1522116717 zhenghong 产品数量 int F6BC9D0C-3D20-4CB3-B906-0D660320FC88 product_comment_count product_comment_count 1522116540 zhenghong 1522116728 zhenghong 产品评论数量 int 28BF01C1-2534-46E1-8D03-3D1304399694 logo logo 1522116540 zhenghong 1522116744 zhenghong 品牌logo varchar(255) 255 955AC940-E5A2-4791-8DB3-46874F51898B big_pic big_pic 1522116540 zhenghong 1522116821 zhenghong 专区大图 varchar(255) 255 822303EE-A57E-432B-AB93-E9C6B4B67358 brand_story brand_story 1522116540 zhenghong 1522116753 zhenghong 品牌故事 text 12C8D1EF-1F7E-46ED-AD23-4F0BD57F243D Key_1 Key_1 1521706123 zhenghong 1521706148 zhenghong A9A5B46B-D1A3-4619-86D4-AD1A3FF949B1 pms_sku_stock pms_sku_stock 1521709482 zhenghong 1582621117 zhenghong sku的库存 F8A87B5F-1B3E-416A-9AA6-E6330490C79F id id 1521709484 zhenghong 1533115846 zhenghong bigint 1 1 0A9D0B97-8FCA-4D49-9649-6D3A6398F71D product_id product_id 1521710488 zhenghong 1521710505 zhenghong bigint 300133D5-246C-492C-8106-E0464641A1AD sku_code sku_code 1521709695 zhenghong 1522214782 zhenghong sku编码 varchar(64) 64 1 2C098191-D831-42F7-981A-BB5FC58097A3 price price 1521709829 zhenghong 1521709926 zhenghong decimal(10,2) 10 2 F0D06968-A5E5-4A38-82DA-909C1AF9500C stock stock 1521709829 zhenghong 1535619079 zhenghong 库存 0 int 627512CB-E621-46A5-B077-12BB80006181 low_stock low_stock 1521709829 zhenghong 1521709939 zhenghong 预警库存 int 2385F4C5-9983-48B4-9E03-710937E056A4 pic pic 1521710423 zhenghong 1521770332 zhenghong 展示图片 varchar(255) 255 C9AA0DC8-AEE6-4401-AE9A-65B6FD89A608 sale sale 1521710565 zhenghong 1521710584 zhenghong 销量 int F8B829D9-2390-44F9-AE79-B698E94E2F5D promotion_price promotion_price 1534927833 zhenghong 1534927874 zhenghong 单品促销价格 decimal(10,2) 10 2 385D5E74-8D2D-4429-8BF1-1DB7C0ED0E8D lock_stock lock_stock 1534927865 zhenghong 1535619073 zhenghong 锁定库存 0 int 30F35E66-3167-4F75-B0DC-48B30CEC1C4F sp_data sp_data 1582277384 zhenghong 1582277412 zhenghong 商品销售属性,json格式 varchar(500) 500 BF22FDBF-9CF7-4FF4-A579-4C0AAC38A457 Key_1 Key_1 1521709484 zhenghong 1533115846 zhenghong B9FC590F-46F6-4235-8672-FF13B2E50A77 pms_product_vertify_record pms_product_vertify_record 1521710820 zhenghong 1521770349 zhenghong 商品审核记录 530FCADE-4166-42A4-8453-5D874EEC4522 id id 1521710821 zhenghong 1521770174 zhenghong bigint 1 1 7493F171-CA73-4150-A6EA-AB0D8FF46D75 product_id product_id 1521770349 zhenghong 1521770362 zhenghong bigint 9786F28F-F757-486B-93A9-7C5A5E46D950 create_time create_time 1521710821 zhenghong 1521711025 zhenghong datetime 7E1BFDC6-E587-45E4-AE7C-8C3466279D4C vertify_man vertify_man 1521710821 zhenghong 1521711032 zhenghong 审核人 varchar(64) 64 06C38A5C-1977-42C3-A614-B2DF0654BB47 status status 1521710821 zhenghong 1524816533 zhenghong 审核后的状态:0->未通过;2->已通过 int(1) 1 8C61E1D1-7809-4E91-8638-43739274A2CB detail detail 1521710821 zhenghong 1521770161 zhenghong 反馈详情 varchar(255) 255 5AA18CE6-B6B1-4D42-840C-F0ED5A7EE6AC Key_1 Key_1 1521710821 zhenghong 1521711025 zhenghong 9063AF6E-4B68-4106-803C-747646C77EB0 pms_product_operate_log pms_product_operate_log 1521770649 zhenghong 1521771362 zhenghong 715605E0-FA0B-4C2F-87CA-35849F4999B3 id id 1521770770 zhenghong 1521770806 zhenghong bigint 1 1 3DB748F5-8378-4A65-9103-BC4AF0D6CD51 product_id product_id 1521771362 zhenghong 1521771375 zhenghong bigint ED9DDCD5-C1E3-4A0A-A2BF-6AE1FE20479B price_old price_old 1521770804 zhenghong 1521770995 zhenghong decimal(10,2) 10 2 38DD8227-7B0A-4661-A5B4-48AE1CC49CB0 price_new price_new 1521770804 zhenghong 1521770995 zhenghong decimal(10,2) 10 2 25E58A65-F4B3-4A38-BF9F-B4951F1D2A52 sale_price_old sale_price_old 1521770804 zhenghong 1521770995 zhenghong decimal(10,2) 10 2 A2768BA1-44DB-4DA5-8E18-42AE3A6181FD sale_price_new sale_price_new 1521770804 zhenghong 1521770995 zhenghong decimal(10,2) 10 2 ACC53AA1-DE06-4626-9248-159BA1AEF3C0 gift_point_old gift_point_old 1521770804 zhenghong 1521771014 zhenghong 赠送的积分 int AE80A7D3-2CF1-4F55-87C8-48BF66B3E0F5 gift_point_new gift_point_new 1521770804 zhenghong 1521770995 zhenghong int 9D16C330-E114-4778-B552-DDF06AF3BC55 use_point_limit_old use_point_limit_old 1521771164 zhenghong 1521771200 zhenghong int F4FFECE7-3152-46A5-83C6-60D352457335 use_point_limit_new use_point_limit_new 1521771164 zhenghong 1521771200 zhenghong int 74162271-05EF-4D60-A189-252B04234604 operate_man operate_man 1521771246 zhenghong 1521771275 zhenghong 操作人 varchar(64) 64 966002F8-6310-4146-A9EA-4F185033236B create_time create_time 1521771269 zhenghong 1521771335 zhenghong datetime 74CA880E-049D-422E-9C8D-AD3A1E73DCE2 Key_1 Key_1 1521770770 zhenghong 1521770804 zhenghong 0D760BB3-CA67-4F64-B6A5-2D093F7657D6 pms_product_category pms_product_category 1521773028 zhenghong 1522115630 zhenghong 产品分类 7235E328-6BF3-4CFD-B1C6-A02A6F6718A9 id id 1521773048 zhenghong 1521773067 zhenghong bigint 1 1 0E642091-F38B-4D5F-937D-DA9C4151EFE2 parent_id parent_id 1522114406 zhenghong 1522114468 zhenghong 上机分类的编号:0表示一级分类 bigint BDD611F1-0142-4419-B183-4F15282363D5 name name 1521773064 zhenghong 1521773092 zhenghong varchar(64) 64 1A0124D2-0307-433A-ADEA-62C14A6003F0 level level 1522114959 zhenghong 1522116072 zhenghong 分类级别:0->1级;1->2级 int(1) 1 E50CCB02-2506-46DA-A95C-950DE16DF50F product_count product_count 1522115030 zhenghong 1522115103 zhenghong int 054029CE-B46E-4C2D-BFE1-E460D1B12275 product_unit product_unit 1522115030 zhenghong 1522115103 zhenghong varchar(64) 64 8FF814D8-75E9-43DC-8CA8-890BECAEC537 nav_status nav_status 1522115030 zhenghong 1522115270 zhenghong 是否显示在导航栏:0->不显示;1->显示 int(1) 1 D38D4B8B-1852-4350-93ED-1803A7BEA6E7 show_status show_status 1522115145 zhenghong 1522115208 zhenghong 显示状态:0->不显示;1->显示 int(1) 1 B47FED84-81B7-4E39-B763-8EE996F2424B sort sort 1522115178 zhenghong 1522115228 zhenghong int DB87CC69-B178-4FCD-B827-2A6C79ED2FE9 icon icon 1522115323 zhenghong 1522115342 zhenghong 图标 varchar(255) 255 93F08150-5658-4346-B8FC-7F52F889824A keywords keywords 1522115588 zhenghong 1522115630 zhenghong varchar(255) 255 4B01893A-E307-49EB-B5D4-98B55B0A48D1 description description 1522115588 zhenghong 1522115634 zhenghong 描述 text 64090BE2-8BEC-4616-8DDE-E24C94B52E9D Key_1 Key_1 1521773048 zhenghong 1521773064 zhenghong 4C5F5ABA-B6AB-4689-9F04-B487E920C073 pms_feight_template pms_feight_template 1521782818 zhenghong 1521783539 zhenghong 运费模版 50FF090A-11EC-4F73-B237-ACA1D6347465 id id 1521783117 zhenghong 1521783139 zhenghong bigint 1 1 E3A40203-E74E-4FC9-8A61-0169E8FD93BF name name 1521783135 zhenghong 1521783238 zhenghong varchar(64) 64 8BE728B7-5B75-4D76-A896-09F73A87B08A charge_type charge_type 1521783135 zhenghong 1521783309 zhenghong 计费类型:0->按重量;1->按件数 int(1) 1 63F6CF39-B317-4872-869A-4AA80BCB1FDC first_weight first_weight 1521783270 zhenghong 1521783558 zhenghong 首重kg decimal(10,2) 10 2 DC192E82-45CE-4623-AD18-DA14ECB31F39 first_fee first_fee 1521783270 zhenghong 1521783579 zhenghong 首费(元) decimal(10,2) 10 2 7D5538AC-2415-4EFA-8A9B-A46204FF35CB continue_weight continue_weight 1521783270 zhenghong 1521783539 zhenghong decimal(10,2) 10 2 4EC457E3-A82A-4B3B-86B7-D4E0C200780F continme_fee continme_fee 1521783270 zhenghong 1521783539 zhenghong decimal(10,2) 10 2 FE7A715E-1C3C-4E28-BBB2-1B34605B2EAF dest dest 1521783270 zhenghong 1521783601 zhenghong 目的地(省、市) varchar(255) 255 3F3D7980-1F46-4F3E-BDFD-AF0F8EEE2FA6 Key_1 Key_1 1521783117 zhenghong 1521783135 zhenghong 22CB8FD3-3DDD-4FF9-AE76-E13CF6CD6875 pms_member_price pms_member_price 1521791032 zhenghong 1528184156 zhenghong 商品会员价格表 30FC5C31-983F-4219-9339-C8B5BABB7234 id id 1521791069 zhenghong 1521791086 zhenghong bigint 1 1 9BC9FEC6-7030-4F2B-9C10-86F37EB776FD product_id product_id 1521791466 zhenghong 1521791479 zhenghong bigint 49BA6972-E766-4A84-8B8B-9C4DD271CE61 member_level_id member_level_id 1522721755 zhenghong 1522721767 zhenghong bigint 941A6699-6C9F-4E4B-9FAA-B6E6F69906EC member_price member_price 1522721615 zhenghong 1522721665 zhenghong 会员价格 decimal(10,2) 10 2 0B4E79EF-7E2C-41DE-B72B-C9BC578A2F72 member_level_name member_level_name 1528184129 zhenghong 1528184156 zhenghong varchar(100) 100 FE782243-6FFE-4CEE-BA53-9AFE8D357748 Key_1 Key_1 1521791069 zhenghong 1521791083 zhenghong DDA47447-C998-4D66-9FD0-1A64A30E043C pms_product_ladder pms_product_ladder 1521791865 zhenghong 1522721483 zhenghong 产品阶梯价格表(只针对同商品) C7FD3278-BB15-4A88-A424-42163F101417 id id 1521792127 zhenghong 1521792152 zhenghong bigint 1 1 3FDC1BDA-8A46-4848-9D75-3856408246F6 product_id product_id 1521792428 zhenghong 1521792442 zhenghong bigint 8A95CD6B-64CA-48FE-BF0F-46E24B04A977 count count 1521792148 zhenghong 1521792177 zhenghong 满足的商品数量 int F9D8DAEF-F28F-424D-9532-FB464AD4E654 discount discount 1521792164 zhenghong 1521792218 zhenghong 折扣 decimal(10,2) 10 2 7693845E-7B98-4C2E-9406-863D4F8E612A price price 1521792219 zhenghong 1521792257 zhenghong 折后价格 decimal(10,2) 10 2 4C0C9B14-EE1D-4112-A02D-85975F91C2F9 Key_1 Key_1 1521792127 zhenghong 1521792148 zhenghong 9C7F6D83-696D-4AC2-B63C-41A457276432 pms_product_full_reduction pms_product_full_reduction 1521791901 zhenghong 1522721499 zhenghong 产品满减表(只针对同商品) 1CB2D116-96CD-4A26-B9D4-B7AA00AD92E7 id id 1521792488 zhenghong 1524721741 zhenghong bigint 1 1 AF625FED-C1BF-47A8-94CE-EAB80C7CE452 product_id product_id 1521792909 zhenghong 1521792920 zhenghong bigint 56253152-8B4B-4F5D-ABB7-DFAEBED5C6EA full_price full_price 1521792498 zhenghong 1521792848 zhenghong decimal(10,2) 10 2 A23F3BDA-C442-413A-8F7F-EBBAFF4EB634 reduce_price reduce_price 1521792498 zhenghong 1521792848 zhenghong decimal(10,2) 10 2 42DEDB72-EACE-44AD-8377-601D1EF19A71 Key_1 Key_1 1521792488 zhenghong 1521792498 zhenghong 8CA12D96-D48C-4542-A89B-718C043C331E pms_product_attribute_category pms_product_attribute_category 1522044163 zhenghong 1522044533 zhenghong 产品属性分类表 C0EDF8D7-B021-4E78-AB1C-3372732BAA8A id id 1522044196 zhenghong 1522044533 zhenghong bigint 1 1 DF80D9F1-71A8-4898-9D4B-CDEFFFD1C51F name name 1522044211 zhenghong 1522044389 zhenghong varchar(64) 64 34182414-4199-49E6-B221-AF015FAD34FB attribute_count attribute_count 1522044211 zhenghong 1522044418 zhenghong 属性数量 int 728FAF40-18B5-42AD-9006-390BB12DF6D5 param_count param_count 1522044211 zhenghong 1522044436 zhenghong 参数数量 int C340AD67-5366-4172-A5C1-715381DA4E4C Key_1 Key_1 1522044527 zhenghong 1522044533 zhenghong 1959D6C2-18BC-4144-85F7-C5CD3C830DB4 pms_product_attribute pms_product_attribute 1522044465 zhenghong 1522045805 zhenghong 商品属性参数表 9736DD68-0C91-45FD-98D9-098B45FAA881 id id 1522044502 zhenghong 1522044525 zhenghong bigint 1 1 46A4A5DC-A87A-4AB1-A41A-E70B98AA3C7F product_attribute_category_id product_attribute_category_id 1522045168 zhenghong 1522045192 zhenghong bigint A23C122D-1090-414B-A50F-64053E0CA705 name name 1522044544 zhenghong 1522044628 zhenghong varchar(64) 64 0475CD9F-ECC5-435C-812F-16D6D2FDA0F5 select_type select_type 1522044544 zhenghong 1551343683 zhenghong 属性选择类型:0->唯一;1->单选;2->多选;对应属性和参数意义不同; int(1) 1 A656FC1F-FC28-4012-8876-5FE082ADCFC1 input_type input_type 1522044628 zhenghong 1522044761 zhenghong 属性录入方式:0->手工录入;1->从列表中选取 int(1) 1 673D1CDE-138E-45B6-9ADE-9C9FBAF1FA3C input_list input_list 1522044737 zhenghong 1522044853 zhenghong 可选值列表,以逗号隔开 varchar(255) 255 2710E2E2-FD53-4302-B88E-62F2B708E736 sort sort 1522044833 zhenghong 1522045635 zhenghong 排序字段:最高的可以单独上传图片 int 6A4CA846-5A79-4A70-9C1B-69D819C67C91 filter_type filter_type 1522044833 zhenghong 1522045152 zhenghong 分类筛选样式:1->普通;1->颜色 int(1) 1 2BE254B3-3CD8-4794-929E-3FBEB258936B search_type search_type 1522045233 zhenghong 1522045285 zhenghong 检索类型;0->不需要进行检索;1->关键字检索;2->范围检索 int(1) 1 5C1F000F-8181-4CF0-B2C6-422AC7CD8EF3 related_status related_status 1522045363 zhenghong 1522045485 zhenghong 相同属性产品是否关联;0->不关联;1->关联 int(1) 1 3660F2D1-79BF-4600-B965-259108FA8784 hand_add_status hand_add_status 1522045453 zhenghong 1522045556 zhenghong 是否支持手动新增;0->不支持;1->支持 int(1) 1 1EFD6D7F-29E6-4B52-A192-EDDEFFF5EB54 type type 1522045781 zhenghong 1522045820 zhenghong 属性的类型;0->规格;1->参数 int(1) 1 D37FC115-4FED-46C1-9D29-34FE0FCB103F Key_1 Key_1 1522044517 zhenghong 1522044525 zhenghong 70D24471-1832-42AF-BF28-DF5C4D67427D pms_product_attribute_value pms_product_attribute_value 1522046351 zhenghong 1522046456 zhenghong 存储产品参数信息的表 98949F13-7401-4B46-8C46-AD0EDB279FA6 id id 1522046392 zhenghong 1522046409 zhenghong bigint 1 1 A73883DF-2D36-497D-8D90-9EB0F5CF3C5B product_id product_id 1522046451 zhenghong 1524710981 zhenghong bigint 92ACF804-9722-47C3-826B-A2611338F2F6 product_attribute_id product_attribute_id 1522046456 zhenghong 1524710981 zhenghong bigint E83F864A-D6C1-48EA-B9A3-7C9AB2ED55A1 value value 1522046406 zhenghong 1531100886 zhenghong 手动添加规格或参数的值,参数单值,规格有多个时以逗号隔开 varchar(64) 64 66A6E0B8-A090-45F7-ACD4-8815D7DF6B6F Key_1 Key_1 1522046392 zhenghong 1522046406 zhenghong 73D97C96-1D05-46E2-89CA-985688FD385B cms_topic cms_topic 1522050428 zhenghong 1522141317 zhenghong 话题表 E5586D56-C86E-40C0-8433-7EAAB1A7A79F id id 1522050454 zhenghong 1522050470 zhenghong bigint 1 1 8DBF595F-4E5A-42F6-A301-D87380DA3FE6 category_id category_id 1522141317 zhenghong 1522141327 zhenghong bigint 8CDFD790-F0B3-436A-8295-5F442B1A3E07 name name 1522050467 zhenghong 1522050484 zhenghong varchar(255) 255 CD7B71CD-51EB-49B3-93FE-59F59BF51EF2 create_time create_time 1522140807 zhenghong 1522140989 zhenghong datetime 351D963E-FCB6-4A62-A03E-79FC4362CAFD start_time start_time 1522140807 zhenghong 1522140989 zhenghong datetime BC71816F-CC52-4DD7-869B-5EF23E07824D end_time end_time 1522140807 zhenghong 1522140989 zhenghong datetime 082A202D-0BB3-41C1-9474-62FE6C172569 attend_count attend_count 1522140807 zhenghong 1522141052 zhenghong 参与人数 int 6A84107F-35BF-4BB0-B867-39198A321E01 attention_count attention_count 1522140807 zhenghong 1522141063 zhenghong 关注人数 int 5A9F5276-5222-4760-BA85-CA98154759F9 read_count read_count 1522140807 zhenghong 1522140989 zhenghong int 1931F93B-6D40-4FD7-9C4F-1C67815C3459 award_name award_name 1522140807 zhenghong 1522140997 zhenghong 奖品名称 varchar(100) 100 6440D5DB-2981-4203-9519-A4CB896AB498 attend_type attend_type 1522140989 zhenghong 1522141043 zhenghong 参与方式 varchar(100) 100 C88BACB1-A103-4EC5-8800-F500CE872650 content content 1522141034 zhenghong 1522141083 zhenghong 话题内容 text 9469C4F2-63EF-48D7-85F7-749CBD56D5A9 Key_1 Key_1 1522050454 zhenghong 1522050467 zhenghong 143551D6-36A8-4263-B499-17416D5B4E78 cms_prefrence_area cms_prefrence_area 1522112533 zhenghong 1522139400 zhenghong 优选专区 601C99AA-881D-4188-A507-8EBC584792A1 id id 1522112534 zhenghong 1522112571 zhenghong bigint 1 1 FCDEF8AE-3C3E-4D80-8718-68B2BFDAAAAB name name 1522112567 zhenghong 1522112584 zhenghong varchar(255) 255 6F54EFCF-2121-40E1-A012-0780AA817B9E sub_title sub_title 1522139220 zhenghong 1522139257 zhenghong varchar(255) 255 31AB8614-FFF2-430B-A3B9-8592C41EC3B4 pic pic 1522139329 zhenghong 1522139365 zhenghong 展示图片 varbinary(500) 500 27D98403-DF29-48CA-A724-8E2B6FFEFB01 sort sort 1522139372 zhenghong 1522139400 zhenghong int 3BD7C5D5-B647-4499-ABA6-AE5E08D069CE show_status show_status 1522139372 zhenghong 1522139400 zhenghong int(1) 1 D4E19AA8-AFAB-4791-A6C7-15DBDF850779 Key_1 Key_1 1522112534 zhenghong 1522112567 zhenghong A13BD5C1-4EB4-4269-978C-7BC04C9CDC6E cms_prefrence_area_product_relation cms_prefrence_area_product_relation 1522112617 zhenghong 1522215871 zhenghong 优选专区和产品关系表 F54F6DBB-9A10-4191-9426-087F11A04093 id id 1522112618 zhenghong 1522112684 zhenghong bigint 1 1 AD6438FF-9782-40FA-82DB-D99F8C15BC39 prefrence_area_id prefrence_area_id 1522112691 zhenghong 1522139303 zhenghong bigint A5DE8A1D-EF5C-4ADB-BAEC-1DC5B833C89D product_id product_id 1522112694 zhenghong 1522112722 zhenghong bigint 6248D431-92E7-4999-9E2E-A8492D60909B Key_1 Key_1 1522112618 zhenghong 1522112681 zhenghong 7124790D-D56B-43AC-9EF3-1CFC5BF12114 pms_product_category_attribute_relation pms_product_category_attribute_relation 1522115893 zhenghong 1522215883 zhenghong 产品的分类和属性的关系表,用于设置分类筛选条件(只支持一级分类) 9185CBA8-9501-4F1D-869D-7CFE0D62A0E5 id id 1522115894 zhenghong 1522115954 zhenghong bigint 1 1 2A249FE2-167D-4966-B80C-A1F2029335D5 product_category_id product_category_id 1522115961 zhenghong 1522115975 zhenghong bigint CA02967F-18F1-4803-AE3A-A4C6F3085047 product_attribute_id product_attribute_id 1522115983 zhenghong 1522115997 zhenghong bigint 7664FAB4-1504-4257-846E-556F70D39E63 Key_1 Key_1 1522115894 zhenghong 1522115950 zhenghong 56CDA36B-EA58-4AE1-B858-A5F9A2F29A8E pms_comment pms_comment 1522118136 zhenghong 1522119143 zhenghong 商品评价表 0B63A5AB-69A1-49D3-B274-537BE5F79603 id id 1522118175 zhenghong 1522118191 zhenghong bigint 1 1 AAEF7DDC-9B2F-46B6-A8B1-C6F87BF129B3 product_id product_id 1522118676 zhenghong 1522118692 zhenghong bigint E861609A-6A46-4405-ABD0-EE63DF7C18AB member_nick_name member_nick_name 1522118254 zhenghong 1522118291 zhenghong varchar(255) 255 93F98F3F-AE44-425D-8437-15EFCA931DEE product_name product_name 1522118254 zhenghong 1522118291 zhenghong varchar(255) 255 3B937D50-F65E-4FCC-91E6-987280555E0F star star 1522118296 zhenghong 1522118388 zhenghong 评价星数:0->5 int(3) 3 FF2F85AD-9EEF-4482-8425-012B16214ACC member_ip member_ip 1522118356 zhenghong 1522118421 zhenghong 评价的ip varchar(64) 64 928C78C9-46A9-4372-89AE-240801429406 create_time create_time 1522118413 zhenghong 1522118537 zhenghong datetime 60548BBB-24E8-420F-A512-5446E5A2E760 show_status show_status 1522118413 zhenghong 1522118537 zhenghong int(1) 1 9F48621B-2FCF-45E5-9143-1BE198FF29B5 product_attribute product_attribute 1522118413 zhenghong 1522118546 zhenghong 购买时的商品属性 varchar(255) 255 DCCC00DA-5050-4C5E-B95B-2FCC03D9FD16 collect_couont collect_couont 1522118537 zhenghong 1522118636 zhenghong int 0C6D9887-AA40-4B94-93DC-624FB5BDE0BA read_count read_count 1522118537 zhenghong 1522118636 zhenghong int 7B205E86-CD8C-4B49-8E5C-34A3FB5FB46B content content 1522118537 zhenghong 1522118636 zhenghong text BE5DD03F-680E-4FF4-BC30-A3249F0F3240 pics pics 1522118537 zhenghong 1522118653 zhenghong 上传图片地址,以逗号隔开 varchar(1000) 1000 27BD4283-26AA-4F27-9E13-963F0588E6E2 member_icon member_icon 1522118919 zhenghong 1522118952 zhenghong 评论用户头像 varchar(255) 255 1C85F6E9-ECED-473D-95C8-3509F812EBAE replay_count replay_count 1522119113 zhenghong 1522119127 zhenghong int FB3F2C83-222B-4B40-9A1A-B8E7586FC5D1 Key_1 Key_1 1522118175 zhenghong 1522118187 zhenghong 9E632F70-2FF6-43F1-8035-39044AC4B722 pms_comment_replay pms_comment_replay 1522118840 zhenghong 1522119205 zhenghong 产品评价回复表 C0FE35AD-E3D8-46AA-BD43-0A4FE9348CF6 id id 1522118870 zhenghong 1522118887 zhenghong bigint 1 1 6A4043C2-5C50-430C-BD5B-AA0D11362AC2 comment_id comment_id 1522119056 zhenghong 1522119072 zhenghong bigint C6A4F7EC-CA0E-4E95-80BB-BB5BD4C7CF03 member_nick_name member_nick_name 1522118977 zhenghong 1522119041 zhenghong varchar(255) 255 D39F911F-9FF3-401E-89A2-A0CF1AEB11F5 member_icon member_icon 1522118977 zhenghong 1522119041 zhenghong varchar(255) 255 37F379DF-80F8-4A2D-A1FD-F1B8DFFF3E8C content content 1522118977 zhenghong 1522119041 zhenghong varchar(1000) 1000 4D97D374-C6C4-4835-8901-0A0AF230090C create_time create_time 1522118977 zhenghong 1522119041 zhenghong datetime 7323FC1E-0690-46C9-AE91-EBC17297BB57 type type 1522119192 zhenghong 1522119239 zhenghong 评论人员类型;0->会员;1->管理员 int(1) 1 AB67D302-57F5-41ED-BA76-1DA5FCEA3BD1 Key_1 Key_1 1522118880 zhenghong 1522118887 zhenghong 6D104B7B-620F-491A-ABC4-B60B21CF69BC pms_album pms_album 1522120039 zhenghong 1522120230 zhenghong 相册表 424E4971-5936-46F8-BAE1-7F4220EDC6B5 id id 1522120040 zhenghong 1522120064 zhenghong bigint 1 1 0C2DE146-32E0-438D-907D-FA27F53BE712 name name 1522120061 zhenghong 1522120230 zhenghong varchar(64) 64 2DAC711E-D5AE-4A25-8D7E-3A748D5B5988 cover_pic cover_pic 1522120061 zhenghong 1522120230 zhenghong varchar(1000) 1000 B2BBBBA4-937B-440C-9708-7D2094D5893B pic_count pic_count 1522120061 zhenghong 1522120230 zhenghong int F34D2B7C-8CB3-4078-99E6-ED7DA2FEC59B sort sort 1522120061 zhenghong 1522120230 zhenghong int 1EED58B2-81C2-4FA8-8242-3B9845D29645 description description 1522120061 zhenghong 1522120230 zhenghong varchar(1000) 1000 1535694E-35FA-45D2-9EC4-0AC46AAB6A81 Key_1 Key_1 1522120040 zhenghong 1522120061 zhenghong 111B6F68-21FF-450D-9F6E-40C4E4F09B6C pms_album_pic pms_album_pic 1522120250 zhenghong 1522120295 zhenghong 画册图片表 E25430EB-9E92-44D3-BD29-B357E9DCB2F6 id id 1522120251 zhenghong 1522120277 zhenghong bigint 1 1 572B79C1-82C5-405D-A13E-11183C8382C3 album_id album_id 1522120295 zhenghong 1522120304 zhenghong bigint EA74BD79-E880-467B-AEED-0E92E733AE95 pic pic 1522120273 zhenghong 1522120291 zhenghong varchar(1000) 1000 B677823F-37C2-47FB-A8EE-F10B80BF40BB Key_1 Key_1 1522120251 zhenghong 1522120273 zhenghong B57200C6-A503-406F-BC2F-5B144309EC10 cms_subject cms_subject 1522138190 zhenghong 1542086220 zhenghong 专题表 53BC0750-B403-49FD-A50A-F081E7D2409F id id 1522138235 zhenghong 1524711592 zhenghong bigint 1 1 42524411-D613-4537-A110-5746681D4178 category_id category_id 1522138705 zhenghong 1522139827 zhenghong bigint B88B2152-E11E-4B3E-8752-12B9A9B9D6E6 title title 1522138235 zhenghong 1522138313 zhenghong varchar(100) 100 82CD4D66-89A8-4563-A6E1-1DE23B4E0326 pic pic 1522138235 zhenghong 1522138320 zhenghong 专题主图 varchar(500) 500 7CE3D060-441E-426C-A4DE-E36FA20C37B3 product_count product_count 1522138235 zhenghong 1522138330 zhenghong 关联产品数量 int DC926B26-780C-422A-9F01-918ACE01616D recommend_status recommend_status 1522138235 zhenghong 1522138489 zhenghong int(1) 1 ADDFD504-1961-4B20-A5A7-2663BE5DC0E6 create_time create_time 1522138313 zhenghong 1522138489 zhenghong datetime 5D13D140-A74E-4586-880C-1BFE0A0E11D4 collect_count collect_count 1522138313 zhenghong 1522138489 zhenghong int EAEA9201-9947-490A-9AA6-36A980292101 read_count read_count 1522138313 zhenghong 1522138489 zhenghong int 2FEB2EE8-3445-412B-809E-86AA3ECF4529 comment_count comment_count 1522138313 zhenghong 1522138489 zhenghong int 3213DDDC-F105-4CF3-85B1-0AF4B28D18BD album_pics album_pics 1522138313 zhenghong 1522138499 zhenghong 画册图片用逗号分割 varchar(1000) 1000 3E65E187-85C6-4C2C-8508-6459E5634653 description description 1522138733 zhenghong 1522138806 zhenghong varchar(1000) 1000 2E84713F-CB2B-46A6-BA44-489D2F6458EE show_status show_status 1522138733 zhenghong 1522139016 zhenghong 显示状态:0->不显示;1->显示 int(1) 1 53DFEF92-6705-4834-A79D-DBE1EA44CC23 content content 1522138733 zhenghong 1522138806 zhenghong text 2BEA9B61-5B2A-495A-A1F3-CDC9992E6EC0 forward_count forward_count 1522139567 zhenghong 1522139597 zhenghong 转发数 int 38F4212D-8579-407B-BA77-92A54008F60B category_name category_name 1542086194 zhenghong 1542086464 zhenghong 专题分类名称 varchar(200) 200 EEB1DA22-1547-4B23-B534-2C0E6E700AC7 Key_1 Key_1 1522138603 zhenghong 1522138607 zhenghong 606E012F-14A2-4A00-AD6E-15A2EFBB9C5E cms_subject_product_relation cms_subject_product_relation 1522138561 zhenghong 1522215878 zhenghong 专题商品关系表 5DF4FFB5-2AF3-432F-B7B4-7F3BB6E24DBE id id 1522138589 zhenghong 1522139788 zhenghong bigint 1 1 CEA5917C-7E9D-4BBC-9C36-526EDCFEE760 subject_id subject_id 1522138613 zhenghong 1522138642 zhenghong bigint 5071E824-D357-4D1D-A766-5EEF7042D9DB product_id product_id 1522138618 zhenghong 1522138642 zhenghong bigint F54E063F-39C6-4A3F-B83A-85972E2FF817 Key_1 Key_1 1522138589 zhenghong 1522138597 zhenghong AB473418-20D2-4DA3-8888-C528B336912A cms_subject_category cms_subject_category 1522138655 zhenghong 1522139176 zhenghong 专题分类表 25CBB635-2A80-4F21-B7E8-E352F1B4F77F id id 1522138656 zhenghong 1522139809 zhenghong bigint 1 1 A1D41EA4-B0CA-4941-A909-27D9909E0E37 name name 1522138679 zhenghong 1522138696 zhenghong varchar(100) 100 D8AE7B27-35EB-4915-B668-4C51D80A4A48 icon icon 1522139032 zhenghong 1522139093 zhenghong 分类图标 varchar(500) 500 6FA5F7F2-CFF4-42F4-8F7D-21845B349CCB subject_count subject_count 1522139087 zhenghong 1522139135 zhenghong 专题数量 int B0C5DD2A-9B58-4590-8B05-06401B097A8C show_status show_status 1522139129 zhenghong 1522139176 zhenghong int(2) 2 E2526823-EFE1-4B05-B1D2-26F058A2982A sort sort 1522139129 zhenghong 1522139176 zhenghong int FB93F2E5-22E1-4B1A-A200-33E4152340C2 Key_1 Key_1 1522138656 zhenghong 1522138679 zhenghong 49773448-772B-485E-A3C7-B11481FECA81 cms_subject_comment cms_subject_comment 1522118840 zhenghong 1522141232 zhenghong 专题评论表 1147FDE1-65B1-4BFD-A1A2-B020098BE42C id id 1522118870 zhenghong 1522139643 zhenghong bigint 1 1 2ADF8874-CC3E-474C-B210-4025C4AC3F72 subject_id subject_id 1522141232 zhenghong 1522141245 zhenghong bigint B0459F20-23C7-466D-8A4F-8796D69A0C08 member_nick_name member_nick_name 1522118977 zhenghong 1522139643 zhenghong varchar(255) 255 C2AF427F-DE7F-4C75-ACE7-0ABFD02455DA member_icon member_icon 1522118977 zhenghong 1522139643 zhenghong varchar(255) 255 5D00E7C2-F197-490B-819E-120CEC889DC6 content content 1522118977 zhenghong 1522139643 zhenghong varchar(1000) 1000 DF4234D6-78A1-41C9-AD35-1888B1FEAB6F create_time create_time 1522118977 zhenghong 1522139643 zhenghong datetime 86082980-A127-4EDF-8EFC-E8148463178A show_status show_status 1522139856 zhenghong 1522139873 zhenghong int(1) 1 36EEDF00-52B8-437E-B236-EEA161669A1B Key_1 Key_1 1522118880 zhenghong 1522139643 zhenghong D0100727-1202-4283-BD62-F95371B06299 cms_topic_comment cms_topic_comment 1522118840 zhenghong 1522399064 zhenghong 专题评论表 58CD3CFC-497C-4971-AD22-9987D668CDE6 id id 1522118870 zhenghong 1522141104 zhenghong bigint 1 1 DE828932-9533-4CE1-86D2-A92BD6FED7AA member_nick_name member_nick_name 1522118977 zhenghong 1522141104 zhenghong varchar(255) 255 45FF2606-4361-412C-B9DC-397D23DEE33B topic_id topic_id 1522141157 zhenghong 1522141168 zhenghong bigint 449FC5FE-AE37-4C13-B286-63FD48F70DA9 member_icon member_icon 1522118977 zhenghong 1522141104 zhenghong varchar(255) 255 395DC11D-5668-46CE-AAA6-AFFD0AEC84A2 content content 1522118977 zhenghong 1522141104 zhenghong varchar(1000) 1000 31AE7B63-BC68-4E98-B907-92F1D8C6CD90 create_time create_time 1522118977 zhenghong 1522141104 zhenghong datetime 711458F7-23E9-480C-8749-66742D667C05 show_status show_status 1522139856 zhenghong 1522141104 zhenghong int(1) 1 AF9DA610-2D90-4723-8586-DE3F17CC93AC Key_1 Key_1 1522118880 zhenghong 1522141104 zhenghong DAA0A46E-FEF2-4004-97B6-4FF049BC1DF2 cms_topic_category cms_topic_category 1522138655 zhenghong 1522141297 zhenghong 话题分类表 D109BEFC-0C6F-4B8C-AA21-461DB4903D66 id id 1522138656 zhenghong 1522141269 zhenghong bigint 1 1 F26259A6-E8E7-4CBC-BBBF-9E99449079B4 name name 1522138679 zhenghong 1522141269 zhenghong varchar(100) 100 1DAD2A73-1384-45CD-84B3-C8A2021FAB46 icon icon 1522139032 zhenghong 1522141269 zhenghong 分类图标 varchar(500) 500 2413D731-87CA-45E0-AD41-AA64C90DA23F subject_count subject_count 1522139087 zhenghong 1522141269 zhenghong 专题数量 int B591EC57-36F5-4C03-A012-D0ADBF3E4C0F show_status show_status 1522139129 zhenghong 1522141269 zhenghong int(2) 2 DAFFB2FD-33EB-4BB3-9E0C-0297E575E351 sort sort 1522139129 zhenghong 1522141269 zhenghong int 99A75D70-8F78-4D6E-8953-00CADCEAB0E0 Key_1 Key_1 1522138656 zhenghong 1522141269 zhenghong 5312D8EC-AF1A-469E-BC98-AB6273AAAE0E cms_help cms_help 1522141745 zhenghong 1522142006 zhenghong 帮助表 A9D8065D-3D37-419F-9038-978F59CEBB8F id id 1522141746 zhenghong 1522141791 zhenghong bigint 1 1 99F1B8BB-6318-423F-8D30-A40703AF7A53 category_id category_id 1522142006 zhenghong 1522142017 zhenghong bigint C7F74EDD-B6CB-4D46-9617-F8C14AB2DF2F icon icon 1522141808 zhenghong 1522141921 zhenghong varchar(500) 500 FF621D0D-B8FA-4725-A175-D7B2BABA5B94 title title 1522141808 zhenghong 1522141921 zhenghong varchar(100) 100 E6895426-49FA-4AF4-BB77-757AA0BF864C show_status show_status 1522141808 zhenghong 1522141921 zhenghong int(1) 1 F08C0B0D-F6B3-4A69-AA15-9DE56C118112 create_time create_time 1522141808 zhenghong 1522141921 zhenghong datetime 4354AAE9-96D2-4D68-9074-4D6D43058031 read_count read_count 1522141808 zhenghong 1522141921 zhenghong int(1) 1 38267C50-CED4-4040-80C3-F2BB84F55DE1 content content 1522141808 zhenghong 1522141921 zhenghong text 23861D6B-7336-4999-B247-2795E01A36A6 Key_1 Key_1 1522141746 zhenghong 1522141776 zhenghong C69D6CF4-1D0A-4C73-BD5D-728063BA5CF5 cms_help_category cms_help_category 1522138655 zhenghong 1522141973 zhenghong 帮助分类表 67081E82-4B28-4B4B-950A-A6977DDC416C id id 1522138656 zhenghong 1522141950 zhenghong bigint 1 1 23A542BE-7271-45B8-9BA3-2994EC446525 name name 1522138679 zhenghong 1522141950 zhenghong varchar(100) 100 E5E3B51D-A536-42AF-A7B5-B0CB88FA1382 icon icon 1522139032 zhenghong 1522141950 zhenghong 分类图标 varchar(500) 500 433A0125-DC14-4DE3-AC67-4F50F73D9C10 help_count help_count 1522139087 zhenghong 1522141999 zhenghong 专题数量 int 66476CEF-9E6C-4DD2-8CF4-F17B95C150DF show_status show_status 1522139129 zhenghong 1522141950 zhenghong int(2) 2 08AA26A1-B9BA-42BA-B07E-A3F313619269 sort sort 1522139129 zhenghong 1522141950 zhenghong int 7062AB8C-E6E5-4256-9CAA-E35D576A4067 Key_1 Key_1 1522138656 zhenghong 1522141950 zhenghong EE13E81B-7389-4258-A293-350022D681E9 cms_member_report cms_member_report 1522142154 zhenghong 1522142502 zhenghong 用户举报表 26970FB1-6D6F-4F9B-B5AE-A006A5DA00B0 id id 1522142174 zhenghong 1522142240 zhenghong bigint 6447324C-45CB-4E42-9437-A15934CB1F0D report_type report_type 1522142174 zhenghong 1522142646 zhenghong 举报类型:0->商品评价;1->话题内容;2->用户评论 int(1) 1 020ECB31-0883-4162-80FA-2DFC32D3C7A5 report_member_name report_member_name 1522142240 zhenghong 1522142303 zhenghong 举报人 varchar(100) 100 C0692AD1-F67F-4EA1-8AA3-ACA47B0262AB create_time create_time 1522142298 zhenghong 1522142386 zhenghong datetime C57611C0-AF26-4C7A-8D51-A283494F883A report_object report_object 1522142298 zhenghong 1522142386 zhenghong varchar(100) 100 A426736C-C224-4935-88EF-580A9D84580B report_status report_status 1522142298 zhenghong 1522142414 zhenghong 举报状态:0->未处理;1->已处理 int(1) 1 2C32CB54-23F4-4619-8AB4-530388A5E455 handle_status handle_status 1522142386 zhenghong 1522142486 zhenghong 处理结果:0->无效;1->有效;2->恶意 int(1) 1 21DB5501-BCE1-40F6-9CEC-77A10758E766 note note 1522142456 zhenghong 1522142502 zhenghong varchar(200) 200 62AC3907-4D95-4CFC-BB5D-A066679C4474 sms_coupon sms_coupon 1522215010 zhenghong 1541664280 zhenghong 优惠卷表 D967F787-301C-4453-9F6B-54CD376E68F4 id id 1522215060 zhenghong 1522724388 zhenghong bigint 1 1 A42144EE-CFD6-4093-B8DF-AAEB4D87BCE3 type type 1522215069 zhenghong 1522215247 zhenghong 优惠卷类型;0->全场赠券;1->会员赠券;2->购物赠券;3->注册赠券 int(1) 1 4EEFF0DA-F8C0-4231-939F-9E67BFF4FA99 name name 1522215086 zhenghong 1522215247 zhenghong varchar(100) 100 C1161877-9671-43DB-8EA5-50B4ECBB89E4 platform platform 1522215086 zhenghong 1535445907 zhenghong 使用平台:0->全部;1->移动;2->PC int(1) 1 94DC173C-3B97-4520-9ADD-8F5F2ED04470 count count 1522215247 zhenghong 1522215314 zhenghong 数量 int A15DA5DE-2744-4053-86C7-8A1CE2CA14D4 amount amount 1522215309 zhenghong 1522747455 zhenghong 金额 decimal(10,2) 10 2 52D1095B-621A-413D-8161-72182E758527 per_limit per_limit 1522215394 zhenghong 1522215437 zhenghong 每人限领张数 int 5D8378FF-E9D3-487E-B268-ABEECE41A427 min_point min_point 1522215424 zhenghong 1522747549 zhenghong 使用门槛;0表示无门槛 decimal(10,2) 10 2 A7094DFB-0744-466F-8C88-3131A1FEDB45 start_time start_time 1522215598 zhenghong 1522215693 zhenghong datetime D9174D11-163F-4C6F-A36B-6EE33F1B7541 end_time end_time 1522215598 zhenghong 1522215693 zhenghong datetime DF9AE437-11C1-4711-8579-9BA970124238 use_type use_type 1522215598 zhenghong 1522215739 zhenghong 使用类型:0->全场通用;1->指定分类;2->指定商品 int(1) 1 6F6944A7-CA49-4C62-8D4E-42FAFBBECB22 note note 1522215693 zhenghong 1522215779 zhenghong 备注 varchar(200) 200 039EF37D-E0E4-4201-A3EF-539492AD9D53 publish_count publish_count 1522216740 zhenghong 1522216765 zhenghong 发行数量 int 6B22702A-9639-4B94-BDFF-D6203A623754 use_count use_count 1522216759 zhenghong 1522216817 zhenghong 已使用数量 int 62F7E121-0FF8-41A5-A2F3-3CD1EBCF0113 receive_count receive_count 1535438655 zhenghong 1535439531 zhenghong 领取数量 int C16B86B5-7FE8-4A40-B5BC-0890539301BB enable_time enable_time 1522216971 zhenghong 1522217000 zhenghong 可以领取的日期 datetime 57C38097-F524-4B80-9779-539E0F875778 code code 1522217015 zhenghong 1522217041 zhenghong 优惠码 varchar(64) 64 7F81033C-AF9F-48BD-9332-708B55931EE7 member_level member_level 1522288044 zhenghong 1522288094 zhenghong 可领取的会员类型:0->无限时 int(1) 1 F7B63883-C186-47A9-A442-EF3DC025999C Key_1 Key_1 1522215069 zhenghong 1522215086 zhenghong F77D8A78-124B-40EF-BCA9-DF1D0BE3BBAD sms_coupon_product_relation sms_coupon_product_relation 1522215792 zhenghong 1541748859 zhenghong 优惠券和产品的关系表 51FBBF44-892D-4904-AD72-C367AD27B4DE id id 1522215913 zhenghong 1522215933 zhenghong bigint 1 1 8D3316AD-1CAF-4B5E-8FA0-645C1C73FFD7 coupon_id coupon_id 1522215975 zhenghong 1535445127 zhenghong bigint 39E7492F-B104-48BA-9460-88C66C6B971E product_id product_id 1522216015 zhenghong 1522216048 zhenghong bigint 6CFC63DC-3FA7-4C08-B3D3-EC4AB73264E5 product_name product_name 1541748810 zhenghong 1541748864 zhenghong 商品名称 varchar(500) 500 30FFA3E1-D99B-4580-9685-A712EA6F1395 product_sn product_sn 1541748810 zhenghong 1541748881 zhenghong 商品编码 varchar(200) 200 0DDAC07B-7800-4763-A772-BEDE47E015F8 Key_1 Key_1 1522215913 zhenghong 1522215928 zhenghong 18D5F08F-2392-4C0C-8AD0-1264DD968732 sms_coupon_product_category_relation sms_coupon_product_category_relation 1522216155 zhenghong 1541749816 zhenghong 优惠券和产品分类关系表 B1EF094E-8F24-4E21-92C3-20D17815DD8E id id 1522216188 zhenghong 1522216239 zhenghong bigint 1 1 0F265619-5CCA-4327-A335-B36E28B77CE9 coupon_id coupon_id 1522216251 zhenghong 1522724416 zhenghong bigint BB220B24-5719-4254-9EAB-A73F809F1D91 product_category_id product_category_id 1522216380 zhenghong 1522216395 zhenghong bigint 8F514E26-8A5D-4746-9906-994728A01841 product_category_name product_category_name 1541749144 zhenghong 1541749816 zhenghong 产品分类名称 varchar(200) 200 E412773B-A578-4D21-B72F-679B380A40EC parent_category_name parent_category_name 1541749144 zhenghong 1541749816 zhenghong 父分类名称 varchar(200) 200 120C3D95-47A0-4ADC-86DD-F632EF5F5785 Key_1 Key_1 1522216188 zhenghong 1522216237 zhenghong 118563D1-BD6A-4137-B818-9A52AE43F4B3 sms_coupon_history sms_coupon_history 1522217089 zhenghong 1541490649 zhenghong 优惠券使用、领取历史表 8AF960D9-0931-474B-9087-67A9C769289A id id 1522217090 zhenghong 1535522371 zhenghong bigint 1 1 AEA45EC9-857C-4ADD-B505-8E6D0638F274 coupon_id coupon_id 1522220508 zhenghong 1522724407 zhenghong bigint C2493798-DD46-4B0A-8BA4-76DED0B49E03 member_id member_id 1522220546 zhenghong 1522724407 zhenghong bigint 254CB808-9D45-446D-9E7E-29A33FB74779 order_id order_id 1541490552 zhenghong 1541490628 zhenghong 订单id bigint 5D6DA42D-A033-45CC-8B4D-4A4577934E21 coupon_code coupon_code 1522217932 zhenghong 1522218055 zhenghong varchar(64) 64 D55C94A5-5416-4994-9794-10BAFCDF3A70 member_nickname member_nickname 1522217932 zhenghong 1522218107 zhenghong 领取人昵称 varchar(64) 64 1FBF338D-A9F0-435F-A465-6C0D461C08EE get_type get_type 1522218055 zhenghong 1522218134 zhenghong 获取类型:0->后台赠送;1->主动获取 int(1) 1 2900D394-F7F9-411D-A014-19DB3D1ED702 create_time create_time 1522218107 zhenghong 1522220296 zhenghong datetime 3447D394-9F55-41F0-B4AB-B52685CFD9B9 use_status use_status 1522218107 zhenghong 1522220481 zhenghong 使用状态:0->未使用;1->已使用;2->已过期 int(1) 1 74C76E33-9483-4D78-88C2-77812D6BE4E4 use_time use_time 1522220361 zhenghong 1522220487 zhenghong 使用时间 datetime 59A8EC2E-C3C8-479C-8D25-D43AAE161E1C order_sn order_sn 1541490633 zhenghong 1541490681 zhenghong 订单号码 varchar(100) 100 539446A0-347B-4B13-9A1B-C1F91302A908 Key_1 Key_1 1522217090 zhenghong 1522217131 zhenghong 39073F58-E0FD-4E97-91A0-AFA7D8C5F626 ums_member ums_member 1522217487 zhenghong 1533115911 zhenghong 会员表 D9B1967D-3B90-493E-BF71-D0C0AA8AF792 id id 1522217488 zhenghong 1533115911 zhenghong bigint 1 1 BA9FA416-B0B0-49A8-99B2-EE1F2F689613 member_level_id member_level_id 1522386868 zhenghong 1522391485 zhenghong bigint 2B15CF6E-9928-4C28-A7F0-2D249CF28D2E username username 1522217626 zhenghong 1522217755 zhenghong 用户名 varchar(64) 64 8B3B0D82-2CA0-4466-AEA1-F24F2791C164 password password 1522217626 zhenghong 1522217766 zhenghong 密码 varchar(64) 64 A3756B41-7B58-47EE-9C90-4410B7014C14 nickname nickname 1522217712 zhenghong 1522217794 zhenghong 昵称 varchar(64) 64 771E62BD-6B4C-4AD5-8243-80EF105C5C12 phone phone 1522303316 zhenghong 1522747629 zhenghong 手机号码 varchar(64) 64 2AC98331-159E-4556-B2BE-2A511AF1012B status status 1522386896 zhenghong 1522386937 zhenghong 帐号启用状态:0->禁用;1->启用 int(1) 1 290E9B19-DC94-49BE-8B20-4CC5BE6B4A2E create_time create_time 1522386911 zhenghong 1522386982 zhenghong 注册时间 datetime 687462C1-C969-4A1F-8FF4-CFBDDF78FD97 icon icon 1522387000 zhenghong 1522387018 zhenghong 头像 varchar(500) 500 3DBECFB8-A73F-4B4E-8770-394020C94B46 gender gender 1522387014 zhenghong 1522387079 zhenghong 性别:0->未知;1->男;2->女 int(1) 1 037D5C09-930F-4CB2-9488-A0D04C98B3DF birthday birthday 1522387055 zhenghong 1522387102 zhenghong 生日 date 5799AC70-2F20-49AD-ACB3-3ACE21BDFA24 city city 1522387097 zhenghong 1522387133 zhenghong 所做城市 varchar(64) 64 5E11EA43-DC5E-48B6-9C7D-4B3283DFEA04 job job 1522387127 zhenghong 1522387170 zhenghong 职业 varchar(100) 100 E4E5B724-CA9B-4DBF-9338-F35A6CEB07C6 personalized_signature personalized_signature 1522387164 zhenghong 1522387227 zhenghong 个性签名 varchar(200) 200 B9C8A488-CE4C-4162-95B8-95AAF2F50D79 source_type source_type 1522387221 zhenghong 1522387354 zhenghong 用户来源 int(1) 1 B2615BC0-8624-420C-9ADD-74B7CC0E1A34 integration integration 1522388283 zhenghong 1522388297 zhenghong 积分 int 68060654-B3F9-460C-B0AD-F69C3D79E7E4 growth growth 1522388293 zhenghong 1522388314 zhenghong 成长值 int F451866B-0691-4BD0-885F-8F8AC6BB07B6 luckey_count luckey_count 1522389179 zhenghong 1522389203 zhenghong 剩余抽奖次数 int DF6E2A37-1087-482C-B3AB-6E24F7CF5824 history_integration history_integration 1522396288 zhenghong 1522396312 zhenghong 历史积分数量 int D643CABA-BFF8-4444-BC9C-459F23DD209B Key_1 Key_1 1522217488 zhenghong 1533115911 zhenghong A0B70C04-02B7-4362-8DE8-EEC09E11CFDE sms_home_brand sms_home_brand 1522223818 zhenghong 1522224364 zhenghong 首页推荐品牌表 55989B16-E9BA-4806-BE60-FBB53C20AFFB id id 1522224202 zhenghong 1522224219 zhenghong bigint 1 1 6EB211BF-005A-45C4-9AD2-3B624549C78B brand_id brand_id 1522224364 zhenghong 1522224376 zhenghong bigint 961D5B66-0DD8-42E5-BFB4-93E536FEC18A brand_name brand_name 1522224216 zhenghong 1522224265 zhenghong varchar(64) 64 F2CF792A-6DB6-445B-9BA9-18C8DC17D441 recommend_status recommend_status 1522224216 zhenghong 1522224356 zhenghong int(1) 1 1AB9EBEC-5310-4ADE-9CAD-39F414C49A73 sort sort 1522224339 zhenghong 1522224356 zhenghong int D81DA96A-E9F0-4D79-971E-1D88C5B3C093 Key_1 Key_1 1522224202 zhenghong 1522224216 zhenghong A25B1802-83AF-4D73-B715-B3CD83BF30B8 sms_home_new_product sms_home_new_product 1522224403 zhenghong 1522225874 zhenghong 新鲜好物表 D44BCE8A-007A-475D-A1A8-A84615449866 id id 1522225739 zhenghong 1522225765 zhenghong bigint 1 1 41AB6B8F-5955-4D0F-82C9-3ECE03DE627F product_id product_id 1522225874 zhenghong 1522225891 zhenghong bigint 0199CB4D-CCB5-45A9-987A-C688680BAD6C product_name product_name 1522225762 zhenghong 1522225835 zhenghong varchar(64) 64 30DFEEA7-AEB5-420B-BB6F-99F4E2A2D4FC recommend_status recommend_status 1522225762 zhenghong 1522225835 zhenghong int(1) 1 D1A8F553-7744-46C7-B8BC-D27C3AD0717E sort sort 1522225762 zhenghong 1522225844 zhenghong int(1) 1 73A2D055-78DF-477F-83FF-E76CEE5860BB Key_1 Key_1 1522225739 zhenghong 1522225762 zhenghong 37399CAC-C0E1-4103-867A-C162B935BFDF sms_home_recommend_product sms_home_recommend_product 1522224403 zhenghong 1541490586 zhenghong 人气推荐商品表 2C05FE30-5B42-49AB-B442-DA48DFBF56ED id id 1522225739 zhenghong 1541490586 zhenghong bigint 1 1 81AA6507-AEAF-445F-8BCA-FE792FD6167D product_id product_id 1522226077 zhenghong 1522398713 zhenghong bigint 5C55D312-2E41-4F12-80A1-D6220C9E71E0 product_name product_name 1522225762 zhenghong 1522226008 zhenghong varchar(64) 64 D1CF9580-8D7D-44B9-82A5-1227DC667978 recommend_status recommend_status 1522225762 zhenghong 1522226008 zhenghong int(1) 1 6B5CC5E0-6B02-4C2B-A8DB-EDAC443C4924 sort sort 1522225762 zhenghong 1522226008 zhenghong int(1) 1 7256867D-3478-4506-AA49-3528838619BD Key_1 Key_1 1522225739 zhenghong 1541490586 zhenghong 6B4E377F-EF19-4F4C-8FA6-0179636E1DD0 sms_home_recommend_subject sms_home_recommend_subject 1522223818 zhenghong 1542179474 zhenghong 首页推荐专题表 BB3B377B-FD15-4644-9382-23DEE1D35C62 id id 1522224202 zhenghong 1542179474 zhenghong bigint 1 1 76387001-86B6-464D-9C61-25F2D7290848 subject_id subject_id 1522226272 zhenghong 1522226311 zhenghong bigint FBF57C52-1D78-415A-A0F1-8C22ECDD209F subject_name subject_name 1522224216 zhenghong 1522226180 zhenghong varchar(64) 64 95A506FC-F1AE-4FDC-A8B6-14DDC2C7686D recommend_status recommend_status 1522224216 zhenghong 1522226140 zhenghong int(1) 1 B7738C94-3636-4CDF-9361-426285F61C01 sort sort 1522224339 zhenghong 1522226140 zhenghong int 4024BDA0-F53B-48E3-AD69-82EDDF413307 Key_1 Key_1 1522224202 zhenghong 1542179474 zhenghong 02B689AF-49BE-4746-9132-46B2A938FDCB sms_home_advertise sms_home_advertise 1522227700 zhenghong 1541578000 zhenghong 首页轮播广告表 2794FB1E-CC31-453F-BE91-089DEA2F10D0 id id 1522228220 zhenghong 1522228237 zhenghong bigint 1 1 170EB06D-58AC-4810-AA05-2E800F4402A7 name name 1522228234 zhenghong 1522228288 zhenghong varchar(100) 100 2D08193E-455A-44D9-8568-65DFC657C51C type type 1522228234 zhenghong 1522228317 zhenghong 轮播位置:0->PC首页轮播;1->app首页轮播 int(1) 1 5BBDEC82-0B2C-4005-AE60-30C24AB2C60B pic pic 1522228288 zhenghong 1522228387 zhenghong varchar(500) 500 9544B543-B26F-4A94-8533-D1CD347E092A start_time start_time 1522228288 zhenghong 1522228387 zhenghong datetime EBE6682D-2345-42DD-B161-78D72008FC58 end_time end_time 1522228288 zhenghong 1522228387 zhenghong datetime 1E82BBF3-64A8-4937-B8E8-2EF1E5396463 status status 1522228288 zhenghong 1522228415 zhenghong 上下线状态:0->下线;1->上线 int(1) 1 7FED5C77-61EC-4ED3-BC71-69B346DB69BD click_count click_count 1522228387 zhenghong 1522228455 zhenghong 点击数 int 28ED368B-9046-4647-8365-6C3CC1A73A00 order_count order_count 1522228387 zhenghong 1522228465 zhenghong 下单数 int 18C101B3-A72F-483F-9A9A-68C90EA4A002 url url 1522228518 zhenghong 1522228545 zhenghong 链接地址 varchar(500) 500 E271F2ED-7B8E-4D02-94F9-DCC3B014B01D note note 1522228518 zhenghong 1522228572 zhenghong 备注 varchar(500) 500 08E34019-824F-4A5D-8635-8CA439722F8E sort sort 1541577989 zhenghong 1541578016 zhenghong 排序 0 int {F4F16ECD-F2F1-4006-AF6F-638D5C65F35E},MYSQL50,102={9480E6AA-83DD-4AA7-9C91-E48F709C29D9},CharSet,0= {B314652C-DD43-4F81-8524-6F97A1BAACBA},Collate,0= 8C05A0D5-5A40-4E5F-803C-21DE1581AB40 Key_1 Key_1 1522228220 zhenghong 1522228234 zhenghong 781E9BBD-7312-4347-A32B-F153B07BC2D6 sms_flash_promotion sms_flash_promotion 1522300652 zhenghong 1522301372 zhenghong 限时购表 A001C3CA-7F30-48B5-BBCA-4DE4FF3AC6D7 id id 1522300654 zhenghong 1542179315 zhenghong bigint 1 1 E7B4D1BF-2B28-4CB5-A266-BF73B2C545CD title title 1522300794 zhenghong 1522300838 zhenghong varchar(200) 200 9E90026D-CCB7-42C4-8305-6C9ED00FBEAD start_date start_date 1522300794 zhenghong 1542178643 zhenghong 开始日期 date 9C92406F-BE6E-4DD0-B9F6-B6DB731826D8 end_date end_date 1522300794 zhenghong 1542178653 zhenghong 结束日期 date 7CF4BD09-90C4-4A00-861D-E4BB0DEDE4F0 status status 1522300794 zhenghong 1522300845 zhenghong 上下线状态 int(1) 1 8D6B6BCE-483E-49D8-9BFE-66FF9BAF4E04 create_time create_time 1522301354 zhenghong 1542178658 zhenghong 秒杀时间段名称 datetime E91F0404-5C5E-465C-965B-AA29A2AC352C Key_1 Key_1 1522300654 zhenghong 1522300717 zhenghong FC0B4AB8-B381-4962-9E00-9012B9389DB2 sms_flash_promotion_log sms_flash_promotion_log 1522303116 zhenghong 1522303410 zhenghong 限时购通知记录 8D5CC3D3-9472-4F2E-85C5-141575078624 id id 1522303118 zhenghong 1522303155 zhenghong int 1 1 43575263-62FC-44CF-9134-A53E2549A413 member_id member_id 1522303390 zhenghong 1522303400 zhenghong int 0E5CDA77-D030-43C4-8F3F-62F1DDAF2321 product_id product_id 1522303410 zhenghong 1522303424 zhenghong bigint 58059F15-8E1E-441A-B852-B83A2DC6AF61 member_phone member_phone 1522303170 zhenghong 1522303291 zhenghong varchar(64) 64 E37B4C93-8839-4792-A41C-174666319BC6 product_name product_name 1522303170 zhenghong 1522303291 zhenghong varchar(100) 100 26E55C30-24F2-46E9-8FB8-937189C88290 subscribe_time subscribe_time 1522303170 zhenghong 1522303306 zhenghong 会员订阅时间 datetime 63E8BD65-5DC6-4E86-90D0-81644C960C3A send_time send_time 1522303170 zhenghong 1522303291 zhenghong datetime F5CEFAF5-C8E0-41B0-8893-07DF42A1591B Key_1 Key_1 1522303118 zhenghong 1522303152 zhenghong 284E46B4-B9CC-41C1-B331-6F43782ADCC3 ums_admin ums_admin 1522303730 zhenghong 1538200957 zhenghong 后台用户表 6D584959-4514-4CEC-A0D4-785E46D1A943 id id 1522303731 zhenghong 1522303915 zhenghong bigint 1 1 C69E81B8-3A8A-4F1C-AD79-05187FCF35D3 username username 1522303731 zhenghong 1538199970 zhenghong 用户名 varchar(64) 64 7EB23336-7D63-4C02-AD85-17DA3DC93E6A password password 1522303731 zhenghong 1538199975 zhenghong 密码 varchar(64) 64 FD9B4CBF-DDF3-4CC8-BD69-15221A3E52A8 icon icon 1522303731 zhenghong 1522303910 zhenghong 头像 varchar(500) 500 68129CD9-A241-453D-9223-FB146806D646 email email 1522303731 zhenghong 1538199986 zhenghong 邮箱 varchar(100) 100 5722E92D-6F67-43AA-B480-756C0DC91BDE nick_name nick_name 1538199900 zhenghong 1538199929 zhenghong 昵称 varchar(200) 200 FF0D16AA-77D3-4829-B8E2-9831244DE3B9 note note 1538199923 zhenghong 1538200014 zhenghong 备注信息 varchar(500) 500 AFA0423A-C6BD-424F-B7DB-85D9635EB5A6 create_time create_time 1538200009 zhenghong 1538200107 zhenghong 创建时间 datetime 8CBC1229-E6C7-4EB9-B50D-E765E651E3F4 login_time login_time 1538200009 zhenghong 1538200119 zhenghong 最后登录时间 datetime 63B04D92-8CF8-40F0-855D-272C2976729F status status 1538200789 zhenghong 1538200890 zhenghong 帐号启用状态:0->禁用;1->启用 1 int(1) 1 DC1A590C-BB4F-430C-A34E-014AEC5844D1 Key_1 Key_1 1522303731 zhenghong 1522303905 zhenghong DC20F109-83F4-4E8A-B2CF-299453506A86 ums_admin_login_log ums_admin_login_log 1522303928 zhenghong 1522304178 zhenghong 后台用户登录日志表 8F7618DF-D0CA-48C3-9E4F-CBAA9A41A69B id id 1522303929 zhenghong 1522303971 zhenghong bigint 1 1 C8AEFA16-C796-4CED-902C-21EA9F55C75C admin_id admin_id 1522304178 zhenghong 1522304187 zhenghong bigint B535BE06-4C99-4645-9B42-D984356CF2FF create_time create_time 1522303968 zhenghong 1522304151 zhenghong datetime 6236706F-C5E9-44A6-8BC2-FE0D2F8C8476 ip ip 1522303968 zhenghong 1522304151 zhenghong varchar(64) 64 9E05D212-E28A-463B-9F1D-87FD83F90421 address address 1522303968 zhenghong 1522304151 zhenghong varchar(100) 100 D481AC77-5DC7-490F-856C-C3676F9407AA user_agent user_agent 1522303968 zhenghong 1522304158 zhenghong 浏览器登录类型 varchar(100) 100 127CDB1B-576E-4CE4-B977-681E887F8EEE Key_1 Key_1 1522303929 zhenghong 1522303968 zhenghong A6C67972-0C12-4876-8087-2E48F9028CA7 ums_member_level ums_member_level 1522379808 zhenghong 1542179474 zhenghong 会员等级表 129583EA-DC62-4E57-AEF8-FCA2A4DD3BD4 id id 1522379810 zhenghong 1542179474 zhenghong bigint 1 1 4D12F464-1BC3-4D75-9BF6-AB23F4899E9B name name 1522379831 zhenghong 1522379896 zhenghong varchar(100) 100 38041EA5-676A-4D2B-931F-8158FDA8CB48 growth_point growth_point 1522379831 zhenghong 1522379896 zhenghong int 63E410FA-E2CC-41F9-9FE9-9272F61F19A1 default_status default_status 1522379896 zhenghong 1522379987 zhenghong 是否为默认等级:0->不是;1->是 int(1) 1 4B60128E-FF93-4486-B758-081868324568 free_freight_point free_freight_point 1522379964 zhenghong 1522380124 zhenghong 免运费标准 decimal(10,2) 10 2 9A810F9D-3942-417E-9057-39A71284BEB1 comment_growth_point comment_growth_point 1522380184 zhenghong 1522380212 zhenghong 每次评价获取的成长值 int 437D93E8-BC05-48F4-9103-AAADEC2F18B3 priviledge_free_freight priviledge_free_freight 1522380199 zhenghong 1522380558 zhenghong 是否有免邮特权 int(1) 1 4ACB8B0D-322B-4240-994A-BF76A866C4C1 priviledge_sign_in priviledge_sign_in 1522380199 zhenghong 1522380566 zhenghong 是否有签到特权 int(1) 1 76160658-2A87-4D99-8A9E-9F2CA2752530 priviledge_comment priviledge_comment 1522380199 zhenghong 1522380592 zhenghong 是否有评论获奖励特权 int(1) 1 4BFAE1D1-5395-4502-BA29-FD53E5C998FF priviledge_promotion priviledge_promotion 1522380199 zhenghong 1522380617 zhenghong 是否有专享活动特权 int(1) 1 4D408989-5456-40D8-AEEE-9E1E14564E6A priviledge_member_price priviledge_member_price 1522380199 zhenghong 1522747697 zhenghong 是否有会员价格特权 int(1) 1 3C4297F8-BFE4-42AC-8967-1627A0EB62AE priviledge_birthday priviledge_birthday 1522380199 zhenghong 1522380640 zhenghong 是否有生日特权 int(1) 1 CD9D3466-6A59-4BD3-B7BC-8B3478EDA73B note note 1522386815 zhenghong 1522386830 zhenghong varchar(200) 200 E6F6D42A-97D4-4207-B966-0BBD47776D79 Key_1 Key_1 1522379810 zhenghong 1542179474 zhenghong 31084C7B-4E3D-4630-A484-B457DFC84069 ums_member_product_category_relation ums_member_product_category_relation 1522387387 zhenghong 1522387526 zhenghong 会员与产品分类关系表(用户喜欢的分类) 9F3E472B-AE33-4C2A-BC75-F7EF6CD3F295 id id 1522387388 zhenghong 1522387447 zhenghong bigint 1 1 CF33591F-94A0-4ECB-A19E-1FCDECAEFB2B member_id member_id 1522387461 zhenghong 1522391508 zhenghong bigint 26A81B95-6339-4F97-9FD9-7A9343D8FC3C product_category_id product_category_id 1522387526 zhenghong 1522387541 zhenghong bigint 319FB1F7-17E2-404B-8A53-1D83019DBED4 Key_1 Key_1 1522387388 zhenghong 1522387444 zhenghong 94C05B4D-0F20-4449-8EC4-52604C753834 ums_member_statistics_info ums_member_statistics_info 1522387906 zhenghong 1522390765 zhenghong 会员统计信息 6B92C176-B80A-42DF-913D-4B9F276C8DEE id id 1522387936 zhenghong 1522391425 zhenghong bigint 1 1 D357658D-303B-4EF3-AC8E-E97A22EB9F28 member_id member_id 1522389232 zhenghong 1522391425 zhenghong bigint 854439C2-AEFC-4DBE-B9F0-26F768FACD07 consume_amount consume_amount 1522387970 zhenghong 1522388137 zhenghong 累计消费金额 decimal(10,2) 10 2 6F0A7AA7-4899-4BD7-B041-449A73F83B50 order_count order_count 1522388177 zhenghong 1522388194 zhenghong 订单数量 int 03C07BA1-E675-412B-AE21-FC427A919156 coupon_count coupon_count 1522388366 zhenghong 1522388384 zhenghong 优惠券数量 int 40B971A2-E3E9-4987-9B21-2455EF702FA4 comment_count comment_count 1522388395 zhenghong 1522388414 zhenghong 评价数 int 285C0BDD-D3D2-4715-969F-3F04972A9216 return_order_count return_order_count 1522388791 zhenghong 1522388810 zhenghong 退货数量 int D44D9C8E-834B-49C2-A487-19243A6B75C7 login_count login_count 1522388804 zhenghong 1522388842 zhenghong 登录次数 int A6954A96-3E39-412D-8648-6420D1DE69A8 attend_count attend_count 1522388885 zhenghong 1522388911 zhenghong 关注数量 int 801A9777-A84E-455D-87DB-CB5F223BEC40 fans_count fans_count 1522388904 zhenghong 1522388949 zhenghong 粉丝数量 int E7A5B7B0-3561-4149-A49A-F8130558ABBD collect_product_count collect_product_count 1522388944 zhenghong 1522389176 zhenghong int 5E257B18-EF0C-4C89-941D-78783C0D17DF collect_subject_count collect_subject_count 1522388944 zhenghong 1522389176 zhenghong int 37323B30-236A-4CAE-B7E5-AE3A5F527ABA collect_topic_count collect_topic_count 1522388944 zhenghong 1522389176 zhenghong int 186B8DCF-6580-4D89-AA2B-89333527FCD6 collect_comment_count collect_comment_count 1522388944 zhenghong 1522389176 zhenghong int 29465239-85D6-4029-B631-809C1AC7F1FB invite_friend_count invite_friend_count 1522388944 zhenghong 1522389309 zhenghong int C133A420-C28D-4442-B747-9CFEA1E2FA2A recent_order_time recent_order_time 1522390747 zhenghong 1522390773 zhenghong 最后一次下订单时间 datetime 920005AF-C54B-4D67-9D61-7A15D96EC34D Key_1 Key_1 1522387936 zhenghong 1522387970 zhenghong C1C1114F-DE94-4DF6-80DD-7A8210AC0D1B ums_member_receive_address ums_member_receive_address 1522390106 zhenghong 1535437101 zhenghong 会员收货地址表 98B61DFE-761A-4910-A45C-89DE44A801BD id id 1522390108 zhenghong 1522390428 zhenghong bigint 1 1 817400C5-8063-4373-9F89-F52F0AA9E815 member_id member_id 1522390434 zhenghong 1522391455 zhenghong bigint AFF04439-EC58-4338-8228-623D8193B384 name name 1522390108 zhenghong 1522390245 zhenghong 收货人名称 varchar(100) 100 0CDFE5D1-E06C-466F-B066-F6FFC0FC0873 phone_number phone_number 1522390108 zhenghong 1522390221 zhenghong varchar(64) 64 2D383AAE-D002-480B-B081-4ABB9A0FE45F default_status default_status 1522390286 zhenghong 1522390346 zhenghong 是否为默认 int(1) 1 013038D3-3265-4B47-AA73-C893A6006BD8 post_code post_code 1522390221 zhenghong 1522390293 zhenghong 邮政编码 varchar(100) 100 214E7869-4680-4DDC-A4AF-611BDB9DB594 province province 1535436971 zhenghong 1535437029 zhenghong 省份/直辖市 varchar(100) 100 B014298F-01AD-4171-9D9F-916D27574AB6 city city 1535436971 zhenghong 1535437115 zhenghong 城市 varchar(100) 100 106C677E-A9B6-40ED-A992-CD0CADF4BFFF region region 1535437026 zhenghong 1535437123 zhenghong varchar(100) 100 4EDEC710-4328-4BF8-BCCC-EA8EAAA48FF1 detail_address detail_address 1522390108 zhenghong 1535436990 zhenghong 详细地址(街道) varchar(128) 128 DF83812C-9AB1-43B1-9C66-06DDD339917E Key_1 Key_1 1522390409 zhenghong 1522390420 zhenghong 202E7837-16F9-471E-8D27-BADDF8ABC40F ums_member_login_log ums_member_login_log 1522390511 zhenghong 1522747822 zhenghong 会员登录记录 4B9B3F0B-970F-4BD2-ADA9-9B5AF12CB5AB id id 1522390513 zhenghong 1522390660 zhenghong bigint 1 1 96996021-E445-4698-B1A6-42E723CA01EF member_id member_id 1522390644 zhenghong 1522391446 zhenghong bigint D5AD4C5C-E858-4BA3-8DB3-741A4D6D780C create_time create_time 1522390531 zhenghong 1522747822 zhenghong datetime EA660841-B4C3-4D58-BA70-765F688BBFB9 ip ip 1522390531 zhenghong 1522390603 zhenghong varchar(64) 64 4129F50F-3EB2-402A-8239-25FB68B06BE1 city city 1522390531 zhenghong 1522390603 zhenghong varchar(64) 64 9C080457-2FBF-4EEA-B7DF-B465681C679C login_type login_type 1522390531 zhenghong 1522390637 zhenghong 登录类型:0->PC;1->android;2->ios;3->小程序 int(1) 1 026D0B9F-44F5-4302-8766-551E0CBA48E2 province province 1522747786 zhenghong 1522747822 zhenghong varchar(64) 64 EC511DBF-DA00-49B0-9DD3-AE6E4E18496A Key_1 Key_1 1522390513 zhenghong 1522390531 zhenghong 2A13105F-B4ED-4672-A401-CDDE4B9CE410 ums_member_tag ums_member_tag 1522390830 zhenghong 1522391227 zhenghong 用户标签表 438F1497-2B84-4368-AE85-9E1806F36FC9 id id 1522390831 zhenghong 1522390857 zhenghong bigint 1 1 96FB084C-E214-4481-95FD-52FF9AF5C1FA name name 1522390831 zhenghong 1522391227 zhenghong varchar(100) 100 C727F26A-5CFA-4C30-9EE3-A5F87998DE9E finish_order_count finish_order_count 1522390854 zhenghong 1522391257 zhenghong 自动打标签完成订单数量 int 148613FB-7BCE-4145-B955-B0077E630B6E finish_order_amount finish_order_amount 1522390854 zhenghong 1522391246 zhenghong 自动打标签完成订单金额 decimal(10,2) 10 2 02E5405B-3466-42C6-B07B-090E17D190BA Key_1 Key_1 1522390831 zhenghong 1522390854 zhenghong 2D7B72D8-D25F-4A09-B4FA-16D2CEC9752A ums_member_member_tag_relation ums_member_member_tag_relation 1522391304 zhenghong 1522391380 zhenghong 用户和标签关系表 BB1BD091-E5C8-4C12-8A9A-C2ADC962E7E5 id id 1522391305 zhenghong 1522391363 zhenghong bigint 1 1 854EDA6D-D3FB-4AFF-92AD-1FDF1DC32E1E member_id member_id 1522391366 zhenghong 1522391394 zhenghong bigint 89D08954-C6F1-4B1F-8BAE-E19BDF39DE08 tag_id tag_id 1522391379 zhenghong 1522391394 zhenghong bigint AEBACA14-2E96-4718-ACE9-C6F76721B8E8 Key_1 Key_1 1522391305 zhenghong 1522391349 zhenghong 58F43871-0D7C-4478-9A1B-43102436A177 ums_integration_change_history ums_integration_change_history 1522396385 zhenghong 1522396758 zhenghong 积分变化历史记录表 457FA52E-BCCD-40B6-9595-2597CD6C75E2 id id 1522396386 zhenghong 1522396494 zhenghong bigint 1 1 9964C6D5-F7BD-40FB-957B-7A66DFF172A4 member_id member_id 1522396648 zhenghong 1522396659 zhenghong bigint BCF4B5AF-DEA0-4D46-8A23-E5348BF281C8 create_time create_time 1522396491 zhenghong 1522396534 zhenghong datetime 52CE81B5-6BDF-40F0-97BA-2DC303583FF4 change_type change_type 1522396491 zhenghong 1522396606 zhenghong 改变类型:0->增加;1->减少 int(1) 1 6D9BAE2A-F62A-4DA0-B9B4-AD3695E3ADEC change_count change_count 1522396491 zhenghong 1522396606 zhenghong 积分改变数量 int E63C6C7E-249C-4653-AF54-3DF677FF8B65 operate_man operate_man 1522396534 zhenghong 1522396612 zhenghong 操作人员 varchar(100) 100 079B7A28-0F20-4439-934B-AC8ABA31B76A operate_note operate_note 1522396606 zhenghong 1522396638 zhenghong 操作备注 varchar(200) 200 A51DAFDF-D7E9-403D-A31F-7341E809448F source_type source_type 1522396738 zhenghong 1522396780 zhenghong 积分来源:0->购物;1->管理员修改 int(1) 1 A0C0BBC3-CBCB-4FD0-A047-91D827AFA920 Key_1 Key_1 1522396386 zhenghong 1522396491 zhenghong DDBBBFBE-DCB3-4F92-A291-19A1F5767709 ums_growth_change_history ums_growth_change_history 1522396385 zhenghong 1522396864 zhenghong 成长值变化历史记录表 0161A828-441F-4CAB-90F0-2FC4EF6A6B3F id id 1522396386 zhenghong 1522396809 zhenghong bigint 1 1 B546E2F7-48AB-4A7C-A4A0-28A667D75391 member_id member_id 1522396864 zhenghong 1522396878 zhenghong bigint D33F598C-18B5-4DF4-8326-FF7328B10F00 create_time create_time 1522396491 zhenghong 1522396809 zhenghong datetime A0377031-7298-442C-B4DF-94C554828629 change_type change_type 1522396491 zhenghong 1522396809 zhenghong 改变类型:0->增加;1->减少 int(1) 1 0EF45C85-5160-4E92-A3A6-C4B546D93214 change_count change_count 1522396491 zhenghong 1522396809 zhenghong 积分改变数量 int 4893755C-D937-4D36-9611-B9AD46A57BAA operate_man operate_man 1522396534 zhenghong 1522396809 zhenghong 操作人员 varchar(100) 100 6CA349B8-491B-4E27-880E-D83491AB7849 operate_note operate_note 1522396606 zhenghong 1522396809 zhenghong 操作备注 varchar(200) 200 52268506-CE01-481B-ABD3-F84E4E9758C9 source_type source_type 1522396738 zhenghong 1522396809 zhenghong 积分来源:0->购物;1->管理员修改 int(1) 1 2BAA5513-B2CF-4B60-A990-6319EB2671C4 Key_1 Key_1 1522396386 zhenghong 1522396809 zhenghong D2D961A9-BB8B-41D8-A501-1AF511F65DF9 ums_member_task ums_member_task 1522397182 zhenghong 1522397290 zhenghong 会员任务表 56B17C0E-8FBA-4594-8C45-1FF6469A7159 id id 1522397183 zhenghong 1522397211 zhenghong bigint 1 1 65D902D3-95D4-4540-BC18-F384B3710D83 name name 1522397207 zhenghong 1522397290 zhenghong varchar(100) 100 20EF2EF9-E621-4652-B334-862949676CA3 growth growth 1522397207 zhenghong 1522397322 zhenghong 赠送成长值 int 55E587FF-CF0D-45D0-B63D-171E313D0FEB intergration intergration 1522397207 zhenghong 1522397329 zhenghong 赠送积分 int 6878B9A3-18D2-4405-97D4-B3BE49EBA993 type type 1522397207 zhenghong 1522397312 zhenghong 任务类型:0->新手任务;1->日常任务 int(1) 1 EA426689-78F7-40C2-B520-83BA9FCC54D1 Key_1 Key_1 1522397183 zhenghong 1522397207 zhenghong 9E564377-D9BE-4655-AC2E-13B0FD5CAF22 ums_member_rule_setting ums_member_rule_setting 1522397511 zhenghong 1522397900 zhenghong 会员积分成长规则表 125CFE60-6A33-4680-B726-FC5E68082C98 id id 1522397511 zhenghong 1522397554 zhenghong bigint 1 1 38E3DC37-0559-41F6-84C0-3F5C43C48FF0 continue_sign_day continue_sign_day 1522397551 zhenghong 1522397634 zhenghong 连续签到天数 int 9508FDB7-6018-4E59-A007-49274C4627DC continue_sign_point continue_sign_point 1522397620 zhenghong 1522397799 zhenghong 连续签到赠送数量 int 2D67D7C4-242F-4287-AE03-819499C5EEE9 consume_per_point consume_per_point 1522397671 zhenghong 1522397900 zhenghong 每消费多少元获取1个点 decimal(10,2) 10 2 3099A480-47E9-45F0-9183-7884D0C8B799 low_order_amount low_order_amount 1522397671 zhenghong 1522397933 zhenghong 最低获取点数的订单金额 decimal(10,2) 10 2 10ECB92A-03AE-4EC0-9F92-D4693B754400 max_point_per_order max_point_per_order 1522397799 zhenghong 1522397949 zhenghong 每笔订单最高获取点数 int BBA261DE-035F-41ED-96F8-64CF61B19EB8 type type 1522397799 zhenghong 1522397970 zhenghong 类型:0->积分规则;1->成长值规则 int(1) 1 B72372E9-CEF8-4759-A874-B60E418F73DE Key_1 Key_1 1522397511 zhenghong 1522397551 zhenghong C1DCA2EA-AC28-420C-BFEF-FFE7F5644910 ums_integration_consume_setting ums_integration_consume_setting 1522398032 zhenghong 1535615091 zhenghong 积分消费设置 5A65A4E0-C798-494B-89AA-899A5FE7ECC3 id id 1522398033 zhenghong 1522398074 zhenghong bigint 1 1 E5B7DEEB-C659-43D6-A649-4A7AA6BA968A deduction_per_amount deduction_per_amount 1522398071 zhenghong 1522398169 zhenghong 每一元需要抵扣的积分数量 int 3F3EBC7E-C661-4BF6-9748-A63740946E37 max_percent_per_order max_percent_per_order 1522398150 zhenghong 1522398207 zhenghong 每笔订单最高抵用百分比 int A51ACE1C-D2CC-4935-AEEE-392472F47BA1 use_unit use_unit 1522398194 zhenghong 1522398281 zhenghong 每次使用积分最小单位100 int 381B38BC-D7D6-44F6-8E9A-7EC3ED2D96C3 coupon_status coupon_status 1522398253 zhenghong 1522398330 zhenghong 是否可以和优惠券同用;0->不可以;1->可以 int(1) 1 E57C57B8-9833-47BB-905A-F54F0A5010DA Key_1 Key_1 1522398033 zhenghong 1522398071 zhenghong 9FDE9178-BEB4-4D80-8DFE-245B7FA5954D oms_order oms_order 1522658325 zhenghong 1541490586 zhenghong 订单表 3563269E-6EED-49DE-AC40-20CDE76A70F7 id id 1522658326 zhenghong 1541490586 zhenghong 订单id bigint 1 1 1BFDD362-9A3F-4A39-A46A-988EFE0700F4 member_id member_id 1522659209 zhenghong 1535612363 zhenghong bigint 1 7A1BB5A1-6ACE-4259-9D2F-A11D74465729 coupon_id coupon_id 1522724329 zhenghong 1522724373 zhenghong bigint 190337D5-DBCF-44C7-8E8F-60BA716C7D73 order_sn order_sn 1522658365 zhenghong 1522658432 zhenghong 订单编号 varchar(64) 64 42DE6A32-DB28-4441-9D31-43954E2B32F8 create_time create_time 1522658421 zhenghong 1522658633 zhenghong 提交时间 datetime B66D00FB-2706-4456-9C8D-5BE63900E843 member_username member_username 1522658628 zhenghong 1522658689 zhenghong 用户帐号 varchar(64) 64 93AF6B00-CE9F-4E65-852A-21DF3E8E38D3 total_amount total_amount 1522658628 zhenghong 1522723559 zhenghong 订单总金额 decimal(10,2) 10 2 AA07B22F-DFD0-4443-B124-4E7A948B8F1A pay_amount pay_amount 1535611784 zhenghong 1535611836 zhenghong 应付金额(实际支付金额) decimal(10,2) 10 2 93484605-04CB-4451-BA1C-1D43843E1FE8 freight_amount freight_amount 1522723575 zhenghong 1522723610 zhenghong 运费金额 decimal(10,2) 10 2 31D4C71F-D7FF-4C00-88F3-D1A8B195D948 promotion_amount promotion_amount 1522723762 zhenghong 1522723859 zhenghong 促销优化金额(促销价、满减、阶梯价) decimal(10,2) 10 2 2AC97908-B95C-4C45-AD78-5AEBD42D415E integration_amount integration_amount 1522723873 zhenghong 1522723942 zhenghong 积分抵扣金额 decimal(10,2) 10 2 BDECF3D8-B85D-459A-9336-D298B11A129C coupon_amount coupon_amount 1522724126 zhenghong 1522724255 zhenghong 优惠券抵扣金额 decimal(10,2) 10 2 570A30CB-E74E-4D54-A2F5-354511EEAD73 discount_amount discount_amount 1522724794 zhenghong 1522724828 zhenghong 管理员后台调整订单使用的折扣金额 decimal(10,2) 10 2 2506F5AD-C896-45DA-B1A9-47A3F09F32A7 pay_type pay_type 1522658684 zhenghong 1522747151 zhenghong 支付方式:0->未支付;1->支付宝;2->微信 int(1) 1 1E796BD6-898E-4EDA-8ADE-A86D6305ED56 source_type source_type 1522658832 zhenghong 1522658869 zhenghong 订单来源:0->PC订单;1->app订单 int(1) 1 EBDE3354-1D7D-43AF-ADC1-D73233AF9967 status status 1522658850 zhenghong 1522659024 zhenghong 订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单 int(1) 1 17C117FA-5488-480A-98AD-35E18E6B084D order_type order_type 1522658951 zhenghong 1522659122 zhenghong 订单类型:0->正常订单;1->秒杀订单 int(1) 1 61822C95-27AC-4143-8C5F-CDE6DFE15B2C delivery_company delivery_company 1522659709 zhenghong 1522725481 zhenghong 物流公司(配送方式) varchar(64) 64 91DA7F9F-8F28-4D16-8A89-1379C5141304 delivery_sn delivery_sn 1522659876 zhenghong 1522659902 zhenghong 物流单号 varchar(64) 64 ACB792D2-4ED5-47EE-BAFD-C389DAAA07E3 auto_confirm_day auto_confirm_day 1522659893 zhenghong 1522659955 zhenghong 自动确认时间(天) int C142CF56-1ED7-4D71-95DF-9F114248A7BC integration integration 1522660001 zhenghong 1522660021 zhenghong 可以获得的积分 int EA968274-2B27-4C3C-9565-619251E927BA growth growth 1522660001 zhenghong 1522660081 zhenghong 可以活动的成长值 int B8CC6F72-DB4E-4A81-9D94-16B7AE9470A1 promotion_info promotion_info 1522660053 zhenghong 1522660086 zhenghong 活动信息 varchar(100) 100 BBE7BE20-0F91-48B2-96EA-7852ACCE40D1 bill_type bill_type 1522660081 zhenghong 1522660200 zhenghong 发票类型:0->不开发票;1->电子发票;2->纸质发票 int(1) 1 5A0811A5-51AF-47C2-A7F8-A2909F856961 bill_header bill_header 1522660171 zhenghong 1522660226 zhenghong 发票抬头 varchar(200) 200 B0E18290-D990-4622-B718-71A7113E9480 bill_content bill_content 1522660220 zhenghong 1522660256 zhenghong 发票内容 varchar(200) 200 CE69C28B-C4BC-44AA-B3F2-30B6AD8390F8 bill_receiver_phone bill_receiver_phone 1522660252 zhenghong 1522660326 zhenghong 收票人电话 varchar(32) 32 DB7AE7E6-2321-4C2C-8580-7AEB802EBE2C bill_receiver_email bill_receiver_email 1522660252 zhenghong 1522660344 zhenghong 收票人邮箱 varchar(64) 64 98B312FD-4E06-4D2B-AC6F-970B84E6C73F receiver_name receiver_name 1522660318 zhenghong 1535612363 zhenghong 收货人姓名 varchar(100) 100 1 1174D5FE-B8AE-49E7-A4D2-F947BFE08091 receiver_phone receiver_phone 1522660394 zhenghong 1535612363 zhenghong 收货人电话 varchar(32) 32 1 AA0D5272-63FA-45D9-8816-9D547B177F10 receiver_post_code receiver_post_code 1522660418 zhenghong 1522660472 zhenghong 收货人邮编 varchar(32) 32 7E47519A-F397-40EF-A70D-4B26E116BD67 receiver_province receiver_province 1522660464 zhenghong 1522660527 zhenghong 省份/直辖市 varchar(32) 32 3218F635-7F7D-4A36-9BF2-E1C822053456 receiver_city receiver_city 1522660515 zhenghong 1522660549 zhenghong 城市 varchar(32) 32 8C3E74BC-0BCA-4E3F-A1F8-4C06D7192D4E receiver_region receiver_region 1522660544 zhenghong 1522660590 zhenghong varchar(32) 32 661DB749-D0D5-43E2-B96E-2444DA4DBA06 receiver_detail_address receiver_detail_address 1522660585 zhenghong 1522660613 zhenghong 详细地址 varchar(200) 200 F0169A36-508E-4CDA-8BD0-6077437C30DA note note 1522724892 zhenghong 1522724915 zhenghong 订单备注 varchar(500) 500 735D23D8-B7B2-4474-A113-1ED7AAA6C9B8 confirm_status confirm_status 1522725950 zhenghong 1522725999 zhenghong 确认收货状态:0->未确认;1->已确认 int(1) 1 1D7E85F6-2738-40D2-A69D-1B55994F607A delete_status delete_status 1535611815 zhenghong 1535612418 zhenghong 删除状态:0->未删除;1->已删除 0 int(1) 1 1 {F4F16ECD-F2F1-4006-AF6F-638D5C65F35E},MYSQL50,102={9480E6AA-83DD-4AA7-9C91-E48F709C29D9},CharSet,0= {B314652C-DD43-4F81-8524-6F97A1BAACBA},Collate,0= F556C92B-2EE8-48AB-B431-CABDBE189320 use_integration use_integration 1536136197 zhenghong 1536136230 zhenghong 下单时使用的积分 int 1D5BDFFC-6D63-44EA-8B7D-751C599A2A3A payment_time payment_time 1539236189 zhenghong 1539236349 zhenghong 支付时间 datetime D2094CD3-0C14-476E-9267-60186CD40813 delivery_time delivery_time 1539236207 zhenghong 1539236252 zhenghong 发货时间 datetime 70755468-D317-4803-9B06-3975443F82C3 receive_time receive_time 1539236247 zhenghong 1539236359 zhenghong 确认收货时间 datetime C9857D65-CC11-42E6-BE7C-03A1B181DCB4 comment_time comment_time 1539236349 zhenghong 1539236415 zhenghong 评价时间 datetime E2934ED3-7C35-4E4C-85C8-4554D6FED072 modify_time modify_time 1539236409 zhenghong 1539236440 zhenghong 修改时间 datetime F98BE405-9DED-4054-ABBF-40BD4672B58B Key_1 Key_1 1522658326 zhenghong 1541490586 zhenghong FDAAF085-F146-4ADE-919D-85D1DB4E61EE oms_order_item oms_order_item 1522660695 zhenghong 1582621151 zhenghong 订单中所包含的商品 C2ABF8A4-2DE7-4C17-8053-440A60BD8EE7 id id 1522660696 zhenghong 1522660748 zhenghong bigint 1 1 B1934126-97B4-461B-B2A8-D53CCF81245C order_id order_id 1522660753 zhenghong 1522660776 zhenghong 订单id bigint EA411763-23EA-4E27-97CD-1C0D5925157C order_sn order_sn 1522660755 zhenghong 1522660781 zhenghong 订单编号 varchar(64) 64 DCF7D58B-AD64-48B0-9A65-4FDAE9A32DFB product_id product_id 1522660820 zhenghong 1522660829 zhenghong bigint 7BDD65C2-224E-413D-AD83-437754569B1C product_pic product_pic 1522719518 zhenghong 1535696089 zhenghong varchar(500) 500 DFFC50EA-1E9A-4867-9EE8-B1A1B84E51E7 product_name product_name 1522719518 zhenghong 1522719560 zhenghong varchar(200) 200 68478EE9-703A-4DFD-A085-7B109BBF650D product_brand product_brand 1522719571 zhenghong 1522719666 zhenghong varchar(200) 200 27623FBE-2491-4310-AA4E-D93F4AD59154 product_sn product_sn 1522719571 zhenghong 1522719666 zhenghong varchar(64) 64 A9EF8281-439D-4D05-BB45-E933E648D979 product_price product_price 1522719571 zhenghong 1535694206 zhenghong 销售价格 decimal(10,2) 10 2 015E8942-52BF-4342-9C4C-1230A266C1C9 product_quantity product_quantity 1522723168 zhenghong 1535694166 zhenghong 购买数量 int EE8FDF66-7853-4BCE-98D9-40ADC13CC78F product_sku_id product_sku_id 1535693972 zhenghong 1535694126 zhenghong 商品sku编号 bigint B13B6661-62F2-461A-B375-7556D6DBE56D product_sku_code product_sku_code 1535693972 zhenghong 1535694135 zhenghong 商品sku条码 varchar(50) 50 6B11B4F4-2F88-4DA2-A6C6-B5563F8AB67F product_category_id product_category_id 1535938231 zhenghong 1535938276 zhenghong 商品分类id bigint 00A626D1-90DA-4262-8FFB-874691D67C3E promotion_name promotion_name 1535694274 zhenghong 1535694390 zhenghong 商品促销名称 varchar(200) 200 FCD8E9C9-7C56-47F0-8FBB-5534EB9B8FDE promotion_amount promotion_amount 1535694166 zhenghong 1535694826 zhenghong 商品促销分解金额 decimal(10,2) 10 2 073E4D15-F6EB-405D-9429-3A2FD362E949 coupon_amount coupon_amount 1535694274 zhenghong 1535694877 zhenghong 优惠券优惠分解金额 decimal(10,2) 10 2 B4781397-191A-42B9-AAF7-D96E7BC3449D integration_amount integration_amount 1535694826 zhenghong 1535694927 zhenghong 积分优惠分解金额 decimal(10,2) 10 2 AD7CAE73-04BF-4BB8-BEFA-E0A7B94BF373 real_amount real_amount 1522724652 zhenghong 1535694701 zhenghong 该商品经过优惠后的分解金额 decimal(10,2) 10 2 3FBC2AE3-3000-41C7-B78C-DB7AC7ABDC16 gift_integration gift_integration 1535964164 zhenghong 1535964238 zhenghong 商品赠送积分 0 int 1 C7705A4E-64E8-44A3-B3BE-7A8762E73CFD gift_growth gift_growth 1535964164 zhenghong 1535964251 zhenghong 商品赠送成长值 0 int 1 07F49796-6B7C-4A44-BF17-6EF191BE819A product_attr product_attr 1540542610 zhenghong 1540542637 zhenghong 商品销售属性:[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}] varchar(500) 500 8B728C73-2ED3-4C44-8C64-95692A16EA10 Key_1 Key_1 1522660696 zhenghong 1522660745 zhenghong E184F9AC-F126-46D6-A8FF-5F95FBA2F74D oms_order_operate_history oms_order_operate_history 1522724973 zhenghong 1522725331 zhenghong 订单操作历史记录 46247D13-9B17-44EB-9300-7BA49AC214FB id id 1522724975 zhenghong 1522725013 zhenghong bigint 1 1 CBAA2797-F782-492E-89D8-B87830B4FD86 order_id order_id 1522725331 zhenghong 1522725342 zhenghong 订单id bigint B26D3031-3438-4CAB-BC93-2277F41D2F64 operate_man operate_man 1522725011 zhenghong 1522725056 zhenghong 操作人:用户;系统;后台管理员 varchar(100) 100 14B87125-FC24-4D09-982E-F43F618B6C3A create_time create_time 1522725037 zhenghong 1522725076 zhenghong 操作时间 datetime 296A8CF6-1BC8-46E1-846F-25114FF35EEB order_status order_status 1522725072 zhenghong 1522725298 zhenghong 订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单 int(1) 1 9F651D4E-088F-4735-ACAD-12ED16C49FDE note note 1522725292 zhenghong 1522725326 zhenghong 备注 varchar(500) 500 50772925-29B2-4E77-A02B-5AB8C229953C Key_1 Key_1 1522724975 zhenghong 1522725011 zhenghong A3448BD2-42B4-44EC-9BD2-9837B4DF8523 oms_order_setting oms_order_setting 1522726076 zhenghong 1522731991 zhenghong 订单设置表 03B16432-ECCE-4698-B24A-05554E64C35C id id 1522726077 zhenghong 1522726104 zhenghong bigint 1 1 AC98E6B7-ADDF-43AD-B2F0-6CFE7715E9F1 flash_order_overtime flash_order_overtime 1522726101 zhenghong 1522726218 zhenghong 秒杀订单超时关闭时间(分) int C4E474C5-194A-4B54-8DF1-F37B681DE42B normal_order_overtime normal_order_overtime 1522726150 zhenghong 1522726226 zhenghong 正常订单超时时间(分) int 773FEFCD-F4A3-4D9E-B061-10C12CA1B397 confirm_overtime confirm_overtime 1522726177 zhenghong 1522726257 zhenghong 发货后自动确认收货时间(天) int DD5B89B8-5DC6-4EB1-B916-D76BD75CB0F5 finish_overtime finish_overtime 1522731908 zhenghong 1522732014 zhenghong 自动完成交易时间,不能申请售后(天) int D090D0ED-6A45-445C-ADE3-F1E18734F159 comment_overtime comment_overtime 1522731929 zhenghong 1522732004 zhenghong 订单完成后自动好评时间(天) int 7C2ADDA9-1584-4310-A3FE-7F1E18447823 Key_1 Key_1 1522726077 zhenghong 1522726101 zhenghong 5006E5DC-16F9-4C44-ABAA-2812B50757BB oms_order_return_apply oms_order_return_apply 1522732897 zhenghong 1539746524 zhenghong 订单退货申请 CF99B61C-D0E5-4EB4-BFC6-111A9F3D44E8 id id 1522732898 zhenghong 1522732943 zhenghong bigint 1 1 A6E68B83-006A-468C-A461-C647705E038C order_id order_id 1522733188 zhenghong 1522733198 zhenghong 订单id bigint 8D1F23F9-09FD-416B-8E38-CFDE67721417 company_address_id company_address_id 1522745521 zhenghong 1539745624 zhenghong 收货地址表id bigint A6898418-67C2-4E9F-9093-6FF8782BD12F product_id product_id 1539746524 zhenghong 1539746553 zhenghong 退货商品id bigint 56ACAE3C-5533-44A1-BA57-602058B6CEF2 order_sn order_sn 1522733452 zhenghong 1522733474 zhenghong 订单编号 varchar(64) 64 F2C78E24-CDB0-4AA7-B6CD-21E55B380E95 create_time create_time 1522732939 zhenghong 1539746482 zhenghong 申请时间 datetime 70FBE2CF-BE0D-44DD-8679-39DAA782E1A3 member_username member_username 1522732939 zhenghong 1539745698 zhenghong 会员用户名 varchar(64) 64 7B8A70B3-9FC9-4136-BEC9-D2DF393DB988 return_amount return_amount 1522732939 zhenghong 1522733013 zhenghong 退款金额 decimal(10,2) 10 2 4FB9898E-63E4-4B21-B577-504320D3D4F9 return_name return_name 1522733003 zhenghong 1539745642 zhenghong 退货人姓名 varchar(100) 100 8ADCC57B-6CA5-4A89-8B5A-6283FE7B3DDF return_phone return_phone 1522733468 zhenghong 1522733653 zhenghong 退货人电话 varchar(100) 100 F01CC8D2-508C-424D-BF17-AE42ABE28223 status status 1522733003 zhenghong 1522733137 zhenghong 申请状态:0->待处理;1->退货中;2->已完成;3->已拒绝 int(1) 1 65402A2F-A01C-4B4D-9F19-9ACD48637159 handle_time handle_time 1522733003 zhenghong 1522733179 zhenghong 处理时间 datetime AADBD0C8-E8CD-45D6-BDF4-13840EEFA26C product_pic product_pic 1522733217 zhenghong 1539745750 zhenghong 商品图片 varchar(500) 500 B4BB6015-3948-411C-9558-6CAF55CEF04C product_name product_name 1522733217 zhenghong 1539745756 zhenghong 商品名称 varchar(200) 200 D30E609F-3F5C-401C-8690-EEA47B0E6694 product_brand product_brand 1522733217 zhenghong 1539745719 zhenghong 商品品牌 varchar(200) 200 86B4B2F7-9A36-47AC-A3DA-7F45FFF21639 product_attr product_attr 1522733217 zhenghong 1522733369 zhenghong 商品销售属性:颜色:红色;尺码:xl; varchar(500) 500 DE661909-8CDC-4C09-A0C1-5587F969523A product_count product_count 1522733332 zhenghong 1522733395 zhenghong 退货数量 int B16F9E1E-749A-477B-B8E1-70B635CC8F00 product_price product_price 1539746095 zhenghong 1539746212 zhenghong 商品单价 decimal(10,2) 10 2 442BB5FC-951A-43B5-94AD-B3C2E1C8F28F product_real_price product_real_price 1539746095 zhenghong 1539746225 zhenghong 商品实际支付单价 decimal(10,2) 10 2 B4DB3A15-7B0F-4C6D-B961-AF2C4CF14D50 reason reason 1522733512 zhenghong 1522733657 zhenghong 原因 varchar(200) 200 ECE8A578-4D6B-47EB-BB72-207D9BC93324 description description 1522733512 zhenghong 1522733663 zhenghong 描述 varchar(500) 500 E3C2C9CF-D72D-44AA-B1A3-5B5AC1950B63 proof_pics proof_pics 1522733653 zhenghong 1522733740 zhenghong 凭证图片,以逗号隔开 varchar(1000) 1000 B16F27C1-DFFA-40F1-83B5-F9DA3BB86FE6 handle_note handle_note 1522745027 zhenghong 1522745078 zhenghong 处理备注 varchar(500) 500 B8982C29-EB0D-4F63-A047-DDEDC91A78C3 handle_man handle_man 1522745592 zhenghong 1522745618 zhenghong 处理人员 varchar(100) 100 49E217E2-31BF-4F23-8125-62D5920E0B60 receive_man receive_man 1522745613 zhenghong 1522745658 zhenghong 收货人 varchar(100) 100 8111E4F5-B8EA-4DCB-B899-A2E4921E6BC2 receive_time receive_time 1522745652 zhenghong 1539745779 zhenghong 收货时间 datetime 4C802C73-FB19-4C09-84C3-37E152CA8299 receive_note receive_note 1522745652 zhenghong 1539745787 zhenghong 收货备注 varchar(500) 500 D06B934B-B63D-4DCC-B1C1-62F79744A8AC Key_1 Key_1 1522732898 zhenghong 1522732939 zhenghong 594B7799-023B-4DAF-840D-B224931CBA6C oms_company_address oms_company_address 1522745162 zhenghong 1539745228 zhenghong 公司收发货地址表 F5A62BE4-F0B9-46C3-8591-5864BB83220D id id 1522745164 zhenghong 1522745194 zhenghong bigint 1 1 359C7F83-8810-4F75-935C-8099B75676C6 address_name address_name 1522745192 zhenghong 1522745253 zhenghong 地址名称 varchar(200) 200 5AA8AC8B-9617-4A6F-B898-4206F7CE8169 send_status send_status 1522745248 zhenghong 1522745302 zhenghong 默认发货地址:0->否;1->是 int(1) 1 CDF1655B-32CC-4E54-BBE7-5F00549B7722 receive_status receive_status 1522745248 zhenghong 1522745328 zhenghong 是否默认收货地址:0->否;1->是 int(1) 1 F5195500-8663-482B-B587-27789546188C name name 1522745285 zhenghong 1539745228 zhenghong 收发货人姓名 varchar(64) 64 D51012F2-BECB-4E6B-A7E9-5B6AC06D9087 phone phone 1522745285 zhenghong 1522745508 zhenghong 收货人电话 varchar(64) 64 3D2DC8D4-9D56-4E95-8266-052132761CDE province province 1522745363 zhenghong 1539745209 zhenghong 省/直辖市 varchar(64) 64 57267BF2-434D-4AEC-8E6B-DDCAA85233F7 city city 1522745363 zhenghong 1539745217 zhenghong varchar(64) 64 F1F15023-139B-4048-8D0C-C9C46884C6E9 region region 1522745363 zhenghong 1539745223 zhenghong varchar(64) 64 D3EA532D-AD33-45AF-BA17-1FE7D821EE64 detail_address detail_address 1539745108 zhenghong 1539745239 zhenghong 详细地址 varchar(200) 200 9B8E57D5-D022-48D7-BA87-3214D2DAB1BD Key_1 Key_1 1522745164 zhenghong 1522745192 zhenghong 3FB6BF2A-C836-4B1F-AA9B-4219F4ECBC6D oms_order_return_reason oms_order_return_reason 1522745726 zhenghong 1539238788 zhenghong 退货原因表 8398CF1C-2327-4762-B370-7F7BB681FBE8 id id 1522745728 zhenghong 1533115911 zhenghong bigint 1 1 7C7CCC5E-FBE6-49A6-A428-95A8A078B4EA name name 1522745760 zhenghong 1522745845 zhenghong 退货类型 varchar(100) 100 0C284FC4-E892-4BFF-B0AC-AD9BCB8E39D2 sort sort 1522745760 zhenghong 1522745809 zhenghong int D0151FA2-84E3-4252-9565-766B748B7AD3 status status 1522745760 zhenghong 1522745824 zhenghong 状态:0->不启用;1->启用 int(1) 1 A3F8C1D7-A495-4E99-885D-FC8FB1E5747C create_time create_time 1539238773 zhenghong 1539238794 zhenghong 添加时间 datetime F0009D1F-CC14-45AA-BDB7-F25CFBBFE380 Key_1 Key_1 1522745728 zhenghong 1533115911 zhenghong 679BF191-40EF-4FC4-8140-D9DA8F283689 oms_cart_item oms_cart_item 1533108597 zhenghong 1582621132 zhenghong 购物车表 0496CCD8-F7CC-4DD4-AEE7-919D8EFCD676 id id 1533108649 zhenghong 1533108729 zhenghong bigint 1 1 BC6AB2CA-354D-447A-A466-54980B87F57F product_id product_id 1533109970 zhenghong 1533110009 zhenghong bigint 48241AB2-A6B4-48E5-A792-FAB72D97FD42 product_sku_id product_sku_id 1533115829 zhenghong 1533115861 zhenghong bigint 70CEB9F6-7F7D-4AB1-BB9D-3667BA109C72 member_id member_id 1533115896 zhenghong 1533115923 zhenghong bigint 8B8B68C0-7987-4E2B-9BAD-FF4F3428E03A quantity quantity 1533108721 zhenghong 1533108755 zhenghong 购买数量 int E2A71768-48C5-46B2-82B8-635169BFE66D price price 1533108747 zhenghong 1533108790 zhenghong 添加到购物车的价格 decimal(10,2) 10 2 B5A53CF7-C87D-411B-89DF-41888E2722C7 product_pic product_pic 1533110160 zhenghong 1533171242 zhenghong 商品主图 varchar(1000) 1000 E1A4F06D-34AE-4B0C-BCC6-F82BA9D1A76F product_name product_name 1533110160 zhenghong 1533171249 zhenghong 商品名称 varchar(500) 500 7BBD4FA7-9C75-4ECA-9E08-BBEAC572BCB1 product_brand product_brand 1535696251 zhenghong 1535696298 zhenghong varchar(200) 200 11170A56-1C61-4372-9E46-A3C9C587340E product_sn product_sn 1535696251 zhenghong 1535696298 zhenghong varchar(200) 200 2D4BFCEF-83F1-4697-8EF7-DCC5D2A9491D product_sub_title product_sub_title 1533110160 zhenghong 1533171264 zhenghong 商品副标题(卖点) varchar(500) 500 8A7E5878-BB5E-49F3-BE20-E6986E172BB3 product_sku_code product_sku_code 1533115799 zhenghong 1533171279 zhenghong 商品sku条码 varchar(200) 200 23C68713-D38A-4915-96E3-A9762199D386 member_nickname member_nickname 1533115939 zhenghong 1533171328 zhenghong 会员昵称 varchar(500) 500 5675315C-7265-4AC3-88D4-BC1525AC73B7 create_date create_date 1533116034 zhenghong 1533171335 zhenghong 创建时间 datetime 1D877A06-39CD-4A3C-B4A8-059588D13838 modify_date modify_date 1533116034 zhenghong 1533171341 zhenghong 修改时间 datetime 20EF4C13-435F-4C03-B8A9-7E31F1432E21 delete_status delete_status 1533172423 zhenghong 1533172643 zhenghong 是否删除 0 int(1) 1 9C9C2AC9-F58B-4D31-BEF4-1D1892931E51 product_category_id product_category_id 1535530934 zhenghong 1535530961 zhenghong 商品的分类 bigint B7274386-A224-491A-88E0-8FAADCA00C90 product_attr product_attr 1540542323 zhenghong 1540542603 zhenghong 商品销售属性:[{"key":"颜色","value":"银色"},{"key":"容量","value":"4G"}] varchar(500) 500 29D735B7-E618-4C13-AF03-3858C68E6BA4 Key_1 Key_1 1533108649 zhenghong 1533108680 zhenghong 76086A3D-70A2-4A7E-A4DA-9B79808A0A53 ums_role ums_role 1538200619 zhenghong 1538201383 zhenghong 后台用户角色表 2E853DB4-DEFD-42D5-A6BE-6226A3194CE4 id id 1538201005 zhenghong 1538201117 zhenghong bigint 1 1 A7C5F5AC-3D79-4BAB-A058-E801649746EB name name 1538201019 zhenghong 1538201122 zhenghong 名称 varchar(100) 100 013099EA-F84F-4262-9125-15DA3687C8CE description description 1538201019 zhenghong 1538201128 zhenghong 描述 varchar(500) 500 F376357B-61CA-46D5-BED7-51C5322735A9 admin_count admin_count 1538201117 zhenghong 1538201162 zhenghong 后台用户数量 int EAC9E6A6-7E67-44F0-B085-B7A2380828E9 create_time create_time 1538201155 zhenghong 1538201198 zhenghong 创建时间 datetime 8B4E2D43-F39C-46CD-B498-1CD02CDE1F81 status status 1538201193 zhenghong 1538201235 zhenghong 启用状态:0->禁用;1->启用 1 int(1) 1 CDB0B35E-6C3A-4FE5-9D47-E7682E71302E sort sort 1538201211 zhenghong 1538201486 zhenghong 0 int 14F5A838-542A-4B80-8627-B17FF80D3D0C Key_1 Key_1 1538201019 zhenghong 1538201117 zhenghong 4E46B794-7D2F-434B-9096-2F7DB97537BA ums_permission ums_permission 1538201545 zhenghong 1538202362 zhenghong 后台用户权限表 E945AB0D-430D-4564-A942-AFAF3D3C6106 id id 1538201548 zhenghong 1538201942 zhenghong bigint 1 1 {F4F16ECD-F2F1-4006-AF6F-638D5C65F35E},MYSQL50,102={9480E6AA-83DD-4AA7-9C91-E48F709C29D9},CharSet,0= {B314652C-DD43-4F81-8524-6F97A1BAACBA},Collate,0= B073CBDF-527E-4961-BF55-9C5A1F643303 pid pid 1538202362 zhenghong 1538202389 zhenghong 父级权限id bigint E06DA657-9A51-42D9-A915-3D76B6D12AC7 name name 1538201932 zhenghong 1538202068 zhenghong 名称 varchar(100) 100 C2345EAD-45D6-41E7-8EAA-9DB2FD0F6C48 value value 1538201932 zhenghong 1538202074 zhenghong 权限值 varchar(200) 200 471034FB-C5B6-49C2-A117-AE9FEE311F8C icon icon 1538201932 zhenghong 1538202080 zhenghong 图标 varchar(500) 500 64C52B4C-E7C5-4A7E-AE70-CF628EFC67A7 type type 1538202064 zhenghong 1538202174 zhenghong 权限类型:0->目录;1->菜单;2->按钮(接口绑定权限) int(1) 1 8E492BD0-8033-4FE5-8B5B-C13F6977D9A9 uri uri 1538202208 zhenghong 1538202264 zhenghong 前端资源路径 varchar(200) 200 88B074E5-990C-4217-91F5-A88E56CC8142 status status 1538202092 zhenghong 1538202228 zhenghong 启用状态;0->禁用;1->启用 int(1) 1 6A46B30B-44EC-4D13-BEBF-77C4D26113CA create_time create_time 1538202257 zhenghong 1538202303 zhenghong 创建时间 datetime FE8DC496-D926-4C4C-94C0-59F19B98D411 sort sort 1538202257 zhenghong 1538202334 zhenghong 排序 int 1A1D360B-3856-4FE0-ABC3-9C9DD7180247 Key_1 Key_1 1538201548 zhenghong 1538201932 zhenghong 0ACD514B-6AD8-4092-9503-BB7418271C5D ums_admin_role_relation ums_admin_role_relation 1538202419 zhenghong 1538202492 zhenghong 后台用户和角色关系表 FD4417BB-10DA-489F-95B7-2538DA63FEB7 id id 1538202420 zhenghong 1538202461 zhenghong bigint 1 1 7E2D454E-E44B-490F-9E86-11CB1D02A55F admin_id admin_id 1538202471 zhenghong 1538202487 zhenghong bigint 6408BE19-A7C6-4F9D-B9C0-921BD494570B role_id role_id 1538202492 zhenghong 1538202502 zhenghong bigint 6D817E44-8C99-4CFE-A645-0E536256B9D2 Key_1 Key_1 1538202420 zhenghong 1538202458 zhenghong DF1649B4-5B0F-43F0-8E49-DFB2050E1F76 ums_role_permission_relation ums_role_permission_relation 1538202537 zhenghong 1538202588 zhenghong 后台用户角色和权限关系表 1144AF4C-1426-47B7-8212-DA3B3E6C2A36 id id 1538202538 zhenghong 1538202580 zhenghong bigint 1 1 FE5CF0B5-65AA-4B6D-AE3C-04E4A57077D0 role_id role_id 1538202586 zhenghong 1538202605 zhenghong bigint 3E519CF4-C6F8-4D40-828A-F3AFFDA09699 permission_id permission_id 1538202588 zhenghong 1538202605 zhenghong bigint 7169397A-EC6D-422E-9575-7D580D618896 Key_1 Key_1 1538202538 zhenghong 1538202576 zhenghong 13CA705F-65DC-48AC-9563-A5650E15DCC0 ums_admin_permission_relation ums_admin_permission_relation 1538202617 zhenghong 1538203086 zhenghong 后台用户和权限关系表(除角色中定义的权限以外的加减权限) BE753374-E9C7-4C53-AC9C-D71DCF50662D id id 1538202860 zhenghong 1538202918 zhenghong bigint 1 1 12FF5B6B-8647-49E1-927C-D43F14BBB174 admin_id admin_id 1538202927 zhenghong 1538202948 zhenghong bigint 8BDB3D8B-FFEF-4031-8D7A-EF81BE9BE670 permission_id permission_id 1538202929 zhenghong 1538202948 zhenghong bigint D5D4EBC8-9FCD-4A79-8171-4BC6027FA23E type type 1538203070 zhenghong 1538203086 zhenghong int(1) 1 DF246E9E-48BE-43A9-A0A8-282F0AC6E482 Key_1 Key_1 1538202860 zhenghong 1538202916 zhenghong 0DE260F1-B640-49EA-8FD8-73901DA3FC6A sms_flash_promotion_session sms_flash_promotion_session 1542177985 zhenghong 1542178475 zhenghong 限时购场次表 10DEE53F-C0A5-4C47-B567-5B9318C189F5 id id 1542178330 zhenghong 1542178351 zhenghong 编号 bigint 1 1 70BA3EA1-6434-4AFF-A8B7-BCFD893EE7BF name name 1542178344 zhenghong 1542178375 zhenghong 场次名称 varchar(200) 200 E0270862-71AD-474C-96FE-3EEA4134152D start_time start_time 1542178368 zhenghong 1542178404 zhenghong 每日开始时间 time A180A2E0-0FA8-475C-8D71-729FD0617D20 end_time end_time 1542178396 zhenghong 1542178421 zhenghong 每日结束时间 time 49630CAC-6129-4521-AD71-0A3AFD07583A status status 1542178416 zhenghong 1542178456 zhenghong 启用状态:0->不启用;1->启用 int(1) 1 3E293EDE-0D9A-4933-8B3D-4293903D92D0 create_time create_time 1542178436 zhenghong 1542178481 zhenghong 创建时间 datetime 6F8C4687-C113-41B9-B674-6D8DE3D1E8D5 Key_1 Key_1 1542178330 zhenghong 1542178344 zhenghong 99F64742-38F7-4DA9-B8A0-1FC4476C94D3 sms_flash_promotion_product_relation sms_flash_promotion_product_relation 1542179013 zhenghong 1542179474 zhenghong 商品限时购与商品关系表 CAE82E75-D12D-4AD6-9A17-68423BF7E4E0 id id 1542179066 zhenghong 1542349350 zhenghong 编号 bigint 1 1 CEAF14F7-5D5C-4FF9-B86B-CF943BE9EAC9 flash_promotion_id flash_promotion_id 1542179374 zhenghong 1542179387 zhenghong bigint 23D89E50-A620-478D-A305-369556A666D9 flash_promotion_session_id flash_promotion_session_id 1542179394 zhenghong 1542179410 zhenghong 编号 bigint 016A43A1-CCDE-4553-A432-5F9195B3E630 product_id product_id 1542179440 zhenghong 1542179497 zhenghong bigint A82B7A85-9A20-438A-B428-5252675D21E5 flash_promotion_price flash_promotion_price 1542179066 zhenghong 1542179497 zhenghong 限时购价格 decimal(10,2) 10 2 608C7EEE-3CD9-452E-873C-AD3AFDF563A0 flash_promotion_count flash_promotion_count 1542179137 zhenghong 1542179197 zhenghong 限时购数量 int 8211380C-691E-47D2-B1D7-F37E83667A4C flash_promotion_limit flash_promotion_limit 1542179190 zhenghong 1542179235 zhenghong 每人限购数量 int 7DB32E90-BA97-46B7-B90B-655587BBE50E sort sort 1542179226 zhenghong 1542179257 zhenghong 排序 int A2983D35-1038-45A0-954A-5BC756B9FBF6 Key_1 Key_1 1542179066 zhenghong 1542179137 zhenghong FA962271-FBB8-4D55-88C3-B0565D4B7E6B ums_menu ums_menu 1580624574 zhenghong 1580625146 zhenghong 后台菜单表 6E8CAA92-2096-418D-A93D-E79F719BB927 id id 1580624717 zhenghong 1580624742 zhenghong bigint 1 1 ED194F66-7660-463A-A991-C2A652AB7BDD parent_id parent_id 1580624809 zhenghong 1580625129 zhenghong 父级ID bigint 751DDAFB-E47E-4C1F-8861-98417ABE4003 create_time create_time 1580624809 zhenghong 1580625091 zhenghong 创建时间 datetime C19B0D2B-9E4E-4D92-B934-23A5A434367E title title 1580624809 zhenghong 1580625091 zhenghong 菜单名称 varchar(100) 100 3991C198-C8BC-442F-B9C3-8C3E822BDF58 level level 1580624809 zhenghong 1580625091 zhenghong 菜单级数 int(4) 4 F021AF73-1074-429E-A756-7795EAC8D046 sort sort 1580624809 zhenghong 1580625091 zhenghong 菜单排序 int(4) 4 4B420CCD-31CE-4F99-864B-2130DB065195 name name 1580624809 zhenghong 1580625091 zhenghong 前端名称 varchar(100) 100 F77FA949-AD6E-4812-8523-B4B89D603A5E icon icon 1580624809 zhenghong 1580625091 zhenghong 前端图标 varchar(200) 200 BA0254CB-2942-4FA6-86A0-E90E43311099 hidden hidden 1580624809 zhenghong 1580625091 zhenghong 前端隐藏 int(1) 1 5B17DE1C-3EF2-41FE-8598-919EF33A2D85 Key_1 Key_1 1580624717 zhenghong 1580624739 zhenghong 21CA6441-50AA-434C-B1B2-51C4DB93E292 ums_resource ums_resource 1580624625 zhenghong 1580869150 zhenghong 后台资源表 F6CBDD55-60A9-4F16-8426-166F661106CF id id 1580625178 zhenghong 1580625202 zhenghong bigint 1 1 83039C2E-46A3-43E5-9F44-0C2793617519 category_id category_id 1580869150 zhenghong 1580869174 zhenghong 资源分类ID bigint A9E82014-27A7-49AF-9BF1-2F10A4ABC85D create_time create_time 1580625197 zhenghong 1580625272 zhenghong 创建时间 datetime 623196A3-33D6-4F77-909E-66A8F05CDD19 name name 1580625197 zhenghong 1580625272 zhenghong 资源名称 varchar(200) 200 01AB5B01-DA3F-4F28-A338-A916E623F2A0 url url 1580625197 zhenghong 1580625272 zhenghong 资源URL varchar(200) 200 B3CFE91C-D059-421F-8D9C-17321C7F38E7 description description 1580805910 zhenghong 1580805939 zhenghong 描述 varchar(500) 500 10E24F7A-0390-476B-BAAE-1882C0BBD062 Key_1 Key_1 1580625178 zhenghong 1580625197 zhenghong B66F7908-B143-4176-80A9-B2CF44529D08 ums_role_menu_relation ums_role_menu_relation 1580624663 zhenghong 1580625352 zhenghong 后台角色菜单关系表 0A34DDDB-B366-496A-AED8-416DE19149F5 id id 1580625308 zhenghong 1580625325 zhenghong bigint 1 1 2AE22924-4904-41FA-AFB7-B0CF7FCBFC56 role_id role_id 1580625333 zhenghong 1580625372 zhenghong 角色ID bigint 748FA33E-A269-4189-A357-21F5885427C4 menu_id menu_id 1580625352 zhenghong 1580625372 zhenghong 菜单ID bigint 882EFB9B-0F11-4AE1-995B-C15CEDF564FA Key_1 Key_1 1580625308 zhenghong 1580625322 zhenghong C19BEA79-6E19-4CAD-9E31-9415E802B9DE ums_role_resource_relation ums_role_resource_relation 1580624686 zhenghong 1580625435 zhenghong 后台角色资源关系表 6DF052C6-67CA-4BAA-A125-9F03DEDA9012 id id 1580625392 zhenghong 1580625411 zhenghong bigint 1 1 83982BFF-3E3D-4E6F-A458-FF3075464342 role_id role_id 1580625421 zhenghong 1580625454 zhenghong 角色ID bigint 09F02FAF-844E-44FE-93C8-7B4623939F50 resource_id resource_id 1580625435 zhenghong 1580625454 zhenghong 资源ID bigint AB798EFF-998F-4E0E-B0A4-A20719A6AF79 Key_1 Key_1 1580625392 zhenghong 1580625408 zhenghong B0508AE4-FED1-47A1-A771-889573F7520B ums_resource_category ums_resource_category 1580869056 zhenghong 1581324455 zhenghong 资源分类表 F885A10E-E590-447C-8D5D-BC2BCD3DB671 id id 1580869083 zhenghong 1580869099 zhenghong bigint 1 1 D01B83FC-5268-4206-B92F-8F9BFE927112 create_time create_time 1580869095 zhenghong 1580869135 zhenghong 创建时间 datetime B986AFDF-AFBB-4E49-93AA-5CAD7907153A name name 1580869095 zhenghong 1580869135 zhenghong 分类名称 varchar(200) 200 094290D5-34B8-4EE4-B629-670A4BAA7382 sort sort 1581324427 zhenghong 1581324455 zhenghong 排序 int(4) 4 70C39D60-14D7-4260-94E9-1F6025702EC5 Key_1 Key_1 1580869083 zhenghong 1580869095 zhenghong F8B50533-7F4C-4BE7-984B-4FC6A1156DC9 Reference_1 Reference_1 1521706257 zhenghong 1521706257 zhenghong 0..* 1 1 5236F74C-2761-4AC4-834A-BECC5D040393 1521706257 zhenghong 1521706257 zhenghong 6B097280-D411-432F-9CA0-7FC52C306D0F Reference_2 Reference_2 1521710488 zhenghong 1521710488 zhenghong 0..* 1 1 6EE78803-E5F6-4090-B810-7BBF7814F60C 1521710488 zhenghong 1521710488 zhenghong 3447013F-AE0F-4B19-9E82-DEC9658CF62C Reference_3 Reference_3 1521770349 zhenghong 1521770349 zhenghong 0..* 1 1 84F722B4-DF57-4BC3-88FD-B249B70D21A7 1521770349 zhenghong 1521770349 zhenghong 869F562E-B664-4E18-BB85-9F518C39050E Reference_4 Reference_4 1521771362 zhenghong 1521771362 zhenghong 0..* 1 1 0309D83E-51C3-4973-A636-9FEB27F4A6B6 1521771362 zhenghong 1521771362 zhenghong 43D29FF3-315F-4770-9486-03345B3B66AA Reference_5 Reference_5 1521773101 zhenghong 1521773101 zhenghong 0..* 1 1 7B820697-9FFD-4446-B6DF-F03F4F02FFE3 1521773101 zhenghong 1521773101 zhenghong 2FA754C9-59E9-4BC2-9FBD-D1F329A2D40D Reference_6 Reference_6 1521783613 zhenghong 1521783613 zhenghong 0..* 1 1 13DDC5F6-372D-47FF-AAFA-8AEF349E7FA8 1521783613 zhenghong 1521783613 zhenghong FFC57989-A7DF-43DC-8E90-0875CEC112DD Reference_9 Reference_9 1521791466 zhenghong 1521791466 zhenghong 0..* 1 1 31ADEBC6-F176-41A7-8EAA-9AC3B8A253AB 1521791466 zhenghong 1521791466 zhenghong 77C4D61A-9FF5-4B2C-8C48-A2F7DB88ACA3 Reference_10 Reference_10 1521792428 zhenghong 1521792428 zhenghong 0..* 1 1 F2B169B3-7AC8-4FB1-822D-E1C91DFF6FFD 1521792428 zhenghong 1521792428 zhenghong 617A3E38-261B-48D9-B387-A4C69D4A702C Reference_11 Reference_11 1521792909 zhenghong 1521792909 zhenghong 0..* 1 1 00AD7B43-F4CA-45D7-86BB-5756B4ED55BD 1521792909 zhenghong 1521792909 zhenghong 085DA277-2667-4A8D-8E4D-2C4E6787357E Reference_12 Reference_12 1522045168 zhenghong 1522045168 zhenghong 0..* 1 1 286E06C6-6FAD-4323-82D9-6FB781153C46 1522045168 zhenghong 1522045168 zhenghong DC5FEA31-5D2A-491B-A87A-BC45A53A0130 Reference_13 Reference_13 1522046100 zhenghong 1522046100 zhenghong 0..* 1 1 A2161167-D453-4661-9BF0-71D8908A6C42 1522046100 zhenghong 1522046100 zhenghong 09737ED1-34A7-4624-9B3D-F971732EC3C5 Reference_14 Reference_14 1522046451 zhenghong 1522046451 zhenghong 0..* 1 1 E25FF0B6-41E2-4801-8FE9-337EF9B991F7 1522046451 zhenghong 1522046451 zhenghong 1299128F-FAC5-44E2-86E2-29EF4E7A1638 Reference_15 Reference_15 1522046456 zhenghong 1522046456 zhenghong 0..* 1 1 1E64FE44-48BA-49B0-BDE1-66DA22B89EFF 1522046456 zhenghong 1522046456 zhenghong 8C8A4C2F-CB98-46EE-A602-698B99A13C3C Reference_18 Reference_18 1522112691 zhenghong 1522112691 zhenghong 0..* 1 1 DEE74089-6A6D-4D7E-BADD-76E4D08EFA2D 1522112691 zhenghong 1522112691 zhenghong 0326D95A-002E-4506-89DF-DC650D6B10F6 Reference_19 Reference_19 1522112694 zhenghong 1522112694 zhenghong 0..* 1 1 5D44A212-AD69-4958-BAAF-9E16ED63FC67 1522112694 zhenghong 1522112694 zhenghong 62935DB0-A2C4-4D4E-B949-5DE296753EC6 Reference_20 Reference_20 1522114406 zhenghong 1522114406 zhenghong 0..* 1 1 ECA8F78C-7015-44EB-9CD2-F72634D7F4BD 1522114406 zhenghong 1522114406 zhenghong 0054659D-2257-491E-BEFD-4E934EF1326A Reference_21 Reference_21 1522115961 zhenghong 1522115961 zhenghong 0..* 1 1 32BD37D4-4436-4069-9BD1-90CF0B1867E0 1522115961 zhenghong 1522115961 zhenghong 7FB8F1DE-EB1D-4B05-BC25-7F9A9C34DAC1 Reference_22 Reference_22 1522115983 zhenghong 1522115983 zhenghong 0..* 1 1 1A23B754-71EE-4496-B70F-0A3268C6F651 1522115983 zhenghong 1522115983 zhenghong C8AEC8AC-5477-406C-9A47-85CAC6E9156F Reference_23 Reference_23 1522118676 zhenghong 1522118676 zhenghong 0..* 1 1 1C883E67-84F9-4CD0-A4F5-D7CA2BE15DC5 1522118676 zhenghong 1522118676 zhenghong 6877F189-A5DC-4EC1-A805-D6DF43A175A8 Reference_24 Reference_24 1522119056 zhenghong 1522119056 zhenghong 0..* 1 1 1CE2FCCB-DF37-4C88-99DD-FA8C3EE7A09C 1522119056 zhenghong 1522119056 zhenghong 9F3EABD4-B8AD-4807-800A-EBB309C50C27 Reference_25 Reference_25 1522120295 zhenghong 1522120295 zhenghong 0..* 1 1 7D8DC4F2-D0A4-4CE9-B03E-44AE166786C0 1522120295 zhenghong 1522120295 zhenghong 4D22CD29-D84A-4780-A3CD-E8951913B139 Reference_26 Reference_26 1522138613 zhenghong 1522138613 zhenghong 0..* 1 1 7CB99F50-753B-4347-B896-1F18D8FE6691 1522138613 zhenghong 1522138613 zhenghong FDD92660-6932-4BCE-8F83-2E7A223145EB Reference_27 Reference_27 1522138618 zhenghong 1522138618 zhenghong 0..* 1 1 EC89DA87-A575-4940-973B-665854268261 1522138618 zhenghong 1522138618 zhenghong BF5F391A-A0AC-4940-B493-B42F4DEBFE59 Reference_28 Reference_28 1522138705 zhenghong 1522138705 zhenghong 0..* 1 1 8E1A22EC-2246-48C4-A499-3D8A4D264C09 1522138705 zhenghong 1522138705 zhenghong E84C4311-62F4-47BD-A024-62877B7D0ED5 Reference_30 Reference_30 1522141157 zhenghong 1522141157 zhenghong 0..* 1 1 2EA7348D-C8E8-4FCC-8215-01FE3AD58DFB 1522141157 zhenghong 1522141157 zhenghong C0A04A49-9B21-4470-8507-D61981F41EF2 Reference_29 Reference_29 1522141232 zhenghong 1522141232 zhenghong 0..* 1 1 8B858AAC-D00A-42FE-BEDC-73536876C045 1522141232 zhenghong 1522141232 zhenghong E8C1A0E5-7AB4-48DD-96D0-BFC0F9081B35 Reference_31 Reference_31 1522141316 zhenghong 1522141317 zhenghong 0..* 1 1 FC3A22FE-FD24-4DF0-BAC8-22659D3C8987 1522141317 zhenghong 1522141317 zhenghong 99192031-40EE-41ED-A43C-B27CC1039A2B Reference_32 Reference_32 1522142006 zhenghong 1522142006 zhenghong 0..* 1 1 14DB9C0C-F9F0-4D4A-B44E-592028F6E75A 1522142006 zhenghong 1522142006 zhenghong C562CD4F-BAD5-44CE-B507-727743B42808 Reference_33 Reference_33 1522215975 zhenghong 1522215975 zhenghong 0..* 1 1 15304E84-71AA-40B1-84CB-904384B34B25 1522215975 zhenghong 1522215975 zhenghong 049BB766-61EB-47C0-B95D-D25AFDB59734 Reference_34 Reference_34 1522216015 zhenghong 1522216015 zhenghong 0..* 1 1 457237AD-87EB-4A09-BA9F-36198B10D2FF 1522216015 zhenghong 1522216015 zhenghong 5D590043-1882-4A9B-8FC1-D9DC8580E02C Reference_35 Reference_35 1522216251 zhenghong 1522216251 zhenghong 0..* 1 1 3C2E5F27-A07C-4D88-9357-089D36122A25 1522216251 zhenghong 1522216251 zhenghong B5428618-7278-427D-A8BC-5CCB75A2547F Reference_36 Reference_36 1522216380 zhenghong 1522216380 zhenghong 0..* 1 1 A8FA4798-0F1E-4D96-A254-77F5D71F6BBD 1522216380 zhenghong 1522216380 zhenghong 849E47A7-94DA-40C1-879A-F1C6E0C5CD19 Reference_37 Reference_37 1522220508 zhenghong 1522220508 zhenghong 0..* 1 1 5026171A-4B51-4B83-A113-4051F1E4F415 1522220508 zhenghong 1522220508 zhenghong C3B9AA1D-7C7C-4CAD-885D-1542021D30E7 Reference_38 Reference_38 1522220546 zhenghong 1522220546 zhenghong 0..* 1 1 462222B9-A203-4D60-A353-A168356E3140 1522220546 zhenghong 1522220546 zhenghong AF0E4AD5-A4B3-4095-8D2E-FF466A7FFBDC Reference_39 Reference_39 1522224364 zhenghong 1522224364 zhenghong 0..* 1 1 BD28F911-4F98-4C9D-9171-E99F60476E2A 1522224364 zhenghong 1522224364 zhenghong 2E5F5354-7D3D-4CBE-9D6E-F7BF6EE3BB1E Reference_40 Reference_40 1522225874 zhenghong 1522225874 zhenghong 0..* 1 1 8D1675C9-7749-4831-A5E6-ACD971AACF57 1522225874 zhenghong 1522225874 zhenghong C7DCAECF-68BD-47D9-8C52-36A6B50C90C6 Reference_41 Reference_41 1522226077 zhenghong 1522226077 zhenghong 0..* 1 1 B30347B3-4138-4EA8-A0F5-EF0D9A34E01F 1522226077 zhenghong 1522226077 zhenghong C11B5AAF-045B-4A2E-930C-71B38674EDCB Reference_42 Reference_42 1522226272 zhenghong 1522226272 zhenghong 0..* 1 1 7D29D8DF-7EF1-4F43-928F-DDAC96A23858 1522226272 zhenghong 1522226272 zhenghong B7417B7A-09B8-43CE-A17E-01ACFEC78BF6 Reference_44 Reference_44 1522303390 zhenghong 1522303390 zhenghong 0..* 1 1 942BBD31-85B8-46EA-893C-CB327C86F5BA 1522303390 zhenghong 1522303390 zhenghong EF622572-2304-4875-8869-C1821D4BAA12 Reference_45 Reference_45 1522303410 zhenghong 1522303410 zhenghong 0..* 1 1 1E5174EE-C0B0-4144-98D5-679634DCCAEE 1522303410 zhenghong 1522303410 zhenghong F7E27FB8-7156-4A4D-BC61-18CCE2DD98AA Reference_46 Reference_46 1522304178 zhenghong 1522304178 zhenghong 0..* 1 1 BD55704C-3F36-44CC-90E1-143F097FA894 1522304178 zhenghong 1522304178 zhenghong 4D49B5C2-72FC-4407-9705-D42C0F203767 Reference_47 Reference_47 1522386868 zhenghong 1522386868 zhenghong 0..* 1 1 17EC5CAA-580C-493D-9C2D-2EA3E9732A78 1522386868 zhenghong 1522386868 zhenghong C55C7A99-C315-4D03-AEDF-B5F8BCBCD8A4 Reference_48 Reference_48 1522387461 zhenghong 1522387461 zhenghong 0..* 1 1 F469B162-D88C-42A3-B64C-7B2751A4FCE1 1522387461 zhenghong 1522387461 zhenghong CC1956B2-80D6-420D-9596-2ADE9F622A89 Reference_49 Reference_49 1522387526 zhenghong 1522387526 zhenghong 0..* 1 1 1D18BF30-4375-4618-A1C9-6DC998F248E4 1522387526 zhenghong 1522387526 zhenghong 74DB905B-E0F5-48AE-81CF-EF09159E2FF7 Reference_50 Reference_50 1522389232 zhenghong 1522389232 zhenghong 0..* 1 1 183F9969-663E-4842-ABC2-C938F02C05E4 1522389232 zhenghong 1522389232 zhenghong 7E2E910E-DFB4-4EB6-901A-B90812F54A87 Reference_51 Reference_51 1522390434 zhenghong 1522390434 zhenghong 0..* 1 1 AC355266-228D-4333-8E95-D13F2D176DB4 1522390434 zhenghong 1522390434 zhenghong 1BDEC7E5-B286-4BE4-8433-B6BD7A1C975A Reference_52 Reference_52 1522390644 zhenghong 1522390644 zhenghong 0..* 1 1 3A358827-AE90-4AC6-80E6-CA340D69F7F2 1522390644 zhenghong 1522390644 zhenghong AD855909-C83E-4375-8C80-7C2D7AC7075C Reference_53 Reference_53 1522391366 zhenghong 1522391366 zhenghong 0..* 1 1 B0F12E0B-F2E6-40A6-AD2B-9FE858AAA8BE 1522391366 zhenghong 1522391366 zhenghong E0AA6F91-B6EB-44AB-A3FB-B63A84A5DF06 Reference_54 Reference_54 1522391379 zhenghong 1522391380 zhenghong 0..* 1 1 F46C48A9-78A1-4C9A-BD75-DE0ED230A76D 1522391379 zhenghong 1522391380 zhenghong BDACC991-AA2F-4A86-A7A7-BE7FD95D68F2 Reference_55 Reference_55 1522396648 zhenghong 1522396648 zhenghong 0..* 1 1 711AD4D5-212E-4E3B-BB26-DB79C4BE4E52 1522396648 zhenghong 1522396648 zhenghong 953F316F-943C-409D-87E2-A580F91F41DF Reference_56 Reference_56 1522396864 zhenghong 1522396864 zhenghong 0..* 1 1 094B7BE5-D0AB-4987-8D74-508A27D3117F 1522396864 zhenghong 1522396864 zhenghong EBD78B02-B47D-4132-A641-E9C384074F6F Reference_57 Reference_57 1522659209 zhenghong 1522659209 zhenghong 0..* 1 1 8C15D427-62A0-40E7-9B02-84063CC6EB94 1522659209 zhenghong 1522659209 zhenghong 8A0714E1-3D0A-4983-AFD9-0AF0F17B0D22 Reference_58 Reference_58 1522660753 zhenghong 1522660753 zhenghong 0..* 1 1 043B7E7F-6688-42FD-BECE-3A4CE5A560F2 1522660753 zhenghong 1522660753 zhenghong 3BFC406B-AABB-48D0-BA77-69DB4EE17B0D Reference_59 Reference_59 1522660820 zhenghong 1522660820 zhenghong 0..* 1 1 3592DAA0-2C95-48CF-9359-C157A0E27DC3 1522660820 zhenghong 1522660820 zhenghong E36F0963-FA3D-49E2-99B0-1818EF60077C Reference_60 Reference_60 1522721755 zhenghong 1522721755 zhenghong 0..* 1 1 BEE8D279-8DBF-40B3-899D-5B07570D0AD9 1522721755 zhenghong 1522721755 zhenghong 31949834-0CD4-4F67-A0A6-FA63B62C6B04 Reference_61 Reference_61 1522724329 zhenghong 1522724329 zhenghong 0..* 1 1 F5D0566A-35C3-4451-9C7D-782BC776C53E 1522724329 zhenghong 1522724329 zhenghong AD47F573-29CC-4DB6-AFE1-BA511E55D40F Reference_62 Reference_62 1522725331 zhenghong 1522725331 zhenghong 0..* 1 1 3AA8813B-9363-406A-91DF-4AD16E9C3CCA 1522725331 zhenghong 1522725331 zhenghong 16852476-7A1F-4AF5-81A5-D4C089766A13 Reference_63 Reference_63 1522733188 zhenghong 1522733188 zhenghong 0..* 1 1 DD05624A-7E08-4273-9758-C5EDA1A03134 1522733188 zhenghong 1522733188 zhenghong 5BC95764-C216-4A1C-8602-16F14615F674 Reference_64 Reference_64 1522745521 zhenghong 1522745521 zhenghong 0..* 1 1 EBF8A4B9-24B3-4D18-82FD-D12F847328C6 1522745521 zhenghong 1522745521 zhenghong 98A2D313-20A0-4AD2-B2BE-F85A6867D79D Reference_65 Reference_65 1533109967 zhenghong 1533109995 zhenghong 0..* 1 1 BA7665F0-D173-45C6-AFE8-3C93CF330D79 1533109970 zhenghong 1533109995 zhenghong 814C49F7-4720-47CE-A38D-88721D01BA84 Reference_66 Reference_66 1533115827 zhenghong 1533115846 zhenghong 0..* 1 1 521484A5-B9C4-477D-8D45-97F7B15D7854 1533115829 zhenghong 1533115846 zhenghong 3B60C0B9-CC92-447D-838C-B9BA857608AE Reference_67 Reference_67 1533115888 zhenghong 1533115911 zhenghong 0..* 1 1 FCADB7B3-0636-44C7-8AB4-067148971867 1533115896 zhenghong 1533115911 zhenghong 46FBCD47-38FC-487C-B390-7FE833196F94 Reference_68 Reference_68 1538202362 zhenghong 1538202362 zhenghong 0..* 1 1 D2F8A3AD-54BE-4AE4-A988-128511B938A4 1538202362 zhenghong 1538202362 zhenghong C76888E3-16C6-4761-8136-511A526B6512 Reference_69 Reference_69 1538202471 zhenghong 1538202471 zhenghong 0..* 1 1 993B6DB6-8CE7-4A56-9273-AA66FB16F4A0 1538202471 zhenghong 1538202471 zhenghong 7D3662ED-D661-4086-BA3C-C9927BAEA31B Reference_70 Reference_70 1538202492 zhenghong 1538202492 zhenghong 0..* 1 1 E47EA734-EA83-4289-8295-068CBD82C878 1538202492 zhenghong 1538202492 zhenghong C27AC470-B6D5-4DEB-8985-4436775FF6EC Reference_71 Reference_71 1538202586 zhenghong 1538202586 zhenghong 0..* 1 1 C3D164FC-7971-4ECF-B2F0-6B384C75DB8A 1538202586 zhenghong 1538202586 zhenghong 6C1E998D-3BE1-473B-A219-C12E87F599FC Reference_72 Reference_72 1538202588 zhenghong 1538202588 zhenghong 0..* 1 1 5D69B943-755C-4D8A-90CC-525B02C3D50C 1538202588 zhenghong 1538202588 zhenghong 3A33B8D1-62CE-4DF3-9EAE-8F419CAA8AA8 Reference_73 Reference_73 1538202927 zhenghong 1538202927 zhenghong 0..* 1 1 C4F1E261-E196-4270-8809-851FB823B079 1538202927 zhenghong 1538202927 zhenghong 409CA456-66FD-4551-9709-9B58BAD20CBC Reference_74 Reference_74 1538202929 zhenghong 1538202929 zhenghong 0..* 1 1 9040B9D2-76A5-43F5-8889-3E21C379E806 1538202929 zhenghong 1538202929 zhenghong D8C09BAD-5666-4751-B992-C48035FB286A Reference_75 Reference_75 1539746524 zhenghong 1539746524 zhenghong 0..* 1 1 6D41CF48-9B5F-47F1-8391-F0BC65998A26 1539746524 zhenghong 1539746524 zhenghong E104E0D2-AE63-4FC2-8695-C31D32B33047 Reference_76 Reference_76 1541490540 zhenghong 1541490586 zhenghong 0..* 1 1 933A26A1-5D64-4E1E-A05E-F70A9A4571A1 1541490552 zhenghong 1541490586 zhenghong 490FFEDD-0E16-49CD-83FA-07FE29AB81E1 Reference_77 Reference_77 1542179374 zhenghong 1542179374 zhenghong 0..* 1 1 CF2A4EB2-4046-4B11-A333-E288CA091AFF 1542179374 zhenghong 1542179374 zhenghong C932213B-EF31-4E19-9C72-6C17A0AFDB6D Reference_78 Reference_78 1542179394 zhenghong 1542179394 zhenghong 0..* 1 1 F03E2D7F-4760-4BDE-AB11-2394F26DB466 1542179394 zhenghong 1542179394 zhenghong 17B2ADB4-4810-47D6-B703-99E62E4AFA4D Reference_79 Reference_79 1542179438 zhenghong 1542179474 zhenghong 0..* 1 1 389ADFA5-E125-4583-ADBE-95053D3F0C72 1542179440 zhenghong 1542179474 zhenghong 4E8DE47E-16C3-4F6B-B284-06B30C3CB07D Reference_80 Reference_80 1580625109 zhenghong 1580625129 zhenghong 0..* 1 1 9085DD5C-8F83-493E-9CFE-628DA54C8B96 1580625109 zhenghong 1580625129 zhenghong 46BCEBF1-E21B-4EB3-A8DE-A5A2BAFFFBB6 Reference_81 Reference_81 1580625333 zhenghong 1580625333 zhenghong 0..* 1 1 A48E310F-1E8C-4B06-AF1B-4D070613C9E4 1580625333 zhenghong 1580625333 zhenghong D4BF3C8D-A91A-4E49-82E9-CB738227C8C8 Reference_82 Reference_82 1580625352 zhenghong 1580625352 zhenghong 0..* 1 1 BF0FFD9A-62E7-47E9-84FB-9F2E08021926 1580625352 zhenghong 1580625352 zhenghong 2E6DA228-0727-43B1-8814-D25233A0BCC6 Reference_83 Reference_83 1580625421 zhenghong 1580625421 zhenghong 0..* 1 1 6F492BCB-5604-4D5C-9DFE-B622A7D5FC91 1580625421 zhenghong 1580625421 zhenghong CB1FAF78-7706-4745-8F2F-A9B2BDCFA7D2 Reference_84 Reference_84 1580625435 zhenghong 1580625435 zhenghong 0..* 1 1 B77FA1D0-9DDC-4FD9-B5FA-24CF8FE39B40 1580625435 zhenghong 1580625435 zhenghong F00FBAAE-944C-4129-B221-009502135923 Reference_85 Reference_85 1580869150 zhenghong 1580869150 zhenghong 0..* 1 1 6D8367E1-F1BA-4FAF-A735-B63D8A8D5D7A 1580869150 zhenghong 1580869150 zhenghong 48492A0F-63AD-4453-B46B-89915CC87545 PUBLIC PUBLIC 1521705583 zhenghong 1521705583 zhenghong 232AA7B8-E743-48F3-9530-102684B229BE MySQL 5.0 MYSQL50 1521705583 zhenghong 1521705583 zhenghong file:///%_DBMS%/mysql50.xdb F4F16ECD-F2F1-4006-AF6F-638D5C65F35E 4BA9F647-DAB1-11D1-9944-006097355D9B 1276524678 ================================================ FILE: document/pdm/mall.pdm ================================================ 7BB41C87-EFE8-409A-A86E-B1C3FCE34F8C mall mall 1521705583 zhenghong 1586932560 zhenghong [FolderOptions] [FolderOptions\Physical Objects] GenerationCheckModel=Yes GenerationPath= GenerationOptions= GenerationTasks= GenerationTargets= GenerationSelections= RevPkey=Yes RevFkey=Yes RevAkey=Yes RevCheck=Yes RevIndx=Yes RevOpts=Yes RevViewAsTabl=No RevViewOpts=Yes RevSystAsTabl=Yes RevTablPerm=No RevViewPerm=No RevProcPerm=No RevDbpkPerm=No RevSqncPerm=No RevAdtPerm=No RevUserPriv=No RevUserOpts=No RevGrpePriv=No RevRolePriv=No RevDtbsOpts=Yes RevDtbsPerm=No RevViewIndx=Yes RevJidxOpts=Yes RevStats=No RevTspcPerm=No RevCaseSensitive=No GenTrgrStdMsg=Yes GenTrgrMsgTab= GenTrgrMsgNo= GenTrgrMsgTxt= TrgrPreserve=No TrgrIns=Yes TrgrUpd=Yes TrgrDel=Yes TrgrC2Ins=Yes TrgrC2Upd=Yes TrgrC3=Yes TrgrC4=Yes TrgrC5=Yes TrgrC6=Yes TrgrC7=Yes TrgrC8=Yes TrgrC9=Yes TrgrC10=Yes TrgrC11=Yes TrgrC1=Yes TrgrC12Ins=Yes TrgrC12Upd=Yes TrgrC13=Yes UpdateTableStatistics=Yes UpdateColumnStatistics=Yes [FolderOptions\Physical Objects\Database Generation] GenScriptName=create.sql GenScriptName0=update.sql GenScriptName1=crebas.sql GenScriptName2=crebas GenScriptName3= GenScriptName4= GenScriptName5= GenScriptName6= GenScriptName7= GenScriptName8= GenScriptName9= GenPathName=C:\Users\zhenghong\Desktop\ GenSingleFile=Yes GenODBC=No GenCheckModel=Yes GenScriptPrev=Yes GenArchiveModel=No GenUseSync=No GenSyncChoice=0 GenSyncArch= GenSyncRmg=0 [FolderOptions\Physical Objects\Database Generation\Format] GenScriptTitle=Yes GenScriptNamLabl=No GenScriptQDtbs=No GenScriptQOwnr=Yes GenScriptCase=0 GenScriptEncoding=UTF8 GenScriptNAcct=No IdentifierDelimiter=" [FolderOptions\Physical Objects\Database Generation\Database] Create=Yes Open=Yes Close=Yes Drop=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\Database\Create] Physical Options=Yes Header=Yes Footer=Yes [FolderOptions\Physical Objects\Database Generation\Tablespace] Create=Yes Drop=Yes Comment=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\Tablespace\Create] Header=Yes Footer=Yes [FolderOptions\Physical Objects\Database Generation\Storage] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\User] Create=Yes Drop=Yes Comment=Yes Privilege=No [FolderOptions\Physical Objects\Database Generation\User\Create] Physical Options=No [FolderOptions\Physical Objects\Database Generation\Group] Create=Yes Drop=Yes Comment=Yes Privilege=No [FolderOptions\Physical Objects\Database Generation\Role] Create=Yes Drop=Yes Privilege=No [FolderOptions\Physical Objects\Database Generation\UserDefinedDataType] Create=Yes Comment=Yes Drop=Yes [FolderOptions\Physical Objects\Database Generation\UserDefinedDataType\Create] Default value=Yes Check=Yes [FolderOptions\Physical Objects\Database Generation\AbstractDataType] Create=Yes Header=Yes Footer=Yes Drop=Yes Comment=Yes Install JAVA class=Yes Remove JAVA class=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\Rule] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Default] Create=Yes Comment=Yes Drop=Yes [FolderOptions\Physical Objects\Database Generation\Sequence] Create=Yes Drop=Yes Comment=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\Table&&Column] [FolderOptions\Physical Objects\Database Generation\Table&&Column\Table] Create=Yes Drop=Yes Comment=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\Table&&Column\Table\Create] Check=Yes Physical Options=Yes Header=Yes Footer=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Table\Create\Check] Constraint declaration=No [FolderOptions\Physical Objects\Database Generation\Table&&Column\Column] User datatype=No Default value=Yes Check=Yes Physical Options=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Column\Check] Constraint declaration=No [FolderOptions\Physical Objects\Database Generation\Table&&Column\Key] [FolderOptions\Physical Objects\Database Generation\Table&&Column\Key\Primary key] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Key\Primary key\Create] Constraint declaration=No Physical Options=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Key\Alternate key] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Key\Alternate key\Create] Constraint declaration=No Physical Options=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Foreign key] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Foreign key\Create] Constraint declaration=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Index] Create=No Drop=No Comment=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Index\Create] Constraint declaration=Yes Physical Options=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Index\Filter] Primary key=No Foreign key=No Alternate key=No Cluster=Yes Other=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Trigger] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Table&&Column\Trigger\Filter] For insert=Yes For update=Yes For delete=Yes For other=Yes [FolderOptions\Physical Objects\Database Generation\View] Create=Yes Drop=Yes Comment=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\View\Create] Force Column list=No Physical Options=Yes Header=Yes Footer=Yes [FolderOptions\Physical Objects\Database Generation\View\ViewColumn] Comment=Yes [FolderOptions\Physical Objects\Database Generation\View\ViewIndex] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\View\ViewIndex\Create] Physical Options=Yes [FolderOptions\Physical Objects\Database Generation\View\ViewIndex\Filter] Cluster=Yes Other=Yes [FolderOptions\Physical Objects\Database Generation\View\Trigger] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\View\Trigger\Filter] For insert=Yes For update=Yes For delete=Yes For other=Yes [FolderOptions\Physical Objects\Database Generation\DBMSTrigger] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Synonym] Create=Yes Drop=Yes [FolderOptions\Physical Objects\Database Generation\Synonym\Filter] Table=Yes View=Yes Proc=Yes Synonym=Yes Database Package=Yes Sequence=Yes [FolderOptions\Physical Objects\Database Generation\JoinIndex] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\JoinIndex\Create] Physical Options=Yes Header=Yes Footer=Yes [FolderOptions\Physical Objects\Database Generation\Procedure] Create=Yes Drop=Yes Comment=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\Procedure\Create] Header=Yes Footer=Yes [FolderOptions\Physical Objects\Database Generation\DatabasePackage] Create=Yes Drop=Yes Permission=No [FolderOptions\Physical Objects\Database Generation\WebService] Create=Yes Drop=Yes Comment=Yes [FolderOptions\Physical Objects\Database Generation\Dimension] Create=Yes Drop=Yes [FolderOptions\Physical Objects\Database Generation\Synchronization] GenBackupTabl=1 GenKeepBackTabl=1 GenTmpTablDrop=No GenKeepTablOpts=No [FolderOptions\Physical Objects\Test Data] GenDataPathName=C:\Users\zhenghong\Desktop\ GenDataSinglefile=Yes GenDataScriptName=testdata.sql GenDataScriptName0= GenDataScriptName1= GenDataScriptName2= GenDataScriptName3= GenDataScriptName4= GenDataScriptName5= GenDataScriptName6= GenDataScriptName7= GenDataScriptName8= GenDataScriptName9= GenDataOdbc=0 GenDataDelOld=No GenDataTitle=No GenDataDefNumRows=20 GenDataCommit=0 GenDataPacket=0 GenDataOwner=No GenDataProfNumb= GenDataProfChar= GenDataProfDate= GenDataCSVSeparator=, GenDataFileFormat=CSV GenDataUseWizard=No [FolderOptions\Pdm] IndxIQName=%COLUMN%_%INDEXTYPE% IndxPK=Yes IndxFK=Yes IndxAK=Yes IndxPKName=%TABLE%_PK IndxFKName=%REFR%_FK IndxAKName=%AKEY%_AK IndxPreserve=No IndxThreshold=0 IndxStats=No RefrPreserve=No JidxPreserve=No RbldMultiFact=Yes RbldMultiDim=Yes RbldMultiJidx=Yes CubePreserve=No TablStProcPreserve=No ProcDepPreserve=Yes TrgrDepPreserve=Yes CubeScriptPath= CubeScriptCase=0 CubeScriptEncoding=ANSI CubeScriptNacct=No CubeScriptHeader=No CubeScriptExt=csv CubeScriptExt0=txt CubeScriptExt1= CubeScriptExt2= CubeScriptSep=, CubeScriptDeli=" EstimationYears=0 DfltDomnName=D_%.U:VALUE% DfltColnName=D_%.U:VALUE% DfltReuse=Yes DfltDrop=Yes [FolderOptions\CheckModel] [FolderOptions\CheckModel\Package] [FolderOptions\CheckModel\Package\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\CheckPackageMissTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\DefaultCheckPackageMissTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\CircularReference] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\ConstraintName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\CnstMaxLen] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\CircularDependency] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Package\ShortcutUniqCode] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Table] [FolderOptions\CheckModel\Table\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\UniqIndex] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\MaxLen - NAME] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\EmptyColl - COLNCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\EmptyColl - INDXCOL] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\EmptyColl - KEYCOL] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\SerialColumnNumber] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\EmptyCollYesYes] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\TableIndexes] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\Mapping] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Table\MappingSFMap] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Table\EmptyColl - PERMCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Table\CheckTablePartitionKey] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckTableStartDate] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckTableRefNoLifecycle] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckTableSourceMapping] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckTablePartialColumnMapping] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckTableKeyColumnMapping] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\CheckTableNotOnLifecycleTablespace] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table\MYSQL50_Table_Table_storage_type] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Table.Column] [FolderOptions\CheckModel\Table.Column\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\DomainDivergence] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\ColumnMandatory] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckNumParam] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckPrecSupLng] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckUndefDttp] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\FkeyDttpDivergence] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\FkeyCheckDivergence] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\ColnSqncNoKey] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\ColnSqncDttp] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\SerialColumnFK] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\ColumnCompExpr] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckColumnOneToOneMapping] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckColumnDataTypeMapping] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckColumnNoMapping] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\CheckDttpIncompatibleFormat] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\MYSQL50_Column_Auto_increment_key] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Column\MYSQL50_Column_Datatype_attributes] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index] [FolderOptions\CheckModel\Table.Index\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\EmptyColl - CIDXCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\UndefIndexType] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\IndexColumnCount] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\IQIndxHNGUniq] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\CheckIncludeColl - Tabl] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Index\MYSQL50_Index_Fulltext_indexes_validity] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key] [FolderOptions\CheckModel\Table.Key\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\EmptyColl - COLNCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\CheckIncludeColl - Tabl] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Key\MultiKeySqnc] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger] [FolderOptions\CheckModel\Table.Trigger\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table.Trigger\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index] [FolderOptions\CheckModel\Join Index\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Join Index\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View] [FolderOptions\CheckModel\View\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View\EmptyColl - PERMCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\View.View Index] [FolderOptions\CheckModel\View.View Index\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\EmptyColl - CIDXCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\IndexColumnCount] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View.View Index\CheckIncludeColl - Tabl] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference] [FolderOptions\CheckModel\Reference\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\Reflexive] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\EmptyColl - RFJNCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\IncompleteJoin] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Reference\JoinOrder] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference] [FolderOptions\CheckModel\View Reference\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\View Reference\EmptyColl - VRFJNCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain] [FolderOptions\CheckModel\Domain\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\CheckNumParam] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\CheckPrecSupLng] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\CheckUndefDttp] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Domain\CheckDttpIncompatibleFormat] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default] [FolderOptions\CheckModel\Default\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\DfltValeEmpty] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Default\DfltSameVale] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User] [FolderOptions\CheckModel\User\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\User\UniquePassword] CheckSeverity=No FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Group] [FolderOptions\CheckModel\Group\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\EmptyColl - USERCOL] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Group\UniquePassword] CheckSeverity=No FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Role] [FolderOptions\CheckModel\Role\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Role\EmptyColl - USERCOL] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure] [FolderOptions\CheckModel\Procedure\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\ProcBodyEmpty] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Procedure\EmptyColl - PERMCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\DBMS Trigger] [FolderOptions\CheckModel\DBMS Trigger\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\DBMS Trigger\DbmsTriggerEvent] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source] [FolderOptions\CheckModel\Data Source\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\EmptyColl - MODLSRC] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\DtscTargets] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Source\CheckDataSourceModels] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Horizontal Partitioning] [FolderOptions\CheckModel\Horizontal Partitioning\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Horizontal Partitioning\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Horizontal Partitioning\EmptyColl - PARTCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Horizontal Partitioning\TargetTables] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Vertical Partitioning] [FolderOptions\CheckModel\Vertical Partitioning\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Vertical Partitioning\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Vertical Partitioning\EmptyColl - PARTCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Vertical Partitioning\TargetTables] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table Collapsing] [FolderOptions\CheckModel\Table Collapsing\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table Collapsing\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table Collapsing\EmptyColl - TargetTable] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Table Collapsing\TargetTables] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact] [FolderOptions\CheckModel\Fact\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\EmptyColl - MEASCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\Mapping] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Fact\MappingSFMap] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Fact\EmptyColl - ALLOLINKCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact\CubeDupAssociation] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension] [FolderOptions\CheckModel\Dimension\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\EmptyColl - DATTRCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\EmptyColl - HIERCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\DimnDupHierarchy] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\DimnDefHierarchy] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension\Mapping] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Dimension\MappingSFMap] CheckSeverity=No FixRequested=Yes CheckRequested=Yes [FolderOptions\CheckModel\Dimension\SerialColumnNumber] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Association] [FolderOptions\CheckModel\Association\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Association\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Association\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Association\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Association\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Association\EmptyColl - Hierarchy] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute] [FolderOptions\CheckModel\Dimension.Attribute\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Attribute\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure] [FolderOptions\CheckModel\Fact.Measure\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Fact.Measure\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy] [FolderOptions\CheckModel\Dimension.Hierarchy\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Dimension.Hierarchy\EmptyColl - DATTRCOL] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym] [FolderOptions\CheckModel\Synonym\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\MaxLen - NAME] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Synonym\EmptyColl - BASEOBJ] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type] [FolderOptions\CheckModel\Abstract Data Type\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\AdtInstantiable] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type\AdtAbstractUsed] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure] [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\AdtProcUniqName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\UniqueDefinition] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Abstract Data Type.Abstract Data Type Procedure\ReturnDataType] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package] [FolderOptions\CheckModel\Database Package\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\MaxLen - NAME] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\EmptyColl - PROCOL] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package\EmptyColl - CURCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Database Package\EmptyColl - VARCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Database Package\EmptyColl - TYPCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Database Package\EmptyColl - EXCCOL] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Database Package.Database Package Procedure] [FolderOptions\CheckModel\Database Package.Database Package Procedure\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\UniqueDefinition] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Procedure\EmptyColl - PARM] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Database Package.Database Package Procedure\ReturnDataType] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence] [FolderOptions\CheckModel\Sequence\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Sequence\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor] [FolderOptions\CheckModel\Database Package.Database Package Cursor\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\UniqueDefinition] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\ReturnDataType] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Cursor\EmptyColl - PARM] CheckSeverity=Yes FixRequested=No CheckRequested=No [FolderOptions\CheckModel\Database Package.Database Package Variable] [FolderOptions\CheckModel\Database Package.Database Package Variable\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Variable\CheckUndefDttp] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type] [FolderOptions\CheckModel\Database Package.Database Package Type\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Type\UniqueDefinition] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception] [FolderOptions\CheckModel\Database Package.Database Package Exception\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database Package.Database Package Exception\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace] [FolderOptions\CheckModel\Tablespace\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Tablespace\IsObjectUsed] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage] [FolderOptions\CheckModel\Storage\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Storage\IsObjectUsed] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database] [FolderOptions\CheckModel\Database\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Database\IsObjectUsed] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service] [FolderOptions\CheckModel\Web Service\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation] [FolderOptions\CheckModel\Web Service.Web Operation\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Web Service.Web Operation\MaxLen - CODE] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle] [FolderOptions\CheckModel\Lifecycle\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\CheckLifecyclePhase] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\CheckLifecycleRetention] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle\CheckPartitionRange] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase] [FolderOptions\CheckModel\Lifecycle.Phase\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseTbspace] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseIQTbspace] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseDuplicateTbspace] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseTbspaceCurrency] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseRetention] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseIdlePeriod] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseDataSource] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Lifecycle.Phase\CheckPhaseExternalOnFirst] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Replication] [FolderOptions\CheckModel\Replication\PartialReplication] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule] [FolderOptions\CheckModel\Business Rule\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Business Rule\EmptyColl - OBJCOL] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object] [FolderOptions\CheckModel\Extended Object\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Object\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link] [FolderOptions\CheckModel\Extended Link\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Extended Link\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File] [FolderOptions\CheckModel\File\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\File\CheckPathExists] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format] [FolderOptions\CheckModel\Data Format\CheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\CheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\DefaultCheckUseOnlyTerms] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\DefaultCheckUseTermBySynonym] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\NotApprovedTerms] CheckSeverity=Yes FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\UniqueName] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\UniqueCode] CheckSeverity=No FixRequested=No CheckRequested=Yes [FolderOptions\CheckModel\Data Format\CheckDataFormatNullExpression] CheckSeverity=No FixRequested=No CheckRequested=Yes [ModelOptions] [ModelOptions\Physical Objects] CaseSensitive=No DisplayName=Yes EnableTrans=No UseTerm=No EnableRequirements=No EnableFullShortcut=Yes DefaultDttp= IgnoreOwner=No RebuildTrigger=Yes RefrUnique=No RefrAutoMigrate=Yes RefrMigrateReuse=No RefrMigrateDomain=Yes RefrMigrateCheck=Yes RefrMigrateRule=Yes RefrMigrateExtd=No RefrMigrDefaultLink=No RefrDfltImpl=D RefrPrgtColn=No RefrMigrateToEnd=No RebuildTriggerDep=No ColnFKName=%.3:PARENT%_%COLUMN% ColnFKNameUse=No DomnCopyDttp=Yes DomnCopyChck=No DomnCopyRule=No DomnCopyMand=No DomnCopyExtd=No DomnCopyProf=No Notation=0 DomnDefaultMandatory=No ColnDefaultMandatory=No TablDefaultOwner= ViewDefaultOwner= TrgrDefaultOwnerTabl= TrgrDefaultOwnerView= IdxDefaultOwnerTabl= IdxDefaultOwnerView= JdxDefaultOwner= DBPackDefaultOwner= SeqDefaultOwner= ProcDefaultOwner= DBMSTrgrDefaultOwner= Currency=USD RefrDeleteConstraint=1 RefrUpdateConstraint=1 RefrParentMandatory=No RefrParentChangeAllow=Yes RefrCheckOnCommit=No [ModelOptions\Physical Objects\NamingOptionsTemplates] [ModelOptions\Physical Objects\ClssNamingOptions] [ModelOptions\Physical Objects\ClssNamingOptions\PDMPCKG] [ModelOptions\Physical Objects\ClssNamingOptions\PDMPCKG\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\PDMPCKG\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\PDMDOMN] [ModelOptions\Physical Objects\ClssNamingOptions\PDMDOMN\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\PDMDOMN\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\TABL] [ModelOptions\Physical Objects\ClssNamingOptions\TABL\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\TABL\Code] Template= MaxLen=64 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\COLN] [ModelOptions\Physical Objects\ClssNamingOptions\COLN\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\COLN\Code] Template= MaxLen=64 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\INDX] [ModelOptions\Physical Objects\ClssNamingOptions\INDX\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\INDX\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\REFR] [ModelOptions\Physical Objects\ClssNamingOptions\REFR\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\REFR\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\VREF] [ModelOptions\Physical Objects\ClssNamingOptions\VREF\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\VREF\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\VIEW] [ModelOptions\Physical Objects\ClssNamingOptions\VIEW\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\VIEW\Code] Template= MaxLen=64 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\VIEWC] [ModelOptions\Physical Objects\ClssNamingOptions\VIEWC\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\VIEWC\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\WEBSERV] [ModelOptions\Physical Objects\ClssNamingOptions\WEBSERV\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\WEBSERV\Code] Template= MaxLen=254 Case=M ValidChar='a'-'z','A'-'Z','0'-'9',"/-_.!~*'()" InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\WEBOP] [ModelOptions\Physical Objects\ClssNamingOptions\WEBOP\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\WEBOP\Code] Template= MaxLen=254 Case=M ValidChar='a'-'z','A'-'Z','0'-'9',"/-_.!~*'()" InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\WPARAM] [ModelOptions\Physical Objects\ClssNamingOptions\WPARAM\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\WPARAM\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FACT] [ModelOptions\Physical Objects\ClssNamingOptions\FACT\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FACT\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\DIMN] [ModelOptions\Physical Objects\ClssNamingOptions\DIMN\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\DIMN\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\MEAS] [ModelOptions\Physical Objects\ClssNamingOptions\MEAS\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\MEAS\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\DATTR] [ModelOptions\Physical Objects\ClssNamingOptions\DATTR\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\DATTR\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FILO] [ModelOptions\Physical Objects\ClssNamingOptions\FILO\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FILO\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FRMEOBJ] [ModelOptions\Physical Objects\ClssNamingOptions\FRMEOBJ\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FRMEOBJ\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FRMELNK] [ModelOptions\Physical Objects\ClssNamingOptions\FRMELNK\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\FRMELNK\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\DefaultClass] [ModelOptions\Physical Objects\ClssNamingOptions\DefaultClass\Name] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Physical Objects\ClssNamingOptions\DefaultClass\Code] Template= MaxLen=254 Case=M ValidChar= InvldChar= AllValid=Yes NoAccent=No DefaultChar= Script= ConvTable= ConvTablePath=%_HOME%\Resource Files\Conversion Tables [ModelOptions\Connection] [ModelOptions\Pdm] [ModelOptions\Generate] [ModelOptions\Generate\Xsm] GenRootElement=Yes GenComplexType=No GenAttribute=Yes CheckModel=Yes SaveLinks=Yes ORMapping=No NameToCode=No [ModelOptions\Generate\Pdm] RRMapping=No [ModelOptions\Generate\Cdm] CheckModel=Yes SaveLinks=Yes NameToCode=No Notation=2 [ModelOptions\Generate\Oom] CheckModel=Yes SaveLinks=Yes ORMapping=No NameToCode=Yes ClassPrefix= [ModelOptions\Generate\Ldm] CheckModel=Yes SaveLinks=Yes NameToCode=No [ModelOptions\Default Opts] [ModelOptions\Default Opts\TABL] PhysOpts= [ModelOptions\Default Opts\COLN] PhysOpts= [ModelOptions\Default Opts\INDX] PhysOpts= [ModelOptions\Default Opts\AKEY] PhysOpts= [ModelOptions\Default Opts\PKEY] PhysOpts= [ModelOptions\Default Opts\STOR] PhysOpts= [ModelOptions\Default Opts\TSPC] PhysOpts= [ModelOptions\Default Opts\SQNC] PhysOpts= [ModelOptions\Default Opts\DTBS] PhysOpts= [ModelOptions\Default Opts\USER] PhysOpts= [ModelOptions\Default Opts\JIDX] PhysOpts= 14D4F090-917F-4538-8687-B423AA42B832 MySQL 5.0 MYSQL50 1521705583 zhenghong 1521705583 zhenghong F4F16ECD-F2F1-4006-AF6F-638D5C65F35E 4BA9F647-DAB1-11D1-9944-006097355D9B 137EC109-4534-4C7A-BB72-091B8362EA59 diagram diagram 1521705583 zhenghong 1580869150 zhenghong [DisplayPreferences] [DisplayPreferences\PDM] [DisplayPreferences\General] Adjust to text=Yes Snap Grid=No Constrain Labels=Yes Display Grid=No Show Page Delimiter=Yes Show Links intersections=Yes Activate automatic link routing=Yes Grid size=800 Graphic unit=2 Window color=255 255 255 Background image= Background mode=8 Watermark image= Watermark mode=8 Show watermark on screen=No Gradient mode=0 Gradient end color=255 255 255 Show Swimlane=No SwimlaneVert=Yes TreeVert=No CompDark=0 [DisplayPreferences\Object] Show Icon=No Mode=2 Trunc Length=40 Word Length=40 Word Text=!"#$%&')*+,-./:;=>?@\]^_`|}~ Shortcut IntIcon=Yes Shortcut IntLoct=Yes Shortcut IntFullPath=No Shortcut IntLastPackage=Yes Shortcut ExtIcon=Yes Shortcut ExtLoct=No Shortcut ExtFullPath=No Shortcut ExtLastPackage=Yes Shortcut ExtIncludeModl=Yes EObjShowStrn=Yes ExtendedObject.Comment=No ExtendedObject.IconPicture=No ExtendedObject.TextStyle=No ExtendedObject_SymbolLayout=<Form>[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Object Name" Attribute="DisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <Separator Name="Separator" />[CRLF] <StandardAttribute Name="Comment" Attribute="Comment" Prefix="" Suffix="" Alignment="LEFT" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Icon" Attribute="IconPicture" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <StandardAttribute Name="Force top align" Attribute="TextStyle" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF]</Form> ELnkShowStrn=Yes ELnkShowName=Yes ExtendedLink_SymbolLayout=<Form>[CRLF] <Form Name="Center" >[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] </Form>[CRLF] <Form Name="Source" >[CRLF] </Form>[CRLF] <Form Name="Destination" >[CRLF] </Form>[CRLF]</Form> FileObject.Stereotype=No FileObject.DisplayName=Yes FileObject.LocationOrName=No FileObject.IconPicture=No FileObject.TextStyle=No FileObject.IconMode=Yes FileObject_SymbolLayout=<Form>[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <ExclusiveChoice Name="Exclusive Choice" Mandatory="Yes" Display="HorizontalRadios" >[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Location" Attribute="LocationOrName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] </ExclusiveChoice>[CRLF] <StandardAttribute Name="Icon" Attribute="IconPicture" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <StandardAttribute Name="Force top align" Attribute="TextStyle" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF]</Form> Package.Stereotype=Yes Package.Comment=No Package.IconPicture=No Package.TextStyle=No Package_SymbolLayout=<Form>[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <Separator Name="Separator" />[CRLF] <StandardAttribute Name="Comment" Attribute="Comment" Prefix="" Suffix="" Alignment="LEFT" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Icon" Attribute="IconPicture" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <StandardAttribute Name="Force top align" Attribute="TextStyle" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF]</Form> Display Model Version=Yes Table.Stereotype=Yes Table.DisplayName=Yes Table.OwnerDisplayName=No Table.Columns=Yes Table.Columns._Filter="All Columns" PDMCOLNALL Table.Columns._Columns=Stereotype DataType KeyIndicator Table.Columns._Limit=-5 Table.Keys=No Table.Keys._Columns=Stereotype Indicator Table.Indexes=No Table.Indexes._Columns=Stereotype Table.Triggers=No Table.Triggers._Columns=Stereotype Table.Comment=No Table.IconPicture=No Table.TextStyle=No Table_SymbolLayout=<Form>[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <ExclusiveChoice Name="Exclusive Choice" Mandatory="Yes" Display="HorizontalRadios" >[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Owner and Name" Attribute="OwnerDisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] </ExclusiveChoice>[CRLF] <Separator Name="Separator" />[CRLF] <StandardCollection Name="Columns" Collection="Columns" Columns="Stereotype No\r\nDisplayName Yes\r\nDataType No\r\nSymbolDataType No &quot;Domain or Data type&quot;\r\nDomain No\r\nKeyIndicator No\r\nIndexIndicator No\r\nNullStatus No" Filters="&quot;All Columns&quot; PDMCOLNALL &quot;&quot;\r\n&quot;PK Columns&quot; PDMCOLNPK &quot;\&quot;PRIM \&quot;TRUE\&quot; TRUE\&quot;&quot;\r\n&quot;Key Columns&quot; PDMCOLNKEY &quot;\&quot;KEYS \&quot;TRUE\&quot; TRUE\&quot;&quot;" HasLimit="Yes" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardCollection Name="Keys" Collection="Keys" Columns="Stereotype No\r\nDisplayName Yes\r\nIndicator No" HasLimit="No" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardCollection Name="Indexes" Collection="Indexes" Columns="Stereotype No\r\nDisplayName Yes\r\nIndicator No" HasLimit="No" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardCollection Name="Triggers" Collection="Triggers" Columns="Stereotype No\r\nDisplayName Yes" HasLimit="No" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Comment" Attribute="Comment" Prefix="" Suffix="" Alignment="LEFT" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Icon" Attribute="IconPicture" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <StandardAttribute Name="Force top align" Attribute="TextStyle" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF]</Form> View.Stereotype=Yes View.DisplayName=Yes View.OwnerDisplayName=No View.Columns=Yes View.Columns._Columns=DisplayName View.Columns._Limit=-5 View.TemporaryVTables=Yes View.Indexes=No View.Comment=No View.IconPicture=No View.TextStyle=No View_SymbolLayout=<Form>[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <ExclusiveChoice Name="Exclusive Choice" Mandatory="Yes" Display="HorizontalRadios" >[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Owner and Name" Attribute="OwnerDisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] </ExclusiveChoice>[CRLF] <Separator Name="Separator" />[CRLF] <StandardCollection Name="Columns" Collection="Columns" Columns="DisplayName No\r\nExpression No\r\nDataType No\r\nSymbolDataType No &quot;Domain or Data type&quot;\r\nIndexIndicator No" HasLimit="Yes" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardCollection Name="Tables" Collection="TemporaryVTables" Columns="Name Yes" HasLimit="No" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardCollection Name="Indexes" Collection="Indexes" Columns="DisplayName Yes" HasLimit="No" HideEmpty="No" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Comment" Attribute="Comment" Prefix="" Suffix="" Alignment="LEFT" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Icon" Attribute="IconPicture" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <StandardAttribute Name="Force top align" Attribute="TextStyle" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF]</Form> Procedure.Stereotype=No Procedure.DisplayName=Yes Procedure.OwnerDisplayName=No Procedure.Comment=No Procedure.IconPicture=No Procedure.TextStyle=No Procedure_SymbolLayout=<Form>[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <ExclusiveChoice Name="Exclusive Choice" Mandatory="Yes" Display="HorizontalRadios" >[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Owner and Name" Attribute="OwnerDisplayName" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="No" />[CRLF] </ExclusiveChoice>[CRLF] <Separator Name="Separator" />[CRLF] <StandardAttribute Name="Comment" Attribute="Comment" Prefix="" Suffix="" Alignment="LEFT" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Icon" Attribute="IconPicture" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF] <StandardAttribute Name="Force top align" Attribute="TextStyle" Prefix="" Suffix="" Alignment="CNTR" Caption="" Mandatory="Yes" />[CRLF]</Form> Reference.Cardinality=No Reference.ImplementationType=No Reference.ChildRole=Yes Reference.Stereotype=Yes Reference.DisplayName=No Reference.ForeignKeyConstraintName=No Reference.JoinExpression=No Reference.Integrity=No Reference.ParentRole=Yes Reference_SymbolLayout=<Form>[CRLF] <Form Name="Source" >[CRLF] <StandardAttribute Name="Cardinality" Attribute="Cardinality" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Implementation" Attribute="ImplementationType" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Child Role" Attribute="ChildRole" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] </Form>[CRLF] <Form Name="Center" >[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Caption="" Mandatory="No" />[CRLF] <ExclusiveChoice Name="Exclusive Choice" Mandatory="No" Display="HorizontalRadios" >[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Cons&amp;traint Name" Attribute="ForeignKeyConstraintName" Prefix="" Suffix="" Caption="Cons&amp;traint Name" Mandatory="No" />[CRLF] <StandardAttribute Name="Join" Attribute="JoinExpression" Prefix="" Suffix="" Caption="Join" Mandatory="No" />[CRLF] </ExclusiveChoice>[CRLF] <StandardAttribute Name="Referential integrity" Attribute="Integrity" Prefix="" Suffix="" Caption="Referential integrity" Mandatory="No" />[CRLF] </Form>[CRLF] <Form Name="Destination" >[CRLF] <StandardAttribute Name="Parent Role" Attribute="ParentRole" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] </Form>[CRLF]</Form> ViewReference.ChildRole=Yes ViewReference.Stereotype=Yes ViewReference.DisplayName=No ViewReference.JoinExpression=No ViewReference.ParentRole=Yes ViewReference_SymbolLayout=<Form>[CRLF] <Form Name="Source" >[CRLF] <StandardAttribute Name="Child Role" Attribute="ChildRole" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] </Form>[CRLF] <Form Name="Center" >[CRLF] <StandardAttribute Name="Stereotype" Attribute="Stereotype" Prefix="&lt;&lt;" Suffix="&gt;&gt;" Caption="" Mandatory="No" />[CRLF] <ExclusiveChoice Name="Exclusive Choice" Mandatory="No" Display="HorizontalRadios" >[CRLF] <StandardAttribute Name="Name" Attribute="DisplayName" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] <StandardAttribute Name="Join Expression" Attribute="JoinExpression" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] </ExclusiveChoice>[CRLF] </Form>[CRLF] <Form Name="Destination" >[CRLF] <StandardAttribute Name="Parent Role" Attribute="ParentRole" Prefix="" Suffix="" Caption="" Mandatory="No" />[CRLF] </Form>[CRLF]</Form> [DisplayPreferences\Symbol] [DisplayPreferences\Symbol\FRMEOBJ] STRNFont=新宋体,8,N STRNFont color=0 0 0 DISPNAMEFont=新宋体,8,N DISPNAMEFont color=0 0 0 LABLFont=新宋体,8,N LABLFont color=0 0 0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Width=6000 Height=2000 Brush color=255 255 255 Fill Color=Yes Brush style=6 Brush bitmap mode=12 Brush gradient mode=64 Brush gradient color=192 192 192 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 255 128 128 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\FRMELNK] CENTERFont=新宋体,8,N CENTERFont color=0 0 0 Line style=1 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Brush color=255 255 255 Fill Color=Yes Brush style=1 Brush bitmap mode=12 Brush gradient mode=0 Brush gradient color=118 118 118 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 128 128 255 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\FILO] OBJSTRNFont=新宋体,8,N OBJSTRNFont color=0 0 0 DISPNAMEFont=新宋体,8,N DISPNAMEFont color=0 0 0 LCNMFont=新宋体,8,N LCNMFont color=0 0 0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Width=4800 Height=3600 Brush color=255 255 255 Fill Color=Yes Brush style=1 Brush bitmap mode=12 Brush gradient mode=0 Brush gradient color=118 118 118 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 0 0 255 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\PDMPCKG] STRNFont=新宋体,8,N STRNFont color=0 0 0 DISPNAMEFont=新宋体,8,N DISPNAMEFont color=0 0 0 LABLFont=新宋体,8,N LABLFont color=0 0 0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Width=4800 Height=4000 Brush color=255 255 192 Fill Color=Yes Brush style=6 Brush bitmap mode=12 Brush gradient mode=65 Brush gradient color=255 255 255 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 178 178 178 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\TABL] STRNFont=新宋体,10,N STRNFont color=0 0 0 DISPNAMEFont=新宋体,8,N DISPNAMEFont color=0 0 0 OWNRDISPNAMEFont=新宋体,8,N OWNRDISPNAMEFont color=0 0 0 ColumnsFont=新宋体,8,N ColumnsFont color=0 0 0 TablePkColumnsFont=新宋体,8,U TablePkColumnsFont color=0 0 0 TableFkColumnsFont=新宋体,8,N TableFkColumnsFont color=0 0 0 KeysFont=新宋体,8,N KeysFont color=0 0 0 IndexesFont=新宋体,8,N IndexesFont color=0 0 0 TriggersFont=新宋体,8,N TriggersFont color=0 0 0 LABLFont=新宋体,8,N LABLFont color=0 0 0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Width=4800 Height=4000 Brush color=178 214 252 Fill Color=Yes Brush style=6 Brush bitmap mode=12 Brush gradient mode=65 Brush gradient color=255 255 255 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 0 128 192 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\VIEW] STRNFont=新宋体,8,N STRNFont color=0 0 0 DISPNAMEFont=新宋体,8,N DISPNAMEFont color=0 0 0 OWNRDISPNAMEFont=新宋体,8,N OWNRDISPNAMEFont color=0 0 0 ColumnsFont=新宋体,8,N ColumnsFont color=0 0 0 TablePkColumnsFont=新宋体,8,U TablePkColumnsFont color=0 0 0 TableFkColumnsFont=新宋体,8,N TableFkColumnsFont color=0 0 0 TemporaryVTablesFont=新宋体,8,N TemporaryVTablesFont color=0 0 0 IndexesFont=新宋体,8,N IndexesFont color=0 0 0 LABLFont=新宋体,8,N LABLFont color=0 0 0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Width=4800 Height=4000 Brush color=208 208 255 Fill Color=Yes Brush style=6 Brush bitmap mode=12 Brush gradient mode=65 Brush gradient color=255 255 255 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 128 128 192 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\PROC] STRNFont=新宋体,8,N STRNFont color=0 0 0 DISPNAMEFont=新宋体,8,N DISPNAMEFont color=0 0 0 OWNRDISPNAMEFont=新宋体,8,N OWNRDISPNAMEFont color=0 0 0 LABLFont=新宋体,8,N LABLFont color=0 0 0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Width=4000 Height=1000 Brush color=255 255 192 Fill Color=Yes Brush style=6 Brush bitmap mode=12 Brush gradient mode=65 Brush gradient color=255 255 255 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 128 108 0 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\REFR] SOURCEFont=新宋体,8,N SOURCEFont color=0 0 0 CENTERFont=新宋体,8,N CENTERFont color=0 0 0 DESTINATIONFont=新宋体,8,N DESTINATIONFont color=0 0 0 Line style=1 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Brush color=255 255 255 Fill Color=Yes Brush style=1 Brush bitmap mode=12 Brush gradient mode=0 Brush gradient color=118 118 118 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 0 128 192 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\VREF] SOURCEFont=新宋体,8,N SOURCEFont color=0 0 0 CENTERFont=新宋体,8,N CENTERFont color=0 0 0 DESTINATIONFont=新宋体,8,N DESTINATIONFont color=0 0 0 Line style=1 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Brush color=255 255 255 Fill Color=Yes Brush style=1 Brush bitmap mode=12 Brush gradient mode=0 Brush gradient color=118 118 118 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 128 128 192 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\USRDEPD] OBJXSTRFont=新宋体,8,N OBJXSTRFont color=0 0 0 Line style=1 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Brush color=255 255 255 Fill Color=Yes Brush style=1 Brush bitmap mode=12 Brush gradient mode=0 Brush gradient color=118 118 118 Brush background image= Custom shape= Custom text mode=0 Pen=2 0 128 128 255 Shadow color=192 192 192 Shadow=0 [DisplayPreferences\Symbol\Free Symbol] Free TextFont=新宋体,8,N Free TextFont color=0 0 0 Line style=0 AutoAdjustToText=Yes Keep aspect=No Keep center=No Keep size=No Brush color=255 255 255 Fill Color=Yes Brush style=1 Brush bitmap mode=12 Brush gradient mode=0 Brush gradient color=118 118 118 Brush background image= Custom shape= Custom text mode=0 Pen=1 0 0 0 255 Shadow color=192 192 192 Shadow=0 (2280, 128972) ((315,354), (433,354)) 1 15 1521706257 1522399274 ((118,137911), (3606,139161)) ((518,138536),(3206,138536)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521710488 1522301998 ((-32542,131813), (-18882,146342)) ((-32142,145942),(-32142,132438),(-19282,132438)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521770349 1522399160 ((-19307,147483), (-18057,152962)) ((-18682,152562),(-18682,147883)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521771362 1522722888 ((-2768,147483), (-1518,154573)) ((-2143,154173),(-2143,147883)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521773101 1522399245 ((118,145689), (8052,147828)) ((518,146089),(4085,146089),(4085,147203),(7652,147203)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521783613 1522301998 ((-36148,140470), (-18882,141720)) ((-19282,141095),(-35748,141095)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521791466 1522721783 ((-35006,116007), (-18882,117257)) ((-34606,116632),(-19282,116632)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521792428 1522721669 ((-37186,123158), (-18882,124408)) ((-36786,123783),(-19282,123783)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521792909 1522721672 ((-36959,130601), (-18882,131851)) ((-36559,131226),(-19282,131226)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522045168 1522399263 ((26779,91096), (28029,95555)) ((27404,91496),(27404,95155)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522046100 1522399263 ((118,99478), (28233,125231)) ((518,124831),(27608,124831),(27608,99878)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522046451 1522399258 ((-10672,88961), (-7729,112209)) ((-8129,89361),(-10047,89361),(-10047,111809)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522046456 1522399261 ((6477,85210), (12264,86460)) ((6877,85835),(11864,85835)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522112691 1522399105 ((-41320,55031), (-36214,56281)) ((-36614,55656),(-40920,55656)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522112694 1522399105 ((-16713,57856), (-15463,112209)) ((-16088,58256),(-16088,111809)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522114406 1522399245 ((16796,151962), (26808,154513)) ((18480,152362),(26408,152362),(26408,153888),(17196,153888)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 4 1522115961 1522399266 ((16844,105298), (20156,145559)) ((17244,105698),(19531,105698),(19531,145159)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522115983 1522399266 ((11839,91096), (13089,104099)) ((12464,103699),(12464,91496)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522118676 1522721912 ((-21193,102395), (-18057,112209)) ((-20793,102795),(-18682,102795),(-18682,111809)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522119056 1522721912 ((-37481,102138), (-32899,103388)) ((-37081,102763),(-33299,102763)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522120295 1522399221 ((-24810,167598), (-19344,168848)) ((-19744,168223),(-24410,168223)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522138613 1522399095 ((-24954,40604), (-19115,41854)) ((-19515,41229),(-24554,41229)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522138618 1522399095 ((-34348,42015), (-12721,130651)) ((-13121,42415),(-13121,75553),(-33948,75553),(-33948,130026),(-19282,130026)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522138705 1522399092 ((-43671,34853), (-38546,36103)) ((-38946,35478),(-43271,35478)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522141157 1522399066 ((-25433,19586), (-17431,20836)) ((-17831,20211),(-25033,20211)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522141232 1522399094 ((-43321,40604), (-38546,41854)) ((-42921,41229),(-38946,41229)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522141316 1522399068 ((-44663,18136), (-38253,19386)) ((-38653,18761),(-44263,18761)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522142006 1522399038 ((-42272,4919), (-33459,6169)) ((-41872,5544),(-33859,5544)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522215975 1522398810 ((62000,154589), (65163,155839)) ((62400,155214),(64763,155214)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522216015 1522398810 ((118,129221), (50900,156036)) ((50500,155636),(41338,155636),(41338,129846),(518,129846)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522216251 1522398808 ((62486,144990), (65163,146240)) ((62886,145615),(64763,145615)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522216380 1522399245 ((20100,145134), (46631,146384)) ((46231,145759),(20500,145759)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522220508 1541490687 ((77597,148397), (88375,149647)) ((87975,149022),(77997,149022)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522220546 1541490615 ((59369,64259), (99115,147363)) ((98715,146963),(98715,64884),(59769,64884)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522224364 1522399274 ((18744,122602), (80891,138598)) ((80491,123002),(74505,123002),(74505,137973),(19144,137973)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522225874 1522398795 ((118,126647), (80417,130069)) ((80017,129669),(72926,129669),(72926,127272),(518,127272)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522226077 1522398792 ((118,130712), (79609,136199)) ((79209,135799),(38938,135799),(38938,131337),(518,131337)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522226272 1522399075 ((-38306,48140), (83441,113756)) ((83041,113356),(83041,94555),(-37681,94555),(-37681,48540)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522303390 1542180981 ((56152,72245), (57402,98630)) ((56777,98230),(56777,72645)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522303410 1542180981 ((-9472,101195), (50367,112209)) ((49967,101595),(-8847,101595),(-8847,111809)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522304178 1538200596 ((35098,10654), (42842,11904)) ((35498,11279),(42442,11279)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522386868 1522398605 ((36870,42888), (49607,52723)) ((49207,52323),(49207,43513),(37270,43513)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522387461 1522399143 ((50982,72245), (52232,75672)) ((51607,75272),(51607,72645)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522387526 1522399245 ((20100,78871), (40538,151445)) ((40138,79271),(40138,150820),(20500,150820)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522389232 1522398872 ((33605,58216), (43845,60017)) ((34005,59617),(34005,58841),(43445,58841)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 2 1522390434 1522398601 ((33005,54232), (43845,55482)) ((33405,54857),(43445,54857)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522390644 1522398535 ((33522,26819), (52232,52723)) ((33922,27219),(51607,27219),(51607,52323)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522391366 1522398601 ((59369,61859), (62562,63109)) ((62162,62484),(59769,62484)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522391379 1522398616 ((69534,56429), (70784,60444)) ((70159,60044),(70159,56829)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522396648 1522398621 ((52182,34420), (64724,52723)) ((64324,34820),(52807,34820),(52807,52323)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522396864 1522398618 ((53382,44918), (64185,52723)) ((63785,45318),(54007,45318),(54007,52323)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522659209 1522724919 ((-101497,31459), (51032,102938)) ((-101097,102538),(-101097,31859),(50407,31859),(50407,52323)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522660753 1522724919 ((-90857,129887), (-79217,131137)) ((-79617,130512),(-90457,130512)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522660820 1522719674 ((-64973,127931), (-18882,129181)) ((-64573,128556),(-19282,128556)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522721755 1522721783 ((-55169,48103), (20574,117096)) ((-49770,116696),(-54769,116696),(-54769,48728),(20174,48728)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522724329 1522724329 ((-100297,77071), (65163,153166)) ((-99897,102538),(-99897,77471),(35821,77471),(35821,152541),(64763,152541)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522725331 1522725331 ((-90857,117058), (-77798,118308)) ((-78198,117683),(-90457,117683)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522733188 1539745800 ((-90857,102513), (-73424,103763)) ((-73824,103138),(-90457,103138)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1522745521 1539745800 ((-84902,89423), (-73424,90673)) ((-73824,90048),(-84502,90048)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1533109967 1533110262 ((-119919,81722), (-12496,112209)) ((-119519,94842),(-119519,82122),(-13121,82122),(-13121,111809)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1533115827 1533116074 ((-112642,102747), (-38745,153053)) ((-112242,103147),(-109969,103147),(-109969,152428),(-39145,152428)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1533115888 1533115888 ((-121119,61859), (43845,95242)) ((-120719,94842),(-120719,78671),(37870,78671),(37870,62484),(43445,62484)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1538202362 1580624566 ((25795,-5333), (33632,-148)) ((26195,-2272),(26195,-548),(32832,-548),(32832,-4708),(32232,-4708)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 4 1538202471 1580609625 ((54116,11057), (59346,12307)) ((58946,11682),(54516,11682)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1538202492 1580609625 ((65496,8109), (66746,11214)) ((66121,10814),(66121,8509)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1538202586 1580624567 ((46201,-5622), (66746,1711)) ((46601,-5222),(66121,-5222),(66121,1311)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1538202588 1580624567 ((31832,-6533), (34857,-5283)) ((34457,-5908),(32232,-5908)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1538202927 1580624563 ((31729,2823), (42842,4073)) ((32129,3448),(42442,3448)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1538202929 1580624566 ((24370,-2672), (25620,1487)) ((24995,1087),(24995,-2272)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1539746524 1539746524 ((-65536,108004), (-18882,114533)) ((-65136,108404),(-65136,113908),(-19282,113908)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1541490540 1541490615 ((-90857,91755), (97915,147363)) ((97515,146963),(97515,92155),(-20193,92155),(-20193,111251),(-90457,111251)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1542179374 1542180977 ((47632,114935), (48882,118924)) ((48257,115335),(48257,118524)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1542179394 1542180977 ((64837,114935), (66087,117902)) ((65462,115335),(65462,117502)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1542179438 1542180977 ((118,111784), (42403,113034)) ((42003,112409),(518,112409)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1580625109 1580625137 ((83723,16521), (99015,25885)) ((86540,16921),(86540,25485),(98615,25485),(98615,20467),(84123,20467)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 4 1580625333 1580625381 ((71758,1788), (77807,3038)) ((77407,2413),(72158,2413)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1580625352 1580625378 ((81744,4384), (82994,12281)) ((82369,4784),(82369,11881)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1580625421 1580625458 ((71758,4759), (92510,6009)) ((92110,5384),(72158,5384)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1580625435 1581324463 ((95430,5190), (96680,9775)) ((96055,5590),(96055,9375)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1580869150 1581324463 ((101766,14015), (107589,15265)) ((102166,14640),(107189,14640)) 1 1 12615680 12632256 CENTER 0 新宋体,8,N SOURCE 0 新宋体,8,N DESTINATION 0 新宋体,8,N 1521705853 1524811003 -1 ((-19282,111809), (518,147883)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521706107 1522399274 -1 ((3206,132976), (19144,143474)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 Table.Stereotype 1 Table.DisplayName 1 Table.OwnerDisplayName 0 Table.Columns 1 -5 "All Columns" PDMCOLNALL Stereotype DataType KeyIndicator Table.Keys 0 0 "" "" Stereotype Indicator Table.Indexes 0 0 "" "" Stereotype Table.Triggers 0 0 "" "" Stereotype Table.Comment 0 1521709482 1582277412 -1 ((-39145,145942), (-25139,158914)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521710820 1522399160 -1 ((-25547,152562), (-13473,158934)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521770649 1522722888 -1 ((-9920,154173), (5632,165495)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521773028 1522399245 -1 ((7652,145159), (20500,156481)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521782818 1522116249 -1 ((-49754,136272), (-35748,144294)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521791032 1528184156 -1 ((-49770,113922), (-34606,119470)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521791865 1522721669 -1 ((-48860,121016), (-36786,126564)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1521791901 1522721672 -1 ((-49407,129426), (-36559,134150)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522044163 1522399263 -1 ((20787,95155), (34021,99878)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522044465 1522399261 -1 ((11864,80174), (30892,91496)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522046351 1524811003 -1 ((-8675,84638), (6877,89361)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522050428 1522399063 -1 ((-38653,14550), (-25033,25872)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522112533 1522399103 -1 ((-53768,52470), (-40920,58842)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522112617 1522399105 -1 ((-36614,53594), (-15488,58256)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522115893 1522399266 -1 ((378,103699), (17244,107698)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522118136 1522721912 -1 ((-33299,95709), (-20793,109817)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522118840 1522721910 -1 ((-49529,99005), (-37081,106855)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522120039 1522399218 -1 ((-36872,165037), (-24410,171409)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522120250 1522399221 -1 ((-19744,166032), (-8442,170031)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522138190 1542086220 -1 ((-38946,33918), (-24554,48540)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522138561 1522399095 -1 ((-19515,38416), (-6728,42415)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522138655 1522399092 -1 ((-56119,32459), (-43271,38831)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522139643 1522399094 -1 ((-55369,40423), (-42921,47585)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522141104 1522399066 -1 ((-17831,15073), (-5383,22235)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522141269 1522399068 -1 ((-57111,15575), (-44263,21947)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522141745 1522399038 -1 ((-50946,1067), (-41872,9775)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522141950 1522399038 -1 ((-33859,2358), (-21783,8730)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522142154 1522399038 -1 ((-14870,1448), (-1842,9470)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522215010 1541748859 -1 ((64763,140885), (77997,157159)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522215792 1522398810 -1 ((50500,153048), (62400,157047)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522216155 1522398808 -1 ((46231,143710), (62886,147709)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522217089 1541490687 -1 ((87975,146963), (103049,157789)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522217487 1522398601 -1 ((43445,52323), (59769,72645)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522223818 1522398796 -1 ((80491,120228), (94111,125776)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522224403 1522398795 -1 ((80017,126895), (93637,132443)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522226008 1522398792 -1 ((79209,133025), (92829,138573)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522226140 1522398801 -1 ((81729,113356), (95349,118904)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522227700 1542179018 -1 ((84563,94201), (96637,105523)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522300652 1542180972 -1 ((42220,118524), (54294,124896)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522303116 1542180981 -1 ((49967,98230), (63587,105428)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522303730 1538200596 -1 ((42442,2610), (54516,12282)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522303928 1522398635 -1 ((23424,7923), (35498,14295)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522379808 1522398605 -1 ((20174,37439), (37270,49587)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522387387 1522399143 -1 ((38718,75272), (55734,79271)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522387906 1522398872 -1 ((20470,59617), (36794,74239)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522390106 1535437026 -1 ((20171,50021), (33405,59693)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522390511 1522398535 -1 ((22234,23620), (33922,30818)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522390830 1522398616 -1 ((62383,52106), (77935,56829)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522391304 1522398550 -1 ((62162,60044), (74010,64043)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522396385 1522398621 -1 ((64324,30809), (76786,38831)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522396809 1522398618 -1 ((63785,41307), (76247,49329)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522397182 1522398632 -1 ((60231,18019), (72693,23567)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522397511 1522398629 -1 ((41533,16306), (57085,23504)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522398032 1535615091 -1 ((22716,17129), (36336,22677)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522658325 1522724919 -1 ((-109337,102538), (-90457,132828)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522660695 1522723641 -1 ((-79617,123965), (-64573,137059)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522724973 1522725331 -1 ((-78198,113051), (-65736,119423)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522726076 1522732894 -1 ((-125389,125206), (-111769,131578)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1522732897 1539745800 -1 ((-73824,83922), (-57114,108404)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522745162 1522745515 -1 ((-97736,85264), (-84502,94832)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1522745726 1522745726 -1 ((-125978,117636), (-113904,123184)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1533108597 1533116074 -1 ((-126796,94842), (-112242,111452)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1538200619 1538202954 -1 ((60084,1311), (72158,8509)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1538201545 1580624566 -1 ((20158,-11944), (32232,-2272)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1538202419 1580609625 -1 ((58946,10814), (73218,15337)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1538202537 1580624567 -1 ((34457,-7542), (46601,-2903)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1538202617 1580624563 -1 ((20655,1087), (32129,5810)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1542177985 1542179426 -1 ((57941,117502), (72983,124214)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1542179013 1542180977 -1 ((42003,107173), (68001,115335)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1580624574 1580625137 -1 ((76332,11881), (88406,21427)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1580624625 1581324463 -1 ((89944,9375), (102166,16974)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1580624663 1580625381 -1 ((77407,42), (87097,4784)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1580624686 1580625458 -1 ((92110,601), (102656,5590)) 0 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 1 1580869056 1580869177 -1 ((107189,12279), (119263,17002)) 12615680 16570034 12632256 STRN 0 新宋体,10,N DISPNAME 0 新宋体,8,N OWNRDISPNAME 0 新宋体,8,N Columns 0 新宋体,8,N TablePkColumns 0 新宋体,8,U TableFkColumns 0 新宋体,8,N Keys 0 新宋体,8,N Indexes 0 新宋体,8,N Triggers 0 新宋体,8,N LABL 0 新宋体,8,N 6 65 16777215 164FB8D9-0905-474E-87B0-2A812FEB067D pms_product pms_product 1521705853 zhenghong 1542179559 zhenghong 商品信息 8AF7359B-13B5-4473-A6E3-242871D32BD6 id id 1521705876 zhenghong 1542179474 zhenghong bigint 1 1 B6BFD1D9-71C4-49F0-A761-EB23FDF9EF89 brand_id brand_id 1521706257 zhenghong 1521706277 zhenghong bigint EFA57D19-DB53-47A2-9E13-6F237D2B8765 product_category_id product_category_id 1521773101 zhenghong 1521773123 zhenghong bigint 9E4E0B0C-6DC6-4602-A1BB-BEF479CC25B4 feight_template_id feight_template_id 1521783613 zhenghong 1521783636 zhenghong bigint 122FA791-93A8-4854-AB3B-87B68387B78D product_attribute_category_id product_attribute_category_id 1522046100 zhenghong 1522046125 zhenghong bigint C67A0956-CA1B-4ADF-878F-13B1538C122A name name 1521705899 zhenghong 1521771550 zhenghong varchar(64) 64 1 EC9E5B4D-23BF-425E-9781-90BD8BC6D802 pic pic 1521705899 zhenghong 1521770319 zhenghong varchar(255) 255 BAAD6FF5-DD35-4EFA-8B78-E4DB32CCFC06 product_sn product_sn 1521706312 zhenghong 1521771591 zhenghong 货号 varchar(64) 64 1 FC369A8B-64C8-4931-A1E2-80F902E4FE4A delete_status delete_status 1521773185 zhenghong 1521773247 zhenghong 删除状态:0->未删除;1->已删除 int(1) 1 12E77491-5C20-442C-9E04-DE7192B496D3 publish_status publish_status 1521706416 zhenghong 1521708284 zhenghong 上架状态:0->下架;1->上架 int(1) 1 7E4B57E7-DCCD-4D96-93E0-E3A2E0D9B2F8 new_status new_status 1521708193 zhenghong 1521708312 zhenghong 新品状态:0->不是新品;1->新品 int(1) 1 C32DF9EC-A332-4DB2-A56B-74E0F6168FF1 recommand_status recommand_status 1521708193 zhenghong 1521708410 zhenghong 推荐状态;0->不推荐;1->推荐 int(1) 1 47876735-91B4-42FC-A052-22640AC057D8 verify_status verify_status 1521710674 zhenghong 1521710725 zhenghong 审核状态:0->未审核;1->审核通过 int(1) 1 07A57EB8-410D-4E59-AD0C-8A1AD4DD3951 sort sort 1521708381 zhenghong 1521708544 zhenghong 排序 int 93478201-C851-481D-B110-56414379F2A3 sale sale 1521710587 zhenghong 1521710613 zhenghong 销量 int C5845093-F658-46C1-B381-6585F2337029 price price 1521706312 zhenghong 1521706372 zhenghong decimal(10,2) 10 2 8A8C872F-23FC-42E2-BC8F-EA4374E0C4ED promotion_price promotion_price 1521770729 zhenghong 1522720423 zhenghong 促销价格 decimal(10,2) 10 2 DADE2195-8B3B-42F2-9C5A-847124C0C327 gift_growth gift_growth 1527561524 zhenghong 1535963779 zhenghong 赠送的成长值 0 int 9ECDB8CD-593F-431C-B580-756BC29F0E69 gift_point gift_point 1521771016 zhenghong 1535963789 zhenghong 赠送的积分 0 int 1C3E16DC-0AB6-489F-83D6-CB92058E8AD6 use_point_limit use_point_limit 1521771103 zhenghong 1521771156 zhenghong 限制使用的积分数 int 8DBA22FF-9FEF-4E36-8B0D-D0712EB1AFDD sub_title sub_title 1521773700 zhenghong 1521773733 zhenghong 副标题 varchar(255) 255 074C30CA-F802-4EA3-8B92-AE332D8FE237 description description 1521774517 zhenghong 1521791536 zhenghong 商品描述 text 50335AAB-9D8F-4794-A706-A51E04285498 original_price original_price 1521775224 zhenghong 1521775254 zhenghong 市场价 decimal(10,2) 10 2 F1511198-BFDC-4CA7-A79F-6BEA7863E4CA stock stock 1521775417 zhenghong 1521775449 zhenghong 库存 int 9B83BF24-B43F-41AE-93AA-6E9723B41F3D low_stock low_stock 1521775417 zhenghong 1521775458 zhenghong 库存预警值 int 29B50C2C-38C6-4080-83F7-309CC040B9D3 unit unit 1521775486 zhenghong 1521775515 zhenghong 单位 varchar(16) 16 F07F26B4-DC76-4F4D-8FF7-6E299DAE613A weight weight 1521775567 zhenghong 1521775649 zhenghong 商品重量,默认为克 decimal(10,2) 10 2 730DF7D7-E307-4039-BFD4-04B4E145776D preview_status preview_status 1521782409 zhenghong 1521782456 zhenghong 是否为预告商品:0->不是;1->是 int(1) 1 BB566C0D-3C0A-42EB-AAFE-89E56EDB5AF3 service_ids service_ids 1521783875 zhenghong 1521784127 zhenghong 以逗号分割的产品服务:1->无忧退货;2->快速退款;3->免费包邮 varchar(64) 64 25E62F7C-D9D8-4B61-8337-7A94F4A1F969 keywords keywords 1521784236 zhenghong 1521784353 zhenghong varchar(255) 255 730BAD96-E459-412D-B812-E9BDBDF6DC1B note note 1521784236 zhenghong 1521784353 zhenghong varchar(255) 255 22BBCF62-4B72-4C69-BFE1-81F1378D4703 album_pics album_pics 1522046916 zhenghong 1522046981 zhenghong 画册图片,连产品图片限制为5张,以逗号分割 varchar(255) 255 27D69BFE-AEE5-4095-9688-3F11B0A3F5B3 detail_title detail_title 1521784236 zhenghong 1521784353 zhenghong varchar(255) 255 66C1D3B2-DFB9-472B-9B46-054F4A995EC8 detail_desc detail_desc 1521784236 zhenghong 1521784353 zhenghong text 4407B70B-168F-489C-86FC-913130573035 detail_html detail_html 1522047002 zhenghong 1522047039 zhenghong 产品详情网页内容 text A16D766A-2FAC-4806-B5B6-7BCE643BD125 detail_mobile_html detail_mobile_html 1522047022 zhenghong 1522047069 zhenghong 移动端网页详情 text 125B7984-46F6-4A6B-986E-637075A7B792 promotion_start_time promotion_start_time 1522721079 zhenghong 1522721101 zhenghong 促销开始时间 datetime CD7F32DC-B2C4-4F0B-86A6-C3EF8BBC11E4 promotion_end_time promotion_end_time 1522721096 zhenghong 1522721135 zhenghong 促销结束时间 datetime AF663519-4F0B-438D-9F86-A3B4494C91B5 promotion_per_limit promotion_per_limit 1522721333 zhenghong 1522721377 zhenghong 活动限购数量 int 2870F419-7F16-4C2C-BEE8-69AD3C322429 promotion_type promotion_type 1522721953 zhenghong 1542179623 zhenghong 促销类型:0->没有促销使用原价;1->使用促销价;2->使用会员价;3->使用阶梯价格;4->使用满减价格;5->限时购 int(1) 1 BC8E43C1-F35D-4BA2-A622-D282035B08CF product_category_name product_category_name 1524810975 zhenghong 1524811010 zhenghong 产品分类名称 varchar(255) 255 7B4B3817-5E34-476B-B9DF-20FC181A2FC4 brand_name brand_name 1524811003 zhenghong 1524811036 zhenghong 品牌名称 varchar(255) 255 8FF04A0E-BF3D-4A1B-B05D-FAD79976F256 Key_1 Key_1 1521705876 zhenghong 1542179474 zhenghong C003EAE8-4D2B-4CD2-910D-617ED63DCFDE index_name index_name 1521771497 zhenghong 1521771550 zhenghong F55EF3D5-E93C-4AAE-95BE-5E91AD084511 1521771542 zhenghong 1521771550 zhenghong EC80C139-CCE0-49CF-AF77-52A1C35DC8AC index_product_sn index_product_sn 1521771497 zhenghong 1521772268 zhenghong 1 D0E6B1E9-C1D3-40AD-BCA6-928C253C57CC 1521771579 zhenghong 1521771591 zhenghong 8DB91C27-0C0C-42C1-9C82-B99A752DFFDE pms_brand pms_brand 1521706107 zhenghong 1522116692 zhenghong 品牌表 BA330DA5-20D1-42FB-A362-94D07D30A4B6 id id 1521706123 zhenghong 1521706154 zhenghong bigint 1 1 45F3DFE2-8F5D-4CDF-9FE5-4A6904BB07D4 name name 1521706148 zhenghong 1521706194 zhenghong varchar(64) 64 CDFF668D-2DBA-4D99-8E76-B05114B8EAD7 first_letter first_letter 1522116447 zhenghong 1522116473 zhenghong 首字母 varchar(8) 8 9E323340-1826-471A-93EE-92C45769B194 sort sort 1522116482 zhenghong 1522116540 zhenghong int 97FF98F7-8A09-4C40-8D52-FC32F0021DF9 factory_status factory_status 1522116482 zhenghong 1522116560 zhenghong 是否为品牌制造商:0->不是;1->是 int(1) 1 5F86AE1D-14C6-421F-9065-6B3248678ECF show_status show_status 1522116540 zhenghong 1522116692 zhenghong int(1) 1 A8CA06B3-8F05-4D05-A9E0-B979D053C74A product_count product_count 1522116540 zhenghong 1522116717 zhenghong 产品数量 int F6BC9D0C-3D20-4CB3-B906-0D660320FC88 product_comment_count product_comment_count 1522116540 zhenghong 1522116728 zhenghong 产品评论数量 int 28BF01C1-2534-46E1-8D03-3D1304399694 logo logo 1522116540 zhenghong 1522116744 zhenghong 品牌logo varchar(255) 255 955AC940-E5A2-4791-8DB3-46874F51898B big_pic big_pic 1522116540 zhenghong 1522116821 zhenghong 专区大图 varchar(255) 255 822303EE-A57E-432B-AB93-E9C6B4B67358 brand_story brand_story 1522116540 zhenghong 1522116753 zhenghong 品牌故事 text 12C8D1EF-1F7E-46ED-AD23-4F0BD57F243D Key_1 Key_1 1521706123 zhenghong 1521706148 zhenghong A9A5B46B-D1A3-4619-86D4-AD1A3FF949B1 pms_sku_stock pms_sku_stock 1521709482 zhenghong 1582621117 zhenghong sku的库存 F8A87B5F-1B3E-416A-9AA6-E6330490C79F id id 1521709484 zhenghong 1533115846 zhenghong bigint 1 1 0A9D0B97-8FCA-4D49-9649-6D3A6398F71D product_id product_id 1521710488 zhenghong 1521710505 zhenghong bigint 300133D5-246C-492C-8106-E0464641A1AD sku_code sku_code 1521709695 zhenghong 1522214782 zhenghong sku编码 varchar(64) 64 1 2C098191-D831-42F7-981A-BB5FC58097A3 price price 1521709829 zhenghong 1521709926 zhenghong decimal(10,2) 10 2 F0D06968-A5E5-4A38-82DA-909C1AF9500C stock stock 1521709829 zhenghong 1535619079 zhenghong 库存 0 int 627512CB-E621-46A5-B077-12BB80006181 low_stock low_stock 1521709829 zhenghong 1521709939 zhenghong 预警库存 int 2385F4C5-9983-48B4-9E03-710937E056A4 pic pic 1521710423 zhenghong 1521770332 zhenghong 展示图片 varchar(255) 255 C9AA0DC8-AEE6-4401-AE9A-65B6FD89A608 sale sale 1521710565 zhenghong 1521710584 zhenghong 销量 int F8B829D9-2390-44F9-AE79-B698E94E2F5D promotion_price promotion_price 1534927833 zhenghong 1534927874 zhenghong 单品促销价格 decimal(10,2) 10 2 385D5E74-8D2D-4429-8BF1-1DB7C0ED0E8D lock_stock lock_stock 1534927865 zhenghong 1535619073 zhenghong 锁定库存 0 int 30F35E66-3167-4F75-B0DC-48B30CEC1C4F sp_data sp_data 1582277384 zhenghong 1582277412 zhenghong 商品销售属性,json格式 varchar(500) 500 BF22FDBF-9CF7-4FF4-A579-4C0AAC38A457 Key_1 Key_1 1521709484 zhenghong 1533115846 zhenghong B9FC590F-46F6-4235-8672-FF13B2E50A77 pms_product_vertify_record pms_product_vertify_record 1521710820 zhenghong 1521770349 zhenghong 商品审核记录 530FCADE-4166-42A4-8453-5D874EEC4522 id id 1521710821 zhenghong 1521770174 zhenghong bigint 1 1 7493F171-CA73-4150-A6EA-AB0D8FF46D75 product_id product_id 1521770349 zhenghong 1521770362 zhenghong bigint 9786F28F-F757-486B-93A9-7C5A5E46D950 create_time create_time 1521710821 zhenghong 1521711025 zhenghong datetime 7E1BFDC6-E587-45E4-AE7C-8C3466279D4C vertify_man vertify_man 1521710821 zhenghong 1521711032 zhenghong 审核人 varchar(64) 64 06C38A5C-1977-42C3-A614-B2DF0654BB47 status status 1521710821 zhenghong 1524816533 zhenghong 审核后的状态:0->未通过;2->已通过 int(1) 1 8C61E1D1-7809-4E91-8638-43739274A2CB detail detail 1521710821 zhenghong 1521770161 zhenghong 反馈详情 varchar(255) 255 5AA18CE6-B6B1-4D42-840C-F0ED5A7EE6AC Key_1 Key_1 1521710821 zhenghong 1521711025 zhenghong 9063AF6E-4B68-4106-803C-747646C77EB0 pms_product_operate_log pms_product_operate_log 1521770649 zhenghong 1521771362 zhenghong 715605E0-FA0B-4C2F-87CA-35849F4999B3 id id 1521770770 zhenghong 1521770806 zhenghong bigint 1 1 3DB748F5-8378-4A65-9103-BC4AF0D6CD51 product_id product_id 1521771362 zhenghong 1521771375 zhenghong bigint ED9DDCD5-C1E3-4A0A-A2BF-6AE1FE20479B price_old price_old 1521770804 zhenghong 1521770995 zhenghong decimal(10,2) 10 2 38DD8227-7B0A-4661-A5B4-48AE1CC49CB0 price_new price_new 1521770804 zhenghong 1521770995 zhenghong decimal(10,2) 10 2 25E58A65-F4B3-4A38-BF9F-B4951F1D2A52 sale_price_old sale_price_old 1521770804 zhenghong 1521770995 zhenghong decimal(10,2) 10 2 A2768BA1-44DB-4DA5-8E18-42AE3A6181FD sale_price_new sale_price_new 1521770804 zhenghong 1521770995 zhenghong decimal(10,2) 10 2 ACC53AA1-DE06-4626-9248-159BA1AEF3C0 gift_point_old gift_point_old 1521770804 zhenghong 1521771014 zhenghong 赠送的积分 int AE80A7D3-2CF1-4F55-87C8-48BF66B3E0F5 gift_point_new gift_point_new 1521770804 zhenghong 1521770995 zhenghong int 9D16C330-E114-4778-B552-DDF06AF3BC55 use_point_limit_old use_point_limit_old 1521771164 zhenghong 1521771200 zhenghong int F4FFECE7-3152-46A5-83C6-60D352457335 use_point_limit_new use_point_limit_new 1521771164 zhenghong 1521771200 zhenghong int 74162271-05EF-4D60-A189-252B04234604 operate_man operate_man 1521771246 zhenghong 1521771275 zhenghong 操作人 varchar(64) 64 966002F8-6310-4146-A9EA-4F185033236B create_time create_time 1521771269 zhenghong 1521771335 zhenghong datetime 74CA880E-049D-422E-9C8D-AD3A1E73DCE2 Key_1 Key_1 1521770770 zhenghong 1521770804 zhenghong 0D760BB3-CA67-4F64-B6A5-2D093F7657D6 pms_product_category pms_product_category 1521773028 zhenghong 1522115630 zhenghong 产品分类 7235E328-6BF3-4CFD-B1C6-A02A6F6718A9 id id 1521773048 zhenghong 1521773067 zhenghong bigint 1 1 0E642091-F38B-4D5F-937D-DA9C4151EFE2 parent_id parent_id 1522114406 zhenghong 1522114468 zhenghong 上机分类的编号:0表示一级分类 bigint BDD611F1-0142-4419-B183-4F15282363D5 name name 1521773064 zhenghong 1521773092 zhenghong varchar(64) 64 1A0124D2-0307-433A-ADEA-62C14A6003F0 level level 1522114959 zhenghong 1522116072 zhenghong 分类级别:0->1级;1->2级 int(1) 1 E50CCB02-2506-46DA-A95C-950DE16DF50F product_count product_count 1522115030 zhenghong 1522115103 zhenghong int 054029CE-B46E-4C2D-BFE1-E460D1B12275 product_unit product_unit 1522115030 zhenghong 1522115103 zhenghong varchar(64) 64 8FF814D8-75E9-43DC-8CA8-890BECAEC537 nav_status nav_status 1522115030 zhenghong 1522115270 zhenghong 是否显示在导航栏:0->不显示;1->显示 int(1) 1 D38D4B8B-1852-4350-93ED-1803A7BEA6E7 show_status show_status 1522115145 zhenghong 1522115208 zhenghong 显示状态:0->不显示;1->显示 int(1) 1 B47FED84-81B7-4E39-B763-8EE996F2424B sort sort 1522115178 zhenghong 1522115228 zhenghong int DB87CC69-B178-4FCD-B827-2A6C79ED2FE9 icon icon 1522115323 zhenghong 1522115342 zhenghong 图标 varchar(255) 255 93F08150-5658-4346-B8FC-7F52F889824A keywords keywords 1522115588 zhenghong 1522115630 zhenghong varchar(255) 255 4B01893A-E307-49EB-B5D4-98B55B0A48D1 description description 1522115588 zhenghong 1522115634 zhenghong 描述 text 64090BE2-8BEC-4616-8DDE-E24C94B52E9D Key_1 Key_1 1521773048 zhenghong 1521773064 zhenghong 4C5F5ABA-B6AB-4689-9F04-B487E920C073 pms_feight_template pms_feight_template 1521782818 zhenghong 1521783539 zhenghong 运费模版 50FF090A-11EC-4F73-B237-ACA1D6347465 id id 1521783117 zhenghong 1521783139 zhenghong bigint 1 1 E3A40203-E74E-4FC9-8A61-0169E8FD93BF name name 1521783135 zhenghong 1521783238 zhenghong varchar(64) 64 8BE728B7-5B75-4D76-A896-09F73A87B08A charge_type charge_type 1521783135 zhenghong 1521783309 zhenghong 计费类型:0->按重量;1->按件数 int(1) 1 63F6CF39-B317-4872-869A-4AA80BCB1FDC first_weight first_weight 1521783270 zhenghong 1521783558 zhenghong 首重kg decimal(10,2) 10 2 DC192E82-45CE-4623-AD18-DA14ECB31F39 first_fee first_fee 1521783270 zhenghong 1521783579 zhenghong 首费(元) decimal(10,2) 10 2 7D5538AC-2415-4EFA-8A9B-A46204FF35CB continue_weight continue_weight 1521783270 zhenghong 1521783539 zhenghong decimal(10,2) 10 2 4EC457E3-A82A-4B3B-86B7-D4E0C200780F continme_fee continme_fee 1521783270 zhenghong 1521783539 zhenghong decimal(10,2) 10 2 FE7A715E-1C3C-4E28-BBB2-1B34605B2EAF dest dest 1521783270 zhenghong 1521783601 zhenghong 目的地(省、市) varchar(255) 255 3F3D7980-1F46-4F3E-BDFD-AF0F8EEE2FA6 Key_1 Key_1 1521783117 zhenghong 1521783135 zhenghong 22CB8FD3-3DDD-4FF9-AE76-E13CF6CD6875 pms_member_price pms_member_price 1521791032 zhenghong 1528184156 zhenghong 商品会员价格表 30FC5C31-983F-4219-9339-C8B5BABB7234 id id 1521791069 zhenghong 1521791086 zhenghong bigint 1 1 9BC9FEC6-7030-4F2B-9C10-86F37EB776FD product_id product_id 1521791466 zhenghong 1521791479 zhenghong bigint 49BA6972-E766-4A84-8B8B-9C4DD271CE61 member_level_id member_level_id 1522721755 zhenghong 1522721767 zhenghong bigint 941A6699-6C9F-4E4B-9FAA-B6E6F69906EC member_price member_price 1522721615 zhenghong 1522721665 zhenghong 会员价格 decimal(10,2) 10 2 0B4E79EF-7E2C-41DE-B72B-C9BC578A2F72 member_level_name member_level_name 1528184129 zhenghong 1528184156 zhenghong varchar(100) 100 FE782243-6FFE-4CEE-BA53-9AFE8D357748 Key_1 Key_1 1521791069 zhenghong 1521791083 zhenghong DDA47447-C998-4D66-9FD0-1A64A30E043C pms_product_ladder pms_product_ladder 1521791865 zhenghong 1522721483 zhenghong 产品阶梯价格表(只针对同商品) C7FD3278-BB15-4A88-A424-42163F101417 id id 1521792127 zhenghong 1521792152 zhenghong bigint 1 1 3FDC1BDA-8A46-4848-9D75-3856408246F6 product_id product_id 1521792428 zhenghong 1521792442 zhenghong bigint 8A95CD6B-64CA-48FE-BF0F-46E24B04A977 count count 1521792148 zhenghong 1521792177 zhenghong 满足的商品数量 int F9D8DAEF-F28F-424D-9532-FB464AD4E654 discount discount 1521792164 zhenghong 1521792218 zhenghong 折扣 decimal(10,2) 10 2 7693845E-7B98-4C2E-9406-863D4F8E612A price price 1521792219 zhenghong 1521792257 zhenghong 折后价格 decimal(10,2) 10 2 4C0C9B14-EE1D-4112-A02D-85975F91C2F9 Key_1 Key_1 1521792127 zhenghong 1521792148 zhenghong 9C7F6D83-696D-4AC2-B63C-41A457276432 pms_product_full_reduction pms_product_full_reduction 1521791901 zhenghong 1522721499 zhenghong 产品满减表(只针对同商品) 1CB2D116-96CD-4A26-B9D4-B7AA00AD92E7 id id 1521792488 zhenghong 1524721741 zhenghong bigint 1 1 AF625FED-C1BF-47A8-94CE-EAB80C7CE452 product_id product_id 1521792909 zhenghong 1521792920 zhenghong bigint 56253152-8B4B-4F5D-ABB7-DFAEBED5C6EA full_price full_price 1521792498 zhenghong 1521792848 zhenghong decimal(10,2) 10 2 A23F3BDA-C442-413A-8F7F-EBBAFF4EB634 reduce_price reduce_price 1521792498 zhenghong 1521792848 zhenghong decimal(10,2) 10 2 42DEDB72-EACE-44AD-8377-601D1EF19A71 Key_1 Key_1 1521792488 zhenghong 1521792498 zhenghong 8CA12D96-D48C-4542-A89B-718C043C331E pms_product_attribute_category pms_product_attribute_category 1522044163 zhenghong 1522044533 zhenghong 产品属性分类表 C0EDF8D7-B021-4E78-AB1C-3372732BAA8A id id 1522044196 zhenghong 1522044533 zhenghong bigint 1 1 DF80D9F1-71A8-4898-9D4B-CDEFFFD1C51F name name 1522044211 zhenghong 1522044389 zhenghong varchar(64) 64 34182414-4199-49E6-B221-AF015FAD34FB attribute_count attribute_count 1522044211 zhenghong 1522044418 zhenghong 属性数量 int 728FAF40-18B5-42AD-9006-390BB12DF6D5 param_count param_count 1522044211 zhenghong 1522044436 zhenghong 参数数量 int C340AD67-5366-4172-A5C1-715381DA4E4C Key_1 Key_1 1522044527 zhenghong 1522044533 zhenghong 1959D6C2-18BC-4144-85F7-C5CD3C830DB4 pms_product_attribute pms_product_attribute 1522044465 zhenghong 1522045805 zhenghong 商品属性参数表 9736DD68-0C91-45FD-98D9-098B45FAA881 id id 1522044502 zhenghong 1522044525 zhenghong bigint 1 1 46A4A5DC-A87A-4AB1-A41A-E70B98AA3C7F product_attribute_category_id product_attribute_category_id 1522045168 zhenghong 1522045192 zhenghong bigint A23C122D-1090-414B-A50F-64053E0CA705 name name 1522044544 zhenghong 1522044628 zhenghong varchar(64) 64 0475CD9F-ECC5-435C-812F-16D6D2FDA0F5 select_type select_type 1522044544 zhenghong 1551343683 zhenghong 属性选择类型:0->唯一;1->单选;2->多选;对应属性和参数意义不同; int(1) 1 A656FC1F-FC28-4012-8876-5FE082ADCFC1 input_type input_type 1522044628 zhenghong 1522044761 zhenghong 属性录入方式:0->手工录入;1->从列表中选取 int(1) 1 673D1CDE-138E-45B6-9ADE-9C9FBAF1FA3C input_list input_list 1522044737 zhenghong 1522044853 zhenghong 可选值列表,以逗号隔开 varchar(255) 255 2710E2E2-FD53-4302-B88E-62F2B708E736 sort sort 1522044833 zhenghong 1522045635 zhenghong 排序字段:最高的可以单独上传图片 int 6A4CA846-5A79-4A70-9C1B-69D819C67C91 filter_type filter_type 1522044833 zhenghong 1522045152 zhenghong 分类筛选样式:1->普通;1->颜色 int(1) 1 2BE254B3-3CD8-4794-929E-3FBEB258936B search_type search_type 1522045233 zhenghong 1522045285 zhenghong 检索类型;0->不需要进行检索;1->关键字检索;2->范围检索 int(1) 1 5C1F000F-8181-4CF0-B2C6-422AC7CD8EF3 related_status related_status 1522045363 zhenghong 1522045485 zhenghong 相同属性产品是否关联;0->不关联;1->关联 int(1) 1 3660F2D1-79BF-4600-B965-259108FA8784 hand_add_status hand_add_status 1522045453 zhenghong 1522045556 zhenghong 是否支持手动新增;0->不支持;1->支持 int(1) 1 1EFD6D7F-29E6-4B52-A192-EDDEFFF5EB54 type type 1522045781 zhenghong 1522045820 zhenghong 属性的类型;0->规格;1->参数 int(1) 1 D37FC115-4FED-46C1-9D29-34FE0FCB103F Key_1 Key_1 1522044517 zhenghong 1522044525 zhenghong 70D24471-1832-42AF-BF28-DF5C4D67427D pms_product_attribute_value pms_product_attribute_value 1522046351 zhenghong 1522046456 zhenghong 存储产品参数信息的表 98949F13-7401-4B46-8C46-AD0EDB279FA6 id id 1522046392 zhenghong 1522046409 zhenghong bigint 1 1 A73883DF-2D36-497D-8D90-9EB0F5CF3C5B product_id product_id 1522046451 zhenghong 1524710981 zhenghong bigint 92ACF804-9722-47C3-826B-A2611338F2F6 product_attribute_id product_attribute_id 1522046456 zhenghong 1524710981 zhenghong bigint E83F864A-D6C1-48EA-B9A3-7C9AB2ED55A1 value value 1522046406 zhenghong 1531100886 zhenghong 手动添加规格或参数的值,参数单值,规格有多个时以逗号隔开 varchar(64) 64 66A6E0B8-A090-45F7-ACD4-8815D7DF6B6F Key_1 Key_1 1522046392 zhenghong 1522046406 zhenghong 73D97C96-1D05-46E2-89CA-985688FD385B cms_topic cms_topic 1522050428 zhenghong 1522141317 zhenghong 话题表 E5586D56-C86E-40C0-8433-7EAAB1A7A79F id id 1522050454 zhenghong 1522050470 zhenghong bigint 1 1 8DBF595F-4E5A-42F6-A301-D87380DA3FE6 category_id category_id 1522141317 zhenghong 1522141327 zhenghong bigint 8CDFD790-F0B3-436A-8295-5F442B1A3E07 name name 1522050467 zhenghong 1522050484 zhenghong varchar(255) 255 CD7B71CD-51EB-49B3-93FE-59F59BF51EF2 create_time create_time 1522140807 zhenghong 1522140989 zhenghong datetime 351D963E-FCB6-4A62-A03E-79FC4362CAFD start_time start_time 1522140807 zhenghong 1522140989 zhenghong datetime BC71816F-CC52-4DD7-869B-5EF23E07824D end_time end_time 1522140807 zhenghong 1522140989 zhenghong datetime 082A202D-0BB3-41C1-9474-62FE6C172569 attend_count attend_count 1522140807 zhenghong 1522141052 zhenghong 参与人数 int 6A84107F-35BF-4BB0-B867-39198A321E01 attention_count attention_count 1522140807 zhenghong 1522141063 zhenghong 关注人数 int 5A9F5276-5222-4760-BA85-CA98154759F9 read_count read_count 1522140807 zhenghong 1522140989 zhenghong int 1931F93B-6D40-4FD7-9C4F-1C67815C3459 award_name award_name 1522140807 zhenghong 1522140997 zhenghong 奖品名称 varchar(100) 100 6440D5DB-2981-4203-9519-A4CB896AB498 attend_type attend_type 1522140989 zhenghong 1522141043 zhenghong 参与方式 varchar(100) 100 C88BACB1-A103-4EC5-8800-F500CE872650 content content 1522141034 zhenghong 1522141083 zhenghong 话题内容 text 9469C4F2-63EF-48D7-85F7-749CBD56D5A9 Key_1 Key_1 1522050454 zhenghong 1522050467 zhenghong 143551D6-36A8-4263-B499-17416D5B4E78 cms_prefrence_area cms_prefrence_area 1522112533 zhenghong 1522139400 zhenghong 优选专区 601C99AA-881D-4188-A507-8EBC584792A1 id id 1522112534 zhenghong 1522112571 zhenghong bigint 1 1 FCDEF8AE-3C3E-4D80-8718-68B2BFDAAAAB name name 1522112567 zhenghong 1522112584 zhenghong varchar(255) 255 6F54EFCF-2121-40E1-A012-0780AA817B9E sub_title sub_title 1522139220 zhenghong 1522139257 zhenghong varchar(255) 255 31AB8614-FFF2-430B-A3B9-8592C41EC3B4 pic pic 1522139329 zhenghong 1522139365 zhenghong 展示图片 varbinary(500) 500 27D98403-DF29-48CA-A724-8E2B6FFEFB01 sort sort 1522139372 zhenghong 1522139400 zhenghong int 3BD7C5D5-B647-4499-ABA6-AE5E08D069CE show_status show_status 1522139372 zhenghong 1522139400 zhenghong int(1) 1 D4E19AA8-AFAB-4791-A6C7-15DBDF850779 Key_1 Key_1 1522112534 zhenghong 1522112567 zhenghong A13BD5C1-4EB4-4269-978C-7BC04C9CDC6E cms_prefrence_area_product_relation cms_prefrence_area_product_relation 1522112617 zhenghong 1522215871 zhenghong 优选专区和产品关系表 F54F6DBB-9A10-4191-9426-087F11A04093 id id 1522112618 zhenghong 1522112684 zhenghong bigint 1 1 AD6438FF-9782-40FA-82DB-D99F8C15BC39 prefrence_area_id prefrence_area_id 1522112691 zhenghong 1522139303 zhenghong bigint A5DE8A1D-EF5C-4ADB-BAEC-1DC5B833C89D product_id product_id 1522112694 zhenghong 1522112722 zhenghong bigint 6248D431-92E7-4999-9E2E-A8492D60909B Key_1 Key_1 1522112618 zhenghong 1522112681 zhenghong 7124790D-D56B-43AC-9EF3-1CFC5BF12114 pms_product_category_attribute_relation pms_product_category_attribute_relation 1522115893 zhenghong 1522215883 zhenghong 产品的分类和属性的关系表,用于设置分类筛选条件(只支持一级分类) 9185CBA8-9501-4F1D-869D-7CFE0D62A0E5 id id 1522115894 zhenghong 1522115954 zhenghong bigint 1 1 2A249FE2-167D-4966-B80C-A1F2029335D5 product_category_id product_category_id 1522115961 zhenghong 1522115975 zhenghong bigint CA02967F-18F1-4803-AE3A-A4C6F3085047 product_attribute_id product_attribute_id 1522115983 zhenghong 1522115997 zhenghong bigint 7664FAB4-1504-4257-846E-556F70D39E63 Key_1 Key_1 1522115894 zhenghong 1522115950 zhenghong 56CDA36B-EA58-4AE1-B858-A5F9A2F29A8E pms_comment pms_comment 1522118136 zhenghong 1522119143 zhenghong 商品评价表 0B63A5AB-69A1-49D3-B274-537BE5F79603 id id 1522118175 zhenghong 1522118191 zhenghong bigint 1 1 AAEF7DDC-9B2F-46B6-A8B1-C6F87BF129B3 product_id product_id 1522118676 zhenghong 1522118692 zhenghong bigint E861609A-6A46-4405-ABD0-EE63DF7C18AB member_nick_name member_nick_name 1522118254 zhenghong 1522118291 zhenghong varchar(255) 255 93F98F3F-AE44-425D-8437-15EFCA931DEE product_name product_name 1522118254 zhenghong 1522118291 zhenghong varchar(255) 255 3B937D50-F65E-4FCC-91E6-987280555E0F star star 1522118296 zhenghong 1522118388 zhenghong 评价星数:0->5 int(3) 3 FF2F85AD-9EEF-4482-8425-012B16214ACC member_ip member_ip 1522118356 zhenghong 1522118421 zhenghong 评价的ip varchar(64) 64 928C78C9-46A9-4372-89AE-240801429406 create_time create_time 1522118413 zhenghong 1522118537 zhenghong datetime 60548BBB-24E8-420F-A512-5446E5A2E760 show_status show_status 1522118413 zhenghong 1522118537 zhenghong int(1) 1 9F48621B-2FCF-45E5-9143-1BE198FF29B5 product_attribute product_attribute 1522118413 zhenghong 1522118546 zhenghong 购买时的商品属性 varchar(255) 255 DCCC00DA-5050-4C5E-B95B-2FCC03D9FD16 collect_couont collect_couont 1522118537 zhenghong 1522118636 zhenghong int 0C6D9887-AA40-4B94-93DC-624FB5BDE0BA read_count read_count 1522118537 zhenghong 1522118636 zhenghong int 7B205E86-CD8C-4B49-8E5C-34A3FB5FB46B content content 1522118537 zhenghong 1522118636 zhenghong text BE5DD03F-680E-4FF4-BC30-A3249F0F3240 pics pics 1522118537 zhenghong 1522118653 zhenghong 上传图片地址,以逗号隔开 varchar(1000) 1000 27BD4283-26AA-4F27-9E13-963F0588E6E2 member_icon member_icon 1522118919 zhenghong 1522118952 zhenghong 评论用户头像 varchar(255) 255 1C85F6E9-ECED-473D-95C8-3509F812EBAE replay_count replay_count 1522119113 zhenghong 1522119127 zhenghong int FB3F2C83-222B-4B40-9A1A-B8E7586FC5D1 Key_1 Key_1 1522118175 zhenghong 1522118187 zhenghong 9E632F70-2FF6-43F1-8035-39044AC4B722 pms_comment_replay pms_comment_replay 1522118840 zhenghong 1522119205 zhenghong 产品评价回复表 C0FE35AD-E3D8-46AA-BD43-0A4FE9348CF6 id id 1522118870 zhenghong 1522118887 zhenghong bigint 1 1 6A4043C2-5C50-430C-BD5B-AA0D11362AC2 comment_id comment_id 1522119056 zhenghong 1522119072 zhenghong bigint C6A4F7EC-CA0E-4E95-80BB-BB5BD4C7CF03 member_nick_name member_nick_name 1522118977 zhenghong 1522119041 zhenghong varchar(255) 255 D39F911F-9FF3-401E-89A2-A0CF1AEB11F5 member_icon member_icon 1522118977 zhenghong 1522119041 zhenghong varchar(255) 255 37F379DF-80F8-4A2D-A1FD-F1B8DFFF3E8C content content 1522118977 zhenghong 1522119041 zhenghong varchar(1000) 1000 4D97D374-C6C4-4835-8901-0A0AF230090C create_time create_time 1522118977 zhenghong 1522119041 zhenghong datetime 7323FC1E-0690-46C9-AE91-EBC17297BB57 type type 1522119192 zhenghong 1522119239 zhenghong 评论人员类型;0->会员;1->管理员 int(1) 1 AB67D302-57F5-41ED-BA76-1DA5FCEA3BD1 Key_1 Key_1 1522118880 zhenghong 1522118887 zhenghong 6D104B7B-620F-491A-ABC4-B60B21CF69BC pms_album pms_album 1522120039 zhenghong 1522120230 zhenghong 相册表 424E4971-5936-46F8-BAE1-7F4220EDC6B5 id id 1522120040 zhenghong 1522120064 zhenghong bigint 1 1 0C2DE146-32E0-438D-907D-FA27F53BE712 name name 1522120061 zhenghong 1522120230 zhenghong varchar(64) 64 2DAC711E-D5AE-4A25-8D7E-3A748D5B5988 cover_pic cover_pic 1522120061 zhenghong 1522120230 zhenghong varchar(1000) 1000 B2BBBBA4-937B-440C-9708-7D2094D5893B pic_count pic_count 1522120061 zhenghong 1522120230 zhenghong int F34D2B7C-8CB3-4078-99E6-ED7DA2FEC59B sort sort 1522120061 zhenghong 1522120230 zhenghong int 1EED58B2-81C2-4FA8-8242-3B9845D29645 description description 1522120061 zhenghong 1522120230 zhenghong varchar(1000) 1000 1535694E-35FA-45D2-9EC4-0AC46AAB6A81 Key_1 Key_1 1522120040 zhenghong 1522120061 zhenghong 111B6F68-21FF-450D-9F6E-40C4E4F09B6C pms_album_pic pms_album_pic 1522120250 zhenghong 1522120295 zhenghong 画册图片表 E25430EB-9E92-44D3-BD29-B357E9DCB2F6 id id 1522120251 zhenghong 1522120277 zhenghong bigint 1 1 572B79C1-82C5-405D-A13E-11183C8382C3 album_id album_id 1522120295 zhenghong 1522120304 zhenghong bigint EA74BD79-E880-467B-AEED-0E92E733AE95 pic pic 1522120273 zhenghong 1522120291 zhenghong varchar(1000) 1000 B677823F-37C2-47FB-A8EE-F10B80BF40BB Key_1 Key_1 1522120251 zhenghong 1522120273 zhenghong B57200C6-A503-406F-BC2F-5B144309EC10 cms_subject cms_subject 1522138190 zhenghong 1542086220 zhenghong 专题表 53BC0750-B403-49FD-A50A-F081E7D2409F id id 1522138235 zhenghong 1524711592 zhenghong bigint 1 1 42524411-D613-4537-A110-5746681D4178 category_id category_id 1522138705 zhenghong 1522139827 zhenghong bigint B88B2152-E11E-4B3E-8752-12B9A9B9D6E6 title title 1522138235 zhenghong 1522138313 zhenghong varchar(100) 100 82CD4D66-89A8-4563-A6E1-1DE23B4E0326 pic pic 1522138235 zhenghong 1522138320 zhenghong 专题主图 varchar(500) 500 7CE3D060-441E-426C-A4DE-E36FA20C37B3 product_count product_count 1522138235 zhenghong 1522138330 zhenghong 关联产品数量 int DC926B26-780C-422A-9F01-918ACE01616D recommend_status recommend_status 1522138235 zhenghong 1522138489 zhenghong int(1) 1 ADDFD504-1961-4B20-A5A7-2663BE5DC0E6 create_time create_time 1522138313 zhenghong 1522138489 zhenghong datetime 5D13D140-A74E-4586-880C-1BFE0A0E11D4 collect_count collect_count 1522138313 zhenghong 1522138489 zhenghong int EAEA9201-9947-490A-9AA6-36A980292101 read_count read_count 1522138313 zhenghong 1522138489 zhenghong int 2FEB2EE8-3445-412B-809E-86AA3ECF4529 comment_count comment_count 1522138313 zhenghong 1522138489 zhenghong int 3213DDDC-F105-4CF3-85B1-0AF4B28D18BD album_pics album_pics 1522138313 zhenghong 1522138499 zhenghong 画册图片用逗号分割 varchar(1000) 1000 3E65E187-85C6-4C2C-8508-6459E5634653 description description 1522138733 zhenghong 1522138806 zhenghong varchar(1000) 1000 2E84713F-CB2B-46A6-BA44-489D2F6458EE show_status show_status 1522138733 zhenghong 1522139016 zhenghong 显示状态:0->不显示;1->显示 int(1) 1 53DFEF92-6705-4834-A79D-DBE1EA44CC23 content content 1522138733 zhenghong 1522138806 zhenghong text 2BEA9B61-5B2A-495A-A1F3-CDC9992E6EC0 forward_count forward_count 1522139567 zhenghong 1522139597 zhenghong 转发数 int 38F4212D-8579-407B-BA77-92A54008F60B category_name category_name 1542086194 zhenghong 1542086464 zhenghong 专题分类名称 varchar(200) 200 EEB1DA22-1547-4B23-B534-2C0E6E700AC7 Key_1 Key_1 1522138603 zhenghong 1522138607 zhenghong 606E012F-14A2-4A00-AD6E-15A2EFBB9C5E cms_subject_product_relation cms_subject_product_relation 1522138561 zhenghong 1522215878 zhenghong 专题商品关系表 5DF4FFB5-2AF3-432F-B7B4-7F3BB6E24DBE id id 1522138589 zhenghong 1522139788 zhenghong bigint 1 1 CEA5917C-7E9D-4BBC-9C36-526EDCFEE760 subject_id subject_id 1522138613 zhenghong 1522138642 zhenghong bigint 5071E824-D357-4D1D-A766-5EEF7042D9DB product_id product_id 1522138618 zhenghong 1522138642 zhenghong bigint F54E063F-39C6-4A3F-B83A-85972E2FF817 Key_1 Key_1 1522138589 zhenghong 1522138597 zhenghong AB473418-20D2-4DA3-8888-C528B336912A cms_subject_category cms_subject_category 1522138655 zhenghong 1522139176 zhenghong 专题分类表 25CBB635-2A80-4F21-B7E8-E352F1B4F77F id id 1522138656 zhenghong 1522139809 zhenghong bigint 1 1 A1D41EA4-B0CA-4941-A909-27D9909E0E37 name name 1522138679 zhenghong 1522138696 zhenghong varchar(100) 100 D8AE7B27-35EB-4915-B668-4C51D80A4A48 icon icon 1522139032 zhenghong 1522139093 zhenghong 分类图标 varchar(500) 500 6FA5F7F2-CFF4-42F4-8F7D-21845B349CCB subject_count subject_count 1522139087 zhenghong 1522139135 zhenghong 专题数量 int B0C5DD2A-9B58-4590-8B05-06401B097A8C show_status show_status 1522139129 zhenghong 1522139176 zhenghong int(2) 2 E2526823-EFE1-4B05-B1D2-26F058A2982A sort sort 1522139129 zhenghong 1522139176 zhenghong int FB93F2E5-22E1-4B1A-A200-33E4152340C2 Key_1 Key_1 1522138656 zhenghong 1522138679 zhenghong 49773448-772B-485E-A3C7-B11481FECA81 cms_subject_comment cms_subject_comment 1522118840 zhenghong 1522141232 zhenghong 专题评论表 1147FDE1-65B1-4BFD-A1A2-B020098BE42C id id 1522118870 zhenghong 1522139643 zhenghong bigint 1 1 2ADF8874-CC3E-474C-B210-4025C4AC3F72 subject_id subject_id 1522141232 zhenghong 1522141245 zhenghong bigint B0459F20-23C7-466D-8A4F-8796D69A0C08 member_nick_name member_nick_name 1522118977 zhenghong 1522139643 zhenghong varchar(255) 255 C2AF427F-DE7F-4C75-ACE7-0ABFD02455DA member_icon member_icon 1522118977 zhenghong 1522139643 zhenghong varchar(255) 255 5D00E7C2-F197-490B-819E-120CEC889DC6 content content 1522118977 zhenghong 1522139643 zhenghong varchar(1000) 1000 DF4234D6-78A1-41C9-AD35-1888B1FEAB6F create_time create_time 1522118977 zhenghong 1522139643 zhenghong datetime 86082980-A127-4EDF-8EFC-E8148463178A show_status show_status 1522139856 zhenghong 1522139873 zhenghong int(1) 1 36EEDF00-52B8-437E-B236-EEA161669A1B Key_1 Key_1 1522118880 zhenghong 1522139643 zhenghong D0100727-1202-4283-BD62-F95371B06299 cms_topic_comment cms_topic_comment 1522118840 zhenghong 1522399064 zhenghong 专题评论表 58CD3CFC-497C-4971-AD22-9987D668CDE6 id id 1522118870 zhenghong 1522141104 zhenghong bigint 1 1 DE828932-9533-4CE1-86D2-A92BD6FED7AA member_nick_name member_nick_name 1522118977 zhenghong 1522141104 zhenghong varchar(255) 255 45FF2606-4361-412C-B9DC-397D23DEE33B topic_id topic_id 1522141157 zhenghong 1522141168 zhenghong bigint 449FC5FE-AE37-4C13-B286-63FD48F70DA9 member_icon member_icon 1522118977 zhenghong 1522141104 zhenghong varchar(255) 255 395DC11D-5668-46CE-AAA6-AFFD0AEC84A2 content content 1522118977 zhenghong 1522141104 zhenghong varchar(1000) 1000 31AE7B63-BC68-4E98-B907-92F1D8C6CD90 create_time create_time 1522118977 zhenghong 1522141104 zhenghong datetime 711458F7-23E9-480C-8749-66742D667C05 show_status show_status 1522139856 zhenghong 1522141104 zhenghong int(1) 1 AF9DA610-2D90-4723-8586-DE3F17CC93AC Key_1 Key_1 1522118880 zhenghong 1522141104 zhenghong DAA0A46E-FEF2-4004-97B6-4FF049BC1DF2 cms_topic_category cms_topic_category 1522138655 zhenghong 1522141297 zhenghong 话题分类表 D109BEFC-0C6F-4B8C-AA21-461DB4903D66 id id 1522138656 zhenghong 1522141269 zhenghong bigint 1 1 F26259A6-E8E7-4CBC-BBBF-9E99449079B4 name name 1522138679 zhenghong 1522141269 zhenghong varchar(100) 100 1DAD2A73-1384-45CD-84B3-C8A2021FAB46 icon icon 1522139032 zhenghong 1522141269 zhenghong 分类图标 varchar(500) 500 2413D731-87CA-45E0-AD41-AA64C90DA23F subject_count subject_count 1522139087 zhenghong 1522141269 zhenghong 专题数量 int B591EC57-36F5-4C03-A012-D0ADBF3E4C0F show_status show_status 1522139129 zhenghong 1522141269 zhenghong int(2) 2 DAFFB2FD-33EB-4BB3-9E0C-0297E575E351 sort sort 1522139129 zhenghong 1522141269 zhenghong int 99A75D70-8F78-4D6E-8953-00CADCEAB0E0 Key_1 Key_1 1522138656 zhenghong 1522141269 zhenghong 5312D8EC-AF1A-469E-BC98-AB6273AAAE0E cms_help cms_help 1522141745 zhenghong 1522142006 zhenghong 帮助表 A9D8065D-3D37-419F-9038-978F59CEBB8F id id 1522141746 zhenghong 1522141791 zhenghong bigint 1 1 99F1B8BB-6318-423F-8D30-A40703AF7A53 category_id category_id 1522142006 zhenghong 1522142017 zhenghong bigint C7F74EDD-B6CB-4D46-9617-F8C14AB2DF2F icon icon 1522141808 zhenghong 1522141921 zhenghong varchar(500) 500 FF621D0D-B8FA-4725-A175-D7B2BABA5B94 title title 1522141808 zhenghong 1522141921 zhenghong varchar(100) 100 E6895426-49FA-4AF4-BB77-757AA0BF864C show_status show_status 1522141808 zhenghong 1522141921 zhenghong int(1) 1 F08C0B0D-F6B3-4A69-AA15-9DE56C118112 create_time create_time 1522141808 zhenghong 1522141921 zhenghong datetime 4354AAE9-96D2-4D68-9074-4D6D43058031 read_count read_count 1522141808 zhenghong 1522141921 zhenghong int(1) 1 38267C50-CED4-4040-80C3-F2BB84F55DE1 content content 1522141808 zhenghong 1522141921 zhenghong text 23861D6B-7336-4999-B247-2795E01A36A6 Key_1 Key_1 1522141746 zhenghong 1522141776 zhenghong C69D6CF4-1D0A-4C73-BD5D-728063BA5CF5 cms_help_category cms_help_category 1522138655 zhenghong 1522141973 zhenghong 帮助分类表 67081E82-4B28-4B4B-950A-A6977DDC416C id id 1522138656 zhenghong 1522141950 zhenghong bigint 1 1 23A542BE-7271-45B8-9BA3-2994EC446525 name name 1522138679 zhenghong 1522141950 zhenghong varchar(100) 100 E5E3B51D-A536-42AF-A7B5-B0CB88FA1382 icon icon 1522139032 zhenghong 1522141950 zhenghong 分类图标 varchar(500) 500 433A0125-DC14-4DE3-AC67-4F50F73D9C10 help_count help_count 1522139087 zhenghong 1522141999 zhenghong 专题数量 int 66476CEF-9E6C-4DD2-8CF4-F17B95C150DF show_status show_status 1522139129 zhenghong 1522141950 zhenghong int(2) 2 08AA26A1-B9BA-42BA-B07E-A3F313619269 sort sort 1522139129 zhenghong 1522141950 zhenghong int 7062AB8C-E6E5-4256-9CAA-E35D576A4067 Key_1 Key_1 1522138656 zhenghong 1522141950 zhenghong EE13E81B-7389-4258-A293-350022D681E9 cms_member_report cms_member_report 1522142154 zhenghong 1522142502 zhenghong 用户举报表 26970FB1-6D6F-4F9B-B5AE-A006A5DA00B0 id id 1522142174 zhenghong 1522142240 zhenghong bigint 6447324C-45CB-4E42-9437-A15934CB1F0D report_type report_type 1522142174 zhenghong 1522142646 zhenghong 举报类型:0->商品评价;1->话题内容;2->用户评论 int(1) 1 020ECB31-0883-4162-80FA-2DFC32D3C7A5 report_member_name report_member_name 1522142240 zhenghong 1522142303 zhenghong 举报人 varchar(100) 100 C0692AD1-F67F-4EA1-8AA3-ACA47B0262AB create_time create_time 1522142298 zhenghong 1522142386 zhenghong datetime C57611C0-AF26-4C7A-8D51-A283494F883A report_object report_object 1522142298 zhenghong 1522142386 zhenghong varchar(100) 100 A426736C-C224-4935-88EF-580A9D84580B report_status report_status 1522142298 zhenghong 1522142414 zhenghong 举报状态:0->未处理;1->已处理 int(1) 1 2C32CB54-23F4-4619-8AB4-530388A5E455 handle_status handle_status 1522142386 zhenghong 1522142486 zhenghong 处理结果:0->无效;1->有效;2->恶意 int(1) 1 21DB5501-BCE1-40F6-9CEC-77A10758E766 note note 1522142456 zhenghong 1522142502 zhenghong varchar(200) 200 62AC3907-4D95-4CFC-BB5D-A066679C4474 sms_coupon sms_coupon 1522215010 zhenghong 1541664280 zhenghong 优惠卷表 D967F787-301C-4453-9F6B-54CD376E68F4 id id 1522215060 zhenghong 1522724388 zhenghong bigint 1 1 A42144EE-CFD6-4093-B8DF-AAEB4D87BCE3 type type 1522215069 zhenghong 1522215247 zhenghong 优惠卷类型;0->全场赠券;1->会员赠券;2->购物赠券;3->注册赠券 int(1) 1 4EEFF0DA-F8C0-4231-939F-9E67BFF4FA99 name name 1522215086 zhenghong 1522215247 zhenghong varchar(100) 100 C1161877-9671-43DB-8EA5-50B4ECBB89E4 platform platform 1522215086 zhenghong 1535445907 zhenghong 使用平台:0->全部;1->移动;2->PC int(1) 1 94DC173C-3B97-4520-9ADD-8F5F2ED04470 count count 1522215247 zhenghong 1522215314 zhenghong 数量 int A15DA5DE-2744-4053-86C7-8A1CE2CA14D4 amount amount 1522215309 zhenghong 1522747455 zhenghong 金额 decimal(10,2) 10 2 52D1095B-621A-413D-8161-72182E758527 per_limit per_limit 1522215394 zhenghong 1522215437 zhenghong 每人限领张数 int 5D8378FF-E9D3-487E-B268-ABEECE41A427 min_point min_point 1522215424 zhenghong 1522747549 zhenghong 使用门槛;0表示无门槛 decimal(10,2) 10 2 A7094DFB-0744-466F-8C88-3131A1FEDB45 start_time start_time 1522215598 zhenghong 1522215693 zhenghong datetime D9174D11-163F-4C6F-A36B-6EE33F1B7541 end_time end_time 1522215598 zhenghong 1522215693 zhenghong datetime DF9AE437-11C1-4711-8579-9BA970124238 use_type use_type 1522215598 zhenghong 1522215739 zhenghong 使用类型:0->全场通用;1->指定分类;2->指定商品 int(1) 1 6F6944A7-CA49-4C62-8D4E-42FAFBBECB22 note note 1522215693 zhenghong 1522215779 zhenghong 备注 varchar(200) 200 039EF37D-E0E4-4201-A3EF-539492AD9D53 publish_count publish_count 1522216740 zhenghong 1522216765 zhenghong 发行数量 int 6B22702A-9639-4B94-BDFF-D6203A623754 use_count use_count 1522216759 zhenghong 1522216817 zhenghong 已使用数量 int 62F7E121-0FF8-41A5-A2F3-3CD1EBCF0113 receive_count receive_count 1535438655 zhenghong 1535439531 zhenghong 领取数量 int C16B86B5-7FE8-4A40-B5BC-0890539301BB enable_time enable_time 1522216971 zhenghong 1522217000 zhenghong 可以领取的日期 datetime 57C38097-F524-4B80-9779-539E0F875778 code code 1522217015 zhenghong 1522217041 zhenghong 优惠码 varchar(64) 64 7F81033C-AF9F-48BD-9332-708B55931EE7 member_level member_level 1522288044 zhenghong 1522288094 zhenghong 可领取的会员类型:0->无限时 int(1) 1 F7B63883-C186-47A9-A442-EF3DC025999C Key_1 Key_1 1522215069 zhenghong 1522215086 zhenghong F77D8A78-124B-40EF-BCA9-DF1D0BE3BBAD sms_coupon_product_relation sms_coupon_product_relation 1522215792 zhenghong 1541748859 zhenghong 优惠券和产品的关系表 51FBBF44-892D-4904-AD72-C367AD27B4DE id id 1522215913 zhenghong 1522215933 zhenghong bigint 1 1 8D3316AD-1CAF-4B5E-8FA0-645C1C73FFD7 coupon_id coupon_id 1522215975 zhenghong 1535445127 zhenghong bigint 39E7492F-B104-48BA-9460-88C66C6B971E product_id product_id 1522216015 zhenghong 1522216048 zhenghong bigint 6CFC63DC-3FA7-4C08-B3D3-EC4AB73264E5 product_name product_name 1541748810 zhenghong 1541748864 zhenghong 商品名称 varchar(500) 500 30FFA3E1-D99B-4580-9685-A712EA6F1395 product_sn product_sn 1541748810 zhenghong 1541748881 zhenghong 商品编码 varchar(200) 200 0DDAC07B-7800-4763-A772-BEDE47E015F8 Key_1 Key_1 1522215913 zhenghong 1522215928 zhenghong 18D5F08F-2392-4C0C-8AD0-1264DD968732 sms_coupon_product_category_relation sms_coupon_product_category_relation 1522216155 zhenghong 1541749816 zhenghong 优惠券和产品分类关系表 B1EF094E-8F24-4E21-92C3-20D17815DD8E id id 1522216188 zhenghong 1522216239 zhenghong bigint 1 1 0F265619-5CCA-4327-A335-B36E28B77CE9 coupon_id coupon_id 1522216251 zhenghong 1522724416 zhenghong bigint BB220B24-5719-4254-9EAB-A73F809F1D91 product_category_id product_category_id 1522216380 zhenghong 1522216395 zhenghong bigint 8F514E26-8A5D-4746-9906-994728A01841 product_category_name product_category_name 1541749144 zhenghong 1541749816 zhenghong 产品分类名称 varchar(200) 200 E412773B-A578-4D21-B72F-679B380A40EC parent_category_name parent_category_name 1541749144 zhenghong 1541749816 zhenghong 父分类名称 varchar(200) 200 120C3D95-47A0-4ADC-86DD-F632EF5F5785 Key_1 Key_1 1522216188 zhenghong 1522216237 zhenghong 118563D1-BD6A-4137-B818-9A52AE43F4B3 sms_coupon_history sms_coupon_history 1522217089 zhenghong 1541490649 zhenghong 优惠券使用、领取历史表 8AF960D9-0931-474B-9087-67A9C769289A id id 1522217090 zhenghong 1535522371 zhenghong bigint 1 1 AEA45EC9-857C-4ADD-B505-8E6D0638F274 coupon_id coupon_id 1522220508 zhenghong 1522724407 zhenghong bigint C2493798-DD46-4B0A-8BA4-76DED0B49E03 member_id member_id 1522220546 zhenghong 1522724407 zhenghong bigint 254CB808-9D45-446D-9E7E-29A33FB74779 order_id order_id 1541490552 zhenghong 1541490628 zhenghong 订单id bigint 5D6DA42D-A033-45CC-8B4D-4A4577934E21 coupon_code coupon_code 1522217932 zhenghong 1522218055 zhenghong varchar(64) 64 D55C94A5-5416-4994-9794-10BAFCDF3A70 member_nickname member_nickname 1522217932 zhenghong 1522218107 zhenghong 领取人昵称 varchar(64) 64 1FBF338D-A9F0-435F-A465-6C0D461C08EE get_type get_type 1522218055 zhenghong 1522218134 zhenghong 获取类型:0->后台赠送;1->主动获取 int(1) 1 2900D394-F7F9-411D-A014-19DB3D1ED702 create_time create_time 1522218107 zhenghong 1522220296 zhenghong datetime 3447D394-9F55-41F0-B4AB-B52685CFD9B9 use_status use_status 1522218107 zhenghong 1522220481 zhenghong 使用状态:0->未使用;1->已使用;2->已过期 int(1) 1 74C76E33-9483-4D78-88C2-77812D6BE4E4 use_time use_time 1522220361 zhenghong 1522220487 zhenghong 使用时间 datetime 59A8EC2E-C3C8-479C-8D25-D43AAE161E1C order_sn order_sn 1541490633 zhenghong 1541490681 zhenghong 订单号码 varchar(100) 100 539446A0-347B-4B13-9A1B-C1F91302A908 Key_1 Key_1 1522217090 zhenghong 1522217131 zhenghong 39073F58-E0FD-4E97-91A0-AFA7D8C5F626 ums_member ums_member 1522217487 zhenghong 1533115911 zhenghong 会员表 D9B1967D-3B90-493E-BF71-D0C0AA8AF792 id id 1522217488 zhenghong 1533115911 zhenghong bigint 1 1 BA9FA416-B0B0-49A8-99B2-EE1F2F689613 member_level_id member_level_id 1522386868 zhenghong 1522391485 zhenghong bigint 2B15CF6E-9928-4C28-A7F0-2D249CF28D2E username username 1522217626 zhenghong 1522217755 zhenghong 用户名 varchar(64) 64 8B3B0D82-2CA0-4466-AEA1-F24F2791C164 password password 1522217626 zhenghong 1522217766 zhenghong 密码 varchar(64) 64 A3756B41-7B58-47EE-9C90-4410B7014C14 nickname nickname 1522217712 zhenghong 1522217794 zhenghong 昵称 varchar(64) 64 771E62BD-6B4C-4AD5-8243-80EF105C5C12 phone phone 1522303316 zhenghong 1522747629 zhenghong 手机号码 varchar(64) 64 2AC98331-159E-4556-B2BE-2A511AF1012B status status 1522386896 zhenghong 1522386937 zhenghong 帐号启用状态:0->禁用;1->启用 int(1) 1 290E9B19-DC94-49BE-8B20-4CC5BE6B4A2E create_time create_time 1522386911 zhenghong 1522386982 zhenghong 注册时间 datetime 687462C1-C969-4A1F-8FF4-CFBDDF78FD97 icon icon 1522387000 zhenghong 1522387018 zhenghong 头像 varchar(500) 500 3DBECFB8-A73F-4B4E-8770-394020C94B46 gender gender 1522387014 zhenghong 1522387079 zhenghong 性别:0->未知;1->男;2->女 int(1) 1 037D5C09-930F-4CB2-9488-A0D04C98B3DF birthday birthday 1522387055 zhenghong 1522387102 zhenghong 生日 date 5799AC70-2F20-49AD-ACB3-3ACE21BDFA24 city city 1522387097 zhenghong 1522387133 zhenghong 所做城市 varchar(64) 64 5E11EA43-DC5E-48B6-9C7D-4B3283DFEA04 job job 1522387127 zhenghong 1522387170 zhenghong 职业 varchar(100) 100 E4E5B724-CA9B-4DBF-9338-F35A6CEB07C6 personalized_signature personalized_signature 1522387164 zhenghong 1522387227 zhenghong 个性签名 varchar(200) 200 B9C8A488-CE4C-4162-95B8-95AAF2F50D79 source_type source_type 1522387221 zhenghong 1522387354 zhenghong 用户来源 int(1) 1 B2615BC0-8624-420C-9ADD-74B7CC0E1A34 integration integration 1522388283 zhenghong 1522388297 zhenghong 积分 int 68060654-B3F9-460C-B0AD-F69C3D79E7E4 growth growth 1522388293 zhenghong 1522388314 zhenghong 成长值 int F451866B-0691-4BD0-885F-8F8AC6BB07B6 luckey_count luckey_count 1522389179 zhenghong 1522389203 zhenghong 剩余抽奖次数 int DF6E2A37-1087-482C-B3AB-6E24F7CF5824 history_integration history_integration 1522396288 zhenghong 1522396312 zhenghong 历史积分数量 int D643CABA-BFF8-4444-BC9C-459F23DD209B Key_1 Key_1 1522217488 zhenghong 1533115911 zhenghong A0B70C04-02B7-4362-8DE8-EEC09E11CFDE sms_home_brand sms_home_brand 1522223818 zhenghong 1522224364 zhenghong 首页推荐品牌表 55989B16-E9BA-4806-BE60-FBB53C20AFFB id id 1522224202 zhenghong 1522224219 zhenghong bigint 1 1 6EB211BF-005A-45C4-9AD2-3B624549C78B brand_id brand_id 1522224364 zhenghong 1522224376 zhenghong bigint 961D5B66-0DD8-42E5-BFB4-93E536FEC18A brand_name brand_name 1522224216 zhenghong 1522224265 zhenghong varchar(64) 64 F2CF792A-6DB6-445B-9BA9-18C8DC17D441 recommend_status recommend_status 1522224216 zhenghong 1522224356 zhenghong int(1) 1 1AB9EBEC-5310-4ADE-9CAD-39F414C49A73 sort sort 1522224339 zhenghong 1522224356 zhenghong int D81DA96A-E9F0-4D79-971E-1D88C5B3C093 Key_1 Key_1 1522224202 zhenghong 1522224216 zhenghong A25B1802-83AF-4D73-B715-B3CD83BF30B8 sms_home_new_product sms_home_new_product 1522224403 zhenghong 1522225874 zhenghong 新鲜好物表 D44BCE8A-007A-475D-A1A8-A84615449866 id id 1522225739 zhenghong 1522225765 zhenghong bigint 1 1 41AB6B8F-5955-4D0F-82C9-3ECE03DE627F product_id product_id 1522225874 zhenghong 1522225891 zhenghong bigint 0199CB4D-CCB5-45A9-987A-C688680BAD6C product_name product_name 1522225762 zhenghong 1522225835 zhenghong varchar(64) 64 30DFEEA7-AEB5-420B-BB6F-99F4E2A2D4FC recommend_status recommend_status 1522225762 zhenghong 1522225835 zhenghong int(1) 1 D1A8F553-7744-46C7-B8BC-D27C3AD0717E sort sort 1522225762 zhenghong 1522225844 zhenghong int(1) 1 73A2D055-78DF-477F-83FF-E76CEE5860BB Key_1 Key_1 1522225739 zhenghong 1522225762 zhenghong 37399CAC-C0E1-4103-867A-C162B935BFDF sms_home_recommend_product sms_home_recommend_product 1522224403 zhenghong 1541490586 zhenghong 人气推荐商品表 2C05FE30-5B42-49AB-B442-DA48DFBF56ED id id 1522225739 zhenghong 1541490586 zhenghong bigint 1 1 81AA6507-AEAF-445F-8BCA-FE792FD6167D product_id product_id 1522226077 zhenghong 1522398713 zhenghong bigint 5C55D312-2E41-4F12-80A1-D6220C9E71E0 product_name product_name 1522225762 zhenghong 1522226008 zhenghong varchar(64) 64 D1CF9580-8D7D-44B9-82A5-1227DC667978 recommend_status recommend_status 1522225762 zhenghong 1522226008 zhenghong int(1) 1 6B5CC5E0-6B02-4C2B-A8DB-EDAC443C4924 sort sort 1522225762 zhenghong 1522226008 zhenghong int(1) 1 7256867D-3478-4506-AA49-3528838619BD Key_1 Key_1 1522225739 zhenghong 1541490586 zhenghong 6B4E377F-EF19-4F4C-8FA6-0179636E1DD0 sms_home_recommend_subject sms_home_recommend_subject 1522223818 zhenghong 1542179474 zhenghong 首页推荐专题表 BB3B377B-FD15-4644-9382-23DEE1D35C62 id id 1522224202 zhenghong 1542179474 zhenghong bigint 1 1 76387001-86B6-464D-9C61-25F2D7290848 subject_id subject_id 1522226272 zhenghong 1522226311 zhenghong bigint FBF57C52-1D78-415A-A0F1-8C22ECDD209F subject_name subject_name 1522224216 zhenghong 1522226180 zhenghong varchar(64) 64 95A506FC-F1AE-4FDC-A8B6-14DDC2C7686D recommend_status recommend_status 1522224216 zhenghong 1522226140 zhenghong int(1) 1 B7738C94-3636-4CDF-9361-426285F61C01 sort sort 1522224339 zhenghong 1522226140 zhenghong int 4024BDA0-F53B-48E3-AD69-82EDDF413307 Key_1 Key_1 1522224202 zhenghong 1542179474 zhenghong 02B689AF-49BE-4746-9132-46B2A938FDCB sms_home_advertise sms_home_advertise 1522227700 zhenghong 1541578000 zhenghong 首页轮播广告表 2794FB1E-CC31-453F-BE91-089DEA2F10D0 id id 1522228220 zhenghong 1522228237 zhenghong bigint 1 1 170EB06D-58AC-4810-AA05-2E800F4402A7 name name 1522228234 zhenghong 1522228288 zhenghong varchar(100) 100 2D08193E-455A-44D9-8568-65DFC657C51C type type 1522228234 zhenghong 1522228317 zhenghong 轮播位置:0->PC首页轮播;1->app首页轮播 int(1) 1 5BBDEC82-0B2C-4005-AE60-30C24AB2C60B pic pic 1522228288 zhenghong 1522228387 zhenghong varchar(500) 500 9544B543-B26F-4A94-8533-D1CD347E092A start_time start_time 1522228288 zhenghong 1522228387 zhenghong datetime EBE6682D-2345-42DD-B161-78D72008FC58 end_time end_time 1522228288 zhenghong 1522228387 zhenghong datetime 1E82BBF3-64A8-4937-B8E8-2EF1E5396463 status status 1522228288 zhenghong 1522228415 zhenghong 上下线状态:0->下线;1->上线 int(1) 1 7FED5C77-61EC-4ED3-BC71-69B346DB69BD click_count click_count 1522228387 zhenghong 1522228455 zhenghong 点击数 int 28ED368B-9046-4647-8365-6C3CC1A73A00 order_count order_count 1522228387 zhenghong 1522228465 zhenghong 下单数 int 18C101B3-A72F-483F-9A9A-68C90EA4A002 url url 1522228518 zhenghong 1522228545 zhenghong 链接地址 varchar(500) 500 E271F2ED-7B8E-4D02-94F9-DCC3B014B01D note note 1522228518 zhenghong 1522228572 zhenghong 备注 varchar(500) 500 08E34019-824F-4A5D-8635-8CA439722F8E sort sort 1541577989 zhenghong 1541578016 zhenghong 排序 0 int {F4F16ECD-F2F1-4006-AF6F-638D5C65F35E},MYSQL50,102={9480E6AA-83DD-4AA7-9C91-E48F709C29D9},CharSet,0= {B314652C-DD43-4F81-8524-6F97A1BAACBA},Collate,0= 8C05A0D5-5A40-4E5F-803C-21DE1581AB40 Key_1 Key_1 1522228220 zhenghong 1522228234 zhenghong 781E9BBD-7312-4347-A32B-F153B07BC2D6 sms_flash_promotion sms_flash_promotion 1522300652 zhenghong 1522301372 zhenghong 限时购表 A001C3CA-7F30-48B5-BBCA-4DE4FF3AC6D7 id id 1522300654 zhenghong 1542179315 zhenghong bigint 1 1 E7B4D1BF-2B28-4CB5-A266-BF73B2C545CD title title 1522300794 zhenghong 1522300838 zhenghong varchar(200) 200 9E90026D-CCB7-42C4-8305-6C9ED00FBEAD start_date start_date 1522300794 zhenghong 1542178643 zhenghong 开始日期 date 9C92406F-BE6E-4DD0-B9F6-B6DB731826D8 end_date end_date 1522300794 zhenghong 1542178653 zhenghong 结束日期 date 7CF4BD09-90C4-4A00-861D-E4BB0DEDE4F0 status status 1522300794 zhenghong 1522300845 zhenghong 上下线状态 int(1) 1 8D6B6BCE-483E-49D8-9BFE-66FF9BAF4E04 create_time create_time 1522301354 zhenghong 1542178658 zhenghong 秒杀时间段名称 datetime E91F0404-5C5E-465C-965B-AA29A2AC352C Key_1 Key_1 1522300654 zhenghong 1522300717 zhenghong FC0B4AB8-B381-4962-9E00-9012B9389DB2 sms_flash_promotion_log sms_flash_promotion_log 1522303116 zhenghong 1522303410 zhenghong 限时购通知记录 8D5CC3D3-9472-4F2E-85C5-141575078624 id id 1522303118 zhenghong 1522303155 zhenghong int 1 1 43575263-62FC-44CF-9134-A53E2549A413 member_id member_id 1522303390 zhenghong 1586932707 zhenghong bigint 0E5CDA77-D030-43C4-8F3F-62F1DDAF2321 product_id product_id 1522303410 zhenghong 1522303424 zhenghong bigint 58059F15-8E1E-441A-B852-B83A2DC6AF61 member_phone member_phone 1522303170 zhenghong 1522303291 zhenghong varchar(64) 64 E37B4C93-8839-4792-A41C-174666319BC6 product_name product_name 1522303170 zhenghong 1522303291 zhenghong varchar(100) 100 26E55C30-24F2-46E9-8FB8-937189C88290 subscribe_time subscribe_time 1522303170 zhenghong 1522303306 zhenghong 会员订阅时间 datetime 63E8BD65-5DC6-4E86-90D0-81644C960C3A send_time send_time 1522303170 zhenghong 1522303291 zhenghong datetime F5CEFAF5-C8E0-41B0-8893-07DF42A1591B Key_1 Key_1 1522303118 zhenghong 1522303152 zhenghong 284E46B4-B9CC-41C1-B331-6F43782ADCC3 ums_admin ums_admin 1522303730 zhenghong 1538200957 zhenghong 后台用户表 6D584959-4514-4CEC-A0D4-785E46D1A943 id id 1522303731 zhenghong 1522303915 zhenghong bigint 1 1 C69E81B8-3A8A-4F1C-AD79-05187FCF35D3 username username 1522303731 zhenghong 1538199970 zhenghong 用户名 varchar(64) 64 7EB23336-7D63-4C02-AD85-17DA3DC93E6A password password 1522303731 zhenghong 1538199975 zhenghong 密码 varchar(64) 64 FD9B4CBF-DDF3-4CC8-BD69-15221A3E52A8 icon icon 1522303731 zhenghong 1522303910 zhenghong 头像 varchar(500) 500 68129CD9-A241-453D-9223-FB146806D646 email email 1522303731 zhenghong 1538199986 zhenghong 邮箱 varchar(100) 100 5722E92D-6F67-43AA-B480-756C0DC91BDE nick_name nick_name 1538199900 zhenghong 1538199929 zhenghong 昵称 varchar(200) 200 FF0D16AA-77D3-4829-B8E2-9831244DE3B9 note note 1538199923 zhenghong 1538200014 zhenghong 备注信息 varchar(500) 500 AFA0423A-C6BD-424F-B7DB-85D9635EB5A6 create_time create_time 1538200009 zhenghong 1538200107 zhenghong 创建时间 datetime 8CBC1229-E6C7-4EB9-B50D-E765E651E3F4 login_time login_time 1538200009 zhenghong 1538200119 zhenghong 最后登录时间 datetime 63B04D92-8CF8-40F0-855D-272C2976729F status status 1538200789 zhenghong 1538200890 zhenghong 帐号启用状态:0->禁用;1->启用 1 int(1) 1 DC1A590C-BB4F-430C-A34E-014AEC5844D1 Key_1 Key_1 1522303731 zhenghong 1522303905 zhenghong DC20F109-83F4-4E8A-B2CF-299453506A86 ums_admin_login_log ums_admin_login_log 1522303928 zhenghong 1522304178 zhenghong 后台用户登录日志表 8F7618DF-D0CA-48C3-9E4F-CBAA9A41A69B id id 1522303929 zhenghong 1522303971 zhenghong bigint 1 1 C8AEFA16-C796-4CED-902C-21EA9F55C75C admin_id admin_id 1522304178 zhenghong 1522304187 zhenghong bigint B535BE06-4C99-4645-9B42-D984356CF2FF create_time create_time 1522303968 zhenghong 1522304151 zhenghong datetime 6236706F-C5E9-44A6-8BC2-FE0D2F8C8476 ip ip 1522303968 zhenghong 1522304151 zhenghong varchar(64) 64 9E05D212-E28A-463B-9F1D-87FD83F90421 address address 1522303968 zhenghong 1522304151 zhenghong varchar(100) 100 D481AC77-5DC7-490F-856C-C3676F9407AA user_agent user_agent 1522303968 zhenghong 1522304158 zhenghong 浏览器登录类型 varchar(100) 100 127CDB1B-576E-4CE4-B977-681E887F8EEE Key_1 Key_1 1522303929 zhenghong 1522303968 zhenghong A6C67972-0C12-4876-8087-2E48F9028CA7 ums_member_level ums_member_level 1522379808 zhenghong 1542179474 zhenghong 会员等级表 129583EA-DC62-4E57-AEF8-FCA2A4DD3BD4 id id 1522379810 zhenghong 1542179474 zhenghong bigint 1 1 4D12F464-1BC3-4D75-9BF6-AB23F4899E9B name name 1522379831 zhenghong 1522379896 zhenghong varchar(100) 100 38041EA5-676A-4D2B-931F-8158FDA8CB48 growth_point growth_point 1522379831 zhenghong 1522379896 zhenghong int 63E410FA-E2CC-41F9-9FE9-9272F61F19A1 default_status default_status 1522379896 zhenghong 1522379987 zhenghong 是否为默认等级:0->不是;1->是 int(1) 1 4B60128E-FF93-4486-B758-081868324568 free_freight_point free_freight_point 1522379964 zhenghong 1522380124 zhenghong 免运费标准 decimal(10,2) 10 2 9A810F9D-3942-417E-9057-39A71284BEB1 comment_growth_point comment_growth_point 1522380184 zhenghong 1522380212 zhenghong 每次评价获取的成长值 int 437D93E8-BC05-48F4-9103-AAADEC2F18B3 priviledge_free_freight priviledge_free_freight 1522380199 zhenghong 1522380558 zhenghong 是否有免邮特权 int(1) 1 4ACB8B0D-322B-4240-994A-BF76A866C4C1 priviledge_sign_in priviledge_sign_in 1522380199 zhenghong 1522380566 zhenghong 是否有签到特权 int(1) 1 76160658-2A87-4D99-8A9E-9F2CA2752530 priviledge_comment priviledge_comment 1522380199 zhenghong 1522380592 zhenghong 是否有评论获奖励特权 int(1) 1 4BFAE1D1-5395-4502-BA29-FD53E5C998FF priviledge_promotion priviledge_promotion 1522380199 zhenghong 1522380617 zhenghong 是否有专享活动特权 int(1) 1 4D408989-5456-40D8-AEEE-9E1E14564E6A priviledge_member_price priviledge_member_price 1522380199 zhenghong 1522747697 zhenghong 是否有会员价格特权 int(1) 1 3C4297F8-BFE4-42AC-8967-1627A0EB62AE priviledge_birthday priviledge_birthday 1522380199 zhenghong 1522380640 zhenghong 是否有生日特权 int(1) 1 CD9D3466-6A59-4BD3-B7BC-8B3478EDA73B note note 1522386815 zhenghong 1522386830 zhenghong varchar(200) 200 E6F6D42A-97D4-4207-B966-0BBD47776D79 Key_1 Key_1 1522379810 zhenghong 1542179474 zhenghong 31084C7B-4E3D-4630-A484-B457DFC84069 ums_member_product_category_relation ums_member_product_category_relation 1522387387 zhenghong 1522387526 zhenghong 会员与产品分类关系表(用户喜欢的分类) 9F3E472B-AE33-4C2A-BC75-F7EF6CD3F295 id id 1522387388 zhenghong 1522387447 zhenghong bigint 1 1 CF33591F-94A0-4ECB-A19E-1FCDECAEFB2B member_id member_id 1522387461 zhenghong 1522391508 zhenghong bigint 26A81B95-6339-4F97-9FD9-7A9343D8FC3C product_category_id product_category_id 1522387526 zhenghong 1522387541 zhenghong bigint 319FB1F7-17E2-404B-8A53-1D83019DBED4 Key_1 Key_1 1522387388 zhenghong 1522387444 zhenghong 94C05B4D-0F20-4449-8EC4-52604C753834 ums_member_statistics_info ums_member_statistics_info 1522387906 zhenghong 1522390765 zhenghong 会员统计信息 6B92C176-B80A-42DF-913D-4B9F276C8DEE id id 1522387936 zhenghong 1522391425 zhenghong bigint 1 1 D357658D-303B-4EF3-AC8E-E97A22EB9F28 member_id member_id 1522389232 zhenghong 1522391425 zhenghong bigint 854439C2-AEFC-4DBE-B9F0-26F768FACD07 consume_amount consume_amount 1522387970 zhenghong 1522388137 zhenghong 累计消费金额 decimal(10,2) 10 2 6F0A7AA7-4899-4BD7-B041-449A73F83B50 order_count order_count 1522388177 zhenghong 1522388194 zhenghong 订单数量 int 03C07BA1-E675-412B-AE21-FC427A919156 coupon_count coupon_count 1522388366 zhenghong 1522388384 zhenghong 优惠券数量 int 40B971A2-E3E9-4987-9B21-2455EF702FA4 comment_count comment_count 1522388395 zhenghong 1522388414 zhenghong 评价数 int 285C0BDD-D3D2-4715-969F-3F04972A9216 return_order_count return_order_count 1522388791 zhenghong 1522388810 zhenghong 退货数量 int D44D9C8E-834B-49C2-A487-19243A6B75C7 login_count login_count 1522388804 zhenghong 1522388842 zhenghong 登录次数 int A6954A96-3E39-412D-8648-6420D1DE69A8 attend_count attend_count 1522388885 zhenghong 1522388911 zhenghong 关注数量 int 801A9777-A84E-455D-87DB-CB5F223BEC40 fans_count fans_count 1522388904 zhenghong 1522388949 zhenghong 粉丝数量 int E7A5B7B0-3561-4149-A49A-F8130558ABBD collect_product_count collect_product_count 1522388944 zhenghong 1522389176 zhenghong int 5E257B18-EF0C-4C89-941D-78783C0D17DF collect_subject_count collect_subject_count 1522388944 zhenghong 1522389176 zhenghong int 37323B30-236A-4CAE-B7E5-AE3A5F527ABA collect_topic_count collect_topic_count 1522388944 zhenghong 1522389176 zhenghong int 186B8DCF-6580-4D89-AA2B-89333527FCD6 collect_comment_count collect_comment_count 1522388944 zhenghong 1522389176 zhenghong int 29465239-85D6-4029-B631-809C1AC7F1FB invite_friend_count invite_friend_count 1522388944 zhenghong 1522389309 zhenghong int C133A420-C28D-4442-B747-9CFEA1E2FA2A recent_order_time recent_order_time 1522390747 zhenghong 1522390773 zhenghong 最后一次下订单时间 datetime 920005AF-C54B-4D67-9D61-7A15D96EC34D Key_1 Key_1 1522387936 zhenghong 1522387970 zhenghong C1C1114F-DE94-4DF6-80DD-7A8210AC0D1B ums_member_receive_address ums_member_receive_address 1522390106 zhenghong 1535437101 zhenghong 会员收货地址表 98B61DFE-761A-4910-A45C-89DE44A801BD id id 1522390108 zhenghong 1522390428 zhenghong bigint 1 1 817400C5-8063-4373-9F89-F52F0AA9E815 member_id member_id 1522390434 zhenghong 1522391455 zhenghong bigint AFF04439-EC58-4338-8228-623D8193B384 name name 1522390108 zhenghong 1522390245 zhenghong 收货人名称 varchar(100) 100 0CDFE5D1-E06C-466F-B066-F6FFC0FC0873 phone_number phone_number 1522390108 zhenghong 1522390221 zhenghong varchar(64) 64 2D383AAE-D002-480B-B081-4ABB9A0FE45F default_status default_status 1522390286 zhenghong 1522390346 zhenghong 是否为默认 int(1) 1 013038D3-3265-4B47-AA73-C893A6006BD8 post_code post_code 1522390221 zhenghong 1522390293 zhenghong 邮政编码 varchar(100) 100 214E7869-4680-4DDC-A4AF-611BDB9DB594 province province 1535436971 zhenghong 1535437029 zhenghong 省份/直辖市 varchar(100) 100 B014298F-01AD-4171-9D9F-916D27574AB6 city city 1535436971 zhenghong 1535437115 zhenghong 城市 varchar(100) 100 106C677E-A9B6-40ED-A992-CD0CADF4BFFF region region 1535437026 zhenghong 1535437123 zhenghong varchar(100) 100 4EDEC710-4328-4BF8-BCCC-EA8EAAA48FF1 detail_address detail_address 1522390108 zhenghong 1535436990 zhenghong 详细地址(街道) varchar(128) 128 DF83812C-9AB1-43B1-9C66-06DDD339917E Key_1 Key_1 1522390409 zhenghong 1522390420 zhenghong 202E7837-16F9-471E-8D27-BADDF8ABC40F ums_member_login_log ums_member_login_log 1522390511 zhenghong 1522747822 zhenghong 会员登录记录 4B9B3F0B-970F-4BD2-ADA9-9B5AF12CB5AB id id 1522390513 zhenghong 1522390660 zhenghong bigint 1 1 96996021-E445-4698-B1A6-42E723CA01EF member_id member_id 1522390644 zhenghong 1522391446 zhenghong bigint D5AD4C5C-E858-4BA3-8DB3-741A4D6D780C create_time create_time 1522390531 zhenghong 1522747822 zhenghong datetime EA660841-B4C3-4D58-BA70-765F688BBFB9 ip ip 1522390531 zhenghong 1522390603 zhenghong varchar(64) 64 4129F50F-3EB2-402A-8239-25FB68B06BE1 city city 1522390531 zhenghong 1522390603 zhenghong varchar(64) 64 9C080457-2FBF-4EEA-B7DF-B465681C679C login_type login_type 1522390531 zhenghong 1522390637 zhenghong 登录类型:0->PC;1->android;2->ios;3->小程序 int(1) 1 026D0B9F-44F5-4302-8766-551E0CBA48E2 province province 1522747786 zhenghong 1522747822 zhenghong varchar(64) 64 EC511DBF-DA00-49B0-9DD3-AE6E4E18496A Key_1 Key_1 1522390513 zhenghong 1522390531 zhenghong 2A13105F-B4ED-4672-A401-CDDE4B9CE410 ums_member_tag ums_member_tag 1522390830 zhenghong 1522391227 zhenghong 用户标签表 438F1497-2B84-4368-AE85-9E1806F36FC9 id id 1522390831 zhenghong 1522390857 zhenghong bigint 1 1 96FB084C-E214-4481-95FD-52FF9AF5C1FA name name 1522390831 zhenghong 1522391227 zhenghong varchar(100) 100 C727F26A-5CFA-4C30-9EE3-A5F87998DE9E finish_order_count finish_order_count 1522390854 zhenghong 1522391257 zhenghong 自动打标签完成订单数量 int 148613FB-7BCE-4145-B955-B0077E630B6E finish_order_amount finish_order_amount 1522390854 zhenghong 1522391246 zhenghong 自动打标签完成订单金额 decimal(10,2) 10 2 02E5405B-3466-42C6-B07B-090E17D190BA Key_1 Key_1 1522390831 zhenghong 1522390854 zhenghong 2D7B72D8-D25F-4A09-B4FA-16D2CEC9752A ums_member_member_tag_relation ums_member_member_tag_relation 1522391304 zhenghong 1522391380 zhenghong 用户和标签关系表 BB1BD091-E5C8-4C12-8A9A-C2ADC962E7E5 id id 1522391305 zhenghong 1522391363 zhenghong bigint 1 1 854EDA6D-D3FB-4AFF-92AD-1FDF1DC32E1E member_id member_id 1522391366 zhenghong 1522391394 zhenghong bigint 89D08954-C6F1-4B1F-8BAE-E19BDF39DE08 tag_id tag_id 1522391379 zhenghong 1522391394 zhenghong bigint AEBACA14-2E96-4718-ACE9-C6F76721B8E8 Key_1 Key_1 1522391305 zhenghong 1522391349 zhenghong 58F43871-0D7C-4478-9A1B-43102436A177 ums_integration_change_history ums_integration_change_history 1522396385 zhenghong 1522396758 zhenghong 积分变化历史记录表 457FA52E-BCCD-40B6-9595-2597CD6C75E2 id id 1522396386 zhenghong 1522396494 zhenghong bigint 1 1 9964C6D5-F7BD-40FB-957B-7A66DFF172A4 member_id member_id 1522396648 zhenghong 1522396659 zhenghong bigint BCF4B5AF-DEA0-4D46-8A23-E5348BF281C8 create_time create_time 1522396491 zhenghong 1522396534 zhenghong datetime 52CE81B5-6BDF-40F0-97BA-2DC303583FF4 change_type change_type 1522396491 zhenghong 1522396606 zhenghong 改变类型:0->增加;1->减少 int(1) 1 6D9BAE2A-F62A-4DA0-B9B4-AD3695E3ADEC change_count change_count 1522396491 zhenghong 1522396606 zhenghong 积分改变数量 int E63C6C7E-249C-4653-AF54-3DF677FF8B65 operate_man operate_man 1522396534 zhenghong 1522396612 zhenghong 操作人员 varchar(100) 100 079B7A28-0F20-4439-934B-AC8ABA31B76A operate_note operate_note 1522396606 zhenghong 1522396638 zhenghong 操作备注 varchar(200) 200 A51DAFDF-D7E9-403D-A31F-7341E809448F source_type source_type 1522396738 zhenghong 1522396780 zhenghong 积分来源:0->购物;1->管理员修改 int(1) 1 A0C0BBC3-CBCB-4FD0-A047-91D827AFA920 Key_1 Key_1 1522396386 zhenghong 1522396491 zhenghong DDBBBFBE-DCB3-4F92-A291-19A1F5767709 ums_growth_change_history ums_growth_change_history 1522396385 zhenghong 1522396864 zhenghong 成长值变化历史记录表 0161A828-441F-4CAB-90F0-2FC4EF6A6B3F id id 1522396386 zhenghong 1522396809 zhenghong bigint 1 1 B546E2F7-48AB-4A7C-A4A0-28A667D75391 member_id member_id 1522396864 zhenghong 1522396878 zhenghong bigint D33F598C-18B5-4DF4-8326-FF7328B10F00 create_time create_time 1522396491 zhenghong 1522396809 zhenghong datetime A0377031-7298-442C-B4DF-94C554828629 change_type change_type 1522396491 zhenghong 1522396809 zhenghong 改变类型:0->增加;1->减少 int(1) 1 0EF45C85-5160-4E92-A3A6-C4B546D93214 change_count change_count 1522396491 zhenghong 1522396809 zhenghong 积分改变数量 int 4893755C-D937-4D36-9611-B9AD46A57BAA operate_man operate_man 1522396534 zhenghong 1522396809 zhenghong 操作人员 varchar(100) 100 6CA349B8-491B-4E27-880E-D83491AB7849 operate_note operate_note 1522396606 zhenghong 1522396809 zhenghong 操作备注 varchar(200) 200 52268506-CE01-481B-ABD3-F84E4E9758C9 source_type source_type 1522396738 zhenghong 1522396809 zhenghong 积分来源:0->购物;1->管理员修改 int(1) 1 2BAA5513-B2CF-4B60-A990-6319EB2671C4 Key_1 Key_1 1522396386 zhenghong 1522396809 zhenghong D2D961A9-BB8B-41D8-A501-1AF511F65DF9 ums_member_task ums_member_task 1522397182 zhenghong 1522397290 zhenghong 会员任务表 56B17C0E-8FBA-4594-8C45-1FF6469A7159 id id 1522397183 zhenghong 1522397211 zhenghong bigint 1 1 65D902D3-95D4-4540-BC18-F384B3710D83 name name 1522397207 zhenghong 1522397290 zhenghong varchar(100) 100 20EF2EF9-E621-4652-B334-862949676CA3 growth growth 1522397207 zhenghong 1522397322 zhenghong 赠送成长值 int 55E587FF-CF0D-45D0-B63D-171E313D0FEB intergration intergration 1522397207 zhenghong 1522397329 zhenghong 赠送积分 int 6878B9A3-18D2-4405-97D4-B3BE49EBA993 type type 1522397207 zhenghong 1522397312 zhenghong 任务类型:0->新手任务;1->日常任务 int(1) 1 EA426689-78F7-40C2-B520-83BA9FCC54D1 Key_1 Key_1 1522397183 zhenghong 1522397207 zhenghong 9E564377-D9BE-4655-AC2E-13B0FD5CAF22 ums_member_rule_setting ums_member_rule_setting 1522397511 zhenghong 1522397900 zhenghong 会员积分成长规则表 125CFE60-6A33-4680-B726-FC5E68082C98 id id 1522397511 zhenghong 1522397554 zhenghong bigint 1 1 38E3DC37-0559-41F6-84C0-3F5C43C48FF0 continue_sign_day continue_sign_day 1522397551 zhenghong 1522397634 zhenghong 连续签到天数 int 9508FDB7-6018-4E59-A007-49274C4627DC continue_sign_point continue_sign_point 1522397620 zhenghong 1522397799 zhenghong 连续签到赠送数量 int 2D67D7C4-242F-4287-AE03-819499C5EEE9 consume_per_point consume_per_point 1522397671 zhenghong 1522397900 zhenghong 每消费多少元获取1个点 decimal(10,2) 10 2 3099A480-47E9-45F0-9183-7884D0C8B799 low_order_amount low_order_amount 1522397671 zhenghong 1522397933 zhenghong 最低获取点数的订单金额 decimal(10,2) 10 2 10ECB92A-03AE-4EC0-9F92-D4693B754400 max_point_per_order max_point_per_order 1522397799 zhenghong 1522397949 zhenghong 每笔订单最高获取点数 int BBA261DE-035F-41ED-96F8-64CF61B19EB8 type type 1522397799 zhenghong 1522397970 zhenghong 类型:0->积分规则;1->成长值规则 int(1) 1 B72372E9-CEF8-4759-A874-B60E418F73DE Key_1 Key_1 1522397511 zhenghong 1522397551 zhenghong C1DCA2EA-AC28-420C-BFEF-FFE7F5644910 ums_integration_consume_setting ums_integration_consume_setting 1522398032 zhenghong 1535615091 zhenghong 积分消费设置 5A65A4E0-C798-494B-89AA-899A5FE7ECC3 id id 1522398033 zhenghong 1522398074 zhenghong bigint 1 1 E5B7DEEB-C659-43D6-A649-4A7AA6BA968A deduction_per_amount deduction_per_amount 1522398071 zhenghong 1522398169 zhenghong 每一元需要抵扣的积分数量 int 3F3EBC7E-C661-4BF6-9748-A63740946E37 max_percent_per_order max_percent_per_order 1522398150 zhenghong 1522398207 zhenghong 每笔订单最高抵用百分比 int A51ACE1C-D2CC-4935-AEEE-392472F47BA1 use_unit use_unit 1522398194 zhenghong 1522398281 zhenghong 每次使用积分最小单位100 int 381B38BC-D7D6-44F6-8E9A-7EC3ED2D96C3 coupon_status coupon_status 1522398253 zhenghong 1522398330 zhenghong 是否可以和优惠券同用;0->不可以;1->可以 int(1) 1 E57C57B8-9833-47BB-905A-F54F0A5010DA Key_1 Key_1 1522398033 zhenghong 1522398071 zhenghong 9FDE9178-BEB4-4D80-8DFE-245B7FA5954D oms_order oms_order 1522658325 zhenghong 1541490586 zhenghong 订单表 3563269E-6EED-49DE-AC40-20CDE76A70F7 id id 1522658326 zhenghong 1541490586 zhenghong 订单id bigint 1 1 1BFDD362-9A3F-4A39-A46A-988EFE0700F4 member_id member_id 1522659209 zhenghong 1535612363 zhenghong bigint 1 7A1BB5A1-6ACE-4259-9D2F-A11D74465729 coupon_id coupon_id 1522724329 zhenghong 1522724373 zhenghong bigint 190337D5-DBCF-44C7-8E8F-60BA716C7D73 order_sn order_sn 1522658365 zhenghong 1522658432 zhenghong 订单编号 varchar(64) 64 42DE6A32-DB28-4441-9D31-43954E2B32F8 create_time create_time 1522658421 zhenghong 1522658633 zhenghong 提交时间 datetime B66D00FB-2706-4456-9C8D-5BE63900E843 member_username member_username 1522658628 zhenghong 1522658689 zhenghong 用户帐号 varchar(64) 64 93AF6B00-CE9F-4E65-852A-21DF3E8E38D3 total_amount total_amount 1522658628 zhenghong 1522723559 zhenghong 订单总金额 decimal(10,2) 10 2 AA07B22F-DFD0-4443-B124-4E7A948B8F1A pay_amount pay_amount 1535611784 zhenghong 1535611836 zhenghong 应付金额(实际支付金额) decimal(10,2) 10 2 93484605-04CB-4451-BA1C-1D43843E1FE8 freight_amount freight_amount 1522723575 zhenghong 1522723610 zhenghong 运费金额 decimal(10,2) 10 2 31D4C71F-D7FF-4C00-88F3-D1A8B195D948 promotion_amount promotion_amount 1522723762 zhenghong 1522723859 zhenghong 促销优化金额(促销价、满减、阶梯价) decimal(10,2) 10 2 2AC97908-B95C-4C45-AD78-5AEBD42D415E integration_amount integration_amount 1522723873 zhenghong 1522723942 zhenghong 积分抵扣金额 decimal(10,2) 10 2 BDECF3D8-B85D-459A-9336-D298B11A129C coupon_amount coupon_amount 1522724126 zhenghong 1522724255 zhenghong 优惠券抵扣金额 decimal(10,2) 10 2 570A30CB-E74E-4D54-A2F5-354511EEAD73 discount_amount discount_amount 1522724794 zhenghong 1522724828 zhenghong 管理员后台调整订单使用的折扣金额 decimal(10,2) 10 2 2506F5AD-C896-45DA-B1A9-47A3F09F32A7 pay_type pay_type 1522658684 zhenghong 1522747151 zhenghong 支付方式:0->未支付;1->支付宝;2->微信 int(1) 1 1E796BD6-898E-4EDA-8ADE-A86D6305ED56 source_type source_type 1522658832 zhenghong 1522658869 zhenghong 订单来源:0->PC订单;1->app订单 int(1) 1 EBDE3354-1D7D-43AF-ADC1-D73233AF9967 status status 1522658850 zhenghong 1522659024 zhenghong 订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单 int(1) 1 17C117FA-5488-480A-98AD-35E18E6B084D order_type order_type 1522658951 zhenghong 1522659122 zhenghong 订单类型:0->正常订单;1->秒杀订单 int(1) 1 61822C95-27AC-4143-8C5F-CDE6DFE15B2C delivery_company delivery_company 1522659709 zhenghong 1522725481 zhenghong 物流公司(配送方式) varchar(64) 64 91DA7F9F-8F28-4D16-8A89-1379C5141304 delivery_sn delivery_sn 1522659876 zhenghong 1522659902 zhenghong 物流单号 varchar(64) 64 ACB792D2-4ED5-47EE-BAFD-C389DAAA07E3 auto_confirm_day auto_confirm_day 1522659893 zhenghong 1522659955 zhenghong 自动确认时间(天) int C142CF56-1ED7-4D71-95DF-9F114248A7BC integration integration 1522660001 zhenghong 1522660021 zhenghong 可以获得的积分 int EA968274-2B27-4C3C-9565-619251E927BA growth growth 1522660001 zhenghong 1522660081 zhenghong 可以活动的成长值 int B8CC6F72-DB4E-4A81-9D94-16B7AE9470A1 promotion_info promotion_info 1522660053 zhenghong 1522660086 zhenghong 活动信息 varchar(100) 100 BBE7BE20-0F91-48B2-96EA-7852ACCE40D1 bill_type bill_type 1522660081 zhenghong 1522660200 zhenghong 发票类型:0->不开发票;1->电子发票;2->纸质发票 int(1) 1 5A0811A5-51AF-47C2-A7F8-A2909F856961 bill_header bill_header 1522660171 zhenghong 1522660226 zhenghong 发票抬头 varchar(200) 200 B0E18290-D990-4622-B718-71A7113E9480 bill_content bill_content 1522660220 zhenghong 1522660256 zhenghong 发票内容 varchar(200) 200 CE69C28B-C4BC-44AA-B3F2-30B6AD8390F8 bill_receiver_phone bill_receiver_phone 1522660252 zhenghong 1522660326 zhenghong 收票人电话 varchar(32) 32 DB7AE7E6-2321-4C2C-8580-7AEB802EBE2C bill_receiver_email bill_receiver_email 1522660252 zhenghong 1522660344 zhenghong 收票人邮箱 varchar(64) 64 98B312FD-4E06-4D2B-AC6F-970B84E6C73F receiver_name receiver_name 1522660318 zhenghong 1535612363 zhenghong 收货人姓名 varchar(100) 100 1 1174D5FE-B8AE-49E7-A4D2-F947BFE08091 receiver_phone receiver_phone 1522660394 zhenghong 1535612363 zhenghong 收货人电话 varchar(32) 32 1 AA0D5272-63FA-45D9-8816-9D547B177F10 receiver_post_code receiver_post_code 1522660418 zhenghong 1522660472 zhenghong 收货人邮编 varchar(32) 32 7E47519A-F397-40EF-A70D-4B26E116BD67 receiver_province receiver_province 1522660464 zhenghong 1522660527 zhenghong 省份/直辖市 varchar(32) 32 3218F635-7F7D-4A36-9BF2-E1C822053456 receiver_city receiver_city 1522660515 zhenghong 1522660549 zhenghong 城市 varchar(32) 32 8C3E74BC-0BCA-4E3F-A1F8-4C06D7192D4E receiver_region receiver_region 1522660544 zhenghong 1522660590 zhenghong varchar(32) 32 661DB749-D0D5-43E2-B96E-2444DA4DBA06 receiver_detail_address receiver_detail_address 1522660585 zhenghong 1522660613 zhenghong 详细地址 varchar(200) 200 F0169A36-508E-4CDA-8BD0-6077437C30DA note note 1522724892 zhenghong 1522724915 zhenghong 订单备注 varchar(500) 500 735D23D8-B7B2-4474-A113-1ED7AAA6C9B8 confirm_status confirm_status 1522725950 zhenghong 1522725999 zhenghong 确认收货状态:0->未确认;1->已确认 int(1) 1 1D7E85F6-2738-40D2-A69D-1B55994F607A delete_status delete_status 1535611815 zhenghong 1535612418 zhenghong 删除状态:0->未删除;1->已删除 0 int(1) 1 1 {F4F16ECD-F2F1-4006-AF6F-638D5C65F35E},MYSQL50,102={9480E6AA-83DD-4AA7-9C91-E48F709C29D9},CharSet,0= {B314652C-DD43-4F81-8524-6F97A1BAACBA},Collate,0= F556C92B-2EE8-48AB-B431-CABDBE189320 use_integration use_integration 1536136197 zhenghong 1536136230 zhenghong 下单时使用的积分 int 1D5BDFFC-6D63-44EA-8B7D-751C599A2A3A payment_time payment_time 1539236189 zhenghong 1539236349 zhenghong 支付时间 datetime D2094CD3-0C14-476E-9267-60186CD40813 delivery_time delivery_time 1539236207 zhenghong 1539236252 zhenghong 发货时间 datetime 70755468-D317-4803-9B06-3975443F82C3 receive_time receive_time 1539236247 zhenghong 1539236359 zhenghong 确认收货时间 datetime C9857D65-CC11-42E6-BE7C-03A1B181DCB4 comment_time comment_time 1539236349 zhenghong 1539236415 zhenghong 评价时间 datetime E2934ED3-7C35-4E4C-85C8-4554D6FED072 modify_time modify_time 1539236409 zhenghong 1539236440 zhenghong 修改时间 datetime F98BE405-9DED-4054-ABBF-40BD4672B58B Key_1 Key_1 1522658326 zhenghong 1541490586 zhenghong FDAAF085-F146-4ADE-919D-85D1DB4E61EE oms_order_item oms_order_item 1522660695 zhenghong 1582621151 zhenghong 订单中所包含的商品 C2ABF8A4-2DE7-4C17-8053-440A60BD8EE7 id id 1522660696 zhenghong 1522660748 zhenghong bigint 1 1 B1934126-97B4-461B-B2A8-D53CCF81245C order_id order_id 1522660753 zhenghong 1522660776 zhenghong 订单id bigint EA411763-23EA-4E27-97CD-1C0D5925157C order_sn order_sn 1522660755 zhenghong 1522660781 zhenghong 订单编号 varchar(64) 64 DCF7D58B-AD64-48B0-9A65-4FDAE9A32DFB product_id product_id 1522660820 zhenghong 1522660829 zhenghong bigint 7BDD65C2-224E-413D-AD83-437754569B1C product_pic product_pic 1522719518 zhenghong 1535696089 zhenghong varchar(500) 500 DFFC50EA-1E9A-4867-9EE8-B1A1B84E51E7 product_name product_name 1522719518 zhenghong 1522719560 zhenghong varchar(200) 200 68478EE9-703A-4DFD-A085-7B109BBF650D product_brand product_brand 1522719571 zhenghong 1522719666 zhenghong varchar(200) 200 27623FBE-2491-4310-AA4E-D93F4AD59154 product_sn product_sn 1522719571 zhenghong 1522719666 zhenghong varchar(64) 64 A9EF8281-439D-4D05-BB45-E933E648D979 product_price product_price 1522719571 zhenghong 1535694206 zhenghong 销售价格 decimal(10,2) 10 2 015E8942-52BF-4342-9C4C-1230A266C1C9 product_quantity product_quantity 1522723168 zhenghong 1535694166 zhenghong 购买数量 int EE8FDF66-7853-4BCE-98D9-40ADC13CC78F product_sku_id product_sku_id 1535693972 zhenghong 1535694126 zhenghong 商品sku编号 bigint B13B6661-62F2-461A-B375-7556D6DBE56D product_sku_code product_sku_code 1535693972 zhenghong 1535694135 zhenghong 商品sku条码 varchar(50) 50 6B11B4F4-2F88-4DA2-A6C6-B5563F8AB67F product_category_id product_category_id 1535938231 zhenghong 1535938276 zhenghong 商品分类id bigint 00A626D1-90DA-4262-8FFB-874691D67C3E promotion_name promotion_name 1535694274 zhenghong 1535694390 zhenghong 商品促销名称 varchar(200) 200 FCD8E9C9-7C56-47F0-8FBB-5534EB9B8FDE promotion_amount promotion_amount 1535694166 zhenghong 1535694826 zhenghong 商品促销分解金额 decimal(10,2) 10 2 073E4D15-F6EB-405D-9429-3A2FD362E949 coupon_amount coupon_amount 1535694274 zhenghong 1535694877 zhenghong 优惠券优惠分解金额 decimal(10,2) 10 2 B4781397-191A-42B9-AAF7-D96E7BC3449D integration_amount integration_amount 1535694826 zhenghong 1535694927 zhenghong 积分优惠分解金额 decimal(10,2) 10 2 AD7CAE73-04BF-4BB8-BEFA-E0A7B94BF373 real_amount real_amount 1522724652 zhenghong 1535694701 zhenghong 该商品经过优惠后的分解金额 decimal(10,2) 10 2 3FBC2AE3-3000-41C7-B78C-DB7AC7ABDC16 gift_integration gift_integration 1535964164 zhenghong 1535964238 zhenghong 商品赠送积分 0 int 1 C7705A4E-64E8-44A3-B3BE-7A8762E73CFD gift_growth gift_growth 1535964164 zhenghong 1535964251 zhenghong 商品赠送成长值 0 int 1 07F49796-6B7C-4A44-BF17-6EF191BE819A product_attr product_attr 1540542610 zhenghong 1540542637 zhenghong 商品销售属性:[{"key":"颜色","value":"颜色"},{"key":"容量","value":"4G"}] varchar(500) 500 8B728C73-2ED3-4C44-8C64-95692A16EA10 Key_1 Key_1 1522660696 zhenghong 1522660745 zhenghong E184F9AC-F126-46D6-A8FF-5F95FBA2F74D oms_order_operate_history oms_order_operate_history 1522724973 zhenghong 1522725331 zhenghong 订单操作历史记录 46247D13-9B17-44EB-9300-7BA49AC214FB id id 1522724975 zhenghong 1522725013 zhenghong bigint 1 1 CBAA2797-F782-492E-89D8-B87830B4FD86 order_id order_id 1522725331 zhenghong 1522725342 zhenghong 订单id bigint B26D3031-3438-4CAB-BC93-2277F41D2F64 operate_man operate_man 1522725011 zhenghong 1522725056 zhenghong 操作人:用户;系统;后台管理员 varchar(100) 100 14B87125-FC24-4D09-982E-F43F618B6C3A create_time create_time 1522725037 zhenghong 1522725076 zhenghong 操作时间 datetime 296A8CF6-1BC8-46E1-846F-25114FF35EEB order_status order_status 1522725072 zhenghong 1522725298 zhenghong 订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单 int(1) 1 9F651D4E-088F-4735-ACAD-12ED16C49FDE note note 1522725292 zhenghong 1522725326 zhenghong 备注 varchar(500) 500 50772925-29B2-4E77-A02B-5AB8C229953C Key_1 Key_1 1522724975 zhenghong 1522725011 zhenghong A3448BD2-42B4-44EC-9BD2-9837B4DF8523 oms_order_setting oms_order_setting 1522726076 zhenghong 1522731991 zhenghong 订单设置表 03B16432-ECCE-4698-B24A-05554E64C35C id id 1522726077 zhenghong 1522726104 zhenghong bigint 1 1 AC98E6B7-ADDF-43AD-B2F0-6CFE7715E9F1 flash_order_overtime flash_order_overtime 1522726101 zhenghong 1522726218 zhenghong 秒杀订单超时关闭时间(分) int C4E474C5-194A-4B54-8DF1-F37B681DE42B normal_order_overtime normal_order_overtime 1522726150 zhenghong 1522726226 zhenghong 正常订单超时时间(分) int 773FEFCD-F4A3-4D9E-B061-10C12CA1B397 confirm_overtime confirm_overtime 1522726177 zhenghong 1522726257 zhenghong 发货后自动确认收货时间(天) int DD5B89B8-5DC6-4EB1-B916-D76BD75CB0F5 finish_overtime finish_overtime 1522731908 zhenghong 1522732014 zhenghong 自动完成交易时间,不能申请售后(天) int D090D0ED-6A45-445C-ADE3-F1E18734F159 comment_overtime comment_overtime 1522731929 zhenghong 1522732004 zhenghong 订单完成后自动好评时间(天) int 7C2ADDA9-1584-4310-A3FE-7F1E18447823 Key_1 Key_1 1522726077 zhenghong 1522726101 zhenghong 5006E5DC-16F9-4C44-ABAA-2812B50757BB oms_order_return_apply oms_order_return_apply 1522732897 zhenghong 1539746524 zhenghong 订单退货申请 CF99B61C-D0E5-4EB4-BFC6-111A9F3D44E8 id id 1522732898 zhenghong 1522732943 zhenghong bigint 1 1 A6E68B83-006A-468C-A461-C647705E038C order_id order_id 1522733188 zhenghong 1522733198 zhenghong 订单id bigint 8D1F23F9-09FD-416B-8E38-CFDE67721417 company_address_id company_address_id 1522745521 zhenghong 1539745624 zhenghong 收货地址表id bigint A6898418-67C2-4E9F-9093-6FF8782BD12F product_id product_id 1539746524 zhenghong 1539746553 zhenghong 退货商品id bigint 56ACAE3C-5533-44A1-BA57-602058B6CEF2 order_sn order_sn 1522733452 zhenghong 1522733474 zhenghong 订单编号 varchar(64) 64 F2C78E24-CDB0-4AA7-B6CD-21E55B380E95 create_time create_time 1522732939 zhenghong 1539746482 zhenghong 申请时间 datetime 70FBE2CF-BE0D-44DD-8679-39DAA782E1A3 member_username member_username 1522732939 zhenghong 1539745698 zhenghong 会员用户名 varchar(64) 64 7B8A70B3-9FC9-4136-BEC9-D2DF393DB988 return_amount return_amount 1522732939 zhenghong 1522733013 zhenghong 退款金额 decimal(10,2) 10 2 4FB9898E-63E4-4B21-B577-504320D3D4F9 return_name return_name 1522733003 zhenghong 1539745642 zhenghong 退货人姓名 varchar(100) 100 8ADCC57B-6CA5-4A89-8B5A-6283FE7B3DDF return_phone return_phone 1522733468 zhenghong 1522733653 zhenghong 退货人电话 varchar(100) 100 F01CC8D2-508C-424D-BF17-AE42ABE28223 status status 1522733003 zhenghong 1522733137 zhenghong 申请状态:0->待处理;1->退货中;2->已完成;3->已拒绝 int(1) 1 65402A2F-A01C-4B4D-9F19-9ACD48637159 handle_time handle_time 1522733003 zhenghong 1522733179 zhenghong 处理时间 datetime AADBD0C8-E8CD-45D6-BDF4-13840EEFA26C product_pic product_pic 1522733217 zhenghong 1539745750 zhenghong 商品图片 varchar(500) 500 B4BB6015-3948-411C-9558-6CAF55CEF04C product_name product_name 1522733217 zhenghong 1539745756 zhenghong 商品名称 varchar(200) 200 D30E609F-3F5C-401C-8690-EEA47B0E6694 product_brand product_brand 1522733217 zhenghong 1539745719 zhenghong 商品品牌 varchar(200) 200 86B4B2F7-9A36-47AC-A3DA-7F45FFF21639 product_attr product_attr 1522733217 zhenghong 1522733369 zhenghong 商品销售属性:颜色:红色;尺码:xl; varchar(500) 500 DE661909-8CDC-4C09-A0C1-5587F969523A product_count product_count 1522733332 zhenghong 1522733395 zhenghong 退货数量 int B16F9E1E-749A-477B-B8E1-70B635CC8F00 product_price product_price 1539746095 zhenghong 1539746212 zhenghong 商品单价 decimal(10,2) 10 2 442BB5FC-951A-43B5-94AD-B3C2E1C8F28F product_real_price product_real_price 1539746095 zhenghong 1539746225 zhenghong 商品实际支付单价 decimal(10,2) 10 2 B4DB3A15-7B0F-4C6D-B961-AF2C4CF14D50 reason reason 1522733512 zhenghong 1522733657 zhenghong 原因 varchar(200) 200 ECE8A578-4D6B-47EB-BB72-207D9BC93324 description description 1522733512 zhenghong 1522733663 zhenghong 描述 varchar(500) 500 E3C2C9CF-D72D-44AA-B1A3-5B5AC1950B63 proof_pics proof_pics 1522733653 zhenghong 1522733740 zhenghong 凭证图片,以逗号隔开 varchar(1000) 1000 B16F27C1-DFFA-40F1-83B5-F9DA3BB86FE6 handle_note handle_note 1522745027 zhenghong 1522745078 zhenghong 处理备注 varchar(500) 500 B8982C29-EB0D-4F63-A047-DDEDC91A78C3 handle_man handle_man 1522745592 zhenghong 1522745618 zhenghong 处理人员 varchar(100) 100 49E217E2-31BF-4F23-8125-62D5920E0B60 receive_man receive_man 1522745613 zhenghong 1522745658 zhenghong 收货人 varchar(100) 100 8111E4F5-B8EA-4DCB-B899-A2E4921E6BC2 receive_time receive_time 1522745652 zhenghong 1539745779 zhenghong 收货时间 datetime 4C802C73-FB19-4C09-84C3-37E152CA8299 receive_note receive_note 1522745652 zhenghong 1539745787 zhenghong 收货备注 varchar(500) 500 D06B934B-B63D-4DCC-B1C1-62F79744A8AC Key_1 Key_1 1522732898 zhenghong 1522732939 zhenghong 594B7799-023B-4DAF-840D-B224931CBA6C oms_company_address oms_company_address 1522745162 zhenghong 1539745228 zhenghong 公司收发货地址表 F5A62BE4-F0B9-46C3-8591-5864BB83220D id id 1522745164 zhenghong 1522745194 zhenghong bigint 1 1 359C7F83-8810-4F75-935C-8099B75676C6 address_name address_name 1522745192 zhenghong 1522745253 zhenghong 地址名称 varchar(200) 200 5AA8AC8B-9617-4A6F-B898-4206F7CE8169 send_status send_status 1522745248 zhenghong 1522745302 zhenghong 默认发货地址:0->否;1->是 int(1) 1 CDF1655B-32CC-4E54-BBE7-5F00549B7722 receive_status receive_status 1522745248 zhenghong 1522745328 zhenghong 是否默认收货地址:0->否;1->是 int(1) 1 F5195500-8663-482B-B587-27789546188C name name 1522745285 zhenghong 1539745228 zhenghong 收发货人姓名 varchar(64) 64 D51012F2-BECB-4E6B-A7E9-5B6AC06D9087 phone phone 1522745285 zhenghong 1522745508 zhenghong 收货人电话 varchar(64) 64 3D2DC8D4-9D56-4E95-8266-052132761CDE province province 1522745363 zhenghong 1539745209 zhenghong 省/直辖市 varchar(64) 64 57267BF2-434D-4AEC-8E6B-DDCAA85233F7 city city 1522745363 zhenghong 1539745217 zhenghong varchar(64) 64 F1F15023-139B-4048-8D0C-C9C46884C6E9 region region 1522745363 zhenghong 1539745223 zhenghong varchar(64) 64 D3EA532D-AD33-45AF-BA17-1FE7D821EE64 detail_address detail_address 1539745108 zhenghong 1539745239 zhenghong 详细地址 varchar(200) 200 9B8E57D5-D022-48D7-BA87-3214D2DAB1BD Key_1 Key_1 1522745164 zhenghong 1522745192 zhenghong 3FB6BF2A-C836-4B1F-AA9B-4219F4ECBC6D oms_order_return_reason oms_order_return_reason 1522745726 zhenghong 1539238788 zhenghong 退货原因表 8398CF1C-2327-4762-B370-7F7BB681FBE8 id id 1522745728 zhenghong 1533115911 zhenghong bigint 1 1 7C7CCC5E-FBE6-49A6-A428-95A8A078B4EA name name 1522745760 zhenghong 1522745845 zhenghong 退货类型 varchar(100) 100 0C284FC4-E892-4BFF-B0AC-AD9BCB8E39D2 sort sort 1522745760 zhenghong 1522745809 zhenghong int D0151FA2-84E3-4252-9565-766B748B7AD3 status status 1522745760 zhenghong 1522745824 zhenghong 状态:0->不启用;1->启用 int(1) 1 A3F8C1D7-A495-4E99-885D-FC8FB1E5747C create_time create_time 1539238773 zhenghong 1539238794 zhenghong 添加时间 datetime F0009D1F-CC14-45AA-BDB7-F25CFBBFE380 Key_1 Key_1 1522745728 zhenghong 1533115911 zhenghong 679BF191-40EF-4FC4-8140-D9DA8F283689 oms_cart_item oms_cart_item 1533108597 zhenghong 1582621132 zhenghong 购物车表 0496CCD8-F7CC-4DD4-AEE7-919D8EFCD676 id id 1533108649 zhenghong 1533108729 zhenghong bigint 1 1 BC6AB2CA-354D-447A-A466-54980B87F57F product_id product_id 1533109970 zhenghong 1533110009 zhenghong bigint 48241AB2-A6B4-48E5-A792-FAB72D97FD42 product_sku_id product_sku_id 1533115829 zhenghong 1533115861 zhenghong bigint 70CEB9F6-7F7D-4AB1-BB9D-3667BA109C72 member_id member_id 1533115896 zhenghong 1533115923 zhenghong bigint 8B8B68C0-7987-4E2B-9BAD-FF4F3428E03A quantity quantity 1533108721 zhenghong 1533108755 zhenghong 购买数量 int E2A71768-48C5-46B2-82B8-635169BFE66D price price 1533108747 zhenghong 1533108790 zhenghong 添加到购物车的价格 decimal(10,2) 10 2 B5A53CF7-C87D-411B-89DF-41888E2722C7 product_pic product_pic 1533110160 zhenghong 1533171242 zhenghong 商品主图 varchar(1000) 1000 E1A4F06D-34AE-4B0C-BCC6-F82BA9D1A76F product_name product_name 1533110160 zhenghong 1533171249 zhenghong 商品名称 varchar(500) 500 7BBD4FA7-9C75-4ECA-9E08-BBEAC572BCB1 product_brand product_brand 1535696251 zhenghong 1535696298 zhenghong varchar(200) 200 11170A56-1C61-4372-9E46-A3C9C587340E product_sn product_sn 1535696251 zhenghong 1535696298 zhenghong varchar(200) 200 2D4BFCEF-83F1-4697-8EF7-DCC5D2A9491D product_sub_title product_sub_title 1533110160 zhenghong 1533171264 zhenghong 商品副标题(卖点) varchar(500) 500 8A7E5878-BB5E-49F3-BE20-E6986E172BB3 product_sku_code product_sku_code 1533115799 zhenghong 1533171279 zhenghong 商品sku条码 varchar(200) 200 23C68713-D38A-4915-96E3-A9762199D386 member_nickname member_nickname 1533115939 zhenghong 1533171328 zhenghong 会员昵称 varchar(500) 500 5675315C-7265-4AC3-88D4-BC1525AC73B7 create_date create_date 1533116034 zhenghong 1533171335 zhenghong 创建时间 datetime 1D877A06-39CD-4A3C-B4A8-059588D13838 modify_date modify_date 1533116034 zhenghong 1533171341 zhenghong 修改时间 datetime 20EF4C13-435F-4C03-B8A9-7E31F1432E21 delete_status delete_status 1533172423 zhenghong 1533172643 zhenghong 是否删除 0 int(1) 1 9C9C2AC9-F58B-4D31-BEF4-1D1892931E51 product_category_id product_category_id 1535530934 zhenghong 1535530961 zhenghong 商品的分类 bigint B7274386-A224-491A-88E0-8FAADCA00C90 product_attr product_attr 1540542323 zhenghong 1540542603 zhenghong 商品销售属性:[{"key":"颜色","value":"银色"},{"key":"容量","value":"4G"}] varchar(500) 500 29D735B7-E618-4C13-AF03-3858C68E6BA4 Key_1 Key_1 1533108649 zhenghong 1533108680 zhenghong 76086A3D-70A2-4A7E-A4DA-9B79808A0A53 ums_role ums_role 1538200619 zhenghong 1538201383 zhenghong 后台用户角色表 2E853DB4-DEFD-42D5-A6BE-6226A3194CE4 id id 1538201005 zhenghong 1538201117 zhenghong bigint 1 1 A7C5F5AC-3D79-4BAB-A058-E801649746EB name name 1538201019 zhenghong 1538201122 zhenghong 名称 varchar(100) 100 013099EA-F84F-4262-9125-15DA3687C8CE description description 1538201019 zhenghong 1538201128 zhenghong 描述 varchar(500) 500 F376357B-61CA-46D5-BED7-51C5322735A9 admin_count admin_count 1538201117 zhenghong 1538201162 zhenghong 后台用户数量 int EAC9E6A6-7E67-44F0-B085-B7A2380828E9 create_time create_time 1538201155 zhenghong 1538201198 zhenghong 创建时间 datetime 8B4E2D43-F39C-46CD-B498-1CD02CDE1F81 status status 1538201193 zhenghong 1538201235 zhenghong 启用状态:0->禁用;1->启用 1 int(1) 1 CDB0B35E-6C3A-4FE5-9D47-E7682E71302E sort sort 1538201211 zhenghong 1538201486 zhenghong 0 int 14F5A838-542A-4B80-8627-B17FF80D3D0C Key_1 Key_1 1538201019 zhenghong 1538201117 zhenghong 4E46B794-7D2F-434B-9096-2F7DB97537BA ums_permission ums_permission 1538201545 zhenghong 1538202362 zhenghong 后台用户权限表 E945AB0D-430D-4564-A942-AFAF3D3C6106 id id 1538201548 zhenghong 1538201942 zhenghong bigint 1 1 {F4F16ECD-F2F1-4006-AF6F-638D5C65F35E},MYSQL50,102={9480E6AA-83DD-4AA7-9C91-E48F709C29D9},CharSet,0= {B314652C-DD43-4F81-8524-6F97A1BAACBA},Collate,0= B073CBDF-527E-4961-BF55-9C5A1F643303 pid pid 1538202362 zhenghong 1538202389 zhenghong 父级权限id bigint E06DA657-9A51-42D9-A915-3D76B6D12AC7 name name 1538201932 zhenghong 1538202068 zhenghong 名称 varchar(100) 100 C2345EAD-45D6-41E7-8EAA-9DB2FD0F6C48 value value 1538201932 zhenghong 1538202074 zhenghong 权限值 varchar(200) 200 471034FB-C5B6-49C2-A117-AE9FEE311F8C icon icon 1538201932 zhenghong 1538202080 zhenghong 图标 varchar(500) 500 64C52B4C-E7C5-4A7E-AE70-CF628EFC67A7 type type 1538202064 zhenghong 1538202174 zhenghong 权限类型:0->目录;1->菜单;2->按钮(接口绑定权限) int(1) 1 8E492BD0-8033-4FE5-8B5B-C13F6977D9A9 uri uri 1538202208 zhenghong 1538202264 zhenghong 前端资源路径 varchar(200) 200 88B074E5-990C-4217-91F5-A88E56CC8142 status status 1538202092 zhenghong 1538202228 zhenghong 启用状态;0->禁用;1->启用 int(1) 1 6A46B30B-44EC-4D13-BEBF-77C4D26113CA create_time create_time 1538202257 zhenghong 1538202303 zhenghong 创建时间 datetime FE8DC496-D926-4C4C-94C0-59F19B98D411 sort sort 1538202257 zhenghong 1538202334 zhenghong 排序 int 1A1D360B-3856-4FE0-ABC3-9C9DD7180247 Key_1 Key_1 1538201548 zhenghong 1538201932 zhenghong 0ACD514B-6AD8-4092-9503-BB7418271C5D ums_admin_role_relation ums_admin_role_relation 1538202419 zhenghong 1538202492 zhenghong 后台用户和角色关系表 FD4417BB-10DA-489F-95B7-2538DA63FEB7 id id 1538202420 zhenghong 1538202461 zhenghong bigint 1 1 7E2D454E-E44B-490F-9E86-11CB1D02A55F admin_id admin_id 1538202471 zhenghong 1538202487 zhenghong bigint 6408BE19-A7C6-4F9D-B9C0-921BD494570B role_id role_id 1538202492 zhenghong 1538202502 zhenghong bigint 6D817E44-8C99-4CFE-A645-0E536256B9D2 Key_1 Key_1 1538202420 zhenghong 1538202458 zhenghong DF1649B4-5B0F-43F0-8E49-DFB2050E1F76 ums_role_permission_relation ums_role_permission_relation 1538202537 zhenghong 1538202588 zhenghong 后台用户角色和权限关系表 1144AF4C-1426-47B7-8212-DA3B3E6C2A36 id id 1538202538 zhenghong 1538202580 zhenghong bigint 1 1 FE5CF0B5-65AA-4B6D-AE3C-04E4A57077D0 role_id role_id 1538202586 zhenghong 1538202605 zhenghong bigint 3E519CF4-C6F8-4D40-828A-F3AFFDA09699 permission_id permission_id 1538202588 zhenghong 1538202605 zhenghong bigint 7169397A-EC6D-422E-9575-7D580D618896 Key_1 Key_1 1538202538 zhenghong 1538202576 zhenghong 13CA705F-65DC-48AC-9563-A5650E15DCC0 ums_admin_permission_relation ums_admin_permission_relation 1538202617 zhenghong 1538203086 zhenghong 后台用户和权限关系表(除角色中定义的权限以外的加减权限) BE753374-E9C7-4C53-AC9C-D71DCF50662D id id 1538202860 zhenghong 1538202918 zhenghong bigint 1 1 12FF5B6B-8647-49E1-927C-D43F14BBB174 admin_id admin_id 1538202927 zhenghong 1538202948 zhenghong bigint 8BDB3D8B-FFEF-4031-8D7A-EF81BE9BE670 permission_id permission_id 1538202929 zhenghong 1538202948 zhenghong bigint D5D4EBC8-9FCD-4A79-8171-4BC6027FA23E type type 1538203070 zhenghong 1538203086 zhenghong int(1) 1 DF246E9E-48BE-43A9-A0A8-282F0AC6E482 Key_1 Key_1 1538202860 zhenghong 1538202916 zhenghong 0DE260F1-B640-49EA-8FD8-73901DA3FC6A sms_flash_promotion_session sms_flash_promotion_session 1542177985 zhenghong 1542178475 zhenghong 限时购场次表 10DEE53F-C0A5-4C47-B567-5B9318C189F5 id id 1542178330 zhenghong 1542178351 zhenghong 编号 bigint 1 1 70BA3EA1-6434-4AFF-A8B7-BCFD893EE7BF name name 1542178344 zhenghong 1542178375 zhenghong 场次名称 varchar(200) 200 E0270862-71AD-474C-96FE-3EEA4134152D start_time start_time 1542178368 zhenghong 1542178404 zhenghong 每日开始时间 time A180A2E0-0FA8-475C-8D71-729FD0617D20 end_time end_time 1542178396 zhenghong 1542178421 zhenghong 每日结束时间 time 49630CAC-6129-4521-AD71-0A3AFD07583A status status 1542178416 zhenghong 1542178456 zhenghong 启用状态:0->不启用;1->启用 int(1) 1 3E293EDE-0D9A-4933-8B3D-4293903D92D0 create_time create_time 1542178436 zhenghong 1542178481 zhenghong 创建时间 datetime 6F8C4687-C113-41B9-B674-6D8DE3D1E8D5 Key_1 Key_1 1542178330 zhenghong 1542178344 zhenghong 99F64742-38F7-4DA9-B8A0-1FC4476C94D3 sms_flash_promotion_product_relation sms_flash_promotion_product_relation 1542179013 zhenghong 1542179474 zhenghong 商品限时购与商品关系表 CAE82E75-D12D-4AD6-9A17-68423BF7E4E0 id id 1542179066 zhenghong 1542349350 zhenghong 编号 bigint 1 1 CEAF14F7-5D5C-4FF9-B86B-CF943BE9EAC9 flash_promotion_id flash_promotion_id 1542179374 zhenghong 1542179387 zhenghong bigint 23D89E50-A620-478D-A305-369556A666D9 flash_promotion_session_id flash_promotion_session_id 1542179394 zhenghong 1542179410 zhenghong 编号 bigint 016A43A1-CCDE-4553-A432-5F9195B3E630 product_id product_id 1542179440 zhenghong 1542179497 zhenghong bigint A82B7A85-9A20-438A-B428-5252675D21E5 flash_promotion_price flash_promotion_price 1542179066 zhenghong 1542179497 zhenghong 限时购价格 decimal(10,2) 10 2 608C7EEE-3CD9-452E-873C-AD3AFDF563A0 flash_promotion_count flash_promotion_count 1542179137 zhenghong 1542179197 zhenghong 限时购数量 int 8211380C-691E-47D2-B1D7-F37E83667A4C flash_promotion_limit flash_promotion_limit 1542179190 zhenghong 1542179235 zhenghong 每人限购数量 int 7DB32E90-BA97-46B7-B90B-655587BBE50E sort sort 1542179226 zhenghong 1542179257 zhenghong 排序 int A2983D35-1038-45A0-954A-5BC756B9FBF6 Key_1 Key_1 1542179066 zhenghong 1542179137 zhenghong FA962271-FBB8-4D55-88C3-B0565D4B7E6B ums_menu ums_menu 1580624574 zhenghong 1580625146 zhenghong 后台菜单表 6E8CAA92-2096-418D-A93D-E79F719BB927 id id 1580624717 zhenghong 1580624742 zhenghong bigint 1 1 ED194F66-7660-463A-A991-C2A652AB7BDD parent_id parent_id 1580624809 zhenghong 1580625129 zhenghong 父级ID bigint 751DDAFB-E47E-4C1F-8861-98417ABE4003 create_time create_time 1580624809 zhenghong 1580625091 zhenghong 创建时间 datetime C19B0D2B-9E4E-4D92-B934-23A5A434367E title title 1580624809 zhenghong 1580625091 zhenghong 菜单名称 varchar(100) 100 3991C198-C8BC-442F-B9C3-8C3E822BDF58 level level 1580624809 zhenghong 1580625091 zhenghong 菜单级数 int(4) 4 F021AF73-1074-429E-A756-7795EAC8D046 sort sort 1580624809 zhenghong 1580625091 zhenghong 菜单排序 int(4) 4 4B420CCD-31CE-4F99-864B-2130DB065195 name name 1580624809 zhenghong 1580625091 zhenghong 前端名称 varchar(100) 100 F77FA949-AD6E-4812-8523-B4B89D603A5E icon icon 1580624809 zhenghong 1580625091 zhenghong 前端图标 varchar(200) 200 BA0254CB-2942-4FA6-86A0-E90E43311099 hidden hidden 1580624809 zhenghong 1580625091 zhenghong 前端隐藏 int(1) 1 5B17DE1C-3EF2-41FE-8598-919EF33A2D85 Key_1 Key_1 1580624717 zhenghong 1580624739 zhenghong 21CA6441-50AA-434C-B1B2-51C4DB93E292 ums_resource ums_resource 1580624625 zhenghong 1580869150 zhenghong 后台资源表 F6CBDD55-60A9-4F16-8426-166F661106CF id id 1580625178 zhenghong 1580625202 zhenghong bigint 1 1 83039C2E-46A3-43E5-9F44-0C2793617519 category_id category_id 1580869150 zhenghong 1580869174 zhenghong 资源分类ID bigint A9E82014-27A7-49AF-9BF1-2F10A4ABC85D create_time create_time 1580625197 zhenghong 1580625272 zhenghong 创建时间 datetime 623196A3-33D6-4F77-909E-66A8F05CDD19 name name 1580625197 zhenghong 1580625272 zhenghong 资源名称 varchar(200) 200 01AB5B01-DA3F-4F28-A338-A916E623F2A0 url url 1580625197 zhenghong 1580625272 zhenghong 资源URL varchar(200) 200 B3CFE91C-D059-421F-8D9C-17321C7F38E7 description description 1580805910 zhenghong 1580805939 zhenghong 描述 varchar(500) 500 10E24F7A-0390-476B-BAAE-1882C0BBD062 Key_1 Key_1 1580625178 zhenghong 1580625197 zhenghong B66F7908-B143-4176-80A9-B2CF44529D08 ums_role_menu_relation ums_role_menu_relation 1580624663 zhenghong 1580625352 zhenghong 后台角色菜单关系表 0A34DDDB-B366-496A-AED8-416DE19149F5 id id 1580625308 zhenghong 1580625325 zhenghong bigint 1 1 2AE22924-4904-41FA-AFB7-B0CF7FCBFC56 role_id role_id 1580625333 zhenghong 1580625372 zhenghong 角色ID bigint 748FA33E-A269-4189-A357-21F5885427C4 menu_id menu_id 1580625352 zhenghong 1580625372 zhenghong 菜单ID bigint 882EFB9B-0F11-4AE1-995B-C15CEDF564FA Key_1 Key_1 1580625308 zhenghong 1580625322 zhenghong C19BEA79-6E19-4CAD-9E31-9415E802B9DE ums_role_resource_relation ums_role_resource_relation 1580624686 zhenghong 1580625435 zhenghong 后台角色资源关系表 6DF052C6-67CA-4BAA-A125-9F03DEDA9012 id id 1580625392 zhenghong 1580625411 zhenghong bigint 1 1 83982BFF-3E3D-4E6F-A458-FF3075464342 role_id role_id 1580625421 zhenghong 1580625454 zhenghong 角色ID bigint 09F02FAF-844E-44FE-93C8-7B4623939F50 resource_id resource_id 1580625435 zhenghong 1580625454 zhenghong 资源ID bigint AB798EFF-998F-4E0E-B0A4-A20719A6AF79 Key_1 Key_1 1580625392 zhenghong 1580625408 zhenghong B0508AE4-FED1-47A1-A771-889573F7520B ums_resource_category ums_resource_category 1580869056 zhenghong 1581324455 zhenghong 资源分类表 F885A10E-E590-447C-8D5D-BC2BCD3DB671 id id 1580869083 zhenghong 1580869099 zhenghong bigint 1 1 D01B83FC-5268-4206-B92F-8F9BFE927112 create_time create_time 1580869095 zhenghong 1580869135 zhenghong 创建时间 datetime B986AFDF-AFBB-4E49-93AA-5CAD7907153A name name 1580869095 zhenghong 1580869135 zhenghong 分类名称 varchar(200) 200 094290D5-34B8-4EE4-B629-670A4BAA7382 sort sort 1581324427 zhenghong 1581324455 zhenghong 排序 int(4) 4 70C39D60-14D7-4260-94E9-1F6025702EC5 Key_1 Key_1 1580869083 zhenghong 1580869095 zhenghong F8B50533-7F4C-4BE7-984B-4FC6A1156DC9 Reference_1 Reference_1 1521706257 zhenghong 1521706257 zhenghong 0..* 1 1 5236F74C-2761-4AC4-834A-BECC5D040393 1521706257 zhenghong 1521706257 zhenghong 6B097280-D411-432F-9CA0-7FC52C306D0F Reference_2 Reference_2 1521710488 zhenghong 1521710488 zhenghong 0..* 1 1 6EE78803-E5F6-4090-B810-7BBF7814F60C 1521710488 zhenghong 1521710488 zhenghong 3447013F-AE0F-4B19-9E82-DEC9658CF62C Reference_3 Reference_3 1521770349 zhenghong 1521770349 zhenghong 0..* 1 1 84F722B4-DF57-4BC3-88FD-B249B70D21A7 1521770349 zhenghong 1521770349 zhenghong 869F562E-B664-4E18-BB85-9F518C39050E Reference_4 Reference_4 1521771362 zhenghong 1521771362 zhenghong 0..* 1 1 0309D83E-51C3-4973-A636-9FEB27F4A6B6 1521771362 zhenghong 1521771362 zhenghong 43D29FF3-315F-4770-9486-03345B3B66AA Reference_5 Reference_5 1521773101 zhenghong 1521773101 zhenghong 0..* 1 1 7B820697-9FFD-4446-B6DF-F03F4F02FFE3 1521773101 zhenghong 1521773101 zhenghong 2FA754C9-59E9-4BC2-9FBD-D1F329A2D40D Reference_6 Reference_6 1521783613 zhenghong 1521783613 zhenghong 0..* 1 1 13DDC5F6-372D-47FF-AAFA-8AEF349E7FA8 1521783613 zhenghong 1521783613 zhenghong FFC57989-A7DF-43DC-8E90-0875CEC112DD Reference_9 Reference_9 1521791466 zhenghong 1521791466 zhenghong 0..* 1 1 31ADEBC6-F176-41A7-8EAA-9AC3B8A253AB 1521791466 zhenghong 1521791466 zhenghong 77C4D61A-9FF5-4B2C-8C48-A2F7DB88ACA3 Reference_10 Reference_10 1521792428 zhenghong 1521792428 zhenghong 0..* 1 1 F2B169B3-7AC8-4FB1-822D-E1C91DFF6FFD 1521792428 zhenghong 1521792428 zhenghong 617A3E38-261B-48D9-B387-A4C69D4A702C Reference_11 Reference_11 1521792909 zhenghong 1521792909 zhenghong 0..* 1 1 00AD7B43-F4CA-45D7-86BB-5756B4ED55BD 1521792909 zhenghong 1521792909 zhenghong 085DA277-2667-4A8D-8E4D-2C4E6787357E Reference_12 Reference_12 1522045168 zhenghong 1522045168 zhenghong 0..* 1 1 286E06C6-6FAD-4323-82D9-6FB781153C46 1522045168 zhenghong 1522045168 zhenghong DC5FEA31-5D2A-491B-A87A-BC45A53A0130 Reference_13 Reference_13 1522046100 zhenghong 1522046100 zhenghong 0..* 1 1 A2161167-D453-4661-9BF0-71D8908A6C42 1522046100 zhenghong 1522046100 zhenghong 09737ED1-34A7-4624-9B3D-F971732EC3C5 Reference_14 Reference_14 1522046451 zhenghong 1522046451 zhenghong 0..* 1 1 E25FF0B6-41E2-4801-8FE9-337EF9B991F7 1522046451 zhenghong 1522046451 zhenghong 1299128F-FAC5-44E2-86E2-29EF4E7A1638 Reference_15 Reference_15 1522046456 zhenghong 1522046456 zhenghong 0..* 1 1 1E64FE44-48BA-49B0-BDE1-66DA22B89EFF 1522046456 zhenghong 1522046456 zhenghong 8C8A4C2F-CB98-46EE-A602-698B99A13C3C Reference_18 Reference_18 1522112691 zhenghong 1522112691 zhenghong 0..* 1 1 DEE74089-6A6D-4D7E-BADD-76E4D08EFA2D 1522112691 zhenghong 1522112691 zhenghong 0326D95A-002E-4506-89DF-DC650D6B10F6 Reference_19 Reference_19 1522112694 zhenghong 1522112694 zhenghong 0..* 1 1 5D44A212-AD69-4958-BAAF-9E16ED63FC67 1522112694 zhenghong 1522112694 zhenghong 62935DB0-A2C4-4D4E-B949-5DE296753EC6 Reference_20 Reference_20 1522114406 zhenghong 1522114406 zhenghong 0..* 1 1 ECA8F78C-7015-44EB-9CD2-F72634D7F4BD 1522114406 zhenghong 1522114406 zhenghong 0054659D-2257-491E-BEFD-4E934EF1326A Reference_21 Reference_21 1522115961 zhenghong 1522115961 zhenghong 0..* 1 1 32BD37D4-4436-4069-9BD1-90CF0B1867E0 1522115961 zhenghong 1522115961 zhenghong 7FB8F1DE-EB1D-4B05-BC25-7F9A9C34DAC1 Reference_22 Reference_22 1522115983 zhenghong 1522115983 zhenghong 0..* 1 1 1A23B754-71EE-4496-B70F-0A3268C6F651 1522115983 zhenghong 1522115983 zhenghong C8AEC8AC-5477-406C-9A47-85CAC6E9156F Reference_23 Reference_23 1522118676 zhenghong 1522118676 zhenghong 0..* 1 1 1C883E67-84F9-4CD0-A4F5-D7CA2BE15DC5 1522118676 zhenghong 1522118676 zhenghong 6877F189-A5DC-4EC1-A805-D6DF43A175A8 Reference_24 Reference_24 1522119056 zhenghong 1522119056 zhenghong 0..* 1 1 1CE2FCCB-DF37-4C88-99DD-FA8C3EE7A09C 1522119056 zhenghong 1522119056 zhenghong 9F3EABD4-B8AD-4807-800A-EBB309C50C27 Reference_25 Reference_25 1522120295 zhenghong 1522120295 zhenghong 0..* 1 1 7D8DC4F2-D0A4-4CE9-B03E-44AE166786C0 1522120295 zhenghong 1522120295 zhenghong 4D22CD29-D84A-4780-A3CD-E8951913B139 Reference_26 Reference_26 1522138613 zhenghong 1522138613 zhenghong 0..* 1 1 7CB99F50-753B-4347-B896-1F18D8FE6691 1522138613 zhenghong 1522138613 zhenghong FDD92660-6932-4BCE-8F83-2E7A223145EB Reference_27 Reference_27 1522138618 zhenghong 1522138618 zhenghong 0..* 1 1 EC89DA87-A575-4940-973B-665854268261 1522138618 zhenghong 1522138618 zhenghong BF5F391A-A0AC-4940-B493-B42F4DEBFE59 Reference_28 Reference_28 1522138705 zhenghong 1522138705 zhenghong 0..* 1 1 8E1A22EC-2246-48C4-A499-3D8A4D264C09 1522138705 zhenghong 1522138705 zhenghong E84C4311-62F4-47BD-A024-62877B7D0ED5 Reference_30 Reference_30 1522141157 zhenghong 1522141157 zhenghong 0..* 1 1 2EA7348D-C8E8-4FCC-8215-01FE3AD58DFB 1522141157 zhenghong 1522141157 zhenghong C0A04A49-9B21-4470-8507-D61981F41EF2 Reference_29 Reference_29 1522141232 zhenghong 1522141232 zhenghong 0..* 1 1 8B858AAC-D00A-42FE-BEDC-73536876C045 1522141232 zhenghong 1522141232 zhenghong E8C1A0E5-7AB4-48DD-96D0-BFC0F9081B35 Reference_31 Reference_31 1522141316 zhenghong 1522141317 zhenghong 0..* 1 1 FC3A22FE-FD24-4DF0-BAC8-22659D3C8987 1522141317 zhenghong 1522141317 zhenghong 99192031-40EE-41ED-A43C-B27CC1039A2B Reference_32 Reference_32 1522142006 zhenghong 1522142006 zhenghong 0..* 1 1 14DB9C0C-F9F0-4D4A-B44E-592028F6E75A 1522142006 zhenghong 1522142006 zhenghong C562CD4F-BAD5-44CE-B507-727743B42808 Reference_33 Reference_33 1522215975 zhenghong 1522215975 zhenghong 0..* 1 1 15304E84-71AA-40B1-84CB-904384B34B25 1522215975 zhenghong 1522215975 zhenghong 049BB766-61EB-47C0-B95D-D25AFDB59734 Reference_34 Reference_34 1522216015 zhenghong 1522216015 zhenghong 0..* 1 1 457237AD-87EB-4A09-BA9F-36198B10D2FF 1522216015 zhenghong 1522216015 zhenghong 5D590043-1882-4A9B-8FC1-D9DC8580E02C Reference_35 Reference_35 1522216251 zhenghong 1522216251 zhenghong 0..* 1 1 3C2E5F27-A07C-4D88-9357-089D36122A25 1522216251 zhenghong 1522216251 zhenghong B5428618-7278-427D-A8BC-5CCB75A2547F Reference_36 Reference_36 1522216380 zhenghong 1522216380 zhenghong 0..* 1 1 A8FA4798-0F1E-4D96-A254-77F5D71F6BBD 1522216380 zhenghong 1522216380 zhenghong 849E47A7-94DA-40C1-879A-F1C6E0C5CD19 Reference_37 Reference_37 1522220508 zhenghong 1522220508 zhenghong 0..* 1 1 5026171A-4B51-4B83-A113-4051F1E4F415 1522220508 zhenghong 1522220508 zhenghong C3B9AA1D-7C7C-4CAD-885D-1542021D30E7 Reference_38 Reference_38 1522220546 zhenghong 1522220546 zhenghong 0..* 1 1 462222B9-A203-4D60-A353-A168356E3140 1522220546 zhenghong 1522220546 zhenghong AF0E4AD5-A4B3-4095-8D2E-FF466A7FFBDC Reference_39 Reference_39 1522224364 zhenghong 1522224364 zhenghong 0..* 1 1 BD28F911-4F98-4C9D-9171-E99F60476E2A 1522224364 zhenghong 1522224364 zhenghong 2E5F5354-7D3D-4CBE-9D6E-F7BF6EE3BB1E Reference_40 Reference_40 1522225874 zhenghong 1522225874 zhenghong 0..* 1 1 8D1675C9-7749-4831-A5E6-ACD971AACF57 1522225874 zhenghong 1522225874 zhenghong C7DCAECF-68BD-47D9-8C52-36A6B50C90C6 Reference_41 Reference_41 1522226077 zhenghong 1522226077 zhenghong 0..* 1 1 B30347B3-4138-4EA8-A0F5-EF0D9A34E01F 1522226077 zhenghong 1522226077 zhenghong C11B5AAF-045B-4A2E-930C-71B38674EDCB Reference_42 Reference_42 1522226272 zhenghong 1522226272 zhenghong 0..* 1 1 7D29D8DF-7EF1-4F43-928F-DDAC96A23858 1522226272 zhenghong 1522226272 zhenghong B7417B7A-09B8-43CE-A17E-01ACFEC78BF6 Reference_44 Reference_44 1522303390 zhenghong 1522303390 zhenghong 0..* 1 1 942BBD31-85B8-46EA-893C-CB327C86F5BA 1522303390 zhenghong 1522303390 zhenghong EF622572-2304-4875-8869-C1821D4BAA12 Reference_45 Reference_45 1522303410 zhenghong 1522303410 zhenghong 0..* 1 1 1E5174EE-C0B0-4144-98D5-679634DCCAEE 1522303410 zhenghong 1522303410 zhenghong F7E27FB8-7156-4A4D-BC61-18CCE2DD98AA Reference_46 Reference_46 1522304178 zhenghong 1522304178 zhenghong 0..* 1 1 BD55704C-3F36-44CC-90E1-143F097FA894 1522304178 zhenghong 1522304178 zhenghong 4D49B5C2-72FC-4407-9705-D42C0F203767 Reference_47 Reference_47 1522386868 zhenghong 1522386868 zhenghong 0..* 1 1 17EC5CAA-580C-493D-9C2D-2EA3E9732A78 1522386868 zhenghong 1522386868 zhenghong C55C7A99-C315-4D03-AEDF-B5F8BCBCD8A4 Reference_48 Reference_48 1522387461 zhenghong 1522387461 zhenghong 0..* 1 1 F469B162-D88C-42A3-B64C-7B2751A4FCE1 1522387461 zhenghong 1522387461 zhenghong CC1956B2-80D6-420D-9596-2ADE9F622A89 Reference_49 Reference_49 1522387526 zhenghong 1522387526 zhenghong 0..* 1 1 1D18BF30-4375-4618-A1C9-6DC998F248E4 1522387526 zhenghong 1522387526 zhenghong 74DB905B-E0F5-48AE-81CF-EF09159E2FF7 Reference_50 Reference_50 1522389232 zhenghong 1522389232 zhenghong 0..* 1 1 183F9969-663E-4842-ABC2-C938F02C05E4 1522389232 zhenghong 1522389232 zhenghong 7E2E910E-DFB4-4EB6-901A-B90812F54A87 Reference_51 Reference_51 1522390434 zhenghong 1522390434 zhenghong 0..* 1 1 AC355266-228D-4333-8E95-D13F2D176DB4 1522390434 zhenghong 1522390434 zhenghong 1BDEC7E5-B286-4BE4-8433-B6BD7A1C975A Reference_52 Reference_52 1522390644 zhenghong 1522390644 zhenghong 0..* 1 1 3A358827-AE90-4AC6-80E6-CA340D69F7F2 1522390644 zhenghong 1522390644 zhenghong AD855909-C83E-4375-8C80-7C2D7AC7075C Reference_53 Reference_53 1522391366 zhenghong 1522391366 zhenghong 0..* 1 1 B0F12E0B-F2E6-40A6-AD2B-9FE858AAA8BE 1522391366 zhenghong 1522391366 zhenghong E0AA6F91-B6EB-44AB-A3FB-B63A84A5DF06 Reference_54 Reference_54 1522391379 zhenghong 1522391380 zhenghong 0..* 1 1 F46C48A9-78A1-4C9A-BD75-DE0ED230A76D 1522391379 zhenghong 1522391380 zhenghong BDACC991-AA2F-4A86-A7A7-BE7FD95D68F2 Reference_55 Reference_55 1522396648 zhenghong 1522396648 zhenghong 0..* 1 1 711AD4D5-212E-4E3B-BB26-DB79C4BE4E52 1522396648 zhenghong 1522396648 zhenghong 953F316F-943C-409D-87E2-A580F91F41DF Reference_56 Reference_56 1522396864 zhenghong 1522396864 zhenghong 0..* 1 1 094B7BE5-D0AB-4987-8D74-508A27D3117F 1522396864 zhenghong 1522396864 zhenghong EBD78B02-B47D-4132-A641-E9C384074F6F Reference_57 Reference_57 1522659209 zhenghong 1522659209 zhenghong 0..* 1 1 8C15D427-62A0-40E7-9B02-84063CC6EB94 1522659209 zhenghong 1522659209 zhenghong 8A0714E1-3D0A-4983-AFD9-0AF0F17B0D22 Reference_58 Reference_58 1522660753 zhenghong 1522660753 zhenghong 0..* 1 1 043B7E7F-6688-42FD-BECE-3A4CE5A560F2 1522660753 zhenghong 1522660753 zhenghong 3BFC406B-AABB-48D0-BA77-69DB4EE17B0D Reference_59 Reference_59 1522660820 zhenghong 1522660820 zhenghong 0..* 1 1 3592DAA0-2C95-48CF-9359-C157A0E27DC3 1522660820 zhenghong 1522660820 zhenghong E36F0963-FA3D-49E2-99B0-1818EF60077C Reference_60 Reference_60 1522721755 zhenghong 1522721755 zhenghong 0..* 1 1 BEE8D279-8DBF-40B3-899D-5B07570D0AD9 1522721755 zhenghong 1522721755 zhenghong 31949834-0CD4-4F67-A0A6-FA63B62C6B04 Reference_61 Reference_61 1522724329 zhenghong 1522724329 zhenghong 0..* 1 1 F5D0566A-35C3-4451-9C7D-782BC776C53E 1522724329 zhenghong 1522724329 zhenghong AD47F573-29CC-4DB6-AFE1-BA511E55D40F Reference_62 Reference_62 1522725331 zhenghong 1522725331 zhenghong 0..* 1 1 3AA8813B-9363-406A-91DF-4AD16E9C3CCA 1522725331 zhenghong 1522725331 zhenghong 16852476-7A1F-4AF5-81A5-D4C089766A13 Reference_63 Reference_63 1522733188 zhenghong 1522733188 zhenghong 0..* 1 1 DD05624A-7E08-4273-9758-C5EDA1A03134 1522733188 zhenghong 1522733188 zhenghong 5BC95764-C216-4A1C-8602-16F14615F674 Reference_64 Reference_64 1522745521 zhenghong 1522745521 zhenghong 0..* 1 1 EBF8A4B9-24B3-4D18-82FD-D12F847328C6 1522745521 zhenghong 1522745521 zhenghong 98A2D313-20A0-4AD2-B2BE-F85A6867D79D Reference_65 Reference_65 1533109967 zhenghong 1533109995 zhenghong 0..* 1 1 BA7665F0-D173-45C6-AFE8-3C93CF330D79 1533109970 zhenghong 1533109995 zhenghong 814C49F7-4720-47CE-A38D-88721D01BA84 Reference_66 Reference_66 1533115827 zhenghong 1533115846 zhenghong 0..* 1 1 521484A5-B9C4-477D-8D45-97F7B15D7854 1533115829 zhenghong 1533115846 zhenghong 3B60C0B9-CC92-447D-838C-B9BA857608AE Reference_67 Reference_67 1533115888 zhenghong 1533115911 zhenghong 0..* 1 1 FCADB7B3-0636-44C7-8AB4-067148971867 1533115896 zhenghong 1533115911 zhenghong 46FBCD47-38FC-487C-B390-7FE833196F94 Reference_68 Reference_68 1538202362 zhenghong 1538202362 zhenghong 0..* 1 1 D2F8A3AD-54BE-4AE4-A988-128511B938A4 1538202362 zhenghong 1538202362 zhenghong C76888E3-16C6-4761-8136-511A526B6512 Reference_69 Reference_69 1538202471 zhenghong 1538202471 zhenghong 0..* 1 1 993B6DB6-8CE7-4A56-9273-AA66FB16F4A0 1538202471 zhenghong 1538202471 zhenghong 7D3662ED-D661-4086-BA3C-C9927BAEA31B Reference_70 Reference_70 1538202492 zhenghong 1538202492 zhenghong 0..* 1 1 E47EA734-EA83-4289-8295-068CBD82C878 1538202492 zhenghong 1538202492 zhenghong C27AC470-B6D5-4DEB-8985-4436775FF6EC Reference_71 Reference_71 1538202586 zhenghong 1538202586 zhenghong 0..* 1 1 C3D164FC-7971-4ECF-B2F0-6B384C75DB8A 1538202586 zhenghong 1538202586 zhenghong 6C1E998D-3BE1-473B-A219-C12E87F599FC Reference_72 Reference_72 1538202588 zhenghong 1538202588 zhenghong 0..* 1 1 5D69B943-755C-4D8A-90CC-525B02C3D50C 1538202588 zhenghong 1538202588 zhenghong 3A33B8D1-62CE-4DF3-9EAE-8F419CAA8AA8 Reference_73 Reference_73 1538202927 zhenghong 1538202927 zhenghong 0..* 1 1 C4F1E261-E196-4270-8809-851FB823B079 1538202927 zhenghong 1538202927 zhenghong 409CA456-66FD-4551-9709-9B58BAD20CBC Reference_74 Reference_74 1538202929 zhenghong 1538202929 zhenghong 0..* 1 1 9040B9D2-76A5-43F5-8889-3E21C379E806 1538202929 zhenghong 1538202929 zhenghong D8C09BAD-5666-4751-B992-C48035FB286A Reference_75 Reference_75 1539746524 zhenghong 1539746524 zhenghong 0..* 1 1 6D41CF48-9B5F-47F1-8391-F0BC65998A26 1539746524 zhenghong 1539746524 zhenghong E104E0D2-AE63-4FC2-8695-C31D32B33047 Reference_76 Reference_76 1541490540 zhenghong 1541490586 zhenghong 0..* 1 1 933A26A1-5D64-4E1E-A05E-F70A9A4571A1 1541490552 zhenghong 1541490586 zhenghong 490FFEDD-0E16-49CD-83FA-07FE29AB81E1 Reference_77 Reference_77 1542179374 zhenghong 1542179374 zhenghong 0..* 1 1 CF2A4EB2-4046-4B11-A333-E288CA091AFF 1542179374 zhenghong 1542179374 zhenghong C932213B-EF31-4E19-9C72-6C17A0AFDB6D Reference_78 Reference_78 1542179394 zhenghong 1542179394 zhenghong 0..* 1 1 F03E2D7F-4760-4BDE-AB11-2394F26DB466 1542179394 zhenghong 1542179394 zhenghong 17B2ADB4-4810-47D6-B703-99E62E4AFA4D Reference_79 Reference_79 1542179438 zhenghong 1542179474 zhenghong 0..* 1 1 389ADFA5-E125-4583-ADBE-95053D3F0C72 1542179440 zhenghong 1542179474 zhenghong 4E8DE47E-16C3-4F6B-B284-06B30C3CB07D Reference_80 Reference_80 1580625109 zhenghong 1580625129 zhenghong 0..* 1 1 9085DD5C-8F83-493E-9CFE-628DA54C8B96 1580625109 zhenghong 1580625129 zhenghong 46BCEBF1-E21B-4EB3-A8DE-A5A2BAFFFBB6 Reference_81 Reference_81 1580625333 zhenghong 1580625333 zhenghong 0..* 1 1 A48E310F-1E8C-4B06-AF1B-4D070613C9E4 1580625333 zhenghong 1580625333 zhenghong D4BF3C8D-A91A-4E49-82E9-CB738227C8C8 Reference_82 Reference_82 1580625352 zhenghong 1580625352 zhenghong 0..* 1 1 BF0FFD9A-62E7-47E9-84FB-9F2E08021926 1580625352 zhenghong 1580625352 zhenghong 2E6DA228-0727-43B1-8814-D25233A0BCC6 Reference_83 Reference_83 1580625421 zhenghong 1580625421 zhenghong 0..* 1 1 6F492BCB-5604-4D5C-9DFE-B622A7D5FC91 1580625421 zhenghong 1580625421 zhenghong CB1FAF78-7706-4745-8F2F-A9B2BDCFA7D2 Reference_84 Reference_84 1580625435 zhenghong 1580625435 zhenghong 0..* 1 1 B77FA1D0-9DDC-4FD9-B5FA-24CF8FE39B40 1580625435 zhenghong 1580625435 zhenghong F00FBAAE-944C-4129-B221-009502135923 Reference_85 Reference_85 1580869150 zhenghong 1580869150 zhenghong 0..* 1 1 6D8367E1-F1BA-4FAF-A735-B63D8A8D5D7A 1580869150 zhenghong 1580869150 zhenghong 48492A0F-63AD-4453-B46B-89915CC87545 PUBLIC PUBLIC 1521705583 zhenghong 1521705583 zhenghong 232AA7B8-E743-48F3-9530-102684B229BE MySQL 5.0 MYSQL50 1521705583 zhenghong 1521705583 zhenghong file:///%_DBMS%/mysql50.xdb F4F16ECD-F2F1-4006-AF6F-638D5C65F35E 4BA9F647-DAB1-11D1-9944-006097355D9B 1276524678 ================================================ FILE: document/pos/业务架构图.pos ================================================ {"diagram":{"elements":{"elements":{"gFjaTzhVWb705152":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"秒杀时间段管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":12},"title":"简单类","dataAttributes":[],"props":{"zindex":81,"w":105,"h":29,"x":866.3404515965917,"angle":0,"y":465.12928987753406},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"gFjaTzhVWb705152","category":"uml_class","locked":false,"group":""},"zhfJkALVMN664836":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"优惠券管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":78,"w":105,"h":29,"x":745.3404515965917,"angle":0,"y":505.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"zhfJkALVMN664836","category":"uml_class","locked":false,"group":""},"RxbGsVxHoP748309":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14,"textAlign":"left","bold":true,"vAlign":"top"},"title":"矩形","dataAttributes":[{"name":"序号","id":"EaILaSwFhZ613659","category":"default","type":"number","value":""},{"name":"名称","id":"GZSykWvAki763059","category":"default","type":"string","value":""},{"name":"所有者","id":"IUtciImCYS077556","category":"default","type":"string","value":""},{"name":"连接","id":"IuYiIkUuRY958316","category":"default","type":"link","value":""},{"name":"便笺","id":"gWlWppHOSV844881","category":"default","type":"string","value":""}],"props":{"zindex":65,"w":270,"h":226,"x":445.79405716881297,"y":415.62928987753406,"angle":0},"path":[{"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"rectangle","fillStyle":{"color":"204,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"RxbGsVxHoP748309","category":"basic","locked":false,"group":""},"xBwizqFcUj432362":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"商品管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":50,"w":105,"h":29,"x":182.43332417805985,"angle":0,"y":465.12928987753406},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"xBwizqFcUj432362","category":"uml_class","locked":false,"group":""},"rYMQQkQmRP982685":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"推荐商品"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":124,"w":105,"h":29,"x":464.2202351749778,"angle":0,"y":337.12928987753406},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"rYMQQkQmRP982685","category":"uml_class","locked":false,"group":""},"cphOiLhDkk821849":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"删除订单"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":72,"w":105,"h":29,"x":587.3404515965917,"angle":0,"y":505.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"cphOiLhDkk821849","category":"uml_class","locked":false,"group":""},"JmqKkxvEIl640239":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"菜单管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":63,"w":105,"h":29,"x":1030.6333211263025,"angle":0,"y":546.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"JmqKkxvEIl640239","category":"uml_class","locked":false,"group":""},"EnphzYkGWe380510":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"角色管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":62,"w":105,"h":29,"x":1030.6333211263025,"angle":0,"y":505.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"EnphzYkGWe380510","category":"uml_class","locked":false,"group":""},"KOisJWquiT732485":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"用户管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":61,"w":105,"h":29,"x":1030.6333211263025,"angle":0,"y":465.12928987753406},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"KOisJWquiT732485","category":"uml_class","locked":false,"group":""},"aoVslEwkcs940741":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"功能模块"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":90,"w":105,"h":29,"x":310.4333241780599,"angle":0,"y":212.129289877534},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"aoVslEwkcs940741","category":"uml_class","locked":false,"group":""},"AWkYHOGvzN127886":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"mall项目业务架构图"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":18,"textAlign":"center","bold":true},"title":"圆角矩形","dataAttributes":[{"name":"序号","id":"YrbrubszWw867388","category":"default","type":"number","value":""},{"name":"名称","id":"RtlnVxnRZR884923","category":"default","type":"string","value":""},{"name":"所有者","id":"ZeVFWWopxv316119","category":"default","type":"string","value":""},{"name":"连接","id":"QgaYuPwEhH070759","category":"default","type":"link","value":""},{"name":"便笺","id":"KxSEqJAPlG032559","category":"default","type":"string","value":""}],"props":{"zindex":125,"w":1126.6999969482422,"h":43,"x":29.43332417805989,"y":103.08383533207946,"angle":0},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"roundRectangle","fillStyle":{"color":"255,204,153","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"AWkYHOGvzN127886","category":"basic","locked":false,"group":""},"OsJJkIgPnB134202":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"我的足迹"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":12},"title":"简单类","dataAttributes":[],"props":{"zindex":109,"w":105,"h":29,"x":746.0071461718952,"angle":0,"y":257.5838353320795},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"OsJJkIgPnB134202","category":"uml_class","locked":false,"group":""},"zqXrwamJYe178870":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"下单"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":120,"w":105,"h":29,"x":1028.5594991324672,"angle":0,"y":297.8111080593523},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"zqXrwamJYe178870","category":"uml_class","locked":false,"group":""},"gyddmsZrZO783056":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"商品关联"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":55,"w":105,"h":29,"x":182.43332417805985,"angle":0,"y":546.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"gyddmsZrZO783056","category":"uml_class","locked":false,"group":""},"juPyMUQnIv872206":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"人气推荐"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":94,"w":105,"h":29,"x":310.4333241780599,"angle":0,"y":294.12928987753406},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"juPyMUQnIv872206","category":"uml_class","locked":false,"group":""},"ZPgemIfiRU382572":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"订单管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":67,"w":105,"h":29,"x":467.3404515965918,"angle":0,"y":465.12928987753406},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"ZPgemIfiRU382572","category":"uml_class","locked":false,"group":""},"BeGEoHirxK584111":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"商品详情"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":99,"w":105,"h":29,"x":592.2202351749776,"angle":0,"y":212.129289877534},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"BeGEoHirxK584111","category":"uml_class","locked":false,"group":""},"KkgguedGnd671253":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"商品规格和参数"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":12},"title":"简单类","dataAttributes":[],"props":{"zindex":101,"w":105,"h":29,"x":592.2202351749776,"angle":0,"y":255.12928987753398},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"KkgguedGnd671253","category":"uml_class","locked":false,"group":""},"TkkqZVLxjE737522":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","x":0,"h":"h","y":0},"text":"我的功能"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"title":"文本","fontStyle":{"size":17,"bold":true},"dataAttributes":[{"name":"序号","id":"YnemHyjteA101111","type":"number","category":"default","value":""},{"name":"名称","id":"PlTKyOAeFd588600","type":"string","category":"default","value":""},{"name":"所有者","id":"GzYuYkfWYv356431","type":"string","category":"default","value":""},{"name":"连接","id":"SpmpvsDinF472310","type":"link","category":"default","value":""},{"name":"便笺","id":"fkLRtJaSIu539404","type":"string","category":"default","value":""}],"props":{"zindex":107,"w":121,"x":802.0809681657306,"h":43,"y":166.62928987753398,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"theme":{},"id":"TkkqZVLxjE737522","attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"category":"basic","locked":false,"group":""},"pokqNFjnxg202909":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"订单发货"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":68,"w":105,"h":29,"x":467.3404515965918,"angle":0,"y":505.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"pokqNFjnxg202909","category":"uml_class","locked":false,"group":""},"RDiUzvefWu223779":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"品牌推荐"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":82,"w":105,"h":29,"x":866.3404515965917,"angle":0,"y":505.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"RDiUzvefWu223779","category":"uml_class","locked":false,"group":""},"vUcbzPESWW583964":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","x":0,"h":"h","y":0},"text":"首页门户"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"title":"文本","fontStyle":{"size":17,"bold":true},"dataAttributes":[{"name":"序号","id":"ZEryNEZiEF644277","type":"number","category":"default","value":""},{"name":"名称","id":"kUGbsbssoh033754","type":"string","category":"default","value":""},{"name":"所有者","id":"GkuRtzJtLg770645","type":"string","category":"default","value":""},{"name":"连接","id":"PFsgEXxDog102185","type":"link","category":"default","value":""},{"name":"便笺","id":"lzElCRCFlx125246","type":"string","category":"default","value":""}],"props":{"zindex":89,"w":121,"x":235.93332417805982,"h":43,"y":166.62928987753398,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"theme":{},"id":"vUcbzPESWW583964","attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"category":"basic","locked":false,"group":""},"pyEzuuRkEZ057034":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"专题推荐"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":80,"w":105,"h":29,"x":745.3404515965917,"angle":0,"y":585.129289877534},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"pyEzuuRkEZ057034","category":"uml_class","locked":false,"group":""},"GiFHqxHbIc935689":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"我的关注"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":110,"w":105,"h":29,"x":874.0071461718952,"angle":0,"y":257.5838353320795},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"GiFHqxHbIc935689","category":"uml_class","locked":false,"group":""},"gKlQRirxEW041150":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"商品分类"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":97,"w":105,"h":29,"x":464.22023517497763,"angle":0,"y":212.129289877534},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"gKlQRirxEW041150","category":"uml_class","locked":false,"group":""},"FIzVGmweOW727448":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"秒杀专区"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":92,"w":105,"h":29,"x":310.4333241780599,"angle":0,"y":255.12928987753398},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"FIzVGmweOW727448","category":"uml_class","locked":false,"group":""},"cwdunmEify239562":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14,"textAlign":"left","bold":true,"vAlign":"top"},"title":"矩形","dataAttributes":[{"name":"序号","id":"KNzTFgGPPW900739","category":"default","type":"number","value":""},{"name":"名称","id":"VOBYTDHEcC526051","category":"default","type":"string","value":""},{"name":"所有者","id":"adUIpaxgXL342784","category":"default","type":"string","value":""},{"name":"连接","id":"mTIEBfczCK689318","category":"default","type":"link","value":""},{"name":"便笺","id":"QnqlebbBdK619237","category":"default","type":"string","value":""}],"props":{"zindex":52,"w":146,"h":226,"x":1010.133321126302,"y":415.62928987753406,"angle":0},"path":[{"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"rectangle","fillStyle":{"color":"204,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"cwdunmEify239562","category":"basic","locked":false,"group":""},"wfKcxzQDqK222530":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","x":0,"h":"h","y":0},"text":"订单模块"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"title":"文本","fontStyle":{"size":17,"bold":true},"dataAttributes":[{"name":"序号","id":"XJblzlKxtu158509","type":"number","category":"default","value":""},{"name":"名称","id":"FBVyRaTCmu383162","type":"string","category":"default","value":""},{"name":"所有者","id":"jxMBzBthEL456297","type":"string","category":"default","value":""},{"name":"连接","id":"NxbnVsuVNs333588","type":"link","category":"default","value":""},{"name":"便笺","id":"OQzJYqLmHG357011","type":"string","category":"default","value":""}],"props":{"zindex":66,"w":121,"x":520.294057168813,"h":43,"y":415.62928987753406,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"theme":{},"id":"wfKcxzQDqK222530","attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"category":"basic","locked":false,"group":""},"bLzboZNkWR855046":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","x":0,"h":"h","y":0},"text":"商品模块"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"title":"文本","fontStyle":{"size":17,"bold":true},"dataAttributes":[{"name":"序号","id":"fLyHmRfCDw582947","type":"number","category":"default","value":""},{"name":"名称","id":"oxhLSeSodi851816","type":"string","category":"default","value":""},{"name":"所有者","id":"lXkmFBZVRf601539","type":"string","category":"default","value":""},{"name":"连接","id":"ArWtANYnFB190356","type":"link","category":"default","value":""},{"name":"便笺","id":"ThlwXMHCgN316804","type":"string","category":"default","value":""}],"props":{"zindex":51,"w":121,"x":235.93332417805982,"h":43,"y":418.12928987753406,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"theme":{},"id":"bLzboZNkWR855046","attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"category":"basic","locked":false,"group":""},"smPmcgRzrd057179":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"新品推荐"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":79,"w":105,"h":29,"x":745.3404515965917,"angle":0,"y":546.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"smPmcgRzrd057179","category":"uml_class","locked":false,"group":""},"TOMcYmjPud549805":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"人气推荐"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":83,"w":105,"h":29,"x":866.3404515965917,"angle":0,"y":546.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"TOMcYmjPud549805","category":"uml_class","locked":false,"group":""},"jqbaWwuoaR274843":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","x":0,"h":"h","y":0},"text":"商品功能"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"title":"文本","fontStyle":{"size":17,"bold":true},"dataAttributes":[{"name":"序号","id":"hdtvCBgsNl673305","type":"number","category":"default","value":""},{"name":"名称","id":"noFEOTLRpO893520","type":"string","category":"default","value":""},{"name":"所有者","id":"DydyYoLZLZ257828","type":"string","category":"default","value":""},{"name":"连接","id":"zSVscdIxpE750828","type":"link","category":"default","value":""},{"name":"便笺","id":"RDZzcFoneM727205","type":"string","category":"default","value":""}],"props":{"zindex":98,"w":121,"x":517.7202351749776,"h":43,"y":166.62928987753398,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"theme":{},"id":"jqbaWwuoaR274843","attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"category":"basic","locked":false,"group":""},"KeQFeUmpBW326963":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"推荐商品"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":103,"w":105,"h":29,"x":592.2202351749776,"angle":0,"y":294.12928987753406},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"KeQFeUmpBW326963","category":"uml_class","locked":false,"group":""},"MTWXzeUYTd465160":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"前台商城"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14,"bold":true},"title":"简单类","dataAttributes":[],"props":{"zindex":47,"w":121,"h":226,"x":29.433324178059898,"y":166.62928987753398,"angle":0},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,153","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"MTWXzeUYTd465160","category":"uml_class","locked":false,"group":""},"rsCivDXCrn378213":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"资源管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":64,"w":105,"h":29,"x":1030.6333211263025,"angle":0,"y":585.129289877534},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"rsCivDXCrn378213","category":"uml_class","locked":false,"group":""},"KicIIepAzg159199":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"猜你喜欢"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":95,"w":105,"h":29,"x":182.43332417805985,"angle":0,"y":337.12928987753406},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"KicIIepAzg159199","category":"uml_class","locked":false,"group":""},"GNmKCHnjbb650283":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-10","h":"h*(1/7)-2","x":"5","y":"2"},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14,"textAlign":"left","bold":true,"vAlign":"top"},"title":"容器","dataAttributes":[],"props":{"zindex":41,"w":270,"h":221.090909090909,"x":164.00714617189524,"angle":0,"y":166.62928987753398},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"rectangleContainer","theme":{},"fillStyle":{"color":"255,249,196","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"GNmKCHnjbb650283","category":"uml_usecase","locked":false,"group":""},"XUFnEVXhLi732706":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"商品分类管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":59,"w":105,"h":29,"x":304.4333241780599,"angle":0,"y":546.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"XUFnEVXhLi732706","category":"uml_class","locked":false,"group":""},"HDUMgylXsd355484":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"新鲜好物"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":93,"w":105,"h":29,"x":182.43332417805985,"angle":0,"y":294.12928987753406},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"HDUMgylXsd355484","category":"uml_class","locked":false,"group":""},"gglZmkqOuv827023":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"商品列表"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":100,"w":105,"h":29,"x":464.22023517497763,"angle":0,"y":255.12928987753398},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"gglZmkqOuv827023","category":"uml_class","locked":false,"group":""},"yQChJVQNnW173354":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","x":0,"h":"h","y":0},"text":"营销模块"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"title":"文本","fontStyle":{"size":17,"bold":true},"dataAttributes":[{"name":"序号","id":"ubaGbpsXUX903298","type":"number","category":"default","value":""},{"name":"名称","id":"fVSRaVLuOh471737","type":"string","category":"default","value":""},{"name":"所有者","id":"ugRlOGeStX734209","type":"string","category":"default","value":""},{"name":"连接","id":"mDGLlGApfx971888","type":"link","category":"default","value":""},{"name":"便笺","id":"StxHWMyaTC941282","type":"string","category":"default","value":""}],"props":{"zindex":76,"w":121,"x":803.3571446460163,"h":43,"y":415.62928987753406,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"theme":{},"id":"yQChJVQNnW173354","attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"category":"basic","locked":false,"group":""},"FYMQNwRKtm476206":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"退货原因处理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":88,"w":105,"h":29,"x":589.5286152051592,"angle":0,"y":587.129289877534},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"FYMQNwRKtm476206","category":"uml_class","locked":false,"group":""},"vhZIguLHBS742132":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"设置"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":113,"w":105,"h":29,"x":746.0071461718952,"angle":0,"y":340.8111080593523},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"vhZIguLHBS742132","category":"uml_class","locked":false,"group":""},"suawDnlFYG471019":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"商品SKU管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":54,"w":105,"h":29,"x":182.43332417805985,"angle":0,"y":505.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"suawDnlFYG471019","category":"uml_class","locked":false,"group":""},"ePsRNjidSv493346":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"生成确认单"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":118,"w":105,"h":29,"x":1028.5594991324672,"angle":0,"y":258.81110805935225},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"ePsRNjidSv493346","category":"uml_class","locked":false,"group":""},"XNZrioLAZM361067":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"订单设置"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":73,"w":105,"h":29,"x":587.3404515965917,"angle":0,"y":546.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"XNZrioLAZM361067","category":"uml_class","locked":false,"group":""},"XXbftPupjX332177":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"我的优惠券"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":106,"w":105,"h":29,"x":746.0071461718952,"angle":0,"y":214.5838353320795},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"XXbftPupjX332177","category":"uml_class","locked":false,"group":""},"UOPEAOAelQ506789":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"查看订单"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":71,"w":105,"h":29,"x":587.3404515965917,"angle":0,"y":465.12928987753406},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"UOPEAOAelQ506789","category":"uml_class","locked":false,"group":""},"HcQQFhJfdr644904":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"秒杀活动管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":77,"w":105,"h":29,"x":745.3404515965917,"angle":0,"y":465.12928987753406},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"HcQQFhJfdr644904","category":"uml_class","locked":false,"group":""},"RRmNaWSnTN804519":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"新鲜商品"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":102,"w":105,"h":29,"x":464.22023517497763,"angle":0,"y":294.12928987753406},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"RRmNaWSnTN804519","category":"uml_class","locked":false,"group":""},"LQzmqTPbvq252367":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"订单管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":122,"w":105,"h":29,"x":1028.5594991324672,"angle":0,"y":340.8111080593523},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"LQzmqTPbvq252367","category":"uml_class","locked":false,"group":""},"TCOAUbXrpY426094":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","x":0,"h":"h","y":0},"text":"订单流程"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"title":"文本","fontStyle":{"size":17,"bold":true},"dataAttributes":[{"name":"序号","id":"urNBTTfHoh776970","type":"number","category":"default","value":""},{"name":"名称","id":"bzYKWbRyZB754317","type":"string","category":"default","value":""},{"name":"所有者","id":"hwdTxogyMC417540","type":"string","category":"default","value":""},{"name":"连接","id":"MMClVUijuZ348051","type":"link","category":"default","value":""},{"name":"便笺","id":"RIplEviGPD597114","type":"string","category":"default","value":""}],"props":{"zindex":116,"w":121,"x":1020.5594991324671,"h":43,"y":166.62928987753398,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"theme":{},"id":"TCOAUbXrpY426094","attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"category":"basic","locked":false,"group":""},"hjGpZjaFpW132293":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14,"textAlign":"left","bold":true,"vAlign":"top"},"title":"矩形","dataAttributes":[{"name":"序号","id":"dfulUDNrpK923288","category":"default","type":"number","value":""},{"name":"名称","id":"eGBaSOGIkF464939","category":"default","type":"string","value":""},{"name":"所有者","id":"fXSNyGyXyo491048","category":"default","type":"string","value":""},{"name":"连接","id":"NbdKbGMSws027484","category":"default","type":"link","value":""},{"name":"便笺","id":"RJCKjFogVn071434","category":"default","type":"string","value":""}],"props":{"zindex":49,"w":270,"h":226,"x":164.00714617189524,"y":415.62928987753406,"angle":0},"path":[{"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"rectangle","fillStyle":{"color":"204,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"hjGpZjaFpW132293","category":"basic","locked":false,"group":""},"OqYIatSNkA505946":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"添加/编辑商品"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":13},"title":"简单类","dataAttributes":[],"props":{"zindex":57,"w":105,"h":29,"x":304.4333241780599,"angle":0,"y":465.12928987753406},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"OqYIatSNkA505946","category":"uml_class","locked":false,"group":""},"oUUOieixhC172194":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"广告管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":84,"w":105,"h":29,"x":866.3404515965917,"angle":0,"y":585.129289877534},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"oUUOieixhC172194","category":"uml_class","locked":false,"group":""},"HkcCaxqqWe104801":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"商品类型管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":85,"w":105,"h":29,"x":182.43332417805985,"angle":0,"y":587.129289877534},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"HkcCaxqqWe104801","category":"uml_class","locked":false,"group":""},"BnuqfctERh586050":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-10","h":"h*(1/7)-2","x":"5","y":"2"},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14,"textAlign":"left","bold":true,"vAlign":"top"},"title":"容器","dataAttributes":[],"props":{"zindex":114,"w":146,"h":221.090909090909,"x":1010.133321126302,"angle":0,"y":170.31110805935222},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"rectangleContainer","theme":{},"fillStyle":{"color":"255,249,196","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"BnuqfctERh586050","category":"uml_usecase","locked":false,"group":""},"mpOPsrmPua056760":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"品牌管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":86,"w":105,"h":29,"x":304.4333241780599,"angle":0,"y":587.129289877534},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"mpOPsrmPua056760","category":"uml_class","locked":false,"group":""},"iGPonNaEme287758":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"我的评价"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":112,"w":105,"h":29,"x":874.0071461718952,"angle":0,"y":296.58383533207956},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"iGPonNaEme287758","category":"uml_class","locked":false,"group":""},"SaUGHkVsIM921860":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"购物车"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":115,"w":105,"h":29,"x":1028.5594991324672,"angle":0,"y":215.81110805935225},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"SaUGHkVsIM921860","category":"uml_class","locked":false,"group":""},"MzgZmAOJMw815980":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"订单跟踪"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":69,"w":105,"h":29,"x":467.3404515965918,"angle":0,"y":546.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"MzgZmAOJMw815980","category":"uml_class","locked":false,"group":""},"XCHOFxZMvd440245":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14,"textAlign":"left","bold":true,"vAlign":"top"},"title":"矩形","dataAttributes":[{"name":"序号","id":"gvhvbsNkWS138519","category":"default","type":"number","value":""},{"name":"名称","id":"XaWqXaUiMP915222","category":"default","type":"string","value":""},{"name":"所有者","id":"pIkwRvpGEe940545","category":"default","type":"string","value":""},{"name":"连接","id":"kHnDpLmEJF806652","category":"default","type":"link","value":""},{"name":"便笺","id":"PlgMduElsC288132","category":"default","type":"string","value":""}],"props":{"zindex":75,"w":270,"h":226,"x":727.5809681657306,"y":415.62928987753406,"angle":0},"path":[{"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"rectangle","fillStyle":{"color":"204,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"XCHOFxZMvd440245","category":"basic","locked":false,"group":""},"jFkaaGQfRQ890574":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"轮播广告"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":45,"w":105,"h":29,"x":182.43332417805985,"angle":0,"y":212.129289877534},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"jFkaaGQfRQ890574","category":"uml_class","locked":false,"group":""},"ImiRNTFEzN858756":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"品牌制造商直供"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":12},"title":"简单类","dataAttributes":[],"props":{"zindex":91,"w":105,"h":29,"x":182.43332417805985,"angle":0,"y":255.12928987753398},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"ImiRNTFEzN858756","category":"uml_class","locked":false,"group":""},"gXxudshRMG346210":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"退货申请处理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":87,"w":105,"h":29,"x":469.52861520515927,"angle":0,"y":587.129289877534},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"gXxudshRMG346210","category":"uml_class","locked":false,"group":""},"SFsTHAVKZd537577":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"地址管理"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":108,"w":105,"h":29,"x":874.0071461718952,"angle":0,"y":214.5838353320795},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"SFsTHAVKZd537577","category":"uml_class","locked":false,"group":""},"yQfyWAudRl330962":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","x":0,"h":"h","y":0},"text":"权限模块"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"title":"文本","fontStyle":{"size":17,"bold":true},"dataAttributes":[{"name":"序号","id":"HCcpZaDtSB572232","type":"number","category":"default","value":""},{"name":"名称","id":"rixeIcOFbX932606","type":"string","category":"default","value":""},{"name":"所有者","id":"OWvxCdTZtJ580781","type":"string","category":"default","value":""},{"name":"连接","id":"noAQaNBhAs180229","type":"link","category":"default","value":""},{"name":"便笺","id":"PlSCZlJniJ252410","type":"string","category":"default","value":""}],"props":{"zindex":53,"w":121,"x":1022.6333211263023,"h":43,"y":415.62928987753406,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"theme":{},"id":"yQfyWAudRl330962","attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"category":"basic","locked":false,"group":""},"nlaedBIcPI872259":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-10","h":"h*(1/7)-2","x":"5","y":"2"},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14,"textAlign":"left","bold":true,"vAlign":"top"},"title":"容器","dataAttributes":[],"props":{"zindex":96,"w":270,"h":221.090909090909,"x":445.794057168813,"angle":0,"y":166.62928987753398},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"rectangleContainer","theme":{},"fillStyle":{"color":"255,249,196","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"nlaedBIcPI872259","category":"uml_usecase","locked":false,"group":""},"LJnCzSMyBI993583":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"我的收藏"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":111,"w":105,"h":29,"x":746.0071461718952,"angle":0,"y":296.58383533207956},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"187,222,251","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"LJnCzSMyBI993583","category":"uml_class","locked":false,"group":""},"TUWZPArNXh717856":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"后台管理系统"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14,"bold":true},"title":"简单类","dataAttributes":[],"props":{"zindex":48,"w":121,"h":226,"x":29.433324178059898,"y":415.62928987753406,"angle":0},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,153","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"TUWZPArNXh717856","category":"uml_class","locked":false,"group":""},"fxfLSSLSml221089":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":"商品促销"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14},"title":"简单类","dataAttributes":[],"props":{"zindex":58,"w":105,"h":29,"x":304.4333241780599,"angle":0,"y":505.1292898775341},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"simpleClass","fillStyle":{"color":"153,255,204","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"fxfLSSLSml221089","category":"uml_class","locked":false,"group":""},"iGSAUFedHL360166":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-10","h":"h*(1/7)-2","x":"5","y":"2"},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"fontFamily":"微软雅黑","size":14,"textAlign":"left","bold":true,"vAlign":"top"},"title":"容器","dataAttributes":[],"props":{"zindex":105,"w":270,"h":221.090909090909,"x":727.5809681657306,"angle":0,"y":166.62928987753398},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"rectangleContainer","theme":{},"fillStyle":{"color":"255,249,196","type":"solid"},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"iGSAUFedHL360166","category":"uml_usecase","locked":false,"group":""}},"page":{"padding":20,"backgroundColor":"transparent","orientation":"portrait","gridSize":15,"width":1326,"showGrid":true,"lineJumps":false,"height":843},"version":229}},"meta":{"exportTime":"2023-07-23 09:43:42","member":"","diagramInfo":{"creator":"","created":"2023-06-25 10:41:46","modified":"2023-06-25 16:19:23","title":"mall项目业务架构图","category":"flow"},"id":"6497a96ac13b041a4c7515fa","type":"ProcessOn Schema File","version":"1.0"}} ================================================ FILE: document/pos/系统架构图.pos ================================================ {"diagram":{"elements":{"elements":{"MMaLAUsWap276366":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"title":"","fontStyle":{},"dataAttributes":[],"props":{"zindex":196,"w":40,"x":620.9713635391222,"h":40,"y":239.70763745478865,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl","l","t","r","b"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":200,"type":"image","fileId":"http://cdn.processon.com/5df1f6a6e4b0c4255e96d825?e=1576142006&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:1syM2a0D54ljvI8LPam4JSz-zNo="},"theme":{},"id":"MMaLAUsWap276366","attribute":{"container":false,"rotatable":true,"visible":false,"fixedLink":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"category":"standard","locked":false,"group":""},"16e63ca1a3d1b7":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":105,"w":40,"h":40,"x":140.48834524818568,"y":206.4158217204619,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbb8cce4b0754822a3fcd6?e=1573635804&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:vsBdSB9aQgAxFYAyUX7nG_XwxYA="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63ca1a3d1b7","category":"standard","locked":false,"group":""},"16e63942c5b4f":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":40,"w":0,"h":0,"x":836.3167103892846,"y":3.8611047284740985,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbab0ee4b0a602173633d9?e=1573632286&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:xCZUfiNj_5c_wBHBIFENS5dvBkY="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63942c5b4f","category":"standard","locked":false,"group":""},"16e63b2deb1896":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":57,"w":0,"h":0,"x":745.3472145928276,"angle":0,"y":415.3611092037625},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbb2eae4b04c4c38244552?e=1573634298&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:n-877LxCxm9RfuI3GScQEHcDtWs="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63b2deb1896","category":"standard","locked":false,"group":""},"16e63c9f8c29c":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":104,"w":0,"h":0,"x":900.0450858349252,"angle":0,"y":429.22593463018285},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbb8d4e4b0e3a6348d604a?e=1573635812&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:3wKgKDsu7aXDSn6CegC2xH1iCng="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c9f8c29c","category":"standard","locked":false,"group":""},"VWxGBGWOeN617144":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"反向代理
负载均衡
"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"ygkSFkgdlz495397","category":"default","type":"number","value":""},{"name":"名称","id":"QgVUPbkwph397120","category":"default","type":"string","value":""},{"name":"所有者","id":"eKZgJyEZSt869616","category":"default","type":"string","value":""},{"name":"连接","id":"ZgYHtvNRmi204845","category":"default","type":"link","value":""},{"name":"便笺","id":"jUKweuoRPC917678","category":"default","type":"string","value":""}],"props":{"zindex":180,"w":95.55555555555549,"h":40,"x":705.3895105723201,"angle":0,"y":312.78486145416394},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"VWxGBGWOeN617144","category":"basic","locked":false,"group":""},"1709b6b50d724b":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"持续集成"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"1709b6b59b02d6","category":"default","type":"number","value":""},{"name":"名称","id":"1709b6b59b076b","category":"default","type":"string","value":""},{"name":"所有者","id":"1709b6b59b0135","category":"default","type":"string","value":""},{"name":"连接","id":"1709b6b59b08d","category":"default","type":"link","value":""},{"name":"便笺","id":"1709b6b59b05d5","category":"default","type":"string","value":""}],"props":{"zindex":174,"w":160,"h":40,"x":103.54633265518544,"angle":0,"y":537.7573613780348},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"1709b6b50d724b","category":"basic","locked":false,"group":""},"16e6390e6892e2":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":32,"w":0,"h":0,"x":859.3486447294913,"y":208.26164864341877,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbaa37e4b0ffd2144848a1?e=1573632072&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:3meU1Zv00FOWqGqZicDFwFnKidg="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e6390e6892e2","category":"standard","locked":false,"group":""},"16e63c31d68973":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":93,"w":40,"h":40,"x":819.8951386004039,"angle":0,"y":713.562136888869},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbb70de4b0fc314a101c70?e=1573635357&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:UT9KmMN3Pg7M81GVVOLSCHN_U1c="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c31d68973","category":"standard","locked":false,"group":""},"16e63c3b438aec":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"圆角矩形","dataAttributes":[{"name":"序号","id":"16e63c3b438094","category":"default","type":"number","value":""},{"name":"名称","id":"16e63c3b438628","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63c3b4380b5","category":"default","type":"string","value":""},{"name":"连接","id":"16e63c3b438d9","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63c3b43893f","category":"default","type":"string","value":""}],"props":{"zindex":92,"w":103.88922113155456,"h":114.5,"x":789.4424166865122,"y":694.8265739841318,"angle":0},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{"lineStyle":"dashed","lineColor":"18,150,219"},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"roundRectangle","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c3b438aec","category":"basic","locked":false,"group":""},"EXVIllXmxc752385":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"HTTP"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"UBzJiDbSNU496992","category":"default","type":"number","value":""},{"name":"名称","id":"XXdnWItKSG119773","category":"default","type":"string","value":""},{"name":"所有者","id":"uwThQlfTwX853603","category":"default","type":"string","value":""},{"name":"连接","id":"yTQAwsoPEu191549","category":"default","type":"link","value":""},{"name":"便笺","id":"RfHNcwozKq296498","category":"default","type":"string","value":""}],"props":{"zindex":177,"w":95.55555555555549,"h":40,"x":474.9259840143726,"angle":0,"y":312.78486145416394},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"EXVIllXmxc752385","category":"basic","locked":false,"group":""},"16e63bf00e2efa":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":81,"w":40,"h":40,"x":1104.1896066629333,"y":710.2556837790833,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbb5cee4b0e3a6348d549e?e=1573635038&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:MgQCvcHhtI2mWv4MWo3uMoUNAXY="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63bf00e2efa","category":"standard","locked":false,"group":""},"16e63f2fd9f5ca":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"容器化部署"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63f2fda078b","category":"default","type":"number","value":""},{"name":"名称","id":"16e63f2fda05af","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63f2fda0bda","category":"default","type":"string","value":""},{"name":"连接","id":"16e63f2fda06a9","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63f2fda022f","category":"default","type":"string","value":""}],"props":{"zindex":156,"w":160,"h":40,"x":404.9259840143725,"angle":0,"y":537.245653572957},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63f2fd9f5ca","category":"basic","locked":false,"group":""},"1709b6b08f4878":{"textBlock":[],"dataAttributes":[],"points":[{"x":949.5866282768692,"y":592.7549358176395},{"x":118.82221306694879,"y":592.7549358176395}],"props":{"zindex":173},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":949.5866282768692,"angle":4.71238898038469,"y":490.6832976511474,"id":"16e63793ab0ab6"},"to":{"x":118.82221306694879,"angle":1.5707963267948968,"y":694.8265739841315,"id":"1709b6885076b6"},"id":"1709b6b08f4878","text":"","locked":false,"group":""},"16e63cc13aaed4":{"textBlock":[],"points":[{"x":274.21664663456,"y":235.04830320845946},{"x":274.21664663456,"y":354.9165862068408}],"dataAttributes":[],"props":{"zindex":109},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":214.47449546683922,"y":235.04830320845946,"angle":3.141592653589793,"id":"16e63c98116389"},"id":"16e63cc13aaed4","to":{"x":333.95879780228074,"y":354.9165862068408,"angle":0,"id":"16e6371f9451f4"},"text":"","locked":false,"group":""},"16e63b29e3e54d":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":56,"w":0,"h":0,"x":745.3472145928276,"y":415.3611092037625,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbb2d9e4b0bd68d814f129?e=1573634281&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:yBh26Ng-mS_OoZQZr16wAfkB-j8="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63b29e3e54d","category":"standard","locked":false,"group":""},"16e63ba5d3e895":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":70,"w":0,"h":0,"x":853.0200821632791,"y":297.5759350116526,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbb4d5e4b022abb632cc27?e=1573634789&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:H9HIw4e0cEmInoy1jR72UnAd7x0="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63ba5d3e895","category":"standard","locked":false,"group":""},"16e63c77c26192":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"OSS/MinIO"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63c7840cb7a","category":"default","type":"number","value":""},{"name":"名称","id":"16e63c7840c92b","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63c7840c05f","category":"default","type":"string","value":""},{"name":"连接","id":"16e63c7840cea4","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63c7840cbff","category":"default","type":"string","value":""}],"props":{"zindex":99,"w":98.8309870978187,"h":28.749990463256836,"x":547.7212776015909,"y":756.0830110467409,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c77c26192","category":"basic","locked":false,"group":""},"16e63c6cc83b6c":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":96,"w":0,"h":0,"x":893.3472260369194,"y":539.7361187405056,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbb804e4b059bcd1933b55?e=1573635604&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:wFb2po3OWQ-mHCT5mSrB_-AtUYw="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c6cc83b6c","category":"standard","locked":false,"group":""},"16e63d6b1bf41":{"textBlock":[],"dataAttributes":[],"points":[{"x":1216.6378622558195,"y":354.89011061203314,"fixed":true}],"props":{"zindex":123},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":1109.013260413077,"angle":3.141592653589793,"y":354.89011061203314,"id":"16e63793ab0ab6"},"to":{"x":1216.6378622558195,"angle":1.5707963267948968,"y":709.8451380048782,"id":"16e63c033fa0a3"},"id":"16e63d6b1bf41","text":"","locked":false,"group":""},"16e63c033fa0a3":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":84,"w":40,"h":40,"x":1196.6378622558195,"y":709.8451380048782,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbb64fe4b04c4c382452b4?e=1573635167&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:kxtQaIXkGpk5f1GLsaDgri2qz1E="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c033fa0a3","category":"standard","locked":false,"group":""},"16e63c309bba7d":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":89,"w":0,"h":0,"x":893.3472260369194,"angle":0,"y":515.3611187405056},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbb70de4b0fc314a101c70?e=1573635357&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:UT9KmMN3Pg7M81GVVOLSCHN_U1c="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c309bba7d","category":"standard","locked":false,"group":""},"16e63b91c7dde4":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":68,"w":0,"h":0,"x":853.0200821632791,"y":297.5759350116526,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbb483e4b0e3a6348d4f76?e=1573634707&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:svCZWOnfCwgLSxWg7yjQxTacWIo="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63b91c7dde4","category":"standard","locked":false,"group":""},"16e63f29c83e32":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"Docker"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63f2a8e0163","category":"default","type":"number","value":""},{"name":"名称","id":"16e63f2a8e089b","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63f2a8e0724","category":"default","type":"string","value":""},{"name":"连接","id":"16e63f2a8e06c8","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63f2a8e0e98","category":"default","type":"string","value":""}],"props":{"zindex":152,"w":98.8309870978187,"h":28.749990463256836,"x":317.51420931843427,"y":759.273693120078,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63f29c83e32","category":"basic","locked":false,"group":""},"16e63c022ff8dd":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":83,"w":0,"h":0,"x":893.3472260369194,"angle":0,"y":515.3611187405056},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbb64fe4b04c4c382452b4?e=1573635167&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:kxtQaIXkGpk5f1GLsaDgri2qz1E="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c022ff8dd","category":"standard","locked":false,"group":""},"16e63e307a1c":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"搜索数据存储"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63e327ef783","category":"default","type":"number","value":""},{"name":"名称","id":"16e63e327ef9fb","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63e327ef3df","category":"default","type":"string","value":""},{"name":"连接","id":"16e63e327ef615","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63e327ef64b","category":"default","type":"string","value":""}],"props":{"zindex":139,"w":22.500000000000227,"h":108.59949803886639,"x":1398.9869925977307,"y":420.76773621834604,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63e307a1c","category":"basic","locked":false,"group":""},"YkeQtreJoM029766":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"Nginx"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"ChpQUnaBYO072356","category":"default","type":"number","value":""},{"name":"名称","id":"WIzZjNJAsm143421","category":"default","type":"string","value":""},{"name":"所有者","id":"IBDnSxYfQM497192","category":"default","type":"string","value":""},{"name":"连接","id":"joZFvEKAXX319970","category":"default","type":"link","value":""},{"name":"便笺","id":"tnfIZoAtbp751094","category":"default","type":"string","value":""}],"props":{"zindex":193,"w":153.7870136449784,"h":28.98580350057074,"x":564.077856716633,"angle":0,"y":441.764149532312},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"YkeQtreJoM029766","category":"basic","locked":false,"group":""},"1709b6885077e2":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"Jenkins"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"1709b688e48449","category":"default","type":"number","value":""},{"name":"名称","id":"1709b688e4882e","category":"default","type":"string","value":""},{"name":"所有者","id":"1709b688e48151","category":"default","type":"string","value":""},{"name":"连接","id":"1709b688e48618","category":"default","type":"link","value":""},{"name":"便笺","id":"1709b688e48e45","category":"default","type":"string","value":""}],"props":{"zindex":169,"w":98.8309870978187,"h":28.749990463256836,"x":70.23603565350783,"angle":0,"y":759.2736931200784},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"1709b6885077e2","category":"basic","locked":false,"group":""},"16e63c48976367":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"消息队列"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63c48dbd1b9","category":"default","type":"number","value":""},{"name":"名称","id":"16e63c48dbda22","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63c48dbdea7","category":"default","type":"string","value":""},{"name":"连接","id":"16e63c48dbdce1","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63c48dbd0be","category":"default","type":"string","value":""}],"props":{"zindex":95,"w":98.8309870978187,"h":28.749990463256836,"x":791.9715337033801,"y":827.0184220877536,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c48976367","category":"basic","locked":false,"group":""},"16e63d817dbf2b":{"textBlock":[],"dataAttributes":[],"points":[{"x":1305.0250016267944,"y":354.90334840943694}],"props":{"zindex":124},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":1108.6316244844925,"angle":3.141592653589793,"y":354.90334840943694,"id":"16e63793ab0ab6"},"to":{"x":1305.0250016267944,"angle":1.5707963267948968,"y":709.989914073506,"id":"16e63c0f2d39ad"},"id":"16e63d817dbf2b","text":"","locked":false,"group":""},"16e63e05fb2fcb":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"Elasticsearch"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63e06522bd1","category":"default","type":"number","value":""},{"name":"名称","id":"16e63e065226df","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63e06522291","category":"default","type":"string","value":""},{"name":"连接","id":"16e63e06522e7","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63e065227d3","category":"default","type":"string","value":""}],"props":{"zindex":135,"w":116.73125553131104,"h":36.89479150985812,"x":1338.6591604791788,"y":764.7560403750329,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63e05fb2fcb","category":"basic","locked":false,"group":""},"16e63c0e13be6c":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":86,"w":0,"h":0,"x":893.3472260369194,"y":515.3611187405056,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbb680e4b0bd68d814ff68?e=1573635216&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:EFWWu7IypG1ll1y47eQEoUrwD_Y="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c0e13be6c","category":"standard","locked":false,"group":""},"16e6382ad78b31":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"圆角矩形","dataAttributes":[{"name":"序号","id":"16e6382ad78988","category":"default","type":"number","value":""},{"name":"名称","id":"16e6382ad78ac3","category":"default","type":"string","value":""},{"name":"所有者","id":"16e6382ad78ba9","category":"default","type":"string","value":""},{"name":"连接","id":"16e6382ad78f3d","category":"default","type":"link","value":""},{"name":"便笺","id":"16e6382ad7866a","category":"default","type":"string","value":""}],"props":{"zindex":17,"w":111.35000991821289,"h":114.5,"x":542.0732580796176,"angle":0,"y":694.8265739841315},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{"lineStyle":"dashed","lineColor":"18,150,219"},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"roundRectangle","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e6382ad78b31","category":"basic","locked":false,"group":""},"16e63bc6ad2eed":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":77,"w":40,"h":40,"x":1503.7327568660883,"y":233.8624433867474,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbab0ee4b0a602173633d9?e=1573632286&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:xCZUfiNj_5c_wBHBIFENS5dvBkY="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63bc6ad2eed","category":"standard","locked":false,"group":""},"16e63bc90cb10a":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"Kibana"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63bc9a62e35","category":"default","type":"number","value":""},{"name":"名称","id":"16e63bc9a623de","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63bc9a620ec","category":"default","type":"string","value":""},{"name":"连接","id":"16e63bc9a625ec","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63bc9a62e07","category":"default","type":"string","value":""}],"props":{"zindex":78,"w":116.73125553131104,"h":36.89479150985812,"x":1465.3671291004327,"angle":0,"y":274.4150476318185},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63bc90cb10a","category":"basic","locked":false,"group":""},"CNOmLAJdnM101371":{"textBlock":[],"points":[{"x":751.7122720384214,"y":354.9165862068407},{"x":751.7122720384214,"y":355.40333233449496}],"dataAttributes":[],"props":{"zindex":179},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":712.5012760790127,"y":354.9165862068407,"angle":3.141592653589793,"id":"zEJvcODmfg875460"},"id":"CNOmLAJdnM101371","text":"","to":{"x":790.9232679978302,"y":355.40333233449496,"angle":0,"id":"16e63793ab0ab6"},"locked":false,"group":""},"16e63bb3924bfa":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"Logstash"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63bb3924367","category":"default","type":"number","value":""},{"name":"名称","id":"16e63bb3924d9f","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63bb3924c1f","category":"default","type":"string","value":""},{"name":"连接","id":"16e63bb3924293","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63bb3924f31","category":"default","type":"string","value":""}],"props":{"zindex":74,"w":160,"h":40,"x":1449.9081586729196,"angle":0,"y":448.3098467710712},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63bb3924bfa","category":"basic","locked":false,"group":""},"16e63c7351f3b8":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":98,"w":40,"h":40,"x":577.1367711505003,"y":709.3975336769442,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbb804e4b059bcd1933b55?e=1573635604&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:wFb2po3OWQ-mHCT5mSrB_-AtUYw="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c7351f3b8","category":"standard","locked":false,"group":""},"16e638a145f24b":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":23,"w":0,"h":0,"x":836.3167103892846,"y":3.8611047284740985,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcba878e4b04c4c38241b9c?e=1573631625&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:TBR7yli2kgdtq1e-3XD-AbigAm4="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e638a145f24b","category":"standard","locked":false,"group":""},"16e63cae33f1bd":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":107,"w":40,"h":40,"x":145.99011540622456,"y":407.2712477820267,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbb8d4e4b0e3a6348d604a?e=1573635812&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:3wKgKDsu7aXDSn6CegC2xH1iCng="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63cae33f1bd","category":"standard","locked":false,"group":""},"zEJvcODmfg875460":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"圆角矩形","dataAttributes":[{"name":"序号","id":"DLawUEsquw455055","category":"default","type":"number","value":""},{"name":"名称","id":"HMREOxhfwd454195","category":"default","type":"string","value":""},{"name":"所有者","id":"vqxJFkBIAf932342","category":"default","type":"string","value":""},{"name":"连接","id":"PhCBXzyNuR400377","category":"default","type":"link","value":""},{"name":"便笺","id":"DTFqizUqEX393063","category":"default","type":"string","value":""}],"props":{"zindex":175,"w":143.05982507978092,"h":255.5,"x":569.4414509992317,"angle":0,"y":227.1665862068407},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{"lineStyle":"dashed","lineColor":"18,150,219"},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"roundRectangle","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"zEJvcODmfg875460","category":"basic","locked":false,"group":""},"16e6371f9451f4":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"圆角矩形","dataAttributes":[{"name":"序号","id":"16e6371f946327","category":"default","type":"number","value":""},{"name":"名称","id":"16e6371f94644f","category":"default","type":"string","value":""},{"name":"所有者","id":"16e6371f946cc","category":"default","type":"string","value":""},{"name":"连接","id":"16e6371f946a59","category":"default","type":"link","value":""},{"name":"便笺","id":"16e6371f94607d","category":"default","type":"string","value":""}],"props":{"zindex":1,"w":150.61332340972416,"h":255.5,"x":333.95879780228074,"angle":0,"y":227.1665862068407},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{"lineStyle":"dashed","lineColor":"18,150,219"},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"roundRectangle","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e6371f9451f4","category":"basic","locked":false,"group":""},"16e63bc1a2b3c4":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"Elasticsearch"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63bc1ed4771","category":"default","type":"number","value":""},{"name":"名称","id":"16e63bc1ed481f","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63bc1ed414e","category":"default","type":"string","value":""},{"name":"连接","id":"16e63bc1ed4fa6","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63bc1ed4cb8","category":"default","type":"string","value":""}],"props":{"zindex":76,"w":116.73125553131104,"h":36.89479150985812,"x":1471.542530907264,"angle":0,"y":360.2046382809293},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63bc1a2b3c4","category":"basic","locked":false,"group":""},"OaSMvwyaXd261155":{"textBlock":[],"points":[{"x":949.5866282768692,"y":752.0765739841318}],"dataAttributes":[],"props":{"zindex":195},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":893.3316378180667,"y":752.0765739841318,"angle":3.1415926535897927,"id":"16e63c3b438aec"},"id":"OaSMvwyaXd261155","text":"","to":{"x":949.5866282768692,"y":490.6832976511474,"angle":4.71238898038469,"id":"16e63793ab0ab6"},"locked":false,"group":""},"16e63c13d783b1":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"MongoDB"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63c14211f5b","category":"default","type":"number","value":""},{"name":"名称","id":"16e63c14211935","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63c14211de8","category":"default","type":"string","value":""},{"name":"连接","id":"16e63c1421116f","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63c14211a1a","category":"default","type":"string","value":""}],"props":{"zindex":88,"w":98.8309870978187,"h":28.749990463256836,"x":1255.1804201728507,"y":767.6885636885554,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c13d783b1","category":"basic","locked":false,"group":""},"16e63e298570c6":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"缓存数据存储"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63e29d0dba6","category":"default","type":"number","value":""},{"name":"名称","id":"16e63e29d0da49","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63e29d0dc6e","category":"default","type":"string","value":""},{"name":"连接","id":"16e63e29d0d0b3","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63e29d0d9c7","category":"default","type":"string","value":""}],"props":{"zindex":137,"w":22.500000000000227,"h":108.59949803886639,"x":1227.8878622558198,"y":430.99248685413795,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63e298570c6","category":"basic","locked":false,"group":""},"16e63e43b2f4a7":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"日志收集"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63e43b2f2fd","category":"default","type":"number","value":""},{"name":"名称","id":"16e63e43b2f089","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63e43b2fec5","category":"default","type":"string","value":""},{"name":"连接","id":"16e63e43b2f94c","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63e43b2ff44","category":"default","type":"string","value":""}],"props":{"zindex":140,"w":160,"h":40,"x":1227.88786225582,"angle":0,"y":297.530489455022},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63e43b2f4a7","category":"basic","locked":false,"group":""},"16e8cdd7577abe":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":158,"w":0,"h":0,"x":678.3222130669487,"y":607.7111477322048,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dd63cc8e4b06b336e44dabf?e=1574324953&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:N4h-y9anyjq_to2tX0MucbGVSYc="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e8cdd7577abe","category":"standard","locked":false,"group":""},"16e6380cad2cb6":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"数据存储"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e6380cad215e","category":"default","type":"number","value":""},{"name":"名称","id":"16e6380cad224e","category":"default","type":"string","value":""},{"name":"所有者","id":"16e6380cad2a0e","category":"default","type":"string","value":""},{"name":"连接","id":"16e6380cad2758","category":"default","type":"link","value":""},{"name":"便笺","id":"16e6380cad2536","category":"default","type":"string","value":""}],"props":{"zindex":14,"w":160,"h":40,"x":1196.6378622558195,"angle":0,"y":821.393417319382},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e6380cad2cb6","category":"basic","locked":false,"group":""},"16e63b2efc8804":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":59,"w":40,"h":40,"x":848.8650405258693,"angle":0,"y":249.08265058714449},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbb2eae4b04c4c38244552?e=1573634298&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:n-877LxCxm9RfuI3GScQEHcDtWs="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63b2efc8804","category":"standard","locked":false,"group":""},"16e63cb4f33b0b":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"手机"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63cb59e4e9f","category":"default","type":"number","value":""},{"name":"名称","id":"16e63cb59e4845","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63cb59e4c03","category":"default","type":"string","value":""},{"name":"连接","id":"16e63cb59e4431","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63cb59e4742","category":"default","type":"string","value":""}],"props":{"zindex":108,"w":98.8309870978187,"h":28.749990463256836,"x":109.41536718186971,"y":461.4465610602362,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63cb4f33b0b","category":"basic","locked":false,"group":""},"16e63982a6d111":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"后台管理系统
mall-admin-web(Vue)
"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63982edd855","category":"default","type":"number","value":""},{"name":"名称","id":"16e63982edd1e1","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63982edddbf","category":"default","type":"string","value":""},{"name":"连接","id":"16e63982eddf67","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63982edd31f","category":"default","type":"string","value":""}],"props":{"zindex":50,"w":153.7870136449784,"h":28.98580350057074,"x":332.37195268465365,"angle":0,"y":300.8682122218487},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63982a6d111","category":"basic","locked":false,"group":""},"16e63c9a17c3fd":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"圆角矩形","dataAttributes":[{"name":"序号","id":"16e63c9a5f4cb1","category":"default","type":"number","value":""},{"name":"名称","id":"16e63c9a5f4e9e","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63c9a5f402d","category":"default","type":"string","value":""},{"name":"连接","id":"16e63c9a5f449b","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63c9a5f43bf","category":"default","type":"string","value":""}],"props":{"zindex":102,"w":111.35000991821289,"h":114.5,"x":105.13733772609139,"angle":0,"y":388.93735112634994},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{"lineStyle":"dashed","lineColor":"18,150,219"},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"roundRectangle","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c9a17c3fd","category":"basic","locked":false,"group":""},"16e63d69e6bf31":{"textBlock":[],"dataAttributes":[],"points":[{"x":1124.1896066629333,"y":354.89011061203314}],"props":{"zindex":122},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":1109.013260413077,"angle":3.141592653589793,"y":354.89011061203314,"id":"16e63793ab0ab6"},"to":{"x":1124.1896066629333,"angle":1.5707963267948968,"y":710.2556837790833,"id":"16e63bf00e2efa"},"id":"16e63d69e6bf31","text":"","locked":false,"group":""},"16e63ccc5f7f9e":{"textBlock":[],"dataAttributes":[],"points":[{"x":527.0067861056183,"y":354.9165862068408},{"x":527.0067861056183,"y":354.9165862068408}],"props":{"zindex":111},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":484.5721212120049,"angle":3.141592653589793,"y":354.9165862068408,"id":"16e6371f9451f4"},"to":{"x":569.4414509992317,"y":354.9165862068408,"angle":0,"id":"zEJvcODmfg875460"},"id":"16e63ccc5f7f9e","text":"","locked":false,"group":""},"1709b6885076b6":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"圆角矩形","dataAttributes":[{"name":"序号","id":"1709b688e48a92","category":"default","type":"number","value":""},{"name":"名称","id":"1709b688e4810b","category":"default","type":"string","value":""},{"name":"所有者","id":"1709b688e4834f","category":"default","type":"string","value":""},{"name":"连接","id":"1709b688e48c04","category":"default","type":"link","value":""},{"name":"便笺","id":"1709b688e48aee","category":"default","type":"string","value":""}],"props":{"zindex":168,"w":111.35000991821289,"h":114.5,"x":63.147208107842346,"y":694.8265739841315,"angle":0},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{"lineStyle":"dashed","lineColor":"18,150,219"},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"roundRectangle","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"1709b6885076b6","category":"basic","locked":false,"group":""},"16e637e5388d9d":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"ELK日志收集系统"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e637e5a10153","category":"default","type":"number","value":""},{"name":"名称","id":"16e637e5a10be","category":"default","type":"string","value":""},{"name":"所有者","id":"16e637e5a10243","category":"default","type":"string","value":""},{"name":"连接","id":"16e637e5a1008d","category":"default","type":"link","value":""},{"name":"便笺","id":"16e637e5a10337","category":"default","type":"string","value":""}],"props":{"zindex":12,"w":160,"h":40,"x":1443.7327568660883,"angle":0,"y":156.43282841487738},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e637e5388d9d","category":"basic","locked":false,"group":""},"BeiuLTAfFP674111":{"textBlock":[],"points":[{"x":760.9232679978302,"y":354.91658620684075},{"x":760.9232679978302,"y":754.4999980926514}],"dataAttributes":[],"props":{"zindex":194},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":790.9232679978302,"y":354.91658620684075,"angle":0,"id":"16e63793ab0ab6"},"id":"BeiuLTAfFP674111","text":"","to":{"x":790.9232679978302,"y":754.4999980926514,"angle":0,"id":"16e63c3b438aec"},"locked":false,"group":""},"16e63e29d17031":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"用户行为分析数据存储"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63e3078a5b6","category":"default","type":"number","value":""},{"name":"名称","id":"16e63e3078abef","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63e3078a50b","category":"default","type":"string","value":""},{"name":"连接","id":"16e63e3078a417","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63e3078a00c","category":"default","type":"string","value":""}],"props":{"zindex":138,"w":22.500000000000227,"h":108.59949803886639,"x":1308.3586151943146,"y":430.992486854138,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63e29d17031","category":"basic","locked":false,"group":""},"16e63f29c83197":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"容器"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63f2a8e0425","category":"default","type":"number","value":""},{"name":"名称","id":"16e63f2a8e0e6a","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63f2a8e0787","category":"default","type":"string","value":""},{"name":"连接","id":"16e63f2a8e0002","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63f2a8e0f35","category":"default","type":"string","value":""}],"props":{"zindex":153,"w":98.8309870978187,"h":28.749990463256836,"x":315.7345355229587,"angle":0,"y":826.7265460048436},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63f29c83197","category":"basic","locked":false,"group":""},"zJmjzusLUd836623":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"title":"","fontStyle":{},"dataAttributes":[],"props":{"zindex":198,"w":40,"x":620.9713635391221,"h":40,"y":401.7641495323121,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl","l","t","r","b"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":200,"type":"image","fileId":"http://cdn.processon.com/5df1f6a6e4b0c4255e96d825?e=1576142006&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:1syM2a0D54ljvI8LPam4JSz-zNo="},"theme":{},"id":"zJmjzusLUd836623","attribute":{"container":false,"rotatable":true,"visible":false,"fixedLink":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"category":"standard","locked":false,"group":""},"16e63976bc5eab":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":48,"w":0,"h":0,"x":745.3472145928276,"y":315.3611139721341,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbabe3e4b0fc314a0ff0b1?e=1573632499&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:pH1P4uL2LvyJXYqI6KA_4p7Ov2M="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63976bc5eab","category":"standard","locked":false,"group":""},"16e63f2e60d98d":{"textBlock":[],"dataAttributes":[],"points":[{"x":949.5866282768692,"y":592.7549358176395},{"x":364.3207129363997,"y":592.7549358176395}],"props":{"zindex":155},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":949.5866282768692,"angle":4.71238898038469,"y":490.6832976511474,"id":"16e63793ab0ab6"},"to":{"x":364.3207129363997,"angle":1.5707963267948968,"y":694.8265739841315,"id":"16e63f29c835c7"},"id":"16e63f2e60d98d","text":"","locked":false,"group":""},"16e63c9db3a99b":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":103,"w":0,"h":0,"x":900.0450858349252,"y":429.22593463018285,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbb8cce4b0754822a3fcd6?e=1573635804&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:vsBdSB9aQgAxFYAyUX7nG_XwxYA="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c9db3a99b","category":"standard","locked":false,"group":""},"16e63c98116389":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"圆角矩形","dataAttributes":[{"name":"序号","id":"16e63c98b4693f","category":"default","type":"number","value":""},{"name":"名称","id":"16e63c98b46b69","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63c98b462cb","category":"default","type":"string","value":""},{"name":"连接","id":"16e63c98b460fc","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63c98b464d8","category":"default","type":"string","value":""}],"props":{"zindex":101,"w":111.35000991821289,"h":114.5,"x":103.12448554862632,"angle":0,"y":177.79830320845946},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{"lineStyle":"dashed","lineColor":"18,150,219"},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"roundRectangle","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c98116389","category":"basic","locked":false,"group":""},"16e63f29c835c7":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"圆角矩形","dataAttributes":[{"name":"序号","id":"16e63f2a8e09c8","category":"default","type":"number","value":""},{"name":"名称","id":"16e63f2a8e0996","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63f2a8e0568","category":"default","type":"string","value":""},{"name":"连接","id":"16e63f2a8e0a37","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63f2a8e0bfb","category":"default","type":"string","value":""}],"props":{"zindex":151,"w":111.35000991821289,"h":114.5,"x":308.6457079772932,"angle":0,"y":694.8265739841315},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{"lineStyle":"dashed","lineColor":"18,150,219"},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"roundRectangle","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63f29c835c7","category":"basic","locked":false,"group":""},"nhhYqbZwWN649466":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"
后台管理系统服务
mall-admin
"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"eKfOtBjVOd755487","category":"default","type":"number","value":""},{"name":"名称","id":"jmOTSysjiD710402","category":"default","type":"string","value":""},{"name":"所有者","id":"iYuglxbZWu075359","category":"default","type":"string","value":""},{"name":"连接","id":"qoWYMuvEla399030","category":"default","type":"link","value":""},{"name":"便笺","id":"BgFlfNTDDE821920","category":"default","type":"string","value":""}],"props":{"zindex":181,"w":153.7870136449784,"h":40.200942470262135,"x":791.9715337033801,"angle":0,"y":300.09684708657363},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"nhhYqbZwWN649466","category":"basic","locked":false,"group":""},"16e63e05fb2cd8":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":134,"w":40,"h":40,"x":1367.903705104461,"angle":0,"y":710.5014985286409},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbb4d5e4b022abb632cc27?e=1573634789&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:H9HIw4e0cEmInoy1jR72UnAd7x0="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63e05fb2cd8","category":"standard","locked":false,"group":""},"16e63bb77bd24b":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":75,"w":40,"h":40,"x":1507.8612784277109,"angle":0,"y":320.2046382809293},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbb4d5e4b022abb632cc27?e=1573634789&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:H9HIw4e0cEmInoy1jR72UnAd7x0="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63bb77bd24b","category":"standard","locked":false,"group":""},"16e63c4463769a":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"RabbitMQ"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63c44a90794","category":"default","type":"number","value":""},{"name":"名称","id":"16e63c44a90d","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63c44a90c92","category":"default","type":"string","value":""},{"name":"连接","id":"16e63c44a90144","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63c44a908b6","category":"default","type":"string","value":""}],"props":{"zindex":94,"w":98.8309870978187,"h":28.749990463256836,"x":790.4458193346144,"y":768.3605978600847,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c4463769a","category":"basic","locked":false,"group":""},"16e63dc34d3b43":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"异步通信"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63dc39728ba","category":"default","type":"number","value":""},{"name":"名称","id":"16e63dc39724a5","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63dc3972444","category":"default","type":"string","value":""},{"name":"连接","id":"16e63dc3972b29","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63dc3972fde","category":"default","type":"string","value":""}],"props":{"zindex":127,"w":22.500000000000227,"h":108.59949803886639,"x":960.0793520004029,"y":604.9626388500026,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63dc34d3b43","category":"basic","locked":false,"group":""},"16e63782196ee1":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"前端服务
Vue+uni-app
"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e6378219680b","category":"default","type":"number","value":""},{"name":"名称","id":"16e637821968ef","category":"default","type":"string","value":""},{"name":"所有者","id":"16e637821963b","category":"default","type":"string","value":""},{"name":"连接","id":"16e637821964b2","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63782196302","category":"default","type":"string","value":""}],"props":{"zindex":2,"w":184.16080007951882,"h":41.909416014991564,"x":317.18505946738344,"y":162.88888719346787,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63782196ee1","category":"basic","locked":false,"group":""},"16e63dbd07c005":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"异步通信"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63dbd6bd199","category":"default","type":"number","value":""},{"name":"名称","id":"16e63dbd6bd7e9","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63dbd6bd13b","category":"default","type":"string","value":""},{"name":"连接","id":"16e63dbd6bd9d6","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63dbd6bd3f1","category":"default","type":"string","value":""}],"props":{"zindex":126,"w":22.500000000000227,"h":108.59949803886639,"x":722.1732679978305,"y":617.2409375082013,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63dbd07c005","category":"basic","locked":false,"group":""},"16e6379fb84547":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"后端服务
SpringBoot
"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e6379fb85d33","category":"default","type":"number","value":""},{"name":"名称","id":"16e6379fb85e01","category":"default","type":"string","value":""},{"name":"所有者","id":"16e6379fb85b27","category":"default","type":"string","value":""},{"name":"连接","id":"16e6379fb85823","category":"default","type":"link","value":""},{"name":"便笺","id":"16e6379fb854ca","category":"default","type":"string","value":""}],"props":{"zindex":149,"w":160,"h":45.37276144995087,"x":887.9546469519552,"y":157.71812506130044,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e6379fb84547","category":"basic","locked":false,"group":""},"16e63b98cae49a":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":69,"w":0,"h":0,"x":853.0200821632791,"angle":0,"y":317.0759350116526},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbb4a0e4b0e3a6348d4fea?e=1573634736&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:OUliLefPbC_V-yZXLym1OSOu0vA="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63b98cae49a","category":"standard","locked":false,"group":""},"ylOrulFEsh116270":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":184,"w":40,"h":40,"x":940.0793520004027,"angle":0,"y":369.7535397189169},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbb2eae4b04c4c38244552?e=1573634298&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:n-877LxCxm9RfuI3GScQEHcDtWs="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"ylOrulFEsh116270","category":"standard","locked":false,"group":""},"16e63793ab0ab6":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"圆角矩形","dataAttributes":[{"name":"序号","id":"16e63793ab141","category":"default","type":"number","value":""},{"name":"名称","id":"16e63793ab14d3","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63793ab1319","category":"default","type":"string","value":""},{"name":"连接","id":"16e63793ab11d8","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63793ab1fcc","category":"default","type":"string","value":""}],"props":{"zindex":3,"w":317.326720558078,"h":271.5334228886135,"x":790.9232679978302,"angle":0,"y":219.14987476253395},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{"lineStyle":"dashed","lineColor":"18,150,219"},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"roundRectangle","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63793ab0ab6","category":"basic","locked":false,"group":""},"OvdexbOVde562782":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":182,"w":40,"h":40,"x":1007.2960998404442,"angle":0,"y":249.08265058714446},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbb2eae4b04c4c38244552?e=1573634298&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:n-877LxCxm9RfuI3GScQEHcDtWs="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"OvdexbOVde562782","category":"standard","locked":false,"group":""},"FnfIMHFXjT612999":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"
前台商城服务
mall-portal
"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"jbYWjxddgm760432","category":"default","type":"number","value":""},{"name":"名称","id":"weshPtDDSb290930","category":"default","type":"string","value":""},{"name":"所有者","id":"UKvBaWJDgy012315","category":"default","type":"string","value":""},{"name":"连接","id":"iRZJOITUuz502096","category":"default","type":"link","value":""},{"name":"便笺","id":"pJBqOzJOnk841844","category":"default","type":"string","value":""}],"props":{"zindex":183,"w":153.7870136449784,"h":40.200942470262135,"x":950.402593017955,"angle":0,"y":309.1831218222754},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"FnfIMHFXjT612999","category":"basic","locked":false,"group":""},"16e63eecd727b2":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":150,"w":0,"h":0,"x":966.7772117984086,"y":294.69022007199015,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbc241e4b059bcd1936504?e=1573638226&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:UZYAGJUNZeSx_-SWyKkZIWud5yE="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63eecd727b2","category":"standard","locked":false,"group":""},"16e637e5388816":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"圆角矩形","dataAttributes":[{"name":"序号","id":"16e637e5a10abf","category":"default","type":"number","value":""},{"name":"名称","id":"16e637e5a10311","category":"default","type":"string","value":""},{"name":"所有者","id":"16e637e5a10674","category":"default","type":"string","value":""},{"name":"连接","id":"16e637e5a104b8","category":"default","type":"link","value":""},{"name":"便笺","id":"16e637e5a105f1","category":"default","type":"string","value":""}],"props":{"zindex":11,"w":148.09295442700386,"h":281.6964146114152,"x":1455.5841675977615,"angle":0,"y":214.0756276625181},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{"lineStyle":"dashed","lineColor":"18,150,219"},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"roundRectangle","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e637e5388816","category":"basic","locked":false,"group":""},"16e63c074e96d":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"Redis"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63c07d92cbf","category":"default","type":"number","value":""},{"name":"名称","id":"16e63c07d922f5","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63c07d92b4c","category":"default","type":"string","value":""},{"name":"连接","id":"16e63c07d92d1d","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63c07d92c6a","category":"default","type":"string","value":""}],"props":{"zindex":85,"w":98.8309870978187,"h":28.749990463256836,"x":1169.106357095744,"angle":0,"y":766.8865583454162},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c074e96d","category":"basic","locked":false,"group":""},"GVEKBAOvQX917617":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"title":"","fontStyle":{},"dataAttributes":[],"props":{"zindex":197,"w":40,"x":620.9713635391222,"h":40,"y":317.0759350116526,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl","l","t","r","b"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":200,"type":"image","fileId":"http://cdn.processon.com/5df1f6a6e4b0c4255e96d825?e=1576142006&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:1syM2a0D54ljvI8LPam4JSz-zNo="},"theme":{},"id":"GVEKBAOvQX917617","attribute":{"container":false,"rotatable":true,"visible":false,"fixedLink":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"category":"standard","locked":false,"group":""},"aCUZFLVIQe060123":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"Nginx"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"UQsqELtfey396157","category":"default","type":"number","value":""},{"name":"名称","id":"WFjVhOfNqs378776","category":"default","type":"string","value":""},{"name":"所有者","id":"LZpGeNunpB723146","category":"default","type":"string","value":""},{"name":"连接","id":"MOijOVoLtQ122164","category":"default","type":"link","value":""},{"name":"便笺","id":"DcwPcEULrX605017","category":"default","type":"string","value":""}],"props":{"zindex":191,"w":153.7870136449784,"h":28.98580350057074,"x":564.077856716633,"angle":0,"y":362.6394667537789},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"aCUZFLVIQe060123","category":"basic","locked":false,"group":""},"1709b69a83fdde":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":172,"w":40,"h":40,"x":97.65778740801389,"angle":0,"y":716.0871489061979},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5df1f2ade4b06f5f145723ff?e=1576140989&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:k2NjCtLUiWqJG5B5mILGxeeKfx0="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"1709b69a83fdde","category":"standard","locked":false,"group":""},"16e63f29c83be8":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":154,"w":40,"h":40,"x":346.9297028673436,"angle":0,"y":712.5882157502815},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbc241e4b059bcd1936504?e=1573638226&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:UZYAGJUNZeSx_-SWyKkZIWud5yE="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63f29c83be8","category":"standard","locked":false,"group":""},"16e63c7e19b17c":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"对象存储"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63c7e7cc657","category":"default","type":"number","value":""},{"name":"名称","id":"16e63c7e7cc508","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63c7e7ccfa9","category":"default","type":"string","value":""},{"name":"连接","id":"16e63c7e7cc6e6","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63c7e7cc7ce","category":"default","type":"string","value":""}],"props":{"zindex":100,"w":98.8309870978187,"h":28.749990463256836,"x":547.7212776015909,"y":827.0184220877536,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c7e19b17c","category":"basic","locked":false,"group":""},"16e63dc9400859":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"文件存储"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63dc94009aa","category":"default","type":"number","value":""},{"name":"名称","id":"16e63dc94008d9","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63dc94002d6","category":"default","type":"string","value":""},{"name":"连接","id":"16e63dc94004c7","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63dc9400d67","category":"default","type":"string","value":""}],"props":{"zindex":128,"w":160,"h":40,"x":598.3222130669487,"angle":0,"y":537.245653572957},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63dc9400859","category":"basic","locked":false,"group":""},"16e67b6e8f60c6":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"mall项目系统架构图"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{"size":30,"textAlign":"center","bold":true},"title":"文本","dataAttributes":[{"name":"序号","id":"16e67b6e8f6315","category":"default","type":"number","value":""},{"name":"名称","id":"16e67b6e8f640a","category":"default","type":"string","value":""},{"name":"所有者","id":"16e67b6e8f6aa7","category":"default","type":"string","value":""},{"name":"连接","id":"16e67b6e8f67c5","category":"default","type":"link","value":""},{"name":"便笺","id":"16e67b6e8f61a1","category":"default","type":"string","value":""}],"props":{"zindex":157,"w":419.8025726665087,"h":28.50000762939453,"x":642.7494985982312,"y":47.26713369153427,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e67b6e8f60c6","category":"basic","locked":false,"group":""},"16e638065237f3":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w-20","h":"h","x":10,"y":0},"text":""}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"圆角矩形","dataAttributes":[{"name":"序号","id":"16e63806524756","category":"default","type":"number","value":""},{"name":"名称","id":"16e6380652480b","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63806524d57","category":"default","type":"string","value":""},{"name":"连接","id":"16e638065244bd","category":"default","type":"link","value":""},{"name":"便笺","id":"16e638065247d3","category":"default","type":"string","value":""}],"props":{"zindex":13,"w":381.4120867817028,"h":147.5,"x":1068.4960718912166,"angle":0,"y":669.1111187405056},"path":[{"actions":[{"x":"0","action":"move","y":"4"},{"y1":"0","x":"4","action":"quadraticCurve","y":"0","x1":"0"},{"x":"w-4","action":"line","y":"0"},{"y1":"0","x":"w","action":"quadraticCurve","y":"4","x1":"w"},{"x":"w","action":"line","y":"h-4"},{"y1":"h","x":"w-4","action":"quadraticCurve","y":"h","x1":"w"},{"x":"4","action":"line","y":"h"},{"y1":"h","x":"0","action":"quadraticCurve","y":"h-4","x1":"0"},{"action":"close"}]}],"lineStyle":{"lineStyle":"dashed","lineColor":"18,150,219"},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"roundRectangle","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e638065237f3","category":"basic","locked":false,"group":""},"16e63ba8bcbcc9":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":71,"w":0,"h":0,"x":853.0200821632791,"angle":0,"y":297.5759350116526},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbb4e1e4b0e3a6348d50d0?e=1573634801&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:ZC8oSHzHDnpdNDXoh36WrEQFq-k="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63ba8bcbcc9","category":"standard","locked":false,"group":""},"SfWejazIoj597280":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"title":"","fontStyle":{},"dataAttributes":[],"props":{"zindex":199,"w":40,"x":389.26545950714285,"h":40,"y":252.29830320845946,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl","l","t","r","b"],"name":"standardImage","fillStyle":{"imageW":128,"display":"stretch","imageH":128,"type":"image","fileId":"https://cdn.processon.com/5a210b2ee4b04f355d337103-6466de30cc72ee05d01148b6.svg?e=1684466752&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:o0NlDXdIkF4MGWGiyfrp24fQ7jU="},"theme":{},"id":"SfWejazIoj597280","attribute":{"container":false,"rotatable":true,"visible":false,"fixedLink":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"category":"standard","locked":false,"group":""},"16e63be2bc3d7d":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":79,"w":0,"h":0,"x":893.3472260369194,"y":515.3611187405056,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbb5cee4b0e3a6348d549e?e=1573635038&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:MgQCvcHhtI2mWv4MWo3uMoUNAXY="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63be2bc3d7d","category":"standard","locked":false,"group":""},"cCELGsRfkO490040":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"
商品搜索服务
mall-search
"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"CXNhSboifk375478","category":"default","type":"number","value":""},{"name":"名称","id":"JCZUDATuAN657136","category":"default","type":"string","value":""},{"name":"所有者","id":"iZGSZiclhk417137","category":"default","type":"string","value":""},{"name":"连接","id":"SWfKKkQdEp302179","category":"default","type":"link","value":""},{"name":"便笺","id":"bwXoiZAeGT518109","category":"default","type":"string","value":""}],"props":{"zindex":185,"w":153.7870136449784,"h":40.200942470262135,"x":883.1858451779135,"angle":0,"y":420.767736218346},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"cCELGsRfkO490040","category":"basic","locked":false,"group":""},"16e63e11c781c9":{"textBlock":[],"points":[{"x":1387.903705104461,"y":354.90334840943694}],"dataAttributes":[],"props":{"zindex":136},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":1108.6316244844927,"y":354.90334840943694,"angle":3.141592653589793,"id":"16e63793ab0ab6"},"id":"16e63e11c781c9","to":{"x":1387.903705104461,"y":710.5014985286409,"angle":1.5707963267948968,"id":"16e63e05fb2cd8"},"text":"","locked":false,"group":""},"16e63d5973b018":{"textBlock":[],"points":[{"x":950.3499001340381,"y":592.7416980202356},{"x":597.7482630387241,"y":592.7416980202356}],"dataAttributes":[],"props":{"zindex":121},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":950.3499001340381,"y":490.6568220563398,"angle":4.71238898038469,"id":"16e63793ab0ab6"},"id":"16e63d5973b018","to":{"x":597.7482630387241,"y":694.8265739841315,"angle":1.5707963267948968,"id":"16e6382ad78b31"},"text":"","locked":false,"group":""},"wUUpGphzdW962138":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"网关服务
Nginx
"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"JcrnnnHLkO528559","category":"default","type":"number","value":""},{"name":"名称","id":"hbEeTOJhQZ387087","category":"default","type":"string","value":""},{"name":"所有者","id":"JLYzsrkOAb378778","category":"default","type":"string","value":""},{"name":"连接","id":"RutjWxXQdh735974","category":"default","type":"link","value":""},{"name":"便笺","id":"WQgtDXtefd541363","category":"default","type":"string","value":""}],"props":{"zindex":178,"w":201.02991253989046,"h":44.519379710113526,"x":544.3173020529372,"y":161.58390534590686,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"wUUpGphzdW962138","category":"basic","locked":false,"group":""},"1709b68850723c":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"自动化部署"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"1709b688e480bf","category":"default","type":"number","value":""},{"name":"名称","id":"1709b688e48123","category":"default","type":"string","value":""},{"name":"所有者","id":"1709b688e48f66","category":"default","type":"string","value":""},{"name":"连接","id":"1709b688e48747","category":"default","type":"link","value":""},{"name":"便笺","id":"1709b688e48169","category":"default","type":"string","value":""}],"props":{"zindex":170,"w":98.8309870978187,"h":28.749990463256836,"x":67.74385841050372,"y":826.7265460048441,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"1709b68850723c","category":"basic","locked":false,"group":""},"16e63eafe1fadc":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":145,"w":0,"h":0,"x":960.0793520004029,"angle":0,"y":509.3968232169984},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcbc148e4b0fc314a1046b0?e=1573637976&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:JDKEOFL96LaH7kjKNqoirTK5eJY="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63eafe1fadc","category":"standard","locked":false,"group":""},"GxFcdmrEwP775128":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"title":"","fontStyle":{},"dataAttributes":[],"props":{"zindex":200,"w":40,"x":389.26545950714285,"h":40,"y":362.63946675377883,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl","l","t","r","b"],"name":"standardImage","fillStyle":{"imageW":128,"display":"stretch","imageH":128,"type":"image","fileId":"https://cdn.processon.com/5a210b2ee4b04f355d337103-6466de4e5f4e8f3c89ec191e.svg?e=1684466782&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:W5StROG1rX2p3dz4LX3rIaqKscw="},"theme":{},"id":"GxFcdmrEwP775128","attribute":{"container":false,"rotatable":true,"visible":false,"fixedLink":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"category":"standard","locked":false,"group":""},"16e63ca7d8c222":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"电脑"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63ca824d1db","category":"default","type":"number","value":""},{"name":"名称","id":"16e63ca824d7e2","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63ca824df8d","category":"default","type":"string","value":""},{"name":"连接","id":"16e63ca824de58","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63ca824d1eb","category":"default","type":"string","value":""}],"props":{"zindex":106,"w":98.8309870978187,"h":28.749990463256836,"x":109.97386375493826,"y":250.95764699153182,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63ca7d8c222","category":"basic","locked":false,"group":""},"16e63986fc4b0c":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"前台商城系统
mall-app-web(uni-app)
"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e639873e4667","category":"default","type":"number","value":""},{"name":"名称","id":"16e639873e4b96","category":"default","type":"string","value":""},{"name":"所有者","id":"16e639873e459","category":"default","type":"string","value":""},{"name":"连接","id":"16e639873e4eba","category":"default","type":"link","value":""},{"name":"便笺","id":"16e639873e48e8","category":"default","type":"string","value":""}],"props":{"zindex":52,"w":148.73480298732522,"h":28.98580350057074,"x":334.8980580134802,"y":412.77834603174125,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63986fc4b0c","category":"basic","locked":false,"group":""},"16e63c0f2d39ad":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":87,"w":40,"h":40,"x":1285.0250016267944,"y":709.989914073506,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbb680e4b0bd68d814ff68?e=1573635216&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:EFWWu7IypG1ll1y47eQEoUrwD_Y="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63c0f2d39ad","category":"standard","locked":false,"group":""},"BWUYKTINGy750211":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"Nginx"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"ugUthvNhrO124179","category":"default","type":"number","value":""},{"name":"名称","id":"SkBwZcsjhn768547","category":"default","type":"string","value":""},{"name":"所有者","id":"JnEMilwsrr452171","category":"default","type":"string","value":""},{"name":"连接","id":"kZwFMEeCYq776414","category":"default","type":"link","value":""},{"name":"便笺","id":"KibUgQLMyC012559","category":"default","type":"string","value":""}],"props":{"zindex":189,"w":153.7870136449784,"h":28.98580350057074,"x":564.0778567166329,"angle":0,"y":278.27420171864804},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"BWUYKTINGy750211","category":"basic","locked":false,"group":""},"16e63bf7ef2ade":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"MySql"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63bf7ef300e","category":"default","type":"number","value":""},{"name":"名称","id":"16e63bf7ef3da2","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63bf7ef31ed","category":"default","type":"string","value":""},{"name":"连接","id":"16e63bf7ef3b61","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63bf7ef3e9d","category":"default","type":"string","value":""}],"props":{"zindex":82,"w":98.8309870978187,"h":28.749990463256836,"x":1074.7807611350477,"y":767.9642839739488,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63bf7ef2ade","category":"basic","locked":false,"group":""},"yTvUmWuWgf030284":{"textBlock":[],"points":[{"x":1281.917078076835,"y":354.91658620684075},{"x":1281.917078076835,"y":354.9238349682258}],"dataAttributes":[],"props":{"zindex":187},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":1108.2499885559082,"y":354.91658620684075,"angle":3.141592653589793,"id":"16e63793ab0ab6"},"id":"yTvUmWuWgf030284","text":"","to":{"x":1455.5841675977615,"y":354.9238349682258,"angle":0,"id":"16e637e5388816"},"locked":false,"group":""},"16e63bab64448f":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":73,"w":40,"h":40,"x":1509.9081586729196,"angle":0,"y":408.3098467710712},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":200,"display":"stretch","imageH":100,"type":"image","fileId":"http://cdn.processon.com/5dcbb4e1e4b0e3a6348d50d0?e=1573634801&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:ZC8oSHzHDnpdNDXoh36WrEQFq-k="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63bab64448f","category":"standard","locked":false,"group":""},"16e63cc207746a":{"textBlock":[],"points":[{"x":275.2230727232925,"y":446.18735112634994},{"x":275.2230727232925,"y":354.9165862068408}],"dataAttributes":[],"props":{"zindex":110},"linkerType":"broken","lineStyle":{},"name":"linker","from":{"x":216.48734764430426,"y":446.18735112634994,"angle":3.141592653589793,"id":"16e63c9a17c3fd"},"id":"16e63cc207746a","to":{"x":333.95879780228074,"y":354.9165862068408,"angle":0,"id":"16e6371f9451f4"},"text":"","locked":false,"group":""},"16e638e9409871":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"","dataAttributes":[],"props":{"zindex":31,"w":0,"h":0,"x":859.3486447294913,"y":180.40450578627588,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"standardImage","fillStyle":{"imageW":0,"display":"stretch","imageH":0,"type":"image","fileId":"http://cdn.processon.com/5dcba99fe4b0fc314a0fe7eb?e=1573631919&token=trhI0BY8QfVrIGn9nENop6JAc6l5nZuxhjQ62UfM:oexWWBpjMW5L-w3-MByfl4SgDns="},"attribute":{"container":false,"rotatable":true,"visible":false,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e638e9409871","category":"standard","locked":false,"group":""},"16e63dfa5d9f81":{"parent":"","link":"","shapeStyle":{"alpha":1},"textBlock":[{"position":{"w":"w","h":"h","x":0,"y":0},"text":"主要业务数据存储"}],"anchors":[{"x":"w/2","y":"0"},{"x":"w/2","y":"h"},{"x":"0","y":"h/2"},{"x":"w","y":"h/2"}],"fontStyle":{},"title":"文本","dataAttributes":[{"name":"序号","id":"16e63dfaed496e","category":"default","type":"number","value":""},{"name":"名称","id":"16e63dfaed4296","category":"default","type":"string","value":""},{"name":"所有者","id":"16e63dfaed4ee","category":"default","type":"string","value":""},{"name":"连接","id":"16e63dfaed4136","category":"default","type":"link","value":""},{"name":"便笺","id":"16e63dfaed4ab9","category":"default","type":"string","value":""}],"props":{"zindex":133,"w":22.500000000000227,"h":108.59949803886639,"x":1134.9171093173247,"y":430.992486854138,"angle":0},"path":[{"lineStyle":{"lineWidth":0},"fillStyle":{"type":"none"},"actions":[{"x":"0","action":"move","y":"0"},{"x":"w","action":"line","y":"0"},{"x":"w","action":"line","y":"h"},{"x":"0","action":"line","y":"h"},{"action":"close"}]}],"lineStyle":{},"children":[],"resizeDir":["tl","tr","br","bl"],"name":"text","fillStyle":{},"attribute":{"container":false,"rotatable":true,"visible":true,"collapsable":false,"collapsed":false,"linkable":true,"markerOffset":5},"id":"16e63dfa5d9f81","category":"basic","locked":false,"group":""}},"theme":{"linker":{"lineStyle":{"lineColor":"50,50,50","lineWidth":2},"fontStyle":{"fontFamily":"Arial","color":"50,50,50","size":13,"bold":false,"italic":false}},"shape":{"lineStyle":{"lineColor":"50,50,50","lineWidth":2},"fillStyle":{"color":"255,255,255","type":"solid"},"fontStyle":{"fontFamily":"Arial","color":"50,50,50","size":13,"bold":false,"italic":false}},"name":"normal"},"page":{"padding":20,"orientation":"portrait","backgroundColor":"transparent","gridSize":15,"width":1656,"showGrid":true,"height":1217},"version":318}},"meta":{"exportTime":"2023-07-19 10:32:06","member":"","diagramInfo":{"creator":"","created":"2023-05-19 09:35:42","modified":"2023-06-26 16:35:45","title":"mall项目系统架构图","category":"flow"},"id":"6466d26eb967351512ada6eb","type":"ProcessOn Schema File","version":"1.0"}} ================================================ FILE: document/pos/项目开发进度图.pos ================================================ {"diagram":{"elements":{"leftChildren":[{"parent":"root","children":[{"parent":"9f28d62a5672","task":{"completion":"10"},"children":[],"id":"c68327c7119f","title":"首页门户","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"117"}]},{"parent":"9f28d62a5672","task":{"completion":"35"},"children":[],"id":"03d7217100d9","title":"商品推荐","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"117"}]},{"parent":"9f28d62a5672","task":{"completion":"50"},"children":[],"id":"f1fe1fc552ab","title":"商品搜索","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"117"}]},{"parent":"9f28d62a5672","task":{"completion":"50"},"children":[],"id":"f6df7fb9d389","title":"商品展示","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"117"}]},{"parent":"9f28d62a5672","task":{"completion":"50"},"children":[],"id":"ef9a76e89256","title":"购物车","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"117"}]},{"parent":"9f28d62a5672","task":{"completion":"50"},"children":[],"id":"b172bea6db59","title":"订单流程","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"117"}]},{"parent":"9f28d62a5672","task":{"completion":"10"},"children":[],"id":"5099daff583b","title":"会员中心","icons":[{"color":"rgb(68, 68, 68)","name":"completion","index":"114"}]},{"parent":"9f28d62a5672","task":{"completion":"10"},"children":[],"id":"d8485d715f62","title":"客户服务","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"110"}]},{"parent":"9f28d62a5672","task":{"completion":"10"},"children":[],"id":"1766943525e6","title":"帮助中心","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"110"}]}],"id":"9f28d62a5672","title":"前台"}],"children":[{"parent":"root","children":[{"parent":"90e923d09398","task":{"completion":"100"},"children":[],"id":"dff7f75a0ed4","title":"商品管理","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"117"}]},{"parent":"90e923d09398","task":{"completion":"100"},"children":[],"id":"6e33db4f10c9","title":"订单管理","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"117"}]},{"parent":"90e923d09398","task":{"completion":"100"},"children":[],"id":"6e37938e8956","title":"促销管理","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"117"}]},{"parent":"90e923d09398","task":{"completion":"100"},"children":[],"id":"efe9e584bd7f","title":"运营管理","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"117"}]},{"parent":"90e923d09398","task":{"completion":"50"},"children":[],"id":"1c2047f6a380","title":"权限管理","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"117"}]},{"parent":"90e923d09398","task":{"completion":"10"},"children":[],"id":"27cc62ad6c28","title":"会员管理","icons":[{"color":"rgb(113, 203, 45)","name":"completion","index":"110"}]},{"parent":"90e923d09398","task":{"completion":"10"},"children":[],"id":"30b686fb8384","title":"内容管理","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"110"}]},{"parent":"90e923d09398","task":{"completion":"10"},"children":[],"id":"885c0538496d","title":"统计报表","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"110"}]},{"parent":"90e923d09398","task":{"completion":"10"},"children":[],"id":"e20400573fac","title":"财务管理","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"110"}]},{"parent":"90e923d09398","task":{"completion":"10"},"children":[],"id":"75c14d3c2f50","title":"设置","icons":[{"color":"rgb(0, 166, 80)","name":"completion","index":"110"}]}],"id":"90e923d09398","title":"后台"}],"root":true,"theme":"theme3","showWatermark":false,"id":"root","isBackground":true,"title":"mall","version":141,"structure":"mind_free"}},"meta":{"exportTime":"2023-07-10 10:30:52","member":"","diagramInfo":{"creator":"","created":"2018-11-27 10:37:22","modified":"2023-05-20 15:19:14","title":"项目开发进度图","category":"mind_free"},"id":"5bfcade2e4b0ef094cbe3658","type":"ProcessOn Schema File","version":"1.0"}} ================================================ FILE: document/postman/mall-admin.postman_collection.json ================================================ { "variables": [], "info": { "name": "mall-admin", "_postman_id": "f4a4382c-ee6c-975f-99ac-7645532458ba", "description": "", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, "item": [ { "name": "添加优惠券", "request": { "url": "{{admin.mall}}/coupon/add", "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "description": "" } ], "body": { "mode": "raw", "raw": "{\r\n \"amount\": 50,\r\n \"count\": 100,\r\n \"enableTime\": \"2018-08-27T08:40:46.973Z\",\r\n \"endTime\": \"2018-08-31T08:40:46.973Z\",\r\n \"minPoint\": 500,\r\n \"name\": \"T恤分类专用优惠券\",\r\n \"note\": \"满500减50\",\r\n \"perLimit\": 1,\r\n \"platform\": 0,\r\n \"publishCount\": 100,\r\n \"receiveCount\": 0,\r\n \"startTime\": \"2018-08-27T08:40:46.973Z\",\r\n \"type\": 0,\r\n \"useCount\": 0,\r\n \"useType\": 1,\r\n \"productCategoryRelationList\": [\r\n {\r\n \"productCategoryId\": 8\r\n }\r\n ]\r\n}" }, "description": "" }, "response": [] }, { "name": "删除指定优惠券", "request": { "url": "{{admin.mall}}/coupon/delete/6", "method": "POST", "header": [], "body": {}, "description": "" }, "response": [] }, { "name": "修改指定优惠券", "request": { "url": "{{admin.mall}}/coupon/update/6", "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "description": "" } ], "body": { "mode": "raw", "raw": "{\r\n \"amount\": 300,\r\n \"count\": 100,\r\n \"enableTime\": \"2018-08-27T08:40:46.973Z\",\r\n \"endTime\": \"2018-08-31T08:40:46.973Z\",\r\n \"minPoint\": 2000,\r\n \"name\": \"满2000减200\",\r\n \"note\": \"手机分类专用优惠券\",\r\n \"perLimit\": 1,\r\n \"platform\": 0,\r\n \"publishCount\": 100,\r\n \"receiveCount\": 0,\r\n \"startTime\": \"2018-08-27T08:40:46.973Z\",\r\n \"type\": 0,\r\n \"useCount\": 0,\r\n \"useType\": 1,\r\n \"productCategoryRelationList\": [\r\n {\r\n \"productCategoryId\": 18\r\n }\r\n ]\r\n}" }, "description": "" }, "response": [] }, { "name": "登录", "request": { "url": "{{admin.mall}}/admin/login", "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "description": "" } ], "body": { "mode": "raw", "raw": "{\r\n \"password\": \"123456\",\r\n \"username\": \"admin\"\r\n}" }, "description": "" }, "response": [] }, { "name": "查看商品列表", "request": { "url": "{{admin.mall}}/product/list", "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImNyZWF0ZWQiOjE1Mzg5OTExNzkwODAsImV4cCI6MTUzOTU5NTk3OX0.u_fUHf09ONw6CCQW0ERufOgfuGUY1g7hu-o9thMl6wsFlBlkn1QmOZJwlU1ejsc65-N3p3k1pb11vTeqrVnYIw", "description": "" } ], "body": {}, "description": "" }, "response": [] }, { "name": "批量修改商品的删除状态", "request": { "url": "{{admin.mall}}/product/update/deleteStatus", "method": "POST", "header": [ { "key": "Authorization", "value": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImNyZWF0ZWQiOjE1Mzg5OTExNzkwODAsImV4cCI6MTUzOTU5NTk3OX0.u_fUHf09ONw6CCQW0ERufOgfuGUY1g7hu-o9thMl6wsFlBlkn1QmOZJwlU1ejsc65-N3p3k1pb11vTeqrVnYIw", "description": "" }, { "key": "Content-Type", "value": "application/x-www-form-urlencoded", "description": "" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "ids", "value": "1,2", "description": "", "type": "text" }, { "key": "deleteStatus", "value": "1", "description": "", "type": "text" } ] }, "description": "" }, "response": [] }, { "name": "查询所有一级分类及子分类", "request": { "url": "{{admin.mall}}/productCategory/list/withChildren", "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImNyZWF0ZWQiOjE1Mzg5OTExNzkwODAsImV4cCI6MTUzOTU5NTk3OX0.u_fUHf09ONw6CCQW0ERufOgfuGUY1g7hu-o9thMl6wsFlBlkn1QmOZJwlU1ejsc65-N3p3k1pb11vTeqrVnYIw", "description": "" } ], "body": {}, "description": "" }, "response": [] }, { "name": "获取全部品牌列表", "request": { "url": "{{admin.mall}}/brand/listAll", "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImNyZWF0ZWQiOjE1Mzg5OTExNzkwODAsImV4cCI6MTUzOTU5NTk3OX0.u_fUHf09ONw6CCQW0ERufOgfuGUY1g7hu-o9thMl6wsFlBlkn1QmOZJwlU1ejsc65-N3p3k1pb11vTeqrVnYIw", "description": "" } ], "body": {}, "description": "" }, "response": [] }, { "name": "刷新token", "request": { "url": "{{admin.mall}}/admin/token/refresh", "method": "GET", "header": [ { "key": "Authorization", "value": "Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImNyZWF0ZWQiOjE1NTIzNTYzNzg0NjUsImV4cCI6MTU1Mjk2MTE3OH0.cxT6ULWfA17_QOh5nAcdU8FVldrSxLC2yi3y4fiHetCCrNzBBF9k6iRN-gfFmYa1_Ptav4WjgUAspZDBQa7SsA", "description": "" } ], "body": {}, "description": "" }, "response": [] } ] } ================================================ FILE: document/postman/mall-portal.postman_collection.json ================================================ { "variables": [], "info": { "name": "mall-portal", "_postman_id": "bb2ab4ed-fa53-9c01-9fe1-ef1568038701", "description": "", "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" }, "item": [ { "name": "会员登录", "request": { "url": "{{portal.mall}}/sso/login", "method": "POST", "header": [ { "key": "Content-Type", "value": "application/x-www-form-urlencoded", "description": "" } ], "body": { "mode": "urlencoded", "urlencoded": [ { "key": "username", "value": "test", "description": "", "type": "text" }, { "key": "password", "value": "123", "description": "", "type": "text" } ] }, "description": "" }, "response": [] }, { "name": "获取购物车列表", "request": { "url": "{{portal.mall}}/cart/list", "method": "GET", "header": [], "body": {}, "description": "" }, "response": [] }, { "name": "清空购物车", "request": { "url": "{{portal.mall}}/cart/clear", "method": "POST", "header": [], "body": {}, "description": "" }, "response": [] }, { "name": "加入购物车", "request": { "url": "{{portal.mall}}/cart/add", "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "description": "" } ], "body": { "mode": "raw", "raw": "{\r\n \"price\": 5499,\r\n \"productId\": 29,\r\n \"productName\": \"Apple iPhone 8 Plus\",\r\n \"productSkuCode\": \"201808270029001\",\r\n \"productSkuId\": 106,\r\n \"productSubTitle\": \"【限时限量抢购】Apple产品年中狂欢节,好物尽享,美在智慧!速来 >> 勾选[保障服务][原厂保2年],获得AppleCare+全方位服务计划,原厂延保售后无忧。\",\r\n \"quantity\": 1,\r\n \"sp1\": \"金色\",\r\n \"sp2\": \"32G\",\r\n \"sp3\": null\r\n}" }, "description": "" }, "response": [] }, { "name": "获取购物车列表(包括促销信息)", "request": { "url": "{{portal.mall}}/cart/list/promotion", "method": "GET", "header": [], "body": {}, "description": "" }, "response": [] }, { "name": "修改购物车中商品数量", "request": { "url": { "raw": "{{portal.mall}}/cart/update/quantity?id=15&quantity=1", "host": [ "{{portal.mall}}" ], "path": [ "cart", "update", "quantity" ], "query": [ { "key": "id", "value": "15", "equals": true, "description": "" }, { "key": "quantity", "value": "1", "equals": true, "description": "" } ], "variable": [] }, "method": "GET", "header": [], "body": {}, "description": "" }, "response": [] }, { "name": "添加收货地址", "request": { "url": "{{portal.mall}}/member/address/add", "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "description": "" } ], "body": { "mode": "raw", "raw": "{\r\n \"defaultStatus\": 1,\r\n \"name\": \"大梨\",\r\n \"phoneNumber\": \"18033441849\",\r\n \"postCode\": \"518000\",\r\n \"city\": \"深圳市\",\r\n \"detailAddress\": \"东晓街道\",\r\n \"province\": \"广东省\",\r\n \"region\": \"福田区\"\r\n}" }, "description": "" }, "response": [] }, { "name": "删除收货地址", "request": { "url": "{{portal.mall}}/member/address/delete/2", "method": "POST", "header": [], "body": {}, "description": "" }, "response": [] }, { "name": "查询指定收货地址", "request": { "url": "{{portal.mall}}/member/address/3", "method": "GET", "header": [], "body": {}, "description": "" }, "response": [] }, { "name": "修改收货地址", "request": { "url": "{{portal.mall}}/member/address/update/3", "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "description": "" } ], "body": { "mode": "raw", "raw": "{\n \"id\": 3,\n \"memberId\": 1,\n \"name\": \"大梨\",\n \"phoneNumber\": \"18033441849\",\n \"defaultStatus\": 0,\n \"postCode\": \"518000\",\n \"province\": \"广东省\",\n \"city\": \"深圳市\",\n \"region\": \"福田区\",\n \"detailAddress\": \"清水河街道\"\n }" }, "description": "" }, "response": [] }, { "name": "领取优惠券", "request": { "url": "{{portal.mall}}/member/coupon/add/7", "method": "POST", "header": [], "body": {}, "description": "" }, "response": [] }, { "name": "获取会员优惠券列表", "request": { "url": "{{portal.mall}}/member/coupon/list", "method": "GET", "header": [], "body": {}, "description": "" }, "response": [] }, { "name": "获取购物车可用优惠券", "request": { "url": "{{portal.mall}}/member/coupon/list/cart/1", "method": "GET", "header": [], "body": {}, "description": "" }, "response": [] }, { "name": "根据购物车信息生成确认单", "request": { "url": "{{portal.mall}}/order/confirmOrder", "method": "POST", "header": [], "body": {}, "description": "" }, "response": [] }, { "name": "下单", "request": { "url": "{{portal.mall}}/order/generateOrder", "method": "POST", "header": [ { "key": "Content-Type", "value": "application/json", "description": "" } ], "body": { "mode": "raw", "raw": "{\r\n \"couponId\": 2,\r\n \"memberReceiveAddressId\": 4,\r\n \"payType\": 0\r\n}" }, "description": "" }, "response": [] }, { "name": "订单支付成功回调", "request": { "url": { "raw": "{{portal.mall}}/order/paySuccess?orderId=12", "host": [ "{{portal.mall}}" ], "path": [ "order", "paySuccess" ], "query": [ { "key": "orderId", "value": "12", "equals": true, "description": "" } ], "variable": [] }, "method": "POST", "header": [], "body": {}, "description": "" }, "response": [] }, { "name": "取消超时订单", "request": { "url": "{{portal.mall}}/order/cancelTimeOutOrder", "method": "POST", "header": [], "body": {}, "description": "" }, "response": [] }, { "name": "取消单个超时订单", "request": { "url": { "raw": "{{portal.mall}}/order/cancelOrder?orderId=13", "host": [ "{{portal.mall}}" ], "path": [ "order", "cancelOrder" ], "query": [ { "key": "orderId", "value": "13", "equals": true, "description": "" } ], "variable": [] }, "method": "POST", "header": [], "body": {}, "description": "" }, "response": [] } ] } ================================================ FILE: document/reference/deploy-windows.md ================================================ # windows下环境搭建 ## IDEA - 关于IDEA的安装与使用具体参考[https://github.com/judasn/IntelliJ-IDEA-Tutorial](https://github.com/judasn/IntelliJ-IDEA-Tutorial) - 搜索插件仓库,安装插件lombok ## Eclipse - 导入项目,以maven项目形式导入 ![eclipse_import_1.png](https://github.com/macrozheng/mall/blob/master/document/resource/eclipse_import_1.png) ![eclipse_import_2.png](https://github.com/macrozheng/mall/blob/master/document/resource/eclipse_import_2.png) - 安装lombok插件,下载地址:https://projectlombok.org/downloads/lombok.jar - 下载完后双击,使用java程序打开 - 按照提示选择eclipse.exe的安装路径安装插件,完成后重启Eclipse - 启动项目:右击com.macro.mall.MallAdminApplication的main方法,选择run as Java Application ## mysql - 下载地址:https://dev.mysql.com/downloads/mysql/5.7.html#downloads - 下载后按提示进行安装 - 导入document/sql下的mall.sql文件 ## redis - 下载地址:https://github.com/MicrosoftArchive/redis/releases - 下载后按提示进行安装 - 启动redis:redis-server.exe redis.windows.conf ## elasticsearch - 下载地址:https://www.elastic.co/downloads/past-releases/elasticsearch-6-2-2 - 下载.zip文件,解压到指定目录 - 安装kibana,用于在浏览器中访问es,请下载6.2.2版本,具体参考:https://www.elastic.co/downloads/kibana - 下载.zip包后解压即可,运行bin\kibana.bat,访问http://localhost:5601 查看是否安装成功 - 中文分词插件地址:https://github.com/medcl/elasticsearch-analysis-ik - 安装中文分词插件,在elasticsearch-6.2.2\bin目录下执行以下命令: elasticsearch-plugin install https://github.com/medcl/elasticsearch-analysis-ik/releases/download/v6.2.2/elasticsearch-analysis-ik-6.2.2.zip - 启动elasticsearch:运行elasticsearch-6.2.2\bin\elasticsearch.bat - 不使用kibana的可以安装head插件,具体参考:https://github.com/mobz/elasticsearch-head - 注意:如果你修改了mall-search中的es的cluster-name: mall-es,你需要在elasticsearch-6.2.2\config\elasticsearch.yml文件中修改cluster.name: mall-es ## mongodb - 下载地址:https://fastdl.mongodb.org/win32/mongodb-win32-x86_64-2008plus-ssl-3.2.21-signed.msi - 选择路径(c:\mongodb\)进行安装,在安装路径下创建data\db和data\log两个文件夹 - 服务端运行程序:mongodb\bin\mongod.exe - 客户端运行程序:mongodb\bin\mongo.exe - 创建配置文件:mongodb\mongod.cfg ``` lua systemLog: destination: file path: c:\mongodb\data\log\mongod.log storage: dbPath: c:\mongodb\data\db ``` - 安装为服务(运行命令需要用管理员权限):C:\mongodb\bin\mongod.exe --config "C:\mongodb\mongod.cfg" --install - 启动服务:net start MongoDB - 关闭服务:net stop MongoDB - 移除服务:C:\mongodb\bin\mongod.exe --remove - 下载客户端程序:https://download.robomongo.org/1.2.1/windows/robo3t-1.2.1-windows-x86_64-3e50a65.zip - 解压到指定目录,打开robo3t.exe并连接到localhost:27017 ## rabbitmq - 安装Erlang:http://erlang.org/download/otp_win64_21.3.exe - 下载rabbitmq:https://dl.bintray.com/rabbitmq/all/rabbitmq-server/3.7.14/rabbitmq-server-3.7.14.exe - 按照提示进行安装,安装完成后进入rabbitmq的安装目录:D:\RabbitMQ Server\rabbitmq_server-3.7.14\sbin - 在地址栏输入cmd并回车启动命令行输入以下命令:rabbitmq-plugins enable rabbitmq_management - 访问地址查看是否安装成功:http://127.0.0.1:15672/ - 输入账号密码登录:guest guest - 创建用户并设置其角色为管理员:mall mall ![rabbitmq_install_2.png](https://github.com/macrozheng/mall/blob/master/document/resource/rabbitmq_install_2.png) - 创建virtual host:/mall ![rabbitmq_install_3.png](https://github.com/macrozheng/mall/blob/master/document/resource/rabbitmq_install_3.png) - 给mall用户配置范围该virtual host的权限 ![rabbitmq_install_4.png](https://github.com/macrozheng/mall/blob/master/document/resource/rabbitmq_install_4.png) - rabbitmq安装延迟消息插件(可不装): - 下载延迟消息插件(rabbitmq_delayed_message_exchange):https://www.rabbitmq.com/community-plugins.html - 复制插件到插件目录:D:\RabbitMQ Server\rabbitmq_server-3.7.14\plugins - 在sbin目录下运行如下命令启用插件:rabbitmq-plugins enable rabbitmq_delayed_message_exchange ## OSS - 该项目文件上传采用OSS,需要自行注册OSS账号并配置 - 首先将mall-admin\src\main\resources\application.properties文件中以aliyun.oss.开头的配置改为你自己的配置 - OSS上传文件需要配置跨域资源共享(CORS)规则,参考文档:https://help.aliyun.com/document_detail/31928.html - 上传方式采用服务端签名后直传的形式,参考文档:https://help.aliyun.com/document_detail/31926.html ## mall-admin - 启动项目:直接运行com.macro.mall.MallAdminApplication的main方法即可 - 接口文档地址:http://localhost:8080/swagger-ui.html ## mall-search - 启动项目:直接运行com.macro.mall.search.MallSearchApplication的main方法即可 - 接口文档地址:http://localhost:8081/swagger-ui.html - 使用前需要先调用接口导入数据;http://localhost:8081/esProduct/importAll - 如出现无法启动的问题,可以先删除elasticsearch里面的数据再启动 ## mall-portal - 启动mall-portal项目:直接运行com.macro.mall.portal.MallPortalApplication的main方法即可 - 接口文档地址:http://localhost:8085/swagger-ui.html ================================================ FILE: document/reference/dev_flow.md ================================================ # mall 功能完成进度 ## 框架搭建 功能 | 完成 ----|---- 集成MyBatis | ✔ 集成MyBatisGenerator | ✔ 集成SpringSecurity | ✔ 集成Swagger-UI | ✔ 集成Hibernator-Validator | ✔ 集成日志功能 | ✔ 集成监控功能 | ✔ crud操作demo | ✔ 合理规划包结构 | ✔ SpringAOP通用日志处理 | ✔ SpringAOP通用验证失败结果返回 | ✔ CommonResult对通用返回结果进行封装 | ✔ SpringSecurity登录改为Restful形式 | ✔ JWT登录、注册、获取token | ✔ JTA事务处理 | ✔ 集成单元测试 | ✔ OSS上传功能 | ✔ Elasticsearch搜索功能 | ✔ HTTPS支持 | ✔ Redis数字型ID生成 | ✔ SpringTask定时任务支持 | ✔ docker容器化部署 | ✔ 配置区分生产和测试环境 | ✔ ELK日志收集功能 | ✔ RabbitMq异步通信 | ✔ RestTemplate服务间调用 | ✔ SpringSecurity权限管理功能 | ✔ 集成SpringCloud | ## 后台功能 ### 后台登录功能 - 后台用户注册功能 - 后台用户登录后获取token - 刷新token功能 ### 商品管理 > **商品分类管理** - 按父分类编号分页查看分类列表 - 添加、编辑、删除分类 - 转移分类商品 > **商品品牌管理** - 按品牌名称搜索分页查看品牌列表 - 添加、编辑、删除品牌 - 查看当前品牌的所有产品 > **商品属性分类管理** - 添加商品属性分类(名称) - 分页查询全部商品属性分类 - 删除单个商品属性分类 - 修改单个属性分类名称 - 查询单个属性分类信息 > **商品属性管理** - 根据分类查询属性列表或参数列表(分页,支持类型) - 添加商品属性 - 查询单个商品属性 - 编辑商品属性 - 批量删除商品属性 - 分页查询全部商品属性 > **添加商品** - 选择商品分类:根据商品分类id查找分类 - 选择品牌:查询全部品牌 - 选择运费模版:查询全部运费模版 - 设置会员价格:查询所有会员等级,传入List - 添加阶梯价格: 参数传入List - 设置满减价格: 参数传入List - 选择商品属性类别:获取所有商品属性分类,根据商品属性分类的id获取规格和参数(type=0->规格;type=1->参数) - 选择规格并生成库存信息:前端实现 - 添加sku库存信息:参数传入List - 设置属性图片:设置到pic和album_pics字段中去 - 添加商品参数:参数传入List - 添加自定义商品规格:参数传入List - 关联专题:参数传入List关系 - 关联优选:参数传入List关系 > **修改商品** - 根据商品id查询商品信息 - 查询商品基本信息:商品分类名称、品牌名称、运费模版名称 - 查询商品促销信息:商品的会员价格、阶梯价格、满减价格 - 查询商品属性信息:商品属性类别名称、sku库存信息、属性分类对应规格和参数值 - 查询商品关联信息:商品关联专题和关联优选 - 修改商品信息:商品属性分类及规格不可修改,只支持单个sku的修改、删除、新增;商品属性分类及规格可以修改:修改后同时显示原sku库存及属性分类 > **商品分页查询** - 商品的状态:全部商品、已上架、未上架、待审核、未通过 (publishStatus verifyStatus) - 商品名称(%name%) - 商品货号(productSn) - 商品分类id(productCategoryId) - 商品品牌id(brandId) - 批量操作:上下架、推荐、新品、转移分类、放入回收站、审核 - 查看记录:审核记录,操作日志 - sku:根据产品及sku编号获取sku信息,批量修改sku信息 > **商品回收管理** - 分页展示回收商品列表 - 回收商品还原功能 #### 促销管理 > **秒杀活动管理** - 活动列表展示 - 活动上下线 - 设置活动商品 - 添加、编辑、删除活动 > **优惠券管理** - 优惠券列表展示 - 添加、编辑、删除优惠券 - 查看优惠券领取记录 > **活动管理** - 活动列表展示 - 添加、编辑、删除活动 - 活动上下线 - 发布到广告 > **首页推荐** - 品牌推荐:列表展示、是否推荐、排序、删除、多选加入品牌 - 新鲜好物:商品列表展示、是否推荐、排序、删除、多选加入商品 - 人气推荐:商品列表展示、是否推荐、排序、删除、多选加入商品 - 专题精选:专题列表展示、是否推荐、排序、删除、多选加入专题 - 广告管理:广告列表展示、是否上线、排序、删除、添加编辑广告 ### 内容管理 > **专题管理** - 专题列表:查看、删除、推荐专题 - 添加、编辑专题:选择专题分类、添加、删除关联商品 - 专题分类管理:控制显示、排序、编辑删除分类 > **优选主题** - 优选列表:控制显示、排序、删除 - 添加、编辑优选:关联和删除商品 > **话题管理** - 专题列表:查看、删除、热门话题 - 话题分类管理:控制显示、排序、编辑删除分类 > **帮助管理** - 帮助列表:查看、删除、控制显示 - 添加、编辑帮助:选择帮助分类 - 帮助分类管理:控制显示、排序、编辑删除分类 ### 用户管理 > **用户管理** - 用户列表:帐号启用、删除、群发短信 - 批量操作:群发短信、站内信、推送、设置标签、赠送优惠券 - 查看、编辑用户信息:用户详情(统计信息、收货地址、订单记录)、编辑资料、登录日志 - 购买力筛选:最近消费、消费次数、消费金额、订单均价、商品分类、会员等级、用户标签 - 用户标签管理:标签列表、添加、编辑、删除 - 会员等级设置:列表、添加、编辑、设置默认会员等级 > **成才值及积分** - 成长值及积分查询:列表展示、积分明细、成长值明细、修改数值 - 任务奖励设置:新手任务、日常任务 - 更多规则设置:成长值规则、积分规则、积分消费设置 ### 订单管理 > **订单列表** - 订单搜索:订单编号、收货人姓名/号码、订单状态、订单分类、订单来源、提交时间 - 订单操作:查看订单、关闭订单、订单发货、订单跟踪、删除订单 - 批量操作:批量发货、关闭订单、删除订单 > **查看订单** - 订单状态:提交订单、支付订单、平台发货、确认收货、完成评价 - 订单详情操作:修改发票信息、修改收货人信息、修改商品信息、修改费用信息、发送站内信、关闭订单、备注订单、取消订单、订单跟踪、删除订单 - 订单基本信息:订单信息、优惠信息、用户信息 - 发票信息:类型、抬头、内容、收票人信息 - 收货人信息:收货人、手机号、邮政编码、收货地址 - 商品信息:包含商品基本信息 - 费用信息:合计及优惠信息 - 操作信息:订单状态改变记录 > **订单设置** - 秒杀订单超时时间 - 正常订单超时时间 - 订单自动完成时间 - 自动结束交易时间 - 自动好评时间 > **退货申请处理** - 退货申请搜索:服务单号、收货人姓名/号码、处理状态、申请时间、操作人员、处理时间 - 批量操作:删除 - 查看详情:退货商品、服务单信息、确认退货、拒绝退货、确认收货 > **退货原因设置** - 原因列表:类型、排序、是否启用、添加时间 - 添加、编辑原因:同上 - 批量操作:删除 ### 权限管理 > **权限管理** - 权限管理:添加权限、删除权限、修改权限、以树形结构返回权限 - 角色管理:添加角色、删除角色、更新角色、角色列表、获取相应角色权限、修改相应角色权限 - 成员管理:添加、编辑、删除成员、成员列表、为成员分配角色、获取成员角色、分配+-权限、获取权限列表 角色 | 菜单 ----|---- 管理员 | 所有菜单权限 运营 | 首页、用户、促销、运营、内容 财务 | 首页、统计、财务 美工 | 首页、商品 客服 | 首页、商品、订单 ## 前台功能 ### 商品搜索 > **综合搜索功能** - 搜索:根据商品标题、副标题、关键字进行搜索; - 筛选:未选择分类时聚合搜索结果,选择出现次数最多的分类,选择分类以后可以根据选择分类的筛选字段进行筛选; - 排序:按新品、销量、价格进行排序 - 搜索返回结果:商品ID、商品图片、名称、副标题、价格、商品销量、新品、商品的参数、品牌名称、分类名称 - 接口:从数据库中查询相关数据并导入es,插入(修改)数据接口,删除数据接口 - 品牌分类筛选:根据搜索结果聚合返回品牌、分类及属性 > **商品推荐功能** - 推荐某商品的相关商品、根据该商品的品牌(10)、分类(6)、名称(8)、关键字(2)、副标题(2) - 根据用户一周浏览记录推荐商品,根据用户搜索记录推荐商品 > **商品热搜功能** - 根据用户搜索记录聚合生成热搜词 > **商品搜索联想功能** - 根据用户搜索记录聚合生成热搜词 ### 购物流程 > **购物车** - 添加商品到购物车 - 购物车商品列表(商品主图、商品名称、商品数量、商品规格) - 修改购物车中商品数量 - 购物车中商品重选规格 - 购物车中商品删除功能 > **生成确认单** - 生成确认单信息:收货信息、商品信息、价格信息、发票信息、支付方式 - 选择收货地址:默认收货地址 - 选择优惠券及积分抵扣:展示可用优惠券和不可以优惠券 - 计算商品价格:商品合计、运费、优惠券抵扣、积分抵扣、活动优惠 - 选择支付方式:在线支付及货到付款 - 计算应付金额:合计+运费-优惠券抵扣-积分抵扣-活动优惠 > **提交订单** - 将确认单信息转化为订单 - 删除购物车中相关商品 - 添加订单到数据库并锁定库存 - 在线支付选择支付方式:支付宝、微信、银联、ApplePay > **支付订单** - 支付完成后修改订单状态为已支付、扣除库存 > **取消订单(未支付情况下)** - 订单超时后自动取消订单,解除商品库存锁定,返还优惠券,积分 #### 会员模块(我的) > **我的关注** - 关注品牌列表:品牌logo、名称、地址、关注数量 - 取消关注功能 - 关注列表展示 > **我的收藏** - 收藏的商品:商品主图、名称、卖点、价格、找相似 - 收藏的专题:专题主图、标题、副标题、收藏数、浏览数、评论数 - 收藏的话题:话题主图、标题、副标题、收藏数、浏览数、评论数 > **我的足迹** - 浏览过的商品:商品主图、名称、卖点、价格、找相似 - 删除记录功能 - 浏览列表展示 > **会员登录注册** - 登录功能:https登录 - 注册功能:用户名、密码、手机号、手机验证码 - 获取验证码:后台生成验证码,验证码绑定手机号 - 忘记密码:手机号、短信验证码、新密码 - 登出功能 ================================================ FILE: document/reference/docker.md ================================================ # Docker入门手册 ## Docker 镜像常用命令 ### 搜索镜像 docker search java ### 下载镜像 - docker pull java:8 - docker pull macro/eureka-server:0.0.1 ### 列出镜像 docker images ### 删除镜像 - docker rmi java - docker rmi -f java - docker rmi -f $(docker images) ## Docker 容器常用命令 ### 新建并启动容器 docker run -d -p 91:80 nginx ### 列出容器 docker ps ### 停止容器 docker stop $ContainerId ### 强制停止容器 docker kill $ContainerId ### 启动已停止的容器 docker start $ContainerId ### 进入容器 - docker inspect --format "{{.State.Pid}}" $ContainerId - nsenter --target "$pid" --mount --uts --ipc --net --pid ### 删除容器 - docker rm $ContainerId - docker rm -f $(docker ps -a -q) ### 查看启动错误日志 docker logs $ContainerIdName(或者$ContainerId) ### 查看容器的IP地址(172.17.0.*) docker inspect --format '{{ .NetworkSettings.IPAddress }}' $ContainerId ### 同步宿主机时间到容器 docker cp /etc/localtime $ContainerName:/etc/ ### 在宿主机查看docker使用cpu、内存、网络、io情况 - 查看指定容器情况:docker stats $ContainerName - 查看所有容器情况:docker stats -a ### 进入docker内部的bash docker exec -it $ContainerName /bin/bash ## Docker Registry ### Docker Registry 2.0搭建 docker run -d -p 5000:5000 --restart=always --name registry2 registry:2 ### 推送到私有仓库 docker push localhost:5000/macro/eureka-server:0.0.1 ### 修改镜像标签 docker tag macro/eureka-server:0.0.1 localhost:5000/macro/eureka-server:0.0.1 ## 使用maven构建Docker镜像 ### 构建镜像 - command:mvn clean package docker:build - tip: Linux服务器需要开启远程api:vi /usr/lib/systemd/system/docker.service 修改为:ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock ### 推送镜像到私有仓库 - command:mvn clean package docker:build -DpushImage - tip: pom.xml修改192.168.1.71:5000/macro/${project.artifactId}:${project.version} - tip: docker要支持http:echo '{ "insecure-registries":["39.98.190.128:5000"] }' > /etc/docker/daemon.json ### 修改Docker镜像存放位置 1. 查看Docker的存放位置:docker info | grep "Docker Root Dir"(默认为/var/lib/docker) 2. 关闭Docker服务:systemctl stop docker 3. 移动目录到目标路径:mv /var/lib/docker /root/data/docker 4. 建立软连接:ln -s /root/data/docker /var/lib/docker ## Docker compose ### 安装 1. 下载地址:https://github.com/docker/compose/releases 2. 安装地址:/usr/local/bin/docker-compose 3. 设置为可执行:sudo chmod +x /usr/local/bin/docker-compose 4. 测试是否安装成功:docker-compose --version ### 安装命令补全工具 sudo curl -L https://raw.githubusercontent.com/docker/compose/1.22.0/contrib/completion/bash/docker-compose -o /etc/bash_completion.d/docker-compose ### 常用命令 - 构建、创建、启动相关容器:docker-compose up - 列出所有容器:docker-compose ps - 删除指定服务的容器:docker-compose rm eureka - 对容器进行动态扩容:docker-compose scale eureka=3 - 停止相关容器:docker-compose stop eureka - 启动相关容器:docker-compose start eureka ### 编排SpringCloud微服务 #### 所使用到的工程 - eureka-server - hello-service - feign-consumer - api-gateway #### 编排模式 1. 编排SpringCloud微服务:见eureka-server/docker-res/docker-compose.yml 2. 简化SpringCloud微服务编排:见eureka-server/docker-res/docker-compose-simple.yml 3. 编排高可用的注册中心:见eureka-server/docker-res/docker-compose-eureka.yml ================================================ FILE: document/reference/function.md ================================================ # mall功能结构说明 ## 后台管理系统 ### 商品管理 ![功能结构图-商品.jpg](https://github.com/macrozheng/mall/blob/master/document/resource/mind_product.jpg) ### 订单管理 ![功能结构图-订单.jpg](https://github.com/macrozheng/mall/blob/master/document/resource/mind_order.jpg) ### 促销管理 ![功能结构图-促销.jpg](https://github.com/macrozheng/mall/blob/master/document/resource/mind_sale.jpg) ### 内容管理 ![功能结构图-内容.jpg](https://github.com/macrozheng/mall/blob/master/document/resource/mind_content.jpg) ### 用户管理 ![功能结构图-用户.jpg](https://github.com/macrozheng/mall/blob/master/document/resource/mind_member.jpg) ## 前台商城系统 ![功能结构图-前台.jpg](https://github.com/macrozheng/mall/blob/master/document/resource/mind_portal.jpg) ================================================ FILE: document/reference/linux.md ================================================ # Linux常用命令 ## 系统服务管理 ### systemctl - 启动服务:systemctl start httpd.service - 关闭服务:systemctl stop httpd.service - 重启服务(不管是否在运行):systemctl restart httpd.service - 重新载入配置(不中断服务):systemctl reload httpd.service - 查看运行状态:systemctl status httpd.service - 设置开机启动:systemctl enable httpd.service - 禁止开机启动:systemctl disable httpd.service - 查看系统安装的服务:systemctl list-units --type=service ## 文件管理 ### ls 列出/home目录下的子目录:ls -l /home 列出当前文件夹下所有文件夹及文件大小:ls -lht ### pwd 显示当前工作目录 ### cd 切换目录: cd /usr/local ### date 以指定格式显示日期;date '+date:%x time:%X' ### passwd 修改root密码:passwd root ### su 普通用户切换到超级用户:su - ### clear 清除屏幕信息 ### man 查看ls命令的帮助信息:man ls ### who - 查看当前运行级别:who -r - 显示用的登录详情:who -buT ### free 以MB显示内存使用状态:free -m ### ps 查看系统所有进程:ps -ef 查看运行的java进程: ps -ef | grep java ### top 查看系统当前活跃进程信息 ### mkdir 创建目录 ### more 分页查看 每10行显示一屏查看:more -c -10 ### cat 查看config文件:cat -Ab config ### rm - 删除文件:rm a.txt - 删除文件夹: rm -rf a/ ### touch 创建一个文件:touch a.txt ### cp 将目录a的文件拷贝到目录b: cp -r /home/a /home/b ### mv 移动或覆盖文件:mv a.txt b.txt ## 压缩与解压 ### tar - 打包文件夹到单独的文件:tar -cvf /opt/etc.tar /etc - 压缩文件夹到压缩文件(gzip):tar -zcvf /opt/etc.tar.gz /etc - 压缩文件夹到压缩文件(bzip2):tar -jcvf /opt/etc.tar.bz2 /etc - 查阅压缩包中内容(gzip):tar -ztvf /opt/etc.tar.gz /etc - 解压文件到当前目录(gzip):tar -zxvf /opt/etc.tar.gz ## 磁盘和网络管理 ### df 查看磁盘占用情况:df -hT ### ifconfig 查看当前网络接口状态 ### netstat - 查看路由信息:netstat -rn - 查看所有有效TCP连接:netstat -an - 查看系统中启动的监听服务:netstat -tulnp - 查看处于连接状态的系统资源信息:netstat -atunp ### wget 从网络上下载软件 ## 软件的安装与管理 ### rpm - 安装软件包:rpm -ivh nginx-1.12.2-2.el7.x86_64.rpm - 模糊搜索软件包:rpm -qa | grep nginx - 精确查找软件包:rpm -qa nginx - 查询软件包的安装路径:rpm -ql nginx-1.12.2-2.el7.x86_64 - 查看软件包的概要信息:rpm -qi nginx-1.12.2-2.el7.x86_64 - 验证软件包内容和安装文件是否一致:rpm -V nginx-1.12.2-2.el7.x86_64 - 更新软件包:rpm -Uvh nginx-1.12.2-2.el7.x86_64 - 删除软件包:rpm -e nginx-1.12.2-2.el7.x86_64 ### yum - 安装软件包: yum install nginx - 检查可以更新的软件包:yum check-update - 更新指定的软件包:yum update nginx - 在资源库中查找软件包信息:yum info nginx* - 列出已经安装的所有软件包:yum info installed - 列出软件包名称:yum list redis* - 模糊搜索软件包:yum search redis ## 网络安全 ### iptables - 开启防火墙:systemctl start iptables.service - 关闭防火墙:systemctl stop iptables.service - 查看防火墙状态:systemctl status iptables.service - 设置开机启动:systemctl enable iptables.service - 禁用开机启动:systemctl disable iptables.service - 查看filter表的链信息:iptables -L -n - 查看NAT表的链信息:iptables -t nat -L -n - 清除防火墙所有规则:iptables -F;iptables -X;iptables -Z; - 添加过滤规则(开发80端口):iptables -I INPUT -p tcp --dport 80 -j ACCEPT - 查找规则所做行号:iptables -L INPUT --line-numbers -n - 根据行号删除过滤规则:iptables -D INPUT 1 ================================================ FILE: document/reference/mysql.md ================================================ # Mysql常用命令 ## 数据定义语句(DDL) ### 数据库操作 - 登录数据库:mysql -uroot -proot - 创建数据库:create database test - 查看所有数据库:show databases - 使用数据库:use test - 查看所有数据表:show tables - 删除数据库:drop database test ### 表操作 - 创建表:create table emp(ename varchar(10),hiredate date,sal decimal(10,2),deptno int(2)) create table dept(deptno int(2),deptname varchar(10)) - 查看表的定义:desc emp - 查看表定义(详细):show create table emp \G - 删除表:drop table emp - 修改表字段:alter table emp modify ename varchar(20) - 添加表字段:alter table emp add column age int(3) - 删除表字段:alter table emp drop column age - 字段改名;alter table emp change age age1 int(4) - 修改表名:alter table emp rename emp1 ## 数据操纵语句(DML) ### 插入记录 - 指定名称插入:insert into emp (ename,hiredate,sal,deptno) values ('zhangsan','2018-01-01','2000',1) - 不指定名称插入:insert into emp values ('lisi','2018-01-01','2000',1) - 批量插入数据:insert into dept values(1,'dept1'),(2,'dept2') ### 修改记录 update emp set sal='4000',deptno=2 where ename='zhangsan' ### 删除记录 delete from emp where ename='zhangsan' ### 查询记录 - 查询所有记录:select * from emp - 查询不重复的记录:select distinct deptno from emp - 条件查询:select * from emp where deptno=1 and sal<3000 - 排序和限制:select * from emp order by deptno desc limit 2 - 聚合(查询部门人数大于1的部门编号):select deptno,count(1) from emp group by deptno having count(1) > 1 - 连接查询:select * from emp e left join dept d on e.deptno=d.deptno - 子查询:select * from emp where deptno in (select deptno from dept) - 记录联合:select deptno from emp union select deptno from dept ## 数据控制语句(DCL) - 授予操作权限:grant select,insert on test.* to 'test'@'localhost' identified by '123' - 收回操作权限:revoke insert on test.* from 'test'@'localhost' ## 其他 ### 字符集相关 - 查看字符集:show variables like 'character%' - 创建数据库时指定字符集:create database mall character set utf8 ### 修改时区 - 修改mysql全局时区为北京时间,即我们所在的东8区:set global time_zone = '+8:00'; - 修改当前会话时区:set time_zone = '+8:00' - 立即生效:flush privileges ### 权限相关 - 授予所有数据库的所有权限:grant all privileges on *.* to z1@localhost identified by '123' - 授予所有数据库的所有权限(包括grant):grant all privileges on *.* to z1@localhost with grant option - 授予SUPER PROCESS FILE权限:grant super,process,file on *.* to z3@localhost - 只授予登录权限:grant usage on *.* to z4@localhost - 查看账号权限:show grants for z1@localhost - 修改自己的密码:set password = password('123') - 管理员修改他人密码:set password for 'z1'@'localhost' = password('123') - 删除账号:drop user z2@localhost ================================================ FILE: document/reference/shortcut.md ================================================ # 设置IDEA快捷键为Eclipse风格 - 点击File->Settings->Keymap,选择快捷键风格为Eclipse - 按如下表格中的英文描述进行搜索,并改为相应快捷键 Eclipse | IDEA | 英文描述 | 中文描述 ----|----|----|---- ctrl+shift+r |ctrl+shift+r |Navigate->File |找工作空间的文件 ctrl+shift+t |ctrl+shift+t |Navigate->Class |找类定义 ctrl+shift+g |ctrl+shift+g |Edit->Find->Find Usages |查找方法在哪里调用.变量在哪里被使用 ctrl+t |ctrl+t |Other->Hierarchy Class |看类继承结构 ctrl+o |ctrl+o |Navigate->File Structure |搜索一个类里面的方法 shift+alt+z |shift+alt+z |Code->Surround With |生成常见的代码块 shift+alt+l |shift+alt+l |Refactor->Extract->Variable |抽取变量 shift+alt+m |shift+alt+m |Refactor->Extract->Method |抽取方法 alt+left |alt+left |Navigate->Back |回退上一个操作位置 alt+right |alt+right |Navigate->Forward |前进上一个操作位置 ctrl+home |ctrl+home |Move Caret to Text Start |回到类最前面 ctrl+end |ctrl+end |Move Caret to Text End |回到类最后面 ctrl+2 L |shift+alt+l |Refactor->Extract->Variable |抽取变量 ctrl+e |alt+r |View->Recent Files |最近打开的文件 ctrl+w |ctrl+w |Close |关闭当前窗口 alt+/ |alt+/ |Code->Completion->Basic |提示变量生成 ctrl+1 |ctrl+1 |Other->Show Intention Actions |提示可能的操作 ctrl+h |ctrl+h |Find in Path |全局搜索 alt+上/下箭头 |alt+上/下箭头 |Code->Move Line Up/Down |移动一行代码 ctrl+alt+上/下箭头 |ctrl+alt+上/下箭头 |Editor Actions->Duplicate Lines |复制一行 ctrl+shift+j |ctrl+shift+j |Other->Fix doc comment |方法注释 暂无|alt+enter |Other->Show Intention Actions |提示常见操作 Ctrl+F |Ctrl+F/Ctrl+R |Find/Replace |查找替换 Shift+Enter |Shift+Enter |Start New Line |开启新的一行 Ctrl+Alt+S |Ctrl+Alt+S |Generate |生成getter,setter,tostring等 ================================================ FILE: document/sh/Dockerfile ================================================ # 该镜像需要依赖的基础镜像 FROM openjdk:8 # 将当前目录下的jar包复制到docker容器的/目录下 ADD mall-admin-1.0-SNAPSHOT.jar /mall-admin-1.0-SNAPSHOT.jar # 声明服务运行在8080端口 EXPOSE 8080 # 指定docker容器启动时运行jar包 ENTRYPOINT ["java", "-jar","/mall-admin-1.0-SNAPSHOT.jar"] # 指定维护者的名字 MAINTAINER macro ================================================ FILE: document/sh/mall-admin.sh ================================================ #!/usr/bin/env bash app_name='mall-admin' docker stop ${app_name} echo '----stop container----' docker rm ${app_name} echo '----rm container----' docker rmi `docker images | grep none | awk '{print $3}'` echo '----rm none images----' docker run -p 8080:8080 --name ${app_name} \ --link mysql:db \ --link redis:redis \ -e TZ="Asia/Shanghai" \ -v /etc/localtime:/etc/localtime \ -v /mydata/app/${app_name}/logs:/var/logs \ -d mall/${app_name}:1.0-SNAPSHOT echo '----start container----' ================================================ FILE: document/sh/mall-portal.sh ================================================ #!/usr/bin/env bash app_name='mall-portal' docker stop ${app_name} echo '----stop container----' docker rm ${app_name} echo '----rm container----' docker rmi `docker images | grep none | awk '{print $3}'` echo '----rm none images----' docker run -p 8085:8085 --name ${app_name} \ --link mysql:db \ --link redis:redis \ --link mongo:mongo \ --link rabbitmq:rabbit \ -e TZ="Asia/Shanghai" \ -v /etc/localtime:/etc/localtime \ -v /mydata/app/${app_name}/logs:/var/logs \ -d mall/${app_name}:1.0-SNAPSHOT echo '----start container----' ================================================ FILE: document/sh/mall-search.sh ================================================ #!/usr/bin/env bash app_name='mall-search' docker stop ${app_name} echo '----stop container----' docker rm ${app_name} echo '----rm container----' docker rmi `docker images | grep none | awk '{print $3}'` echo '----rm none images----' docker run -p 8081:8081 --name ${app_name} \ --link mysql:db \ --link elasticsearch:es \ -e TZ="Asia/Shanghai" \ -v /etc/localtime:/etc/localtime \ -v /mydata/app/${app_name}/logs:/var/logs \ -d mall/${app_name}:1.0-SNAPSHOT echo '----start container----' ================================================ FILE: document/sh/run.sh ================================================ #!/usr/bin/env bash # 定义应用组名 group_name='mall' # 定义应用名称 app_name='mall-admin' # 定义应用版本 app_version='1.0-SNAPSHOT' # 定义应用环境 profile_active='prod' echo '----copy jar----' docker stop ${app_name} echo '----stop container----' docker rm ${app_name} echo '----rm container----' docker rmi ${group_name}/${app_name}:${app_version} echo '----rm image----' # 打包编译docker镜像 docker build -t ${group_name}/${app_name}:${app_version} . echo '----build image----' docker run -p 8080:8080 --name ${app_name} \ --link mysql:db \ --link redis:redis \ -e 'spring.profiles.active'=${profile_active} \ -e TZ="Asia/Shanghai" \ -v /etc/localtime:/etc/localtime \ -v /mydata/app/${app_name}/logs:/var/logs \ -d ${group_name}/${app_name}:${app_version} echo '----start container----' ================================================ FILE: document/sql/mall.sql ================================================ /* Navicat Premium Data Transfer Source Server : localhost Source Server Type : MySQL Source Server Version : 50719 Source Host : localhost:3306 Source Schema : mall Target Server Type : MySQL Target Server Version : 50719 File Encoding : 65001 Date: 11/05/2023 15:48:15 */ SET NAMES utf8mb4; SET FOREIGN_KEY_CHECKS = 0; -- ---------------------------- -- Table structure for cms_help -- ---------------------------- DROP TABLE IF EXISTS `cms_help`; CREATE TABLE `cms_help` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `category_id` bigint(20) NULL DEFAULT NULL, `icon` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `show_status` int(1) NULL DEFAULT NULL, `create_time` datetime NULL DEFAULT NULL, `read_count` int(1) NULL DEFAULT NULL, `content` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '帮助表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of cms_help -- ---------------------------- -- ---------------------------- -- Table structure for cms_help_category -- ---------------------------- DROP TABLE IF EXISTS `cms_help_category`; CREATE TABLE `cms_help_category` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `icon` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分类图标', `help_count` int(11) NULL DEFAULT NULL COMMENT '专题数量', `show_status` int(2) NULL DEFAULT NULL, `sort` int(11) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '帮助分类表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of cms_help_category -- ---------------------------- -- ---------------------------- -- Table structure for cms_member_report -- ---------------------------- DROP TABLE IF EXISTS `cms_member_report`; CREATE TABLE `cms_member_report` ( `id` bigint(20) NULL DEFAULT NULL, `report_type` int(1) NULL DEFAULT NULL COMMENT '举报类型:0->商品评价;1->话题内容;2->用户评论', `report_member_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '举报人', `create_time` datetime NULL DEFAULT NULL, `report_object` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `report_status` int(1) NULL DEFAULT NULL COMMENT '举报状态:0->未处理;1->已处理', `handle_status` int(1) NULL DEFAULT NULL COMMENT '处理结果:0->无效;1->有效;2->恶意', `note` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户举报表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of cms_member_report -- ---------------------------- -- ---------------------------- -- Table structure for cms_prefrence_area -- ---------------------------- DROP TABLE IF EXISTS `cms_prefrence_area`; CREATE TABLE `cms_prefrence_area` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `sub_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `pic` varbinary(500) NULL DEFAULT NULL COMMENT '展示图片', `sort` int(11) NULL DEFAULT NULL, `show_status` int(1) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '优选专区' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of cms_prefrence_area -- ---------------------------- INSERT INTO `cms_prefrence_area` VALUES (1, '让音质更出众', '音质不打折 完美现场感', NULL, NULL, 1); INSERT INTO `cms_prefrence_area` VALUES (2, '让音质更出众22', '让音质更出众22', NULL, NULL, NULL); INSERT INTO `cms_prefrence_area` VALUES (3, '让音质更出众33', NULL, NULL, NULL, NULL); INSERT INTO `cms_prefrence_area` VALUES (4, '让音质更出众44', NULL, NULL, NULL, NULL); -- ---------------------------- -- Table structure for cms_prefrence_area_product_relation -- ---------------------------- DROP TABLE IF EXISTS `cms_prefrence_area_product_relation`; CREATE TABLE `cms_prefrence_area_product_relation` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `prefrence_area_id` bigint(20) NULL DEFAULT NULL, `product_id` bigint(20) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 25 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '优选专区和产品关系表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of cms_prefrence_area_product_relation -- ---------------------------- INSERT INTO `cms_prefrence_area_product_relation` VALUES (1, 1, 12); INSERT INTO `cms_prefrence_area_product_relation` VALUES (2, 1, 13); INSERT INTO `cms_prefrence_area_product_relation` VALUES (3, 1, 14); INSERT INTO `cms_prefrence_area_product_relation` VALUES (4, 1, 18); INSERT INTO `cms_prefrence_area_product_relation` VALUES (5, 1, 7); INSERT INTO `cms_prefrence_area_product_relation` VALUES (6, 2, 7); INSERT INTO `cms_prefrence_area_product_relation` VALUES (7, 1, 22); INSERT INTO `cms_prefrence_area_product_relation` VALUES (24, 1, 23); -- ---------------------------- -- Table structure for cms_subject -- ---------------------------- DROP TABLE IF EXISTS `cms_subject`; CREATE TABLE `cms_subject` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `category_id` bigint(20) NULL DEFAULT NULL, `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `pic` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '专题主图', `product_count` int(11) NULL DEFAULT NULL COMMENT '关联产品数量', `recommend_status` int(1) NULL DEFAULT NULL, `create_time` datetime NULL DEFAULT NULL, `collect_count` int(11) NULL DEFAULT NULL, `read_count` int(11) NULL DEFAULT NULL, `comment_count` int(11) NULL DEFAULT NULL, `album_pics` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '画册图片用逗号分割', `description` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `show_status` int(1) NULL DEFAULT NULL COMMENT '显示状态:0->不显示;1->显示', `content` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL, `forward_count` int(11) NULL DEFAULT NULL COMMENT '转发数', `category_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '专题分类名称', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '专题表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of cms_subject -- ---------------------------- INSERT INTO `cms_subject` VALUES (1, 1, 'polo衬衫的也时尚', NULL, NULL, NULL, '2018-11-11 13:26:55', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '服装专题'); INSERT INTO `cms_subject` VALUES (2, 2, '大牌手机低价秒', NULL, NULL, NULL, '2018-11-12 13:27:00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '手机专题'); INSERT INTO `cms_subject` VALUES (3, 2, '晓龙845新品上市', NULL, NULL, NULL, '2018-11-13 13:27:05', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '手机专题'); INSERT INTO `cms_subject` VALUES (4, 1, '夏天应该穿什么', NULL, NULL, NULL, '2018-11-01 13:27:09', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '服装专题'); INSERT INTO `cms_subject` VALUES (5, 1, '夏季精选', NULL, NULL, NULL, '2018-11-06 13:27:18', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '服装专题'); INSERT INTO `cms_subject` VALUES (6, 2, '品牌手机降价', NULL, NULL, NULL, '2018-11-07 13:27:21', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '手机专题'); -- ---------------------------- -- Table structure for cms_subject_category -- ---------------------------- DROP TABLE IF EXISTS `cms_subject_category`; CREATE TABLE `cms_subject_category` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `icon` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分类图标', `subject_count` int(11) NULL DEFAULT NULL COMMENT '专题数量', `show_status` int(2) NULL DEFAULT NULL, `sort` int(11) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '专题分类表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of cms_subject_category -- ---------------------------- INSERT INTO `cms_subject_category` VALUES (1, '服装专题', NULL, NULL, NULL, NULL); INSERT INTO `cms_subject_category` VALUES (2, '手机专题', NULL, NULL, NULL, NULL); -- ---------------------------- -- Table structure for cms_subject_comment -- ---------------------------- DROP TABLE IF EXISTS `cms_subject_comment`; CREATE TABLE `cms_subject_comment` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `subject_id` bigint(20) NULL DEFAULT NULL, `member_nick_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `member_icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `content` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `create_time` datetime NULL DEFAULT NULL, `show_status` int(1) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '专题评论表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of cms_subject_comment -- ---------------------------- -- ---------------------------- -- Table structure for cms_subject_product_relation -- ---------------------------- DROP TABLE IF EXISTS `cms_subject_product_relation`; CREATE TABLE `cms_subject_product_relation` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `subject_id` bigint(20) NULL DEFAULT NULL, `product_id` bigint(20) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 71 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '专题商品关系表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of cms_subject_product_relation -- ---------------------------- INSERT INTO `cms_subject_product_relation` VALUES (1, 1, 12); INSERT INTO `cms_subject_product_relation` VALUES (2, 1, 13); INSERT INTO `cms_subject_product_relation` VALUES (3, 1, 14); INSERT INTO `cms_subject_product_relation` VALUES (4, 1, 18); INSERT INTO `cms_subject_product_relation` VALUES (5, 1, 7); INSERT INTO `cms_subject_product_relation` VALUES (6, 2, 7); INSERT INTO `cms_subject_product_relation` VALUES (7, 1, 22); INSERT INTO `cms_subject_product_relation` VALUES (29, 1, 23); INSERT INTO `cms_subject_product_relation` VALUES (30, 4, 23); INSERT INTO `cms_subject_product_relation` VALUES (31, 5, 23); INSERT INTO `cms_subject_product_relation` VALUES (68, 2, 26); INSERT INTO `cms_subject_product_relation` VALUES (69, 3, 26); INSERT INTO `cms_subject_product_relation` VALUES (70, 6, 26); -- ---------------------------- -- Table structure for cms_topic -- ---------------------------- DROP TABLE IF EXISTS `cms_topic`; CREATE TABLE `cms_topic` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `category_id` bigint(20) NULL DEFAULT NULL, `name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `create_time` datetime NULL DEFAULT NULL, `start_time` datetime NULL DEFAULT NULL, `end_time` datetime NULL DEFAULT NULL, `attend_count` int(11) NULL DEFAULT NULL COMMENT '参与人数', `attention_count` int(11) NULL DEFAULT NULL COMMENT '关注人数', `read_count` int(11) NULL DEFAULT NULL, `award_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '奖品名称', `attend_type` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '参与方式', `content` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '话题内容', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '话题表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of cms_topic -- ---------------------------- -- ---------------------------- -- Table structure for cms_topic_category -- ---------------------------- DROP TABLE IF EXISTS `cms_topic_category`; CREATE TABLE `cms_topic_category` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `icon` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分类图标', `subject_count` int(11) NULL DEFAULT NULL COMMENT '专题数量', `show_status` int(2) NULL DEFAULT NULL, `sort` int(11) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '话题分类表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of cms_topic_category -- ---------------------------- -- ---------------------------- -- Table structure for cms_topic_comment -- ---------------------------- DROP TABLE IF EXISTS `cms_topic_comment`; CREATE TABLE `cms_topic_comment` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `member_nick_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `topic_id` bigint(20) NULL DEFAULT NULL, `member_icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `content` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `create_time` datetime NULL DEFAULT NULL, `show_status` int(1) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '专题评论表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of cms_topic_comment -- ---------------------------- -- ---------------------------- -- Table structure for oms_cart_item -- ---------------------------- DROP TABLE IF EXISTS `oms_cart_item`; CREATE TABLE `oms_cart_item` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `product_id` bigint(20) NULL DEFAULT NULL, `product_sku_id` bigint(20) NULL DEFAULT NULL, `member_id` bigint(20) NULL DEFAULT NULL, `quantity` int(11) NULL DEFAULT NULL COMMENT '购买数量', `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '添加到购物车的价格', `product_pic` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品主图', `product_name` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品名称', `product_sub_title` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品副标题(卖点)', `product_sku_code` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品sku条码', `member_nickname` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '会员昵称', `create_date` datetime NULL DEFAULT NULL COMMENT '创建时间', `modify_date` datetime NULL DEFAULT NULL COMMENT '修改时间', `delete_status` int(1) NULL DEFAULT 0 COMMENT '是否删除', `product_category_id` bigint(20) NULL DEFAULT NULL COMMENT '商品分类', `product_brand` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `product_sn` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `product_attr` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品销售属性:[{\"key\":\"颜色\",\"value\":\"颜色\"},{\"key\":\"容量\",\"value\":\"4G\"}]', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 115 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '购物车表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of oms_cart_item -- ---------------------------- INSERT INTO `oms_cart_item` VALUES (12, 26, 90, 1, 1, 3788.00, NULL, '华为 HUAWEI P20', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2018-08-27 16:53:44', NULL, 1, 19, NULL, NULL, NULL); INSERT INTO `oms_cart_item` VALUES (13, 27, 98, 1, 3, 2699.00, NULL, '小米8', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2018-08-27 17:11:53', NULL, 1, 19, NULL, NULL, NULL); INSERT INTO `oms_cart_item` VALUES (14, 28, 102, 1, 1, 649.00, NULL, '红米5A', '8天超长待机,137g轻巧机身,高通骁龙处理器小米6X低至1299,点击抢购', '201808270028001', 'windir', '2018-08-27 17:18:02', NULL, 1, 19, NULL, NULL, NULL); INSERT INTO `oms_cart_item` VALUES (15, 28, 103, 1, 1, 699.00, NULL, '红米5A', '8天超长待机,137g轻巧机身,高通骁龙处理器小米6X低至1299,点击抢购', '201808270028001', 'windir', '2018-08-28 10:22:45', NULL, 1, 19, NULL, NULL, NULL); INSERT INTO `oms_cart_item` VALUES (16, 29, 106, 1, 1, 5499.00, NULL, 'Apple iPhone 8 Plus', '【限时限量抢购】Apple产品年中狂欢节,好物尽享,美在智慧!速来 >> 勾选[保障服务][原厂保2年],获得AppleCare+全方位服务计划,原厂延保售后无忧。', '201808270029001', 'windir', '2018-08-28 10:50:50', NULL, 1, 19, NULL, NULL, NULL); INSERT INTO `oms_cart_item` VALUES (19, 36, 163, 1, 3, 100.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b19403eN9f0b3cb8.jpg', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', '202002210036001', 'windir', '2020-02-25 15:51:59', NULL, 1, 29, 'NIKE', '6799345', '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"秋季\"}]'); INSERT INTO `oms_cart_item` VALUES (20, 36, 164, 1, 2, 120.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b19403eN9f0b3cb8.jpg', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', '202002210036001', 'windir', '2020-02-25 15:54:23', NULL, 1, 29, 'NIKE', '6799345', '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"夏季\"}]'); INSERT INTO `oms_cart_item` VALUES (21, 36, 164, 1, 2, 120.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b19403eN9f0b3cb8.jpg', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', '202002210036001', 'windir', '2020-02-25 16:49:53', NULL, 1, 29, 'NIKE', '6799345', '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"夏季\"}]'); INSERT INTO `oms_cart_item` VALUES (22, 26, 110, 1, 3, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-04 15:34:24', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (23, 27, 98, 1, 7, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-04 15:35:43', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (24, 26, 110, 1, 4, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-04 16:58:17', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (25, 27, 98, 1, 2, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-04 16:58:23', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (26, 28, 102, 1, 4, 649.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '小米 红米5A 全网通版 3GB+32GB 香槟金 移动联通电信4G手机 双卡双待', '8天超长待机,137g轻巧机身,高通骁龙处理器小米6X低至1299,点击抢购', '201808270028001', 'windir', '2020-05-04 16:58:26', NULL, 1, 19, '小米', '7437789', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (27, 29, 106, 1, 1, 4999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5acc5248N6a5f81cd.jpg', 'Apple iPhone 8 Plus 64GB 红色特别版 移动联通电信4G手机', '【限时限量抢购】Apple产品年中狂欢节,好物尽享,美在智慧!速来 >> 勾选[保障服务][原厂保2年],获得AppleCare+全方位服务计划,原厂延保售后无忧。', '201808270029001', 'windir', '2020-05-04 16:58:29', NULL, 1, 19, '苹果', '7437799', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (28, 26, 110, 1, 2, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-04 17:07:20', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (29, 27, 98, 1, 1, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-04 17:07:23', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (30, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-04 17:08:14', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (31, 29, 106, 1, 1, 4999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5acc5248N6a5f81cd.jpg', 'Apple iPhone 8 Plus 64GB 红色特别版 移动联通电信4G手机', '【限时限量抢购】Apple产品年中狂欢节,好物尽享,美在智慧!速来 >> 勾选[保障服务][原厂保2年],获得AppleCare+全方位服务计划,原厂延保售后无忧。', '201808270029001', 'windir', '2020-05-04 17:09:56', NULL, 1, 19, '苹果', '7437799', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (32, 27, 98, 1, 1, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-04 17:13:50', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (33, 27, 98, 1, 2, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-04 17:16:15', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (34, 36, 164, 1, 1, 120.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b19403eN9f0b3cb8.jpg', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', '202002210036002', 'windir', '2020-05-04 17:19:20', NULL, 1, 29, 'NIKE', '6799345', '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"夏季\"}]'); INSERT INTO `oms_cart_item` VALUES (35, 27, 98, 1, 1, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-05 10:41:39', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (36, 26, 110, 1, 2, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-05 10:41:55', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (37, 27, 98, 1, 1, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-05 10:42:57', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (38, 27, 98, 1, 1, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-05 14:29:28', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (39, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-05 14:32:52', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (40, 26, 110, 1, 2, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-05 14:33:20', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (41, 27, 98, 1, 2, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-05 14:49:13', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (42, 26, 111, 1, 1, 3999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026002', 'windir', '2020-05-05 15:26:05', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (43, 28, 102, 1, 1, 649.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '小米 红米5A 全网通版 3GB+32GB 香槟金 移动联通电信4G手机 双卡双待', '8天超长待机,137g轻巧机身,高通骁龙处理器小米6X低至1299,点击抢购', '201808270028001', 'windir', '2020-05-16 15:16:04', NULL, 1, 19, '小米', '7437789', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (44, 26, 110, 1, 2, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-16 15:18:00', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (45, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-17 15:00:16', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (46, 27, 98, 1, 1, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-17 15:00:22', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (47, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-17 15:14:14', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (48, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-17 15:20:03', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (49, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-17 15:21:54', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (50, 26, 110, 1, 2, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-17 16:07:22', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (51, 27, 98, 1, 1, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-17 16:07:26', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (52, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-17 19:33:36', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (53, 27, 98, 1, 1, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-17 19:33:39', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (54, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-17 19:39:07', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (55, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-17 19:41:26', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (56, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-18 16:50:00', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (57, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-18 20:22:04', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (58, 27, 98, 1, 1, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-18 20:22:08', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (59, 27, 98, 1, 2, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-23 16:21:13', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (60, 27, 98, 1, 2, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-05-23 17:01:28', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (61, 26, 110, 1, 2, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-24 09:36:50', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (62, 26, 110, 1, 2, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-05-24 09:44:39', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (63, 27, 98, 1, 1, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-06-07 17:01:48', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (64, 27, 98, 1, 2, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-06-14 15:24:40', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (65, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-06-21 14:27:13', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (66, 27, 98, 1, 1, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-06-21 15:12:14', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (67, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-06-21 15:12:53', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (68, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'windir', '2020-06-21 15:15:10', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (69, 27, 98, 1, 1, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2020-06-27 10:27:48', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (70, 27, 98, 1, 1, 2699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '201808270027001', 'windir', '2022-10-28 14:50:46', NULL, 1, 19, '小米', '7437788', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (71, 37, 201, 1, 1, 5999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 紫色 支持移动联通电信5G 双卡双待手机', '【11.11大爱超大爱】指定iPhone14产品限时限量领券立减601元!!!部分iPhone产品现货抢购确认收货即送原厂手机壳10元优惠券!!!猛戳 ', '202210280037001', 'windir', '2022-10-28 15:27:32', NULL, 1, 19, '苹果', '100038005189', '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (72, 40, 221, 1, 1, 2999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充 12GB+256GB 黑色 5G手机', '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '202211040040001', 'windir', '2022-11-09 15:14:46', NULL, 1, 19, '小米', '100027789721', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (73, 38, 213, 1, 1, 3599.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/ipad_001.jpg', 'Apple iPad 10.9英寸平板电脑 2022年款(64GB WLAN版/A14芯片/1200万像素/iPadOS MPQ03CH/A )', '【11.11大爱超大爱】iPad9代限量抢购,价格优惠,更享以旧换新至高补贴325元!!快来抢购吧!! ', '202210280038001', 'windir', '2022-11-09 15:25:28', NULL, 1, 53, '苹果', '100044025833', '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"64G\"}]'); INSERT INTO `oms_cart_item` VALUES (74, 37, 201, 1, 1, 5999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', '【11.11大爱超大爱】指定iPhone14产品限时限量领券立减601元!!!部分iPhone产品现货抢购确认收货即送原厂手机壳10元优惠券!!!猛戳 ', '202210280037001', 'windir', '2022-11-09 15:26:04', NULL, 1, 19, '苹果', '100038005189', '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (75, 45, 239, 1, 1, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/oppo_r8_01.jpg', 'OPPO Reno8 8GB+128GB 鸢尾紫 新配色上市 80W超级闪充 5000万水光人像三摄 3200万前置索尼镜头 5G手机', '【11.11提前购机享价保,好货不用等,系统申请一键价保补差!】【Reno8Pro爆款优惠】 ', '202211080045001', 'windir', '2022-11-09 16:16:23', NULL, 1, 19, 'OPPO', '10052147850350', '[{\"key\":\"颜色\",\"value\":\"鸢尾紫\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (76, 45, 239, 1, 1, 2299.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/oppo_r8_01.jpg', 'OPPO Reno8 8GB+128GB 鸢尾紫 新配色上市 80W超级闪充 5000万水光人像三摄 3200万前置索尼镜头 5G手机', '【11.11提前购机享价保,好货不用等,系统申请一键价保补差!】【Reno8Pro爆款优惠】 ', '202211080045001', 'windir', '2022-11-09 16:18:36', NULL, 1, 19, 'OPPO', '10052147850350', '[{\"key\":\"颜色\",\"value\":\"鸢尾紫\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (77, 41, 225, 1, 1, 2099.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量 墨羽 12GB+256GB 5G智能手机 小米 红米', '【品质好物】天玑8100,2K直屏,5500mAh大电量【Note12Pro火热抢购中】 ', '202211040041001', 'windir', '2022-11-10 15:19:36', NULL, 1, 19, '小米', '100035246702', '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (78, 37, 201, 1, 2, 5999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', '【11.11大爱超大爱】指定iPhone14产品限时限量领券立减601元!!!部分iPhone产品现货抢购确认收货即送原厂手机壳10元优惠券!!!猛戳 ', '202210280037001', 'windir', '2022-11-10 15:19:44', NULL, 1, 19, '苹果', '100038005189', '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (79, 38, 213, 1, 1, 3599.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/ipad_001.jpg', 'Apple iPad 10.9英寸平板电脑 2022年款(64GB WLAN版/A14芯片/1200万像素/iPadOS MPQ03CH/A )', '【11.11大爱超大爱】iPad9代限量抢购,价格优惠,更享以旧换新至高补贴325元!!快来抢购吧!! ', '202210280038001', 'windir', '2022-11-11 15:37:40', NULL, 1, 53, '苹果', '100044025833', '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"64G\"}]'); INSERT INTO `oms_cart_item` VALUES (80, 38, 213, 1, 1, 3599.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/ipad_001.jpg', 'Apple iPad 10.9英寸平板电脑 2022年款(64GB WLAN版/A14芯片/1200万像素/iPadOS MPQ03CH/A )', '【11.11大爱超大爱】iPad9代限量抢购,价格优惠,更享以旧换新至高补贴325元!!快来抢购吧!! ', '202210280038001', 'windir', '2022-11-11 15:38:12', NULL, 1, 53, '苹果', '100044025833', '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"64G\"}]'); INSERT INTO `oms_cart_item` VALUES (81, 38, 213, 1, 3, 3599.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/ipad_001.jpg', 'Apple iPad 10.9英寸平板电脑 2022年款(64GB WLAN版/A14芯片/1200万像素/iPadOS MPQ03CH/A )', '【11.11大爱超大爱】iPad9代限量抢购,价格优惠,更享以旧换新至高补贴325元!!快来抢购吧!! ', '202210280038001', 'windir', '2022-11-11 15:38:22', NULL, 1, 53, '苹果', '100044025833', '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"64G\"}]'); INSERT INTO `oms_cart_item` VALUES (82, 40, 221, 1, 1, 2999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充 12GB+256GB 黑色 5G手机', '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '202211040040001', 'windir', '2022-11-11 16:07:23', NULL, 1, 19, '小米', '100027789721', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (83, 40, 221, 1, 1, 2999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充 12GB+256GB 黑色 5G手机', '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '202211040040001', 'windir', '2022-11-11 16:13:11', NULL, 1, 19, '小米', '100027789721', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (84, 37, 201, 1, 1, 5999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', '【11.11大爱超大爱】指定iPhone14产品限时限量领券立减601元!!!部分iPhone产品现货抢购确认收货即送原厂手机壳10元优惠券!!!猛戳 ', '202210280037001', 'windir', '2022-11-11 16:15:05', NULL, 1, 19, '苹果', '100038005189', '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (85, 28, 102, 1, 1, 649.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '小米 红米5A 全网通版 3GB+32GB 香槟金 移动联通电信4G手机 双卡双待', '8天超长待机,137g轻巧机身,高通骁龙处理器小米6X低至1299,点击抢购', '201808270028001', 'windir', '2022-11-11 16:21:05', NULL, 1, 19, '小米', '7437789', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (86, 40, 221, 1, 1, 2999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '202211040040001', 'windir', '2022-11-16 10:22:47', NULL, 1, 19, '小米', '100027789721', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (87, 41, 225, 1, 1, 2099.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', '【品质好物】天玑8100,2K直屏,5500mAh大电量【Note12Pro火热抢购中】 ', '202211040041001', 'windir', '2022-11-16 10:22:51', NULL, 1, 19, '小米', '100035246702', '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (88, 39, 217, 1, 1, 5999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/xiaomi_computer_001.jpg', '小米 Xiaomi Book Pro 14 2022 锐龙版 2.8K超清大师屏 高端轻薄笔记本电脑', '【双十一大促来袭】指定型号至高优惠1000,以旧换新至高补贴1000元,晒单赢好礼', '202210280039001', 'windir', '2022-11-16 10:22:54', NULL, 1, 54, '小米', '100023207945', '[{\"key\":\"颜色\",\"value\":\"新小米Pro 14英寸 2.8K屏\"},{\"key\":\"版本\",\"value\":\"R7 16G 512\"}]'); INSERT INTO `oms_cart_item` VALUES (89, 37, 201, 1, 1, 5999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', '【11.11大爱超大爱】指定iPhone14产品限时限量领券立减601元!!!部分iPhone产品现货抢购确认收货即送原厂手机壳10元优惠券!!!猛戳 ', '202210280037001', 'windir', '2022-11-16 10:23:16', NULL, 1, 19, '苹果', '100038005189', '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (90, 40, 221, 1, 1, 2999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '202211040040001', 'test', '2022-12-21 15:49:00', NULL, 1, 19, '小米', '100027789721', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (91, 37, 201, 1, 1, 5999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', '【11.11大爱超大爱】指定iPhone14产品限时限量领券立减601元!!!部分iPhone产品现货抢购确认收货即送原厂手机壳10元优惠券!!!猛戳 ', '202210280037001', 'test', '2022-12-21 15:49:42', NULL, 1, 19, '苹果', '100038005189', '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (92, 41, 225, 1, 1, 2099.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', '【品质好物】天玑8100,2K直屏,5500mAh大电量【Note12Pro火热抢购中】 ', '202211040041001', 'test', '2022-12-21 15:49:53', NULL, 1, 19, '小米', '100035246702', '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (93, 40, 221, 1, 1, 2999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '202211040040001', 'test', '2022-12-21 15:51:03', NULL, 1, 19, '小米', '100027789721', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (94, 41, 225, 1, 1, 2099.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', '【品质好物】天玑8100,2K直屏,5500mAh大电量【Note12Pro火热抢购中】 ', '202211040041001', 'test', '2022-12-21 15:51:28', NULL, 1, 19, '小米', '100035246702', '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (95, 41, 225, 1, 1, 2099.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', '【品质好物】天玑8100,2K直屏,5500mAh大电量【Note12Pro火热抢购中】 ', '202211040041001', 'test', '2022-12-21 16:45:16', NULL, 1, 19, '小米', '100035246702', '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (96, 40, 221, 1, 2, 2999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '202211040040001', 'test', '2022-12-21 16:46:41', NULL, 1, 19, '小米', '100027789721', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (97, 40, 221, 1, 1, 2999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '202211040040001', 'test', '2022-12-21 16:50:10', NULL, 1, 19, '小米', '100027789721', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (98, 40, 221, 1, 2, 2999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '202211040040001', 'test', '2022-12-23 09:55:11', NULL, 1, 19, '小米', '100027789721', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (99, 26, 110, 1, 1, 3788.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'test', '2023-01-10 15:39:03', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (100, 26, 111, 1, 1, 3899.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026002', 'test', '2023-01-10 16:58:08', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_cart_item` VALUES (101, 26, 110, 1, 1, 3699.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '201806070026001', 'test', '2023-01-10 17:10:26', NULL, 1, 19, '华为', '6946605', '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_cart_item` VALUES (102, 40, 221, 11, 1, 2999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '202211040040001', 'member', '2023-05-11 15:24:33', NULL, 1, 19, '小米', '100027789721', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (103, 41, 225, 11, 1, 2099.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', '【品质好物】天玑8100,2K直屏,5500mAh大电量【Note12Pro火热抢购中】 ', '202211040041001', 'member', '2023-05-11 15:24:37', NULL, 1, 19, '小米', '100035246702', '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (104, 38, 213, 11, 1, 3599.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/ipad_001.jpg', 'Apple iPad 10.9英寸平板电脑 2022年款', '【11.11大爱超大爱】iPad9代限量抢购,价格优惠,更享以旧换新至高补贴325元!!快来抢购吧!! ', '202210280038001', 'member', '2023-05-11 15:30:32', NULL, 1, 53, '苹果', '100044025833', '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"64G\"}]'); INSERT INTO `oms_cart_item` VALUES (105, 39, 217, 11, 1, 5999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/xiaomi_computer_001.jpg', '小米 Xiaomi Book Pro 14 2022 锐龙版 2.8K超清大师屏 高端轻薄笔记本电脑', '【双十一大促来袭】指定型号至高优惠1000,以旧换新至高补贴1000元,晒单赢好礼', '202210280039001', 'member', '2023-05-11 15:31:38', NULL, 1, 54, '小米', '100023207945', '[{\"key\":\"颜色\",\"value\":\"新小米Pro 14英寸 2.8K屏\"},{\"key\":\"版本\",\"value\":\"R7 16G 512\"}]'); INSERT INTO `oms_cart_item` VALUES (106, 44, 235, 11, 1, 369.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/sanxing_ssd_02.jpg', '三星(SAMSUNG)500GB SSD固态硬盘 M.2接口(NVMe协议)', '【满血无缓存!进店抽百元E卡,部分型号白条三期免息】兼具速度与可靠性!读速高达3500MB/s,全功率模式!点击 ', '202211080044001', 'member', '2023-05-11 15:32:16', NULL, 1, 55, '三星', '100018768480', '[{\"key\":\"颜色\",\"value\":\"新品980|NVMe PCIe3.0*4\"},{\"key\":\"版本\",\"value\":\"512GB\"}]'); INSERT INTO `oms_cart_item` VALUES (107, 42, 229, 11, 1, 4999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/huawei_mate50_01.jpg', 'HUAWEI Mate 50 直屏旗舰 超光变XMAGE影像 北斗卫星消息', '【华为Mate50新品上市】内置66W华为充电套装,超光变XMAGE影像,北斗卫星消息,鸿蒙操作系统3.0!立即抢购!华为新品可持续计划,猛戳》 ', '202211040042001', 'member', '2023-05-11 15:32:44', NULL, 1, 19, '华为', '100035295081', '[{\"key\":\"颜色\",\"value\":\"曜金黑\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (108, 37, 201, 11, 1, 5999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', '【11.11大爱超大爱】指定iPhone14产品限时限量领券立减601元!!!部分iPhone产品现货抢购确认收货即送原厂手机壳10元优惠券!!!猛戳 ', '202210280037001', 'member', '2023-05-11 15:34:32', NULL, 1, 19, '苹果', '100038005189', '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (109, 40, 221, 11, 1, 2999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '202211040040001', 'member', '2023-05-11 15:35:02', NULL, 1, 19, '小米', '100027789721', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (110, 41, 225, 11, 1, 2099.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', '【品质好物】天玑8100,2K直屏,5500mAh大电量【Note12Pro火热抢购中】 ', '202211040041001', 'member', '2023-05-11 15:35:21', NULL, 1, 19, '小米', '100035246702', '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (111, 40, 221, 11, 1, 2999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '202211040040001', 'member', '2023-05-11 15:36:57', NULL, 1, 19, '小米', '100027789721', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (112, 39, 217, 11, 1, 5999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/xiaomi_computer_001.jpg', '小米 Xiaomi Book Pro 14 2022 锐龙版 2.8K超清大师屏 高端轻薄笔记本电脑', '【双十一大促来袭】指定型号至高优惠1000,以旧换新至高补贴1000元,晒单赢好礼', '202210280039001', 'member', '2023-05-11 15:37:04', NULL, 1, 54, '小米', '100023207945', '[{\"key\":\"颜色\",\"value\":\"新小米Pro 14英寸 2.8K屏\"},{\"key\":\"版本\",\"value\":\"R7 16G 512\"}]'); INSERT INTO `oms_cart_item` VALUES (113, 40, 221, 11, 1, 2999.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '202211040040001', 'member', '2023-05-11 15:37:57', NULL, 0, 19, '小米', '100027789721', '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_cart_item` VALUES (114, 41, 225, 11, 1, 2099.00, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', '【品质好物】天玑8100,2K直屏,5500mAh大电量【Note12Pro火热抢购中】 ', '202211040041001', 'member', '2023-05-11 15:38:03', NULL, 0, 19, '小米', '100035246702', '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); -- ---------------------------- -- Table structure for oms_company_address -- ---------------------------- DROP TABLE IF EXISTS `oms_company_address`; CREATE TABLE `oms_company_address` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `address_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '地址名称', `send_status` int(1) NULL DEFAULT NULL COMMENT '默认发货地址:0->否;1->是', `receive_status` int(1) NULL DEFAULT NULL COMMENT '是否默认收货地址:0->否;1->是', `name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收发货人姓名', `phone` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收货人电话', `province` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '省/直辖市', `city` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '市', `region` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区', `detail_address` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '详细地址', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '公司收发货地址表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of oms_company_address -- ---------------------------- INSERT INTO `oms_company_address` VALUES (1, '深圳发货点', 1, 1, '大梨', '18000000000', '广东省', '深圳市', '南山区', '科兴科学园'); INSERT INTO `oms_company_address` VALUES (2, '北京发货点', 0, 0, '大梨', '18000000000', '北京市', NULL, '南山区', '科兴科学园'); INSERT INTO `oms_company_address` VALUES (3, '南京发货点', 0, 0, '大梨', '18000000000', '江苏省', '南京市', '南山区', '科兴科学园'); -- ---------------------------- -- Table structure for oms_order -- ---------------------------- DROP TABLE IF EXISTS `oms_order`; CREATE TABLE `oms_order` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '订单id', `member_id` bigint(20) NOT NULL, `coupon_id` bigint(20) NULL DEFAULT NULL, `order_sn` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '订单编号', `create_time` datetime NULL DEFAULT NULL COMMENT '提交时间', `member_username` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户帐号', `total_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '订单总金额', `pay_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '应付金额(实际支付金额)', `freight_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '运费金额', `promotion_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '促销优化金额(促销价、满减、阶梯价)', `integration_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '积分抵扣金额', `coupon_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠券抵扣金额', `discount_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '管理员后台调整订单使用的折扣金额', `pay_type` int(1) NULL DEFAULT NULL COMMENT '支付方式:0->未支付;1->支付宝;2->微信', `source_type` int(1) NULL DEFAULT NULL COMMENT '订单来源:0->PC订单;1->app订单', `status` int(1) NULL DEFAULT NULL COMMENT '订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单', `order_type` int(1) NULL DEFAULT NULL COMMENT '订单类型:0->正常订单;1->秒杀订单', `delivery_company` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物流公司(配送方式)', `delivery_sn` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '物流单号', `auto_confirm_day` int(11) NULL DEFAULT NULL COMMENT '自动确认时间(天)', `integration` int(11) NULL DEFAULT NULL COMMENT '可以获得的积分', `growth` int(11) NULL DEFAULT NULL COMMENT '可以活动的成长值', `promotion_info` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '活动信息', `bill_type` int(1) NULL DEFAULT NULL COMMENT '发票类型:0->不开发票;1->电子发票;2->纸质发票', `bill_header` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发票抬头', `bill_content` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '发票内容', `bill_receiver_phone` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收票人电话', `bill_receiver_email` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收票人邮箱', `receiver_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '收货人姓名', `receiver_phone` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '收货人电话', `receiver_post_code` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收货人邮编', `receiver_province` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '省份/直辖市', `receiver_city` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '城市', `receiver_region` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区', `receiver_detail_address` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '详细地址', `note` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '订单备注', `confirm_status` int(1) NULL DEFAULT NULL COMMENT '确认收货状态:0->未确认;1->已确认', `delete_status` int(1) NOT NULL DEFAULT 0 COMMENT '删除状态:0->未删除;1->已删除', `use_integration` int(11) NULL DEFAULT NULL COMMENT '下单时使用的积分', `payment_time` datetime NULL DEFAULT NULL COMMENT '支付时间', `delivery_time` datetime NULL DEFAULT NULL COMMENT '发货时间', `receive_time` datetime NULL DEFAULT NULL COMMENT '确认收货时间', `comment_time` datetime NULL DEFAULT NULL COMMENT '评价时间', `modify_time` datetime NULL DEFAULT NULL COMMENT '修改时间', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 77 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '订单表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of oms_order -- ---------------------------- INSERT INTO `oms_order` VALUES (12, 1, 2, '201809150101000001', '2018-09-15 12:24:27', 'test', 18732.00, 16377.75, 20.00, 2344.25, 0.00, 10.00, 10.00, 0, 1, 4, 0, '', '', 15, 13284, 13284, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '江苏省', '常州市', '天宁区', '东晓街道', '111', 0, 0, NULL, NULL, NULL, NULL, NULL, '2019-11-09 16:50:28'); INSERT INTO `oms_order` VALUES (13, 1, 2, '201809150102000002', '2018-09-15 14:24:29', 'test', 18732.00, 16377.75, 0.00, 2344.25, 0.00, 10.00, 0.00, 1, 1, 1, 0, '', '', 15, 13284, 13284, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, 1000, '2018-10-11 14:04:19', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (14, 1, 2, '201809130101000001', '2018-09-13 16:57:40', 'test', 18732.00, 16377.75, 0.00, 2344.25, 0.00, 10.00, 0.00, 2, 1, 3, 0, '顺丰快递', '201707196398345', 15, 13284, 13284, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 1, 0, NULL, '2018-10-13 13:44:04', '2018-10-16 13:43:41', '2022-11-11 16:19:34', NULL, NULL); INSERT INTO `oms_order` VALUES (15, 1, 2, '201809130102000002', '2018-09-13 17:03:00', 'test', 18732.00, 16377.75, 0.00, 2344.25, 0.00, 10.00, 0.00, 1, 1, 3, 0, '顺丰快递', '201707196398346', 15, 13284, 13284, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 1, 1, NULL, '2018-10-13 13:44:54', '2018-10-16 13:45:01', '2018-10-18 14:05:31', NULL, NULL); INSERT INTO `oms_order` VALUES (16, 1, 2, '201809140101000001', '2018-09-14 16:16:16', 'test', 18732.00, 16377.75, 0.00, 2344.25, 0.00, 10.00, 0.00, 2, 1, 4, 0, NULL, NULL, 15, 13284, 13284, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (17, 1, 2, '201809150101000003', '2018-09-15 12:24:27', 'test', 18732.00, 16377.75, 0.00, 2344.25, 0.00, 10.00, 0.00, 0, 1, 4, 0, '顺丰快递', '201707196398345', 15, NULL, NULL, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 1, NULL, NULL, '2018-10-12 14:01:28', NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (18, 1, 2, '201809150102000004', '2018-09-15 14:24:29', 'test', 18732.00, 16377.75, 0.00, 2344.25, 0.00, 10.00, 0.00, 1, 1, 1, 0, '圆通快递', 'xx', 15, NULL, NULL, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 1, 1000, NULL, '2018-10-16 14:42:17', NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (19, 1, 2, '201809130101000003', '2018-09-13 16:57:40', 'test', 18732.00, 16377.75, 0.00, 2344.25, 0.00, 10.00, 0.00, 2, 1, 2, 0, NULL, NULL, 15, NULL, NULL, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (20, 1, 2, '201809130102000004', '2018-09-13 17:03:00', 'test', 18732.00, 16377.75, 0.00, 2344.25, 0.00, 10.00, 0.00, 1, 1, 3, 0, NULL, NULL, 15, NULL, NULL, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (21, 1, 2, '201809140101000002', '2018-09-14 16:16:16', 'test', 18732.00, 16377.75, 0.00, 2344.25, 0.00, 10.00, 0.00, 2, 1, 4, 0, NULL, NULL, 15, 18682, 18682, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (22, 1, 2, '201809150101000005', '2018-09-15 12:24:27', 'test', 18732.00, 16377.75, 0.00, 2344.25, 0.00, 10.00, 0.00, 0, 1, 4, 0, '顺丰快递', '201707196398345', 15, 0, 0, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 1, NULL, NULL, '2018-10-12 14:01:28', NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (23, 1, 2, '201809150102000006', '2018-09-15 14:24:29', 'test', 18732.00, 16377.75, 0.00, 2344.25, 0.00, 10.00, 0.00, 1, 1, 1, 0, '顺丰快递', 'xxx', 15, 0, 0, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 1, 1000, NULL, '2018-10-16 14:41:28', NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (24, 1, 2, '201809130101000005', '2018-09-13 16:57:40', 'test', 18732.00, 16377.75, 0.00, 2344.25, 0.00, 10.00, 0.00, 2, 1, 2, 0, NULL, NULL, 15, 18682, 18682, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (25, 1, 2, '201809130102000006', '2018-09-13 17:03:00', 'test', 18732.00, 16377.75, 10.00, 2344.25, 0.00, 10.00, 5.00, 1, 1, 4, 0, NULL, NULL, 15, 18682, 18682, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨22', '18033441849', '518000', '北京市', '北京城区', '东城区', '东城街道', 'xxx', 0, 1, NULL, NULL, NULL, NULL, NULL, '2018-10-30 15:08:31'); INSERT INTO `oms_order` VALUES (26, 1, 2, '201809140101000003', '2018-09-14 16:16:16', 'test', 18732.00, 16377.75, 0.00, 2344.25, 0.00, 10.00, 0.00, 2, 1, 4, 0, NULL, NULL, 15, 18682, 18682, '单品促销,打折优惠:满3件,打7.50折,满减优惠:满1000.00元,减120.00元,满减优惠:满1000.00元,减120.00元,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (27, 1, NULL, '202002250100000001', '2020-02-25 15:59:20', 'test', 540.00, 540.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, NULL, 0, 0, '无优惠,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '南山区', '科兴科学园', NULL, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (28, 1, NULL, '202002250100000002', '2020-02-25 16:05:47', 'test', 540.00, 540.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, NULL, 0, 0, '无优惠,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '南山区', '科兴科学园', NULL, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (29, 1, NULL, '202002250100000003', '2020-02-25 16:07:58', 'test', 540.00, 540.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, NULL, 0, 0, '无优惠,无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '南山区', '科兴科学园', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (30, 1, NULL, '202002250100000004', '2020-02-25 16:50:13', 'test', 240.00, 240.00, 20.00, 0.00, 0.00, 0.00, 10.00, 0, 1, 3, 0, '顺丰快递', '12333333', NULL, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '南山区', '科兴科学园', NULL, 1, 0, NULL, '2020-02-25 16:53:29', '2020-02-25 16:54:03', '2020-05-17 19:38:15', NULL, '2020-02-25 16:52:51'); INSERT INTO `oms_order` VALUES (31, 1, 26, '202005160100000001', '2020-05-16 15:16:54', 'test', 13623.00, 11842.40, 0.00, 1629.60, 1.00, 150.00, 0.00, 0, 1, 4, 0, NULL, NULL, 15, 13623, 13623, '满减优惠:满5000.00元,减500.00元;打折优惠:满2件,打8.00折;满减优惠:满500.00元,减50.00元', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (32, 1, NULL, '202005170100000001', '2020-05-17 15:00:38', 'test', 6487.00, 6187.00, 0.00, 300.00, 0.00, 0.00, 0.00, 1, 1, 1, 0, NULL, NULL, 15, 6487, 6487, '满减优惠:满3000.00元,减300.00元;无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2020-05-17 15:33:28', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (33, 1, NULL, '202005170100000002', '2020-05-17 15:14:18', 'test', 3788.00, 3488.00, 0.00, 300.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, 15, 3788, 3788, '满减优惠:满3000.00元,减300.00元', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (34, 1, NULL, '202005170100000003', '2020-05-17 15:20:10', 'test', 3788.00, 3488.00, 0.00, 300.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, 15, 3788, 3788, '满减优惠:满3000.00元,减300.00元', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 1, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (35, 1, NULL, '202005170100000004', '2020-05-17 15:22:03', 'test', 3788.00, 3488.00, 0.00, 300.00, 0.00, 0.00, 0.00, 2, 1, 3, 0, '顺丰快递', '123', 15, 3788, 3788, '满减优惠:满3000.00元,减300.00元', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 1, 0, NULL, '2020-05-17 15:29:07', '2020-05-17 15:30:24', '2020-05-17 15:41:45', NULL, NULL); INSERT INTO `oms_order` VALUES (36, 1, NULL, '202005170100000005', '2020-05-17 16:59:26', 'test', 10275.00, 9775.00, 0.00, 500.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, 15, 10275, 10275, '满减优惠:满5000.00元,减500.00元;无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (37, 1, NULL, '202005170100000006', '2020-05-17 19:33:48', 'test', 6487.00, 6187.00, 0.00, 300.00, 0.00, 0.00, 0.00, 1, 1, 3, 0, '顺丰快递', 'aadd', 15, 6487, 6487, '满减优惠:满3000.00元,减300.00元;无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 1, 0, NULL, '2020-05-17 19:33:59', '2020-05-17 19:34:59', '2020-05-17 19:35:50', NULL, NULL); INSERT INTO `oms_order` VALUES (38, 1, NULL, '202005170100000007', '2020-05-17 19:39:10', 'test', 3788.00, 3488.00, 0.00, 300.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, 15, 3788, 3788, '满减优惠:满3000.00元,减300.00元', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (39, 1, NULL, '202005170100000008', '2020-05-17 19:41:30', 'test', 3788.00, 3488.00, 0.00, 300.00, 0.00, 0.00, 0.00, 1, 1, 3, 0, '顺丰快递', 'sdf', 15, 3788, 3788, '满减优惠:满3000.00元,减300.00元', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 1, 1, NULL, '2020-05-17 19:41:41', '2020-05-17 19:42:07', '2020-05-17 19:42:36', NULL, NULL); INSERT INTO `oms_order` VALUES (40, 1, NULL, '202005180100000001', '2020-05-18 16:50:03', 'test', 3788.00, 3488.00, 0.00, 300.00, 0.00, 0.00, 0.00, 2, 1, 1, 0, NULL, NULL, 15, 3788, 3788, '满减优惠:满3000.00元,减300.00元', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2020-05-18 16:50:29', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (41, 1, 26, '202005180100000002', '2020-05-18 20:22:24', 'test', 6487.00, 6037.00, 0.00, 300.00, 0.00, 150.00, 0.00, 1, 1, 3, 0, '顺丰快递', '12313', 15, 6487, 6487, '满减优惠:满3000.00元,减300.00元;无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '清水河街道', NULL, 1, 0, NULL, '2020-05-18 20:22:29', '2020-05-18 20:23:03', '2020-05-18 20:23:20', NULL, NULL); INSERT INTO `oms_order` VALUES (42, 1, NULL, '202005230100000001', '2020-05-23 16:21:27', 'test', 5398.00, 4318.40, 0.00, 1079.60, 0.00, 0.00, 0.00, 2, 1, 1, 0, NULL, NULL, 15, 5398, 5398, '打折优惠:满2件,打8.00折', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '清水河街道', NULL, 0, 0, NULL, '2020-05-23 16:21:30', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (43, 1, NULL, '202005230100000002', '2020-05-23 17:01:33', 'test', 5398.00, 4318.40, 0.00, 1079.60, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, 15, 5398, 5398, '打折优惠:满2件,打8.00折', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (44, 1, NULL, '202005240100000001', '2020-05-24 09:37:07', 'test', 7576.00, 7076.00, 0.00, 500.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, 15, 7576, 7576, '满减优惠:满5000.00元,减500.00元', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (45, 1, 25, '202006070100000001', '2020-06-07 17:02:04', 'test', 10275.00, 9674.90, 0.00, 500.00, 0.00, 100.10, 0.00, 1, 1, 1, 0, NULL, NULL, 15, 10275, 10275, '满减优惠:满5000.00元,减500.00元;无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '清水河街道', NULL, 0, 0, NULL, '2020-06-07 17:02:17', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (46, 1, 24, '202006210100000001', '2020-06-21 14:27:34', 'test', 9186.00, 7796.40, 0.00, 1379.60, 0.00, 10.00, 0.00, 2, 1, 1, 0, NULL, NULL, 15, 9186, 9186, '满减优惠:满3000.00元,减300.00元;打折优惠:满2件,打8.00折', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2020-06-21 14:27:38', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (47, 1, NULL, '202006210100000002', '2020-06-21 15:13:06', 'test', 6487.00, 6187.00, 0.00, 300.00, 0.00, 0.00, 0.00, 1, 1, 3, 0, '顺丰快递', '123131', 15, 6487, 6487, '满减优惠:满3000.00元,减300.00元;无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '清水河街道', NULL, 1, 0, NULL, '2020-06-21 15:13:12', '2020-06-21 15:13:44', '2020-06-21 15:13:58', NULL, NULL); INSERT INTO `oms_order` VALUES (48, 1, 26, '202006210100000003', '2020-06-21 15:15:18', 'test', 3788.00, 3338.00, 0.00, 300.00, 0.00, 150.00, 0.00, 2, 1, 3, 0, '圆通快递', '12313', 15, 3788, 3788, '满减优惠:满3000.00元,减300.00元', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 1, 0, NULL, '2020-06-21 15:15:20', '2020-06-21 15:15:48', '2020-06-21 15:15:58', NULL, NULL); INSERT INTO `oms_order` VALUES (49, 1, NULL, '202006270100000001', '2020-06-27 10:27:56', 'test', 2699.00, 2699.00, 0.00, 0.00, 0.00, 0.00, 0.00, 2, 1, 1, 0, NULL, NULL, 15, 2699, 2699, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '清水河街道', NULL, 0, 0, NULL, '2020-06-27 10:27:58', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (50, 1, NULL, '202210280100000001', '2022-10-28 14:50:58', 'test', 2699.00, 2699.00, 0.00, 0.00, 0.00, 0.00, 0.00, 2, 1, 1, 0, NULL, NULL, 15, 2699, 2699, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '清水河街道', NULL, 0, 0, NULL, '2022-10-28 14:51:02', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (51, 1, NULL, '202210280100000002', '2022-10-28 15:27:41', 'test', 5999.00, 5999.00, 0.00, 0.00, 0.00, 0.00, 0.00, 2, 1, 1, 0, NULL, NULL, 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2022-10-28 15:27:44', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (52, 1, 30, '202211090100000001', '2022-11-09 15:14:58', 'test', 2999.00, 2799.00, 0.00, 0.00, 0.00, 200.00, 0.00, 2, 1, 3, 0, '顺丰快递', '1233', 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 1, 0, NULL, '2022-11-09 15:15:00', '2022-11-09 15:16:12', '2022-11-09 15:16:31', NULL, NULL); INSERT INTO `oms_order` VALUES (53, 1, 27, '202211090100000002', '2022-11-09 15:25:38', 'test', 3599.00, 3589.00, 0.00, 0.00, 0.00, 10.00, 0.00, 2, 1, 1, 0, NULL, NULL, 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2022-11-09 15:25:41', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (54, 1, 29, '202211090100000003', '2022-11-09 15:26:11', 'test', 5999.00, 5399.00, 0.00, 0.00, 0.00, 600.00, 0.00, 2, 1, 1, 0, NULL, NULL, 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2022-11-09 15:26:13', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (55, 1, NULL, '202211100100000001', '2022-11-10 16:57:59', 'test', 11998.00, 11998.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (56, 1, 28, '202211110100000001', '2022-11-11 16:12:42', 'test', 2999.00, 2899.00, 0.00, 0.00, 0.00, 100.00, 0.00, 2, 1, 1, 0, NULL, NULL, 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2022-11-11 16:12:48', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (57, 1, NULL, '202211110100000002', '2022-11-11 16:13:14', 'test', 2999.00, 2999.00, 0.00, 0.00, 0.00, 0.00, 0.00, 2, 1, 1, 0, NULL, NULL, 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2022-11-11 16:13:21', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (58, 1, NULL, '202211110100000003', '2022-11-11 16:15:08', 'test', 5999.00, 5999.00, 0.00, 0.00, 0.00, 0.00, 0.00, 2, 1, 1, 0, NULL, NULL, 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2022-11-11 16:17:46', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (59, 1, NULL, '202211110100000004', '2022-11-11 16:21:12', 'test', 649.00, 599.00, 0.00, 50.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, 15, 649, 649, '满减优惠:满500.00元,减50.00元', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (60, 1, NULL, '202211160100000001', '2022-11-16 10:36:08', 'test', 11097.00, 11097.00, 0.00, 0.00, 0.00, 0.00, 0.00, 2, 1, 3, 0, '顺丰快递', '1234555', 15, 0, 0, '无优惠;无优惠;无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 1, 0, NULL, '2022-11-16 10:37:25', '2022-11-16 10:42:50', '2022-11-16 10:44:40', NULL, NULL); INSERT INTO `oms_order` VALUES (61, 1, NULL, '202212210100000001', '2022-12-21 15:49:08', 'test', 2999.00, 2999.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (62, 1, NULL, '202212210100000002', '2022-12-21 15:49:57', 'test', 8098.00, 8098.00, 0.00, 0.00, 0.00, 0.00, 0.00, 2, 1, 3, 0, '顺丰快递', 'SDFERR7845', 15, 0, 0, '无优惠;无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 1, 0, NULL, '2022-12-21 15:50:00', '2022-12-21 15:50:23', '2022-12-21 15:50:33', NULL, NULL); INSERT INTO `oms_order` VALUES (63, 1, NULL, '202212210100000003', '2022-12-21 15:51:09', 'test', 2999.00, 2999.00, 0.00, 0.00, 0.00, 0.00, 0.00, 2, 1, 2, 0, '顺丰快递', '112', 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2022-12-21 15:51:11', '2023-01-10 10:14:12', NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (64, 1, NULL, '202212210100000004', '2022-12-21 15:51:35', 'test', 2099.00, 2099.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (65, 1, 28, '202212210100000005', '2022-12-21 16:53:07', 'test', 5098.00, 4788.00, 0.00, 200.00, 10.00, 100.00, 0.00, 2, 1, 2, 0, '圆通快递', '115', 15, 0, 0, '满减优惠:满2000.00元,减200.00元;无优惠', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2022-12-21 16:53:58', '2023-01-10 10:14:12', NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (66, 1, NULL, '202301100100000001', '2023-01-10 15:34:59', 'test', 5998.00, 5798.00, 0.00, 200.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, 15, 0, 0, '满减优惠:满2000.00元,减200.00元', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (67, 1, NULL, '202301100100000002', '2023-01-10 15:39:07', 'test', 3788.00, 3488.00, 0.00, 300.00, 0.00, 0.00, 0.00, 2, 1, 1, 0, NULL, NULL, 15, 3788, 3788, '满减优惠:满3000.00元,减300.00元', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2023-01-10 15:39:16', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (68, 1, NULL, '202301100100000003', '2023-01-10 16:58:19', 'test', 3999.00, 3899.00, 0.00, 100.00, 0.00, 0.00, 0.00, 2, 1, 1, 0, NULL, NULL, 15, 3788, 3788, '单品促销', NULL, NULL, NULL, NULL, NULL, '大梨', '18033441849', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2023-01-10 16:58:21', NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (69, 11, 30, '202305110100000001', '2023-05-11 15:28:56', 'member', 5098.00, 4698.00, 0.00, 200.00, 0.00, 200.00, 0.00, 2, 1, 3, 0, '顺丰快递', '1231313', 15, 0, 0, '满减优惠:满2000.00元,减200.00元;无优惠', NULL, NULL, NULL, NULL, NULL, '小李', '18961511111', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 1, 0, NULL, '2023-05-11 15:28:59', '2023-05-11 15:30:08', '2023-05-11 15:30:16', NULL, NULL); INSERT INTO `oms_order` VALUES (70, 11, NULL, '202305110100000002', '2023-05-11 15:30:36', 'member', 3599.00, 3599.00, 0.00, 0.00, 0.00, 0.00, 0.00, 2, 1, 3, 0, '顺丰快递', '232342', 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '小李', '18961511111', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 1, 0, NULL, '2023-05-11 15:30:40', '2023-05-11 15:31:22', '2023-05-11 15:31:30', NULL, NULL); INSERT INTO `oms_order` VALUES (71, 11, NULL, '202305110100000003', '2023-05-11 15:31:55', 'member', 5999.00, 5999.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 1, 4, 0, NULL, NULL, 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '小李', '18961511111', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (72, 11, NULL, '202305110100000004', '2023-05-11 15:33:13', 'member', 5368.00, 5368.00, 0.00, 0.00, 0.00, 0.00, 0.00, 2, 1, 2, 0, '圆通快递', '1231434', 15, 0, 0, '无优惠;无优惠', NULL, NULL, NULL, NULL, NULL, '小李', '18961511111', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2023-05-11 15:33:21', '2023-05-11 15:33:43', NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (73, 11, NULL, '202305110100000005', '2023-05-11 15:34:39', 'member', 5999.00, 5999.00, 0.00, 0.00, 0.00, 0.00, 0.00, 0, 1, 0, 0, NULL, NULL, 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '小李', '18961511111', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (74, 11, NULL, '202305110100000006', '2023-05-11 15:35:05', 'member', 2999.00, 2799.00, 0.00, 200.00, 0.00, 0.00, 0.00, 2, 1, 2, 0, '顺丰快递', '123131', 15, 0, 0, '满减优惠:满2000.00元,减200.00元', NULL, NULL, NULL, NULL, NULL, '小李', '18961511111', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 0, 0, NULL, '2023-05-11 15:35:08', '2023-05-11 15:36:00', NULL, NULL, NULL); INSERT INTO `oms_order` VALUES (75, 11, NULL, '202305110100000007', '2023-05-11 15:35:24', 'member', 2099.00, 2099.00, 0.00, 0.00, 0.00, 0.00, 0.00, 2, 1, 3, 0, '顺丰快递', '123131311', 15, 0, 0, '无优惠', NULL, NULL, NULL, NULL, NULL, '小李', '18961511111', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 1, 0, NULL, '2023-05-11 15:35:26', '2023-05-11 15:36:11', '2023-05-11 15:36:34', NULL, NULL); INSERT INTO `oms_order` VALUES (76, 11, 28, '202305110100000008', '2023-05-11 15:37:16', 'member', 8998.00, 8698.00, 0.00, 200.00, 0.00, 100.00, 0.00, 2, 1, 3, 0, '顺丰快递', '1231313', 15, 0, 0, '无优惠;满减优惠:满2000.00元,减200.00元', NULL, NULL, NULL, NULL, NULL, '小李', '18961511111', '518000', '广东省', '深圳市', '福田区', '东晓街道', NULL, 1, 0, NULL, '2023-05-11 15:37:18', '2023-05-11 15:37:33', '2023-05-11 15:37:48', NULL, NULL); -- ---------------------------- -- Table structure for oms_order_item -- ---------------------------- DROP TABLE IF EXISTS `oms_order_item`; CREATE TABLE `oms_order_item` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `order_id` bigint(20) NULL DEFAULT NULL COMMENT '订单id', `order_sn` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '订单编号', `product_id` bigint(20) NULL DEFAULT NULL, `product_pic` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `product_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `product_brand` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `product_sn` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `product_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '销售价格', `product_quantity` int(11) NULL DEFAULT NULL COMMENT '购买数量', `product_sku_id` bigint(20) NULL DEFAULT NULL COMMENT '商品sku编号', `product_sku_code` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品sku条码', `product_category_id` bigint(20) NULL DEFAULT NULL COMMENT '商品分类id', `promotion_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品促销名称', `promotion_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品促销分解金额', `coupon_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '优惠券优惠分解金额', `integration_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '积分优惠分解金额', `real_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '该商品经过优惠后的分解金额', `gift_integration` int(11) NULL DEFAULT 0, `gift_growth` int(11) NULL DEFAULT 0, `product_attr` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品销售属性:[{\"key\":\"颜色\",\"value\":\"颜色\"},{\"key\":\"容量\",\"value\":\"4G\"}]', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 115 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '订单中所包含的商品' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of oms_order_item -- ---------------------------- INSERT INTO `oms_order_item` VALUES (21, 12, '201809150101000001', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20', '华为', '6946605', 3788.00, 1, 90, '201806070026001', 19, '单品促销', 200.00, 2.02, 0.00, 3585.98, 3788, 3788, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (22, 12, '201809150101000001', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8', '小米', '7437788', 2699.00, 3, 98, '201808270027001', 19, '打折优惠:满3件,打7.50折', 674.75, 1.44, 0.00, 2022.81, 2699, 2699, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (23, 12, '201809150101000001', 28, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '7437789', 649.00, 1, 102, '201808270028001', 19, '满减优惠:满1000.00元,减120.00元', 57.60, 0.35, 0.00, 591.05, 649, 649, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (24, 12, '201809150101000001', 28, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '7437789', 699.00, 1, 103, '201808270028001', 19, '满减优惠:满1000.00元,减120.00元', 62.40, 0.37, 0.00, 636.23, 649, 649, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (25, 12, '201809150101000001', 29, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5acc5248N6a5f81cd.jpg', 'Apple iPhone 8 Plus', '苹果', '7437799', 5499.00, 1, 106, '201808270029001', 19, '无优惠', 0.00, 2.94, 0.00, 5496.06, 5499, 5499, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (26, 13, '201809150102000002', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20', '华为', '6946605', 3788.00, 1, 90, '201806070026001', 19, '单品促销', 200.00, 2.02, 0.00, 3585.98, 3788, 3788, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (27, 13, '201809150102000002', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8', '小米', '7437788', 2699.00, 3, 98, '201808270027001', 19, '打折优惠:满3件,打7.50折', 674.75, 1.44, 0.00, 2022.81, 2699, 2699, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (28, 13, '201809150102000002', 28, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '7437789', 649.00, 1, 102, '201808270028001', 19, '满减优惠:满1000.00元,减120.00元', 57.60, 0.35, 0.00, 591.05, 649, 649, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (29, 13, '201809150102000002', 28, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '7437789', 699.00, 1, 103, '201808270028001', 19, '满减优惠:满1000.00元,减120.00元', 62.40, 0.37, 0.00, 636.23, 649, 649, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (30, 13, '201809150102000002', 29, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5acc5248N6a5f81cd.jpg', 'Apple iPhone 8 Plus', '苹果', '7437799', 5499.00, 1, 106, '201808270029001', 19, '无优惠', 0.00, 2.94, 0.00, 5496.06, 5499, 5499, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (31, 14, '201809130101000001', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20', '华为', '6946605', 3788.00, 1, 90, '201806070026001', 19, '单品促销', 200.00, 2.02, 0.00, 3585.98, 3788, 3788, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (32, 14, '201809130101000001', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8', '小米', '7437788', 2699.00, 3, 98, '201808270027001', 19, '打折优惠:满3件,打7.50折', 674.75, 1.44, 0.00, 2022.81, 2699, 2699, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (33, 14, '201809130101000001', 28, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '7437789', 649.00, 1, 102, '201808270028001', 19, '满减优惠:满1000.00元,减120.00元', 57.60, 0.35, 0.00, 591.05, 649, 649, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (34, 14, '201809130101000001', 28, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '7437789', 699.00, 1, 103, '201808270028001', 19, '满减优惠:满1000.00元,减120.00元', 62.40, 0.37, 0.00, 636.23, 649, 649, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (35, 14, '201809130101000001', 29, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5acc5248N6a5f81cd.jpg', 'Apple iPhone 8 Plus', '苹果', '7437799', 5499.00, 1, 106, '201808270029001', 19, '无优惠', 0.00, 2.94, 0.00, 5496.06, 5499, 5499, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (36, 15, '201809130101000001', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20', '华为', '6946605', 3788.00, 1, 90, '201806070026001', 19, '单品促销', 200.00, 2.02, 0.00, 3585.98, 3788, 3788, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (37, 15, '201809130101000001', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8', '小米', '7437788', 2699.00, 3, 98, '201808270027001', 19, '打折优惠:满3件,打7.50折', 674.75, 1.44, 0.00, 2022.81, 2699, 2699, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (38, 15, '201809130101000001', 28, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '7437789', 649.00, 1, 102, '201808270028001', 19, '满减优惠:满1000.00元,减120.00元', 57.60, 0.35, 0.00, 591.05, 649, 649, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (39, 15, '201809130101000001', 28, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '7437789', 699.00, 1, 103, '201808270028001', 19, '满减优惠:满1000.00元,减120.00元', 62.40, 0.37, 0.00, 636.23, 649, 649, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (40, 15, '201809130101000001', 29, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5acc5248N6a5f81cd.jpg', 'Apple iPhone 8 Plus', '苹果', '7437799', 5499.00, 1, 106, '201808270029001', 19, '无优惠', 0.00, 2.94, 0.00, 5496.06, 5499, 5499, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (41, 16, '201809140101000001', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20', '华为', '6946605', 3788.00, 1, 90, '201806070026001', 19, '单品促销', 200.00, 2.02, 0.00, 3585.98, 3788, 3788, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (42, 16, '201809140101000001', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8', '小米', '7437788', 2699.00, 3, 98, '201808270027001', 19, '打折优惠:满3件,打7.50折', 674.75, 1.44, 0.00, 2022.81, 2699, 2699, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (43, 16, '201809140101000001', 28, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '7437789', 649.00, 1, 102, '201808270028001', 19, '满减优惠:满1000.00元,减120.00元', 57.60, 0.35, 0.00, 591.05, 649, 649, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (44, 16, '201809140101000001', 28, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '7437789', 699.00, 1, 103, '201808270028001', 19, '满减优惠:满1000.00元,减120.00元', 62.40, 0.37, 0.00, 636.23, 649, 649, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (45, 16, '201809140101000001', 29, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5acc5248N6a5f81cd.jpg', 'Apple iPhone 8 Plus', '苹果', '7437799', 5499.00, 1, 106, '201808270029001', 19, '无优惠', 0.00, 2.94, 0.00, 5496.06, 5499, 5499, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (46, 27, '202002250100000001', 36, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b19403eN9f0b3cb8.jpg', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', 'NIKE', '6799345', 100.00, 3, 163, '202002210036001', 29, '无优惠', 0.00, 0.00, 0.00, 100.00, 0, 0, NULL); INSERT INTO `oms_order_item` VALUES (47, 27, '202002250100000001', 36, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b19403eN9f0b3cb8.jpg', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', 'NIKE', '6799345', 120.00, 2, 164, '202002210036001', 29, '无优惠', 0.00, 0.00, 0.00, 120.00, 0, 0, NULL); INSERT INTO `oms_order_item` VALUES (48, 28, '202002250100000002', 36, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b19403eN9f0b3cb8.jpg', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', 'NIKE', '6799345', 100.00, 3, 163, '202002210036001', 29, '无优惠', 0.00, 0.00, 0.00, 100.00, 0, 0, NULL); INSERT INTO `oms_order_item` VALUES (49, 28, '202002250100000002', 36, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b19403eN9f0b3cb8.jpg', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', 'NIKE', '6799345', 120.00, 2, 164, '202002210036001', 29, '无优惠', 0.00, 0.00, 0.00, 120.00, 0, 0, NULL); INSERT INTO `oms_order_item` VALUES (50, 29, '202002250100000003', 36, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b19403eN9f0b3cb8.jpg', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', 'NIKE', '6799345', 100.00, 3, 163, '202002210036001', 29, '无优惠', 0.00, 0.00, 0.00, 100.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"秋季\"}]'); INSERT INTO `oms_order_item` VALUES (51, 29, '202002250100000003', 36, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b19403eN9f0b3cb8.jpg', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', 'NIKE', '6799345', 120.00, 2, 164, '202002210036001', 29, '无优惠', 0.00, 0.00, 0.00, 120.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"夏季\"}]'); INSERT INTO `oms_order_item` VALUES (52, 30, '202002250100000004', 36, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b19403eN9f0b3cb8.jpg', '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', 'NIKE', '6799345', 120.00, 2, 164, '202002210036001', 29, '无优惠', 0.00, 0.00, 0.00, 120.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"夏季\"}]'); INSERT INTO `oms_order_item` VALUES (53, 31, '202005160100000001', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 2, 110, '201806070026001', 19, '满减优惠:满5000.00元,减500.00元', 250.00, 75.00, 0.28, 3462.72, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (54, 31, '202005160100000001', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '小米', '7437788', 2699.00, 2, 98, '201808270027001', 19, '打折优惠:满2件,打8.00折', 539.80, 0.00, 0.20, 2159.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (55, 31, '202005160100000001', 28, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '小米 红米5A 全网通版 3GB+32GB 香槟金 移动联通电信4G手机 双卡双待', '小米', '7437789', 649.00, 1, 102, '201808270028001', 19, '满减优惠:满500.00元,减50.00元', 50.00, 0.00, 0.05, 598.95, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (56, 32, '202005170100000001', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 1, 110, '201806070026001', 19, '满减优惠:满3000.00元,减300.00元', 300.00, 0.00, 0.00, 3488.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (57, 32, '202005170100000001', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '小米', '7437788', 2699.00, 1, 98, '201808270027001', 19, '无优惠', 0.00, 0.00, 0.00, 2699.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (58, 33, '202005170100000002', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 1, 110, '201806070026001', 19, '满减优惠:满3000.00元,减300.00元', 300.00, 0.00, 0.00, 3488.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (59, 34, '202005170100000003', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 1, 110, '201806070026001', 19, '满减优惠:满3000.00元,减300.00元', 300.00, 0.00, 0.00, 3488.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (60, 35, '202005170100000004', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 1, 110, '201806070026001', 19, '满减优惠:满3000.00元,减300.00元', 300.00, 0.00, 0.00, 3488.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (61, 36, '202005170100000005', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 2, 110, '201806070026001', 19, '满减优惠:满5000.00元,减500.00元', 250.00, 0.00, 0.00, 3538.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (62, 36, '202005170100000005', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '小米', '7437788', 2699.00, 1, 98, '201808270027001', 19, '无优惠', 0.00, 0.00, 0.00, 2699.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (63, 37, '202005170100000006', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 1, 110, '201806070026001', 19, '满减优惠:满3000.00元,减300.00元', 300.00, 0.00, 0.00, 3488.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (64, 37, '202005170100000006', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '小米', '7437788', 2699.00, 1, 98, '201808270027001', 19, '无优惠', 0.00, 0.00, 0.00, 2699.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (65, 38, '202005170100000007', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 1, 110, '201806070026001', 19, '满减优惠:满3000.00元,减300.00元', 300.00, 0.00, 0.00, 3488.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (66, 39, '202005170100000008', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 1, 110, '201806070026001', 19, '满减优惠:满3000.00元,减300.00元', 300.00, 0.00, 0.00, 3488.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (67, 40, '202005180100000001', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 1, 110, '201806070026001', 19, '满减优惠:满3000.00元,减300.00元', 300.00, 0.00, 0.00, 3488.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (68, 41, '202005180100000002', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 1, 110, '201806070026001', 19, '满减优惠:满3000.00元,减300.00元', 300.00, 150.00, 0.00, 3338.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (69, 41, '202005180100000002', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '小米', '7437788', 2699.00, 1, 98, '201808270027001', 19, '无优惠', 0.00, 0.00, 0.00, 2699.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (70, 42, '202005230100000001', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '小米', '7437788', 2699.00, 2, 98, '201808270027001', 19, '打折优惠:满2件,打8.00折', 539.80, 0.00, 0.00, 2159.20, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (71, 43, '202005230100000002', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '小米', '7437788', 2699.00, 2, 98, '201808270027001', 19, '打折优惠:满2件,打8.00折', 539.80, 0.00, 0.00, 2159.20, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (72, 44, '202005240100000001', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 2, 110, '201806070026001', 19, '满减优惠:满5000.00元,减500.00元', 250.00, 0.00, 0.00, 3538.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (73, 45, '202006070100000001', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 2, 110, '201806070026001', 19, '满减优惠:满5000.00元,减500.00元', 250.00, 36.90, 0.00, 3501.10, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (74, 45, '202006070100000001', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '小米', '7437788', 2699.00, 1, 98, '201808270027001', 19, '无优惠', 0.00, 26.30, 0.00, 2672.70, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (75, 46, '202006210100000001', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 1, 110, '201806070026001', 19, '满减优惠:满3000.00元,减300.00元', 300.00, 4.12, 0.00, 3483.88, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (76, 46, '202006210100000001', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '小米', '7437788', 2699.00, 2, 98, '201808270027001', 19, '打折优惠:满2件,打8.00折', 539.80, 2.94, 0.00, 2156.26, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (77, 47, '202006210100000002', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 1, 110, '201806070026001', 19, '满减优惠:满3000.00元,减300.00元', 300.00, 0.00, 0.00, 3488.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (78, 47, '202006210100000002', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '小米', '7437788', 2699.00, 1, 98, '201808270027001', 19, '无优惠', 0.00, 0.00, 0.00, 2699.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (79, 48, '202006210100000003', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 1, 110, '201806070026001', 19, '满减优惠:满3000.00元,减300.00元', 300.00, 150.00, 0.00, 3338.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (80, 49, '202006270100000001', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '小米', '7437788', 2699.00, 1, 98, '201808270027001', 19, '无优惠', 0.00, 0.00, 0.00, 2699.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (81, 50, '202210280100000001', 27, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', '小米', '7437788', 2699.00, 1, 98, '201808270027001', 19, '无优惠', 0.00, 0.00, 0.00, 2699.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (82, 51, '202210280100000002', 37, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 紫色 支持移动联通电信5G 双卡双待手机', '苹果', '100038005189', 5999.00, 1, 201, '202210280037001', 19, '无优惠', 0.00, 0.00, 0.00, 5999.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (83, 52, '202211090100000001', 40, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充 12GB+256GB 黑色 5G手机', '小米', '100027789721', 2999.00, 1, 221, '202211040040001', 19, '无优惠', 0.00, 200.00, 0.00, 2799.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (84, 53, '202211090100000002', 38, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/ipad_001.jpg', 'Apple iPad 10.9英寸平板电脑 2022年款(64GB WLAN版/A14芯片/1200万像素/iPadOS MPQ03CH/A )', '苹果', '100044025833', 3599.00, 1, 213, '202210280038001', 53, '无优惠', 0.00, 10.00, 0.00, 3589.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"64G\"}]'); INSERT INTO `oms_order_item` VALUES (85, 54, '202211090100000003', 37, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', '苹果', '100038005189', 5999.00, 1, 201, '202210280037001', 19, '无优惠', 0.00, 600.00, 0.00, 5399.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (86, 55, '202211100100000001', 37, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', '苹果', '100038005189', 5999.00, 2, 201, '202210280037001', 19, '无优惠', 0.00, 0.00, 0.00, 5999.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (87, 56, '202211110100000001', 40, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充 12GB+256GB 黑色 5G手机', '小米', '100027789721', 2999.00, 1, 221, '202211040040001', 19, '无优惠', 0.00, 100.00, 0.00, 2899.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (88, 57, '202211110100000002', 40, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充 12GB+256GB 黑色 5G手机', '小米', '100027789721', 2999.00, 1, 221, '202211040040001', 19, '无优惠', 0.00, 0.00, 0.00, 2999.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (89, 58, '202211110100000003', 37, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', '苹果', '100038005189', 5999.00, 1, 201, '202210280037001', 19, '无优惠', 0.00, 0.00, 0.00, 5999.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (90, 59, '202211110100000004', 28, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '小米 红米5A 全网通版 3GB+32GB 香槟金 移动联通电信4G手机 双卡双待', '小米', '7437789', 649.00, 1, 102, '201808270028001', 19, '满减优惠:满500.00元,减50.00元', 50.00, 0.00, 0.00, 599.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (91, 60, '202211160100000001', 37, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', '苹果', '100038005189', 5999.00, 1, 201, '202210280037001', 19, '无优惠', 0.00, 0.00, 0.00, 5999.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (92, 60, '202211160100000001', 40, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '小米', '100027789721', 2999.00, 1, 221, '202211040040001', 19, '无优惠', 0.00, 0.00, 0.00, 2999.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (93, 60, '202211160100000001', 41, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', '小米', '100035246702', 2099.00, 1, 225, '202211040041001', 19, '无优惠', 0.00, 0.00, 0.00, 2099.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (94, 61, '202212210100000001', 40, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '小米', '100027789721', 2999.00, 1, 221, '202211040040001', 19, '无优惠', 0.00, 0.00, 0.00, 2999.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (95, 62, '202212210100000002', 37, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', '苹果', '100038005189', 5999.00, 1, 201, '202210280037001', 19, '无优惠', 0.00, 0.00, 0.00, 5999.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (96, 62, '202212210100000002', 41, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', '小米', '100035246702', 2099.00, 1, 225, '202211040041001', 19, '无优惠', 0.00, 0.00, 0.00, 2099.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (97, 63, '202212210100000003', 40, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '小米', '100027789721', 2999.00, 1, 221, '202211040040001', 19, '无优惠', 0.00, 0.00, 0.00, 2999.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (98, 64, '202212210100000004', 41, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', '小米', '100035246702', 2099.00, 1, 225, '202211040041001', 19, '无优惠', 0.00, 0.00, 0.00, 2099.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (99, 65, '202212210100000005', 40, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '小米', '100027789721', 2999.00, 1, 221, '202211040040001', 19, '满减优惠:满2000.00元,减200.00元', 200.00, 58.80, 5.88, 2734.32, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (100, 65, '202212210100000005', 41, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', '小米', '100035246702', 2099.00, 1, 225, '202211040041001', 19, '无优惠', 0.00, 41.20, 4.12, 2053.68, 0, 0, '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (101, 66, '202301100100000001', 40, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '小米', '100027789721', 2999.00, 2, 221, '202211040040001', 19, '满减优惠:满2000.00元,减200.00元', 100.00, 0.00, 0.00, 2899.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (102, 67, '202301100100000002', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3788.00, 1, 110, '201806070026001', 19, '满减优惠:满3000.00元,减300.00元', 300.00, 0.00, 0.00, 3488.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `oms_order_item` VALUES (103, 68, '202301100100000003', 26, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20 ', '华为', '6946605', 3999.00, 1, 111, '201806070026002', 19, '单品促销', 100.00, 0.00, 0.00, 3899.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `oms_order_item` VALUES (104, 69, '202305110100000001', 40, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '小米', '100027789721', 2999.00, 1, 221, '202211040040001', 19, '满减优惠:满2000.00元,减200.00元', 200.00, 117.60, 0.00, 2681.40, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (105, 69, '202305110100000001', 41, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', '小米', '100035246702', 2099.00, 1, 225, '202211040041001', 19, '无优惠', 0.00, 82.40, 0.00, 2016.60, 0, 0, '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (106, 70, '202305110100000002', 38, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/ipad_001.jpg', 'Apple iPad 10.9英寸平板电脑 2022年款', '苹果', '100044025833', 3599.00, 1, 213, '202210280038001', 53, '无优惠', 0.00, 0.00, 0.00, 3599.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"64G\"}]'); INSERT INTO `oms_order_item` VALUES (107, 71, '202305110100000003', 39, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/xiaomi_computer_001.jpg', '小米 Xiaomi Book Pro 14 2022 锐龙版 2.8K超清大师屏 高端轻薄笔记本电脑', '小米', '100023207945', 5999.00, 1, 217, '202210280039001', 54, '无优惠', 0.00, 0.00, 0.00, 5999.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"新小米Pro 14英寸 2.8K屏\"},{\"key\":\"版本\",\"value\":\"R7 16G 512\"}]'); INSERT INTO `oms_order_item` VALUES (108, 72, '202305110100000004', 42, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/huawei_mate50_01.jpg', 'HUAWEI Mate 50 直屏旗舰 超光变XMAGE影像 北斗卫星消息', '华为', '100035295081', 4999.00, 1, 229, '202211040042001', 19, '无优惠', 0.00, 0.00, 0.00, 4999.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"曜金黑\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (109, 72, '202305110100000004', 44, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/sanxing_ssd_02.jpg', '三星(SAMSUNG)500GB SSD固态硬盘 M.2接口(NVMe协议)', '三星', '100018768480', 369.00, 1, 235, '202211080044001', 55, '无优惠', 0.00, 0.00, 0.00, 369.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"新品980|NVMe PCIe3.0*4\"},{\"key\":\"版本\",\"value\":\"512GB\"}]'); INSERT INTO `oms_order_item` VALUES (110, 73, '202305110100000005', 37, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', '苹果', '100038005189', 5999.00, 1, 201, '202210280037001', 19, '无优惠', 0.00, 0.00, 0.00, 5999.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (111, 74, '202305110100000006', 40, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '小米', '100027789721', 2999.00, 1, 221, '202211040040001', 19, '满减优惠:满2000.00元,减200.00元', 200.00, 0.00, 0.00, 2799.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (112, 75, '202305110100000007', 41, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', '小米', '100035246702', 2099.00, 1, 225, '202211040041001', 19, '无优惠', 0.00, 0.00, 0.00, 2099.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `oms_order_item` VALUES (113, 76, '202305110100000008', 39, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/xiaomi_computer_001.jpg', '小米 Xiaomi Book Pro 14 2022 锐龙版 2.8K超清大师屏 高端轻薄笔记本电脑', '小米', '100023207945', 5999.00, 1, 217, '202210280039001', 54, '无优惠', 0.00, 0.00, 0.00, 5999.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"新小米Pro 14英寸 2.8K屏\"},{\"key\":\"版本\",\"value\":\"R7 16G 512\"}]'); INSERT INTO `oms_order_item` VALUES (114, 76, '202305110100000008', 40, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', '小米', '100027789721', 2999.00, 1, 221, '202211040040001', 19, '满减优惠:满2000.00元,减200.00元', 200.00, 100.00, 0.00, 2699.00, 0, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); -- ---------------------------- -- Table structure for oms_order_operate_history -- ---------------------------- DROP TABLE IF EXISTS `oms_order_operate_history`; CREATE TABLE `oms_order_operate_history` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `order_id` bigint(20) NULL DEFAULT NULL COMMENT '订单id', `operate_man` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作人:用户;系统;后台管理员', `create_time` datetime NULL DEFAULT NULL COMMENT '操作时间', `order_status` int(1) NULL DEFAULT NULL COMMENT '订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单', `note` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 44 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '订单操作历史记录' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of oms_order_operate_history -- ---------------------------- INSERT INTO `oms_order_operate_history` VALUES (5, 12, '后台管理员', '2018-10-12 14:01:29', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (6, 13, '后台管理员', '2018-10-12 14:01:29', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (7, 12, '后台管理员', '2018-10-12 14:13:10', 4, '订单关闭:买家退货'); INSERT INTO `oms_order_operate_history` VALUES (8, 13, '后台管理员', '2018-10-12 14:13:10', 4, '订单关闭:买家退货'); INSERT INTO `oms_order_operate_history` VALUES (9, 22, '后台管理员', '2018-10-15 16:31:48', 4, '订单关闭:xxx'); INSERT INTO `oms_order_operate_history` VALUES (10, 22, '后台管理员', '2018-10-15 16:35:08', 4, '订单关闭:xxx'); INSERT INTO `oms_order_operate_history` VALUES (11, 22, '后台管理员', '2018-10-15 16:35:59', 4, '订单关闭:xxx'); INSERT INTO `oms_order_operate_history` VALUES (12, 17, '后台管理员', '2018-10-15 16:43:40', 4, '订单关闭:xxx'); INSERT INTO `oms_order_operate_history` VALUES (13, 25, '后台管理员', '2018-10-15 16:52:14', 4, '订单关闭:xxx'); INSERT INTO `oms_order_operate_history` VALUES (14, 26, '后台管理员', '2018-10-15 16:52:14', 4, '订单关闭:xxx'); INSERT INTO `oms_order_operate_history` VALUES (15, 23, '后台管理员', '2018-10-16 14:41:28', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (16, 13, '后台管理员', '2018-10-16 14:42:17', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (17, 18, '后台管理员', '2018-10-16 14:42:17', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (18, 26, '后台管理员', '2018-10-30 14:37:44', 4, '订单关闭:关闭订单'); INSERT INTO `oms_order_operate_history` VALUES (19, 25, '后台管理员', '2018-10-30 15:07:01', 0, '修改收货人信息'); INSERT INTO `oms_order_operate_history` VALUES (20, 25, '后台管理员', '2018-10-30 15:08:13', 0, '修改费用信息'); INSERT INTO `oms_order_operate_history` VALUES (21, 25, '后台管理员', '2018-10-30 15:08:31', 0, '修改备注信息:xxx'); INSERT INTO `oms_order_operate_history` VALUES (22, 25, '后台管理员', '2018-10-30 15:08:39', 4, '订单关闭:2222'); INSERT INTO `oms_order_operate_history` VALUES (23, 12, '后台管理员', '2019-11-09 16:50:28', 4, '修改备注信息:111'); INSERT INTO `oms_order_operate_history` VALUES (24, 30, '后台管理员', '2020-02-25 16:52:37', 0, '修改费用信息'); INSERT INTO `oms_order_operate_history` VALUES (25, 30, '后台管理员', '2020-02-25 16:52:51', 0, '修改费用信息'); INSERT INTO `oms_order_operate_history` VALUES (26, 30, '后台管理员', '2020-02-25 16:54:03', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (27, 35, '后台管理员', '2020-05-17 15:30:24', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (28, 37, '后台管理员', '2020-05-17 19:35:00', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (29, 39, '后台管理员', '2020-05-17 19:42:08', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (30, 41, '后台管理员', '2020-05-18 20:23:04', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (31, 47, '后台管理员', '2020-06-21 15:13:44', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (32, 48, '后台管理员', '2020-06-21 15:15:49', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (33, 52, '后台管理员', '2022-11-09 15:16:13', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (34, 60, '后台管理员', '2022-11-16 10:42:50', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (35, 62, '后台管理员', '2022-12-21 15:50:24', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (36, 63, '后台管理员', '2023-01-10 10:08:34', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (37, 65, '后台管理员', '2023-01-10 10:08:34', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (38, 69, '后台管理员', '2023-05-11 15:30:08', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (39, 70, '后台管理员', '2023-05-11 15:31:22', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (40, 72, '后台管理员', '2023-05-11 15:33:43', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (41, 74, '后台管理员', '2023-05-11 15:36:00', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (42, 75, '后台管理员', '2023-05-11 15:36:11', 2, '完成发货'); INSERT INTO `oms_order_operate_history` VALUES (43, 76, '后台管理员', '2023-05-11 15:37:34', 2, '完成发货'); -- ---------------------------- -- Table structure for oms_order_return_apply -- ---------------------------- DROP TABLE IF EXISTS `oms_order_return_apply`; CREATE TABLE `oms_order_return_apply` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `order_id` bigint(20) NULL DEFAULT NULL COMMENT '订单id', `company_address_id` bigint(20) NULL DEFAULT NULL COMMENT '收货地址表id', `product_id` bigint(20) NULL DEFAULT NULL COMMENT '退货商品id', `order_sn` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '订单编号', `create_time` datetime NULL DEFAULT NULL COMMENT '申请时间', `member_username` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '会员用户名', `return_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '退款金额', `return_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '退货人姓名', `return_phone` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '退货人电话', `status` int(1) NULL DEFAULT NULL COMMENT '申请状态:0->待处理;1->退货中;2->已完成;3->已拒绝', `handle_time` datetime NULL DEFAULT NULL COMMENT '处理时间', `product_pic` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品图片', `product_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品名称', `product_brand` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品品牌', `product_attr` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品销售属性:颜色:红色;尺码:xl;', `product_count` int(11) NULL DEFAULT NULL COMMENT '退货数量', `product_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品单价', `product_real_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品实际支付单价', `reason` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '原因', `description` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述', `proof_pics` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '凭证图片,以逗号隔开', `handle_note` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '处理备注', `handle_man` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '处理人员', `receive_man` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收货人', `receive_time` datetime NULL DEFAULT NULL COMMENT '收货时间', `receive_note` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收货备注', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 27 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '订单退货申请' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of oms_order_return_apply -- ---------------------------- INSERT INTO `oms_order_return_apply` VALUES (3, 12, 1, 26, '201809150101000001', '2018-10-17 14:34:57', 'test', 0.00, '大梨', '18000000000', 2, '2022-11-11 10:16:18', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20', '华为', '颜色:金色;内存:16G', 1, 3788.00, 3585.98, '质量问题', '老是卡', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg,http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '111', 'admin', 'admin', '2022-11-11 10:16:26', NULL); INSERT INTO `oms_order_return_apply` VALUES (4, 12, 2, 27, '201809150101000001', '2018-10-17 14:40:21', 'test', 3585.98, '大梨', '18000000000', 1, '2018-10-18 13:54:10', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8', '小米', '颜色:黑色;内存:32G', 1, 2699.00, 2022.81, '质量问题', '不够高端', '', '已经处理了', 'admin', NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (5, 12, 3, 28, '201809150101000001', '2018-10-17 14:44:18', 'test', 3585.98, '大梨', '18000000000', 2, '2018-10-18 13:55:28', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '颜色:金色;内存:16G', 1, 649.00, 591.05, '质量问题', '颜色太土', '', '已经处理了', 'admin', 'admin', '2018-10-18 13:55:58', '已经处理了'); INSERT INTO `oms_order_return_apply` VALUES (8, 13, NULL, 28, '201809150102000002', '2018-10-17 14:44:18', 'test', NULL, '大梨', '18000000000', 3, '2018-10-18 13:57:12', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '颜色:金色;内存:16G', 1, 649.00, 591.05, '质量问题', '颜色太土', '', '理由不够充分', 'admin', NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (9, 14, 2, 26, '201809130101000001', '2018-10-17 14:34:57', 'test', 3500.00, '大梨', '18000000000', 2, '2018-10-24 15:44:56', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20', '华为', '颜色:金色;内存:16G', 1, 3788.00, 3585.98, '质量问题', '老是卡', '', '呵呵', 'admin', 'admin', '2018-10-24 15:46:35', '收货了'); INSERT INTO `oms_order_return_apply` VALUES (10, 14, NULL, 27, '201809130101000001', '2018-10-17 14:40:21', 'test', NULL, '大梨', '18000000000', 3, '2018-10-24 15:46:57', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8', '小米', '颜色:黑色;内存:32G', 1, 2699.00, 2022.81, '质量问题', '不够高端', '', '就是不退', 'admin', NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (11, 14, 2, 28, '201809130101000001', '2018-10-17 14:44:18', 'test', 591.05, '大梨', '18000000000', 1, '2018-10-24 17:09:04', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '颜色:金色;内存:16G', 1, 649.00, 591.05, '质量问题', '颜色太土', '', '可以退款', 'admin', NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (12, 15, 3, 26, '201809130102000002', '2018-10-17 14:34:57', 'test', 3500.00, '大梨', '18000000000', 2, '2018-10-24 17:22:54', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20', '华为', '颜色:金色;内存:16G', 1, 3788.00, 3585.98, '质量问题', '老是卡', '', '退货了', 'admin', 'admin', '2018-10-24 17:23:06', '收货了'); INSERT INTO `oms_order_return_apply` VALUES (13, 15, NULL, 27, '201809130102000002', '2018-10-17 14:40:21', 'test', NULL, '大梨', '18000000000', 3, '2018-10-24 17:23:30', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8', '小米', '颜色:黑色;内存:32G', 1, 2699.00, 2022.81, '质量问题', '不够高端', '', '无法退货', 'admin', NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (15, 16, NULL, 26, '201809140101000001', '2018-10-17 14:34:57', 'test', NULL, '大梨', '18000000000', 0, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20', '华为', '颜色:金色;内存:16G', 1, 3788.00, 3585.98, '质量问题', '老是卡', '', NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (16, 16, NULL, 27, '201809140101000001', '2018-10-17 14:40:21', 'test', NULL, '大梨', '18000000000', 0, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8', '小米', '颜色:黑色;内存:32G', 1, 2699.00, 2022.81, '质量问题', '不够高端', '', NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (17, 16, NULL, 28, '201809140101000001', '2018-10-17 14:44:18', 'test', NULL, '大梨', '18000000000', 0, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '颜色:金色;内存:16G', 1, 649.00, 591.05, '质量问题', '颜色太土', '', NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (18, 17, NULL, 26, '201809150101000003', '2018-10-17 14:34:57', 'test', NULL, '大梨', '18000000000', 0, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20', '华为', '颜色:金色;内存:16G', 1, 3788.00, 3585.98, '质量问题', '老是卡', '', NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (19, 17, NULL, 27, '201809150101000003', '2018-10-17 14:40:21', 'test', NULL, '大梨', '18000000000', 0, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8', '小米', '颜色:黑色;内存:32G', 1, 2699.00, 2022.81, '质量问题', '不够高端', '', NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (20, 17, NULL, 28, '201809150101000003', '2018-10-17 14:44:18', 'test', NULL, '大梨', '18000000000', 0, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '颜色:金色;内存:16G', 1, 649.00, 591.05, '质量问题', '颜色太土', '', NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (21, 18, NULL, 26, '201809150102000004', '2018-10-17 14:34:57', 'test', NULL, '大梨', '18000000000', 0, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20', '华为', '颜色:金色;内存:16G', 1, 3788.00, 3585.98, '质量问题', '老是卡', '', NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (22, 18, NULL, 27, '201809150102000004', '2018-10-17 14:40:21', 'test', NULL, '大梨', '18000000000', 0, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8', '小米', '颜色:黑色;内存:32G', 1, 2699.00, 2022.81, '质量问题', '不够高端', '', NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (23, 18, NULL, 28, '201809150102000004', '2018-10-17 14:44:18', 'test', NULL, '大梨', '18000000000', 0, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '颜色:金色;内存:16G', 1, 649.00, 591.05, '质量问题', '颜色太土', '', NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (24, 19, NULL, 26, '201809130101000003', '2018-10-17 14:34:57', 'test', NULL, '大梨', '18000000000', 0, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '华为 HUAWEI P20', '华为', '颜色:金色;内存:16G', 1, 3788.00, 3585.98, '质量问题', '老是卡', '', NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (25, 19, NULL, 27, '201809130101000003', '2018-10-17 14:40:21', 'test', NULL, '大梨', '18000000000', 0, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '小米8', '小米', '颜色:黑色;内存:32G', 1, 2699.00, 2022.81, '质量问题', '不够高端', '', NULL, NULL, NULL, NULL, NULL); INSERT INTO `oms_order_return_apply` VALUES (26, 19, NULL, 28, '201809130101000003', '2018-10-17 14:44:18', 'test', NULL, '大梨', '18000000000', 0, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '红米5A', '小米', '颜色:金色;内存:16G', 1, 649.00, 591.05, '质量问题', '颜色太土', '', NULL, NULL, NULL, NULL, NULL); -- ---------------------------- -- Table structure for oms_order_return_reason -- ---------------------------- DROP TABLE IF EXISTS `oms_order_return_reason`; CREATE TABLE `oms_order_return_reason` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '退货类型', `sort` int(11) NULL DEFAULT NULL, `status` int(1) NULL DEFAULT NULL COMMENT '状态:0->不启用;1->启用', `create_time` datetime NULL DEFAULT NULL COMMENT '添加时间', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 16 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '退货原因表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of oms_order_return_reason -- ---------------------------- INSERT INTO `oms_order_return_reason` VALUES (1, '质量问题', 1, 1, '2018-10-17 10:00:45'); INSERT INTO `oms_order_return_reason` VALUES (2, '尺码太大', 1, 1, '2018-10-17 10:01:03'); INSERT INTO `oms_order_return_reason` VALUES (3, '颜色不喜欢', 1, 1, '2018-10-17 10:01:13'); INSERT INTO `oms_order_return_reason` VALUES (4, '7天无理由退货', 1, 1, '2018-10-17 10:01:47'); INSERT INTO `oms_order_return_reason` VALUES (5, '价格问题', 1, 0, '2018-10-17 10:01:57'); INSERT INTO `oms_order_return_reason` VALUES (12, '发票问题', 0, 1, '2018-10-19 16:28:36'); INSERT INTO `oms_order_return_reason` VALUES (13, '其他问题', 0, 1, '2018-10-19 16:28:51'); INSERT INTO `oms_order_return_reason` VALUES (14, '物流问题', 0, 1, '2018-10-19 16:29:01'); INSERT INTO `oms_order_return_reason` VALUES (15, '售后问题', 0, 1, '2018-10-19 16:29:11'); -- ---------------------------- -- Table structure for oms_order_setting -- ---------------------------- DROP TABLE IF EXISTS `oms_order_setting`; CREATE TABLE `oms_order_setting` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `flash_order_overtime` int(11) NULL DEFAULT NULL COMMENT '秒杀订单超时关闭时间(分)', `normal_order_overtime` int(11) NULL DEFAULT NULL COMMENT '正常订单超时时间(分)', `confirm_overtime` int(11) NULL DEFAULT NULL COMMENT '发货后自动确认收货时间(天)', `finish_overtime` int(11) NULL DEFAULT NULL COMMENT '自动完成交易时间,不能申请售后(天)', `comment_overtime` int(11) NULL DEFAULT NULL COMMENT '订单完成后自动好评时间(天)', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '订单设置表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of oms_order_setting -- ---------------------------- INSERT INTO `oms_order_setting` VALUES (1, 60, 120, 15, 7, 7); -- ---------------------------- -- Table structure for pms_album -- ---------------------------- DROP TABLE IF EXISTS `pms_album`; CREATE TABLE `pms_album` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `cover_pic` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `pic_count` int(11) NULL DEFAULT NULL, `sort` int(11) NULL DEFAULT NULL, `description` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '相册表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_album -- ---------------------------- -- ---------------------------- -- Table structure for pms_album_pic -- ---------------------------- DROP TABLE IF EXISTS `pms_album_pic`; CREATE TABLE `pms_album_pic` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `album_id` bigint(20) NULL DEFAULT NULL, `pic` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '画册图片表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_album_pic -- ---------------------------- -- ---------------------------- -- Table structure for pms_brand -- ---------------------------- DROP TABLE IF EXISTS `pms_brand`; CREATE TABLE `pms_brand` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `first_letter` varchar(8) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '首字母', `sort` int(11) NULL DEFAULT NULL, `factory_status` int(1) NULL DEFAULT NULL COMMENT '是否为品牌制造商:0->不是;1->是', `show_status` int(1) NULL DEFAULT NULL, `product_count` int(11) NULL DEFAULT NULL COMMENT '产品数量', `product_comment_count` int(11) NULL DEFAULT NULL COMMENT '产品评论数量', `logo` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '品牌logo', `big_pic` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '专区大图', `brand_story` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '品牌故事', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 60 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '品牌表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_brand -- ---------------------------- INSERT INTO `pms_brand` VALUES (1, '万和', 'W', 0, 1, 1, 100, 100, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5b07ca8aN4e127d2f.jpg', 'http://img13.360buyimg.com/cms/jfs/t1/121860/35/2430/187800/5ec4e294E22f3ffcc/1e233b65b94ba192.jpg', '万和成立于1993年8月,总部位于广东顺德国家级高新技术开发区内,是国内生产规模最大的燃气具专业制造企业,也是中国燃气具发展战略的首倡者和推动者、中国五金制品协会燃气用具分会第三届理事长单位。'); INSERT INTO `pms_brand` VALUES (2, '三星', 'S', 100, 1, 1, 100, 100, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/57201b47N7bf15715.jpg', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/sanxing_banner_01.png', '三星集团(英文:SAMSUNG、韩文:삼성)是韩国最大的跨国企业集团,三星集团包括众多的国际下属企业,旗下子公司有:三星电子、三星物产、三星人寿保险等,业务涉及电子、金融、机械、化学等众多领域。'); INSERT INTO `pms_brand` VALUES (3, '华为', 'H', 100, 1, 1, 100, 100, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5abf6f26N31658aa2.jpg', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/huawei_banner_01.png', '荣耀品牌成立于2013年,是华为旗下手机双品牌之一。荣耀以“创新、品质、服务”为核心战略,为全球年轻人提供潮酷的全场景智能化体验,打造年轻人向往的先锋文化和潮流生活方式'); INSERT INTO `pms_brand` VALUES (4, '格力', 'G', 30, 1, 1, 100, 100, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/timg (3).jpg', NULL, 'Victoria\'s Secret的故事'); INSERT INTO `pms_brand` VALUES (5, '方太', 'F', 20, 1, 1, 100, 100, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/timg (4).jpg', NULL, 'Victoria\'s Secret的故事'); INSERT INTO `pms_brand` VALUES (6, '小米', 'M', 500, 1, 1, 100, 100, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5565f5a2N0b8169ae.jpg', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/xiaomi_banner_01.png', '小米公司正式成立于2010年4月,是一家专注于高端智能手机、互联网电视自主研发的创新型科技企业。主要由前谷歌、微软、摩托、金山等知名公司的顶尖人才组建。'); INSERT INTO `pms_brand` VALUES (21, 'OPPO', 'O', 0, 1, 1, 88, 500, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/timg(6).jpg', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/oppo_banner_01.png', 'OPPO于2008年推出第一款“笑脸手机”,由此开启探索和引领至美科技之旅。今天,OPPO凭借以Find和R系列手机为核心的智能终端产品,以及OPPO+等互联网服务,让全球消费者尽享至美科技。'); INSERT INTO `pms_brand` VALUES (49, '七匹狼', 'S', 200, 1, 1, 77, 400, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190525/qipilang.png', NULL, 'BOOB的故事'); INSERT INTO `pms_brand` VALUES (50, '海澜之家', 'H', 200, 1, 1, 66, 300, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a5c69b9N5d6c5696.jpg', 'http://img10.360buyimg.com/cms/jfs/t1/133148/4/1605/470028/5edaf5ccEd7a687a9/e0a007631361ff75.jpg', '“海澜之家”(英文缩写:HLA)是海澜之家股份有限公司旗下的服装品牌,总部位于中国江苏省无锡市江阴市,主要采用连锁零售的模式,销售男性服装、配饰与相关产品。'); INSERT INTO `pms_brand` VALUES (51, '苹果', 'A', 200, 1, 1, 55, 200, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/49b30bb0377030d1.jpg', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/apple_banner_01.png', '苹果公司(Apple Inc. )是美国的一家高科技公司。 由史蒂夫·乔布斯、斯蒂夫·沃兹尼亚克和罗·韦恩(Ron Wayne)等人于1976年4月1日创立,并命名为美国苹果电脑公司(Apple Computer Inc. ),2007年1月9日更名为苹果公司,总部位于加利福尼亚州的...'); INSERT INTO `pms_brand` VALUES (58, 'NIKE', 'N', 0, 1, 0, 33, 100, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/timg (51).jpg', '', 'NIKE的故事'); INSERT INTO `pms_brand` VALUES (59, '测试品牌', 'C', 0, 0, 0, NULL, NULL, 'http://localhost:9000/mall/20220609/Snipaste_2022-06-08_14-35-53.png', 'http://localhost:9000/mall/20220609/biji_05.jpg', '12345'); -- ---------------------------- -- Table structure for pms_comment -- ---------------------------- DROP TABLE IF EXISTS `pms_comment`; CREATE TABLE `pms_comment` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `product_id` bigint(20) NULL DEFAULT NULL, `member_nick_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `product_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `star` int(3) NULL DEFAULT NULL COMMENT '评价星数:0->5', `member_ip` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '评价的ip', `create_time` datetime NULL DEFAULT NULL, `show_status` int(1) NULL DEFAULT NULL, `product_attribute` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '购买时的商品属性', `collect_couont` int(11) NULL DEFAULT NULL, `read_count` int(11) NULL DEFAULT NULL, `content` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL, `pics` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '上传图片地址,以逗号隔开', `member_icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '评论用户头像', `replay_count` int(11) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '商品评价表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_comment -- ---------------------------- -- ---------------------------- -- Table structure for pms_comment_replay -- ---------------------------- DROP TABLE IF EXISTS `pms_comment_replay`; CREATE TABLE `pms_comment_replay` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `comment_id` bigint(20) NULL DEFAULT NULL, `member_nick_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `member_icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `content` varchar(1000) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `create_time` datetime NULL DEFAULT NULL, `type` int(1) NULL DEFAULT NULL COMMENT '评论人员类型;0->会员;1->管理员', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '产品评价回复表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_comment_replay -- ---------------------------- -- ---------------------------- -- Table structure for pms_feight_template -- ---------------------------- DROP TABLE IF EXISTS `pms_feight_template`; CREATE TABLE `pms_feight_template` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `charge_type` int(1) NULL DEFAULT NULL COMMENT '计费类型:0->按重量;1->按件数', `first_weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '首重kg', `first_fee` decimal(10, 2) NULL DEFAULT NULL COMMENT '首费(元)', `continue_weight` decimal(10, 2) NULL DEFAULT NULL, `continme_fee` decimal(10, 2) NULL DEFAULT NULL, `dest` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '目的地(省、市)', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '运费模版' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_feight_template -- ---------------------------- -- ---------------------------- -- Table structure for pms_member_price -- ---------------------------- DROP TABLE IF EXISTS `pms_member_price`; CREATE TABLE `pms_member_price` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `product_id` bigint(20) NULL DEFAULT NULL, `member_level_id` bigint(20) NULL DEFAULT NULL, `member_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '会员价格', `member_level_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 426 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '商品会员价格表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_member_price -- ---------------------------- INSERT INTO `pms_member_price` VALUES (26, 7, 1, 500.00, NULL); INSERT INTO `pms_member_price` VALUES (27, 8, 1, 500.00, NULL); INSERT INTO `pms_member_price` VALUES (28, 9, 1, 500.00, NULL); INSERT INTO `pms_member_price` VALUES (29, 10, 1, 500.00, NULL); INSERT INTO `pms_member_price` VALUES (30, 11, 1, 500.00, NULL); INSERT INTO `pms_member_price` VALUES (31, 12, 1, 500.00, NULL); INSERT INTO `pms_member_price` VALUES (32, 13, 1, 500.00, NULL); INSERT INTO `pms_member_price` VALUES (33, 14, 1, 500.00, NULL); INSERT INTO `pms_member_price` VALUES (37, 18, 1, 500.00, NULL); INSERT INTO `pms_member_price` VALUES (44, 7, 2, 480.00, NULL); INSERT INTO `pms_member_price` VALUES (45, 7, 3, 450.00, NULL); INSERT INTO `pms_member_price` VALUES (52, 22, 1, NULL, NULL); INSERT INTO `pms_member_price` VALUES (53, 22, 2, NULL, NULL); INSERT INTO `pms_member_price` VALUES (54, 22, 3, NULL, NULL); INSERT INTO `pms_member_price` VALUES (58, 24, 1, NULL, NULL); INSERT INTO `pms_member_price` VALUES (59, 24, 2, NULL, NULL); INSERT INTO `pms_member_price` VALUES (60, 24, 3, NULL, NULL); INSERT INTO `pms_member_price` VALUES (112, 23, 1, 88.00, '黄金会员'); INSERT INTO `pms_member_price` VALUES (113, 23, 2, 88.00, '白金会员'); INSERT INTO `pms_member_price` VALUES (114, 23, 3, 66.00, '钻石会员'); INSERT INTO `pms_member_price` VALUES (246, 36, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (247, 36, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (248, 36, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (249, 35, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (250, 35, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (251, 35, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (258, 30, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (259, 30, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (260, 30, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (261, 31, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (262, 31, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (263, 31, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (264, 32, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (265, 32, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (266, 32, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (270, 33, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (271, 33, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (272, 33, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (273, 34, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (274, 34, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (275, 34, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (285, 27, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (286, 27, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (287, 27, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (294, 28, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (295, 28, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (296, 28, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (297, 29, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (298, 29, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (299, 29, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (315, 37, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (316, 37, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (317, 37, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (381, 38, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (382, 38, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (383, 38, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (384, 39, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (385, 39, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (386, 39, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (387, 41, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (388, 41, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (389, 41, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (390, 42, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (391, 42, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (392, 42, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (393, 43, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (394, 43, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (395, 43, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (396, 44, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (397, 44, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (398, 44, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (399, 45, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (400, 45, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (401, 45, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (402, 40, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (403, 40, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (404, 40, 3, NULL, '钻石会员'); INSERT INTO `pms_member_price` VALUES (423, 26, 1, NULL, '黄金会员'); INSERT INTO `pms_member_price` VALUES (424, 26, 2, NULL, '白金会员'); INSERT INTO `pms_member_price` VALUES (425, 26, 3, NULL, '钻石会员'); -- ---------------------------- -- Table structure for pms_product -- ---------------------------- DROP TABLE IF EXISTS `pms_product`; CREATE TABLE `pms_product` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `brand_id` bigint(20) NULL DEFAULT NULL, `product_category_id` bigint(20) NULL DEFAULT NULL, `feight_template_id` bigint(20) NULL DEFAULT NULL, `product_attribute_category_id` bigint(20) NULL DEFAULT NULL, `name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL, `pic` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `product_sn` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '货号', `delete_status` int(1) NULL DEFAULT NULL COMMENT '删除状态:0->未删除;1->已删除', `publish_status` int(1) NULL DEFAULT NULL COMMENT '上架状态:0->下架;1->上架', `new_status` int(1) NULL DEFAULT NULL COMMENT '新品状态:0->不是新品;1->新品', `recommand_status` int(1) NULL DEFAULT NULL COMMENT '推荐状态;0->不推荐;1->推荐', `verify_status` int(1) NULL DEFAULT NULL COMMENT '审核状态:0->未审核;1->审核通过', `sort` int(11) NULL DEFAULT NULL COMMENT '排序', `sale` int(11) NULL DEFAULT NULL COMMENT '销量', `price` decimal(10, 2) NULL DEFAULT NULL, `promotion_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '促销价格', `gift_growth` int(11) NULL DEFAULT 0 COMMENT '赠送的成长值', `gift_point` int(11) NULL DEFAULT 0 COMMENT '赠送的积分', `use_point_limit` int(11) NULL DEFAULT NULL COMMENT '限制使用的积分数', `sub_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '副标题', `description` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '商品描述', `original_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '市场价', `stock` int(11) NULL DEFAULT NULL COMMENT '库存', `low_stock` int(11) NULL DEFAULT NULL COMMENT '库存预警值', `unit` varchar(16) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '单位', `weight` decimal(10, 2) NULL DEFAULT NULL COMMENT '商品重量,默认为克', `preview_status` int(1) NULL DEFAULT NULL COMMENT '是否为预告商品:0->不是;1->是', `service_ids` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '以逗号分割的产品服务:1->无忧退货;2->快速退款;3->免费包邮', `keywords` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `note` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `album_pics` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '画册图片,连产品图片限制为5张,以逗号分割', `detail_title` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `detail_desc` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL, `detail_html` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '产品详情网页内容', `detail_mobile_html` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '移动端网页详情', `promotion_start_time` datetime NULL DEFAULT NULL COMMENT '促销开始时间', `promotion_end_time` datetime NULL DEFAULT NULL COMMENT '促销结束时间', `promotion_per_limit` int(11) NULL DEFAULT NULL COMMENT '活动限购数量', `promotion_type` int(1) NULL DEFAULT NULL COMMENT '促销类型:0->没有促销使用原价;1->使用促销价;2->使用会员价;3->使用阶梯价格;4->使用满减价格;5->限时购', `brand_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '品牌名称', `product_category_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品分类名称', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 46 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '商品信息' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_product -- ---------------------------- INSERT INTO `pms_product` VALUES (1, 49, 7, 0, 0, '银色星芒刺绣网纱底裤', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86577', 1, 1, 1, 1, 1, 100, 0, 100.00, NULL, 0, 100, NULL, '111', '111', 120.00, 100, 20, '件', 1000.00, 0, NULL, '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', NULL, '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', NULL, NULL, NULL, 0, '七匹狼', '外套'); INSERT INTO `pms_product` VALUES (2, 49, 7, 0, 0, '银色星芒刺绣网纱底裤2', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86578', 1, 1, 1, 1, 1, 1, 0, 100.00, NULL, 0, 100, NULL, '111', '111', 120.00, 100, 20, '件', 1000.00, 0, NULL, '银色星芒刺绣网纱底裤2', '银色星芒刺绣网纱底裤', NULL, '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', '

银色星芒刺绣网纱底裤

', '

银色星芒刺绣网纱底裤

', NULL, NULL, NULL, 0, '七匹狼', '外套'); INSERT INTO `pms_product` VALUES (3, 1, 7, 0, 0, '银色星芒刺绣网纱底裤3', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86579', 1, 1, 1, 1, 1, 1, 0, 100.00, NULL, 0, 100, NULL, '111', '111', 120.00, 100, 20, '件', 1000.00, 0, NULL, '银色星芒刺绣网纱底裤3', '银色星芒刺绣网纱底裤', NULL, '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', NULL, NULL, NULL, 0, '万和', '外套'); INSERT INTO `pms_product` VALUES (4, 1, 7, 0, 0, '银色星芒刺绣网纱底裤4', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86580', 1, 1, 1, 1, 1, 1, 0, 100.00, NULL, 0, 100, NULL, '111', '111', 120.00, 100, 20, '件', 1000.00, 0, NULL, '银色星芒刺绣网纱底裤4', '银色星芒刺绣网纱底裤', NULL, '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', NULL, NULL, NULL, 0, '万和', '外套'); INSERT INTO `pms_product` VALUES (5, 1, 7, 0, 0, '银色星芒刺绣网纱底裤5', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86581', 1, 0, 1, 1, 1, 1, 0, 100.00, NULL, 0, 100, NULL, '111', '111', 120.00, 100, 20, '件', 1000.00, 0, NULL, '银色星芒刺绣网纱底裤5', '银色星芒刺绣网纱底裤', NULL, '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', NULL, NULL, NULL, 0, '万和', '外套'); INSERT INTO `pms_product` VALUES (6, 1, 7, 0, 0, '银色星芒刺绣网纱底裤6', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86582', 1, 1, 1, 1, 1, 1, 0, 100.00, NULL, 0, 100, NULL, '111', '111', 120.00, 100, 20, '件', 1000.00, 0, NULL, '银色星芒刺绣网纱底裤6', '银色星芒刺绣网纱底裤', NULL, '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', '银色星芒刺绣网纱底裤', NULL, NULL, NULL, 0, '万和', '外套'); INSERT INTO `pms_product` VALUES (7, 1, 7, 0, 1, '女式超柔软拉毛运动开衫', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86577', 1, 0, 0, 0, 0, 0, 0, 249.00, 0.00, 0, 100, 0, '匠心剪裁,垂感质地', '匠心剪裁,垂感质地', 299.00, 100, 0, '件', 0.00, 0, 'string', '女式超柔软拉毛运动开衫', 'string', 'string', 'string', 'string', 'string', 'string', '2018-04-26 10:41:03', '2018-04-26 10:41:03', 0, 0, '万和', '外套'); INSERT INTO `pms_product` VALUES (8, 1, 7, 0, 1, '女式超柔软拉毛运动开衫1', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86577', 1, 0, 0, 0, 0, 0, 0, 249.00, 0.00, 0, 100, 0, '匠心剪裁,垂感质地', '匠心剪裁,垂感质地', 299.00, 100, 0, '件', 0.00, 0, 'string', '女式超柔软拉毛运动开衫', 'string', 'string', 'string', 'string', 'string', 'string', '2018-04-26 10:41:03', '2018-04-26 10:41:03', 0, 0, '万和', '外套'); INSERT INTO `pms_product` VALUES (9, 1, 7, 0, 1, '女式超柔软拉毛运动开衫1', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86577', 1, 0, 0, 0, 0, 0, 0, 249.00, 0.00, 0, 100, 0, '匠心剪裁,垂感质地', '匠心剪裁,垂感质地', 299.00, 100, 0, '件', 0.00, 0, 'string', '女式超柔软拉毛运动开衫', 'string', 'string', 'string', 'string', 'string', 'string', '2018-04-26 10:41:03', '2018-04-26 10:41:03', 0, 0, '万和', '外套'); INSERT INTO `pms_product` VALUES (10, 1, 7, 0, 1, '女式超柔软拉毛运动开衫1', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86577', 1, 0, 0, 0, 0, 0, 0, 249.00, 0.00, 0, 100, 0, '匠心剪裁,垂感质地', '匠心剪裁,垂感质地', 299.00, 100, 0, '件', 0.00, 0, 'string', '女式超柔软拉毛运动开衫', 'string', 'string', 'string', 'string', 'string', 'string', '2018-04-26 10:41:03', '2018-04-26 10:41:03', 0, 0, '万和', '外套'); INSERT INTO `pms_product` VALUES (11, 1, 7, 0, 1, '女式超柔软拉毛运动开衫1', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86577', 1, 1, 0, 1, 0, 0, 0, 249.00, 0.00, 0, 100, 0, '匠心剪裁,垂感质地', '匠心剪裁,垂感质地', 299.00, 100, 0, '件', 0.00, 0, 'string', '女式超柔软拉毛运动开衫', 'string', 'string', 'string', 'string', 'string', 'string', '2018-04-26 10:41:03', '2018-04-26 10:41:03', 0, 0, '万和', '外套'); INSERT INTO `pms_product` VALUES (12, 1, 7, 0, 1, '女式超柔软拉毛运动开衫2', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86577', 1, 1, 0, 1, 0, 0, 0, 249.00, 0.00, 0, 100, 0, '匠心剪裁,垂感质地', '匠心剪裁,垂感质地', 299.00, 100, 0, '件', 0.00, 0, 'string', '女式超柔软拉毛运动开衫', 'string', 'string', 'string', 'string', 'string', 'string', '2018-04-26 10:41:03', '2018-04-26 10:41:03', 0, 0, '万和', '外套'); INSERT INTO `pms_product` VALUES (13, 1, 7, 0, 1, '女式超柔软拉毛运动开衫3', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86577', 1, 1, 0, 1, 0, 0, 0, 249.00, 0.00, 0, 100, 0, '匠心剪裁,垂感质地', '匠心剪裁,垂感质地', 299.00, 100, 0, '件', 0.00, 0, 'string', '女式超柔软拉毛运动开衫', 'string', 'string', 'string', 'string', 'string', 'string', '2018-04-26 10:41:03', '2018-04-26 10:41:03', 0, 0, '万和', '外套'); INSERT INTO `pms_product` VALUES (14, 1, 7, 0, 1, '女式超柔软拉毛运动开衫3', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86577', 1, 0, 0, 1, 0, 0, 0, 249.00, 0.00, 0, 100, 0, '匠心剪裁,垂感质地', '匠心剪裁,垂感质地', 299.00, 100, 0, '件', 0.00, 0, 'string', '女式超柔软拉毛运动开衫', 'string', 'string', 'string', 'string', 'string', 'string', '2018-04-26 10:41:03', '2018-04-26 10:41:03', 0, 0, '万和', '外套'); INSERT INTO `pms_product` VALUES (18, 1, 7, 0, 1, '女式超柔软拉毛运动开衫3', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180522/web.png', 'No86577', 1, 0, 0, 1, 0, 0, 0, 249.00, 0.00, 0, 100, 0, '匠心剪裁,垂感质地', '匠心剪裁,垂感质地', 299.00, 100, 0, '件', 0.00, 0, 'string', '女式超柔软拉毛运动开衫', 'string', 'string', 'string', 'string', 'string', 'string', '2018-04-26 10:41:03', '2018-04-26 10:41:03', 0, 0, '万和', '外套'); INSERT INTO `pms_product` VALUES (22, 6, 7, 0, 1, 'test', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180604/1522738681.jpg', '', 1, 1, 0, 0, 0, 0, 0, 0.00, NULL, 0, 0, 0, 'test', '', 0.00, 100, 0, '', 0.00, 1, '1,2', '', '', '', '', '', '', '', NULL, NULL, 0, 0, '小米', '外套'); INSERT INTO `pms_product` VALUES (23, 6, 19, 0, 1, '毛衫测试', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180604/1522738681.jpg', 'NO.1098', 1, 1, 1, 1, 0, 0, 0, 99.00, NULL, 99, 99, 1000, '毛衫测试11', 'xxx', 109.00, 100, 0, '件', 1000.00, 1, '1,2,3', '毛衫测试', '毛衫测试', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180604/1522738681.jpg,http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180604/1522738681.jpg', '毛衫测试', '毛衫测试', '

', '', NULL, NULL, 0, 2, '小米', '手机数码'); INSERT INTO `pms_product` VALUES (24, 6, 7, 0, NULL, 'xxx', '', '', 1, 0, 0, 0, 0, 0, 0, 0.00, NULL, 0, 0, 0, 'xxx', '', 0.00, 100, 0, '', 0.00, 0, '', '', '', '', '', '', '', '', NULL, NULL, 0, 0, '小米', '外套'); INSERT INTO `pms_product` VALUES (26, 3, 19, 0, 3, '华为 HUAWEI P20 ', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf58Ndefaac16.jpg', '6946605', 0, 1, 1, 1, 0, 100, 100, 3788.00, 3659.00, 3788, 3788, 0, 'AI智慧全面屏 6GB +64GB 亮黑色 全网通版 移动联通电信4G手机 双卡双待手机 双卡双待', '', 4288.00, 1000, 0, '件', 0.00, 1, '2,3,1', '', '', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ab46a3cN616bdc41.jpg,http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180607/5ac1bf5fN2522b9dc.jpg', '', '', '

', '

\"\"

\n

\"\"

', '2023-01-10 15:49:38', '2023-01-31 00:00:00', 0, 1, '华为', '手机通讯'); INSERT INTO `pms_product` VALUES (27, 6, 19, 0, 3, '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/xiaomi.jpg', '7437788', 0, 1, 1, 1, 0, 0, 99, 2699.00, NULL, 2699, 2699, 0, '骁龙845处理器,红外人脸解锁,AI变焦双摄,AI语音助手小米6X低至1299,点击抢购', '小米8 全面屏游戏智能手机 6GB+64GB 黑色 全网通4G 双卡双待', 2699.00, 100, 0, '', 0.00, 0, '1', '', '', '', '', '', '

', '

', NULL, NULL, 0, 3, '小米', '手机通讯'); INSERT INTO `pms_product` VALUES (28, 6, 19, 0, 3, '小米 红米5A 全网通版 3GB+32GB 香槟金 移动联通电信4G手机 双卡双待', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a9d248cN071f4959.jpg', '7437789', 0, 1, 1, 1, 0, 0, 98, 649.00, NULL, 649, 649, 0, '8天超长待机,137g轻巧机身,高通骁龙处理器小米6X低至1299,点击抢购', '', 649.00, 100, 0, '', 0.00, 0, '', '', '', '', '', '', '', '
\n

 

\n
', NULL, NULL, 0, 4, '小米', '手机通讯'); INSERT INTO `pms_product` VALUES (29, 51, 19, 0, 3, 'Apple iPhone 8 Plus 64GB 红色特别版 移动联通电信4G手机', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5acc5248N6a5f81cd.jpg', '7437799', 0, 1, 1, 1, 0, 0, 97, 5499.00, 4799.00, 5499, 5499, 0, '【限时限量抢购】Apple产品年中狂欢节,好物尽享,美在智慧!速来 >> 勾选[保障服务][原厂保2年],获得AppleCare+全方位服务计划,原厂延保售后无忧。', '', 5499.00, 100, 0, '', 0.00, 0, '1,2,3', '', '', '', '', '', '', '
', '2020-05-04 15:12:54', '2020-05-30 00:00:00', 0, 1, '苹果', '手机通讯'); INSERT INTO `pms_product` VALUES (30, 50, 8, 0, 1, 'HLA海澜之家简约动物印花短袖T恤', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5ad83a4fN6ff67ecd.jpg!cc_350x449.jpg', 'HNTBJ2E042A', 0, 1, 1, 1, 0, 0, 0, 98.00, NULL, 0, 0, 0, '2018夏季新品微弹舒适新款短T男生 6月6日-6月20日,满300减30,参与互动赢百元礼券,立即分享赢大奖', '', 98.00, 100, 0, '', 0.00, 0, '', '', '', '', '', '', '', '', NULL, NULL, 0, 0, '海澜之家', 'T恤'); INSERT INTO `pms_product` VALUES (31, 50, 8, 0, 1, 'HLA海澜之家蓝灰花纹圆领针织布短袖T恤', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5ac98b64N70acd82f.jpg!cc_350x449.jpg', 'HNTBJ2E080A', 0, 1, 0, 0, 0, 0, 0, 98.00, NULL, 0, 0, 0, '2018夏季新品短袖T恤男HNTBJ2E080A 蓝灰花纹80 175/92A/L80A 蓝灰花纹80 175/92A/L', '', 98.00, 100, 0, '', 0.00, 0, '', '', '', '', '', '', '', '', NULL, NULL, 0, 0, '海澜之家', 'T恤'); INSERT INTO `pms_product` VALUES (32, 50, 8, 0, 1, 'HLA海澜之家短袖T恤男基础款', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5a51eb88Na4797877.jpg', 'HNTBJ2E153A', 0, 1, 0, 0, 0, 0, 0, 68.00, NULL, 0, 0, 0, 'HLA海澜之家短袖T恤男基础款简约圆领HNTBJ2E153A藏青(F3)175/92A(50)', '', 68.00, 100, 0, '', 0.00, 0, '1,2', '', '', '', '', '', '', '', NULL, NULL, 0, 0, '海澜之家', 'T恤'); INSERT INTO `pms_product` VALUES (33, 6, 35, 0, 12, '小米(MI)小米电视4A ', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b02804dN66004d73.jpg', '4609652', 0, 1, 0, 0, 0, 0, 0, 2499.00, NULL, 0, 0, 0, '小米(MI)小米电视4A 55英寸 L55M5-AZ/L55M5-AD 2GB+8GB HDR 4K超高清 人工智能网络液晶平板电视', '', 2499.00, 100, 0, '', 0.00, 0, '', '', '', '', '', '', '', '', NULL, NULL, 0, 0, '小米', '电视'); INSERT INTO `pms_product` VALUES (34, 6, 35, 0, 12, '小米(MI)小米电视4A 65英寸', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b028530N51eee7d4.jpg', '4609660', 0, 1, 0, 0, 0, 0, 0, 3999.00, NULL, 0, 0, 0, ' L65M5-AZ/L65M5-AD 2GB+8GB HDR 4K超高清 人工智能网络液晶平板电视', '', 3999.00, 100, 0, '', 0.00, 0, '1,2', '', '', '', '', '', '', '', NULL, NULL, 0, 0, '小米', '电视'); INSERT INTO `pms_product` VALUES (35, 58, 29, 0, 11, '耐克NIKE 男子 休闲鞋 ROSHE RUN 运动鞋 511881-010黑色41码', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b235bb9Nf606460b.jpg', '6799342', 0, 1, 0, 0, 0, 0, 0, 369.00, NULL, 0, 0, 0, '耐克NIKE 男子 休闲鞋 ROSHE RUN 运动鞋 511881-010黑色41码', '', 369.00, 100, 0, '', 0.00, 0, '', '', '', '', '', '', '', '', NULL, NULL, 0, 0, 'NIKE', '男鞋'); INSERT INTO `pms_product` VALUES (36, 58, 29, 0, 11, '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20180615/5b19403eN9f0b3cb8.jpg', '6799345', 0, 1, 1, 1, 0, 0, 0, 499.00, NULL, 0, 0, 0, '耐克NIKE 男子 气垫 休闲鞋 AIR MAX 90 ESSENTIAL 运动鞋 AJ1285-101白色41码', '', 499.00, 100, 0, '', 0.00, 0, '', '', '', '', '', '', '', '', NULL, NULL, 0, 0, 'NIKE', '男鞋'); INSERT INTO `pms_product` VALUES (37, 51, 19, 0, 3, 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', '100038005189', 0, 1, 0, 0, 0, 200, 0, 5999.00, NULL, 0, 0, 0, '【11.11大爱超大爱】指定iPhone14产品限时限量领券立减601元!!!部分iPhone产品现货抢购确认收货即送原厂手机壳10元优惠券!!!猛戳 ', '', 5999.00, 1000, 0, '', 208.00, 0, '1,2,3', '', '', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_002.jpg,http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_003.jpg,http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_004.jpg', '', '', '', '
', NULL, NULL, 0, 0, '苹果', '手机通讯'); INSERT INTO `pms_product` VALUES (38, 51, 53, 0, 3, 'Apple iPad 10.9英寸平板电脑 2022年款', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/ipad_001.jpg', '100044025833', 0, 1, 0, 0, 0, 0, 0, 3599.00, NULL, 0, 0, 0, '【11.11大爱超大爱】iPad9代限量抢购,价格优惠,更享以旧换新至高补贴325元!!快来抢购吧!! ', '', 3599.00, 1000, 0, '', 0.00, 0, '1,2,3', '', '', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/ipad_002.jpg', '', '', '', '
', NULL, NULL, 0, 0, '苹果', '平板电脑'); INSERT INTO `pms_product` VALUES (39, 6, 54, 0, 13, '小米 Xiaomi Book Pro 14 2022 锐龙版 2.8K超清大师屏 高端轻薄笔记本电脑', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/xiaomi_computer_001.jpg', '100023207945', 0, 1, 0, 1, 0, 0, 0, 5599.00, NULL, 0, 0, 0, '【双十一大促来袭】指定型号至高优惠1000,以旧换新至高补贴1000元,晒单赢好礼', '', 5599.00, 500, 0, '', 0.00, 0, '', '', '', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/xiaomi_computer_002.jpg', '', '', '', '
\n
\n
 
\n
 
\n
\n
 
\n
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
 
\n
', NULL, NULL, 0, 0, '小米', '笔记本'); INSERT INTO `pms_product` VALUES (40, 6, 19, 0, 3, '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', '100027789721', 0, 1, 0, 1, 0, 0, 0, 2999.00, NULL, 0, 0, 0, '天玑9000+处理器、5160mAh大电量、2KAmoled超视感屏【点击购买小米11Ultra,戳】 ', '', 2999.00, 500, 0, '', 0.00, 0, '', '', '', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_02.jpg', '', '', '', '

', NULL, NULL, 0, 4, '小米', '手机通讯'); INSERT INTO `pms_product` VALUES (41, 6, 19, 0, 3, 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', '100035246702', 0, 1, 0, 0, 0, 0, 0, 2099.00, NULL, 0, 0, 0, '【品质好物】天玑8100,2K直屏,5500mAh大电量【Note12Pro火热抢购中】 ', '', 2099.00, 1000, 0, '', 0.00, 0, '', '', '', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_02.jpg', '', '', '', '

', NULL, NULL, 0, 0, '小米', '手机通讯'); INSERT INTO `pms_product` VALUES (42, 3, 19, 0, 3, 'HUAWEI Mate 50 直屏旗舰 超光变XMAGE影像 北斗卫星消息', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/huawei_mate50_01.jpg', '100035295081', 0, 1, 0, 0, 0, 0, 0, 4999.00, NULL, 0, 0, 0, '【华为Mate50新品上市】内置66W华为充电套装,超光变XMAGE影像,北斗卫星消息,鸿蒙操作系统3.0!立即抢购!华为新品可持续计划,猛戳》 ', '', 4999.00, 1000, 0, '', 0.00, 0, '', '', '', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/huawei_mate50_02.jpg', '', '', '', '

', NULL, NULL, 0, 0, '华为', '手机通讯'); INSERT INTO `pms_product` VALUES (43, 1, 39, 0, 14, '万和(Vanward)燃气热水器天然气家用四重防冻直流变频节能全新升级增压水伺服恒温高抗风', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/wanhe_13L_01.png', '10044060351752', 0, 1, 0, 0, 0, 0, 0, 1799.00, NULL, 0, 0, 0, '【家电11.11享低价,抢到手价不高于1199】【发布种草秀享好礼!同价11.11买贵补差】爆款超一级能效零冷水】 ', '', 1799.00, 1000, 0, '', 0.00, 0, '', '', '', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/wanhe_16L_01.jpg', '', '', '', '

', NULL, NULL, 0, 0, '万和', '厨卫大电'); INSERT INTO `pms_product` VALUES (44, 2, 55, 0, 15, '三星(SAMSUNG)500GB SSD固态硬盘 M.2接口(NVMe协议)', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/sanxing_ssd_02.jpg', '100018768480', 0, 1, 0, 0, 0, 0, 0, 369.00, NULL, 0, 0, 0, '【满血无缓存!进店抽百元E卡,部分型号白条三期免息】兼具速度与可靠性!读速高达3500MB/s,全功率模式!点击 ', '', 369.00, 1000, 0, '', 0.00, 0, '', '', '', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/sanxing_ssd_01.jpg', '', '', '', '

', NULL, NULL, 0, 0, '三星', '硬盘'); INSERT INTO `pms_product` VALUES (45, 21, 19, 0, 3, 'OPPO Reno8 8GB+128GB 鸢尾紫 新配色上市 80W超级闪充 5000万水光人像三摄', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/oppo_r8_01.jpg', '10052147850350', 0, 1, 0, 0, 0, 0, 0, 2299.00, 999.00, 0, 0, 0, '【11.11提前购机享价保,好货不用等,系统申请一键价保补差!】【Reno8Pro爆款优惠】 ', '', 2299.00, 1000, 0, '', 0.00, 0, '', '', '', 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/oppo_r8_02.jpg', '', '', '', '

', '2022-11-09 16:15:50', '2022-11-25 00:00:00', 0, 4, 'OPPO', '手机通讯'); -- ---------------------------- -- Table structure for pms_product_attribute -- ---------------------------- DROP TABLE IF EXISTS `pms_product_attribute`; CREATE TABLE `pms_product_attribute` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `product_attribute_category_id` bigint(20) NULL DEFAULT NULL, `name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `select_type` int(1) NULL DEFAULT NULL COMMENT '属性选择类型:0->唯一;1->单选;2->多选', `input_type` int(1) NULL DEFAULT NULL COMMENT '属性录入方式:0->手工录入;1->从列表中选取', `input_list` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '可选值列表,以逗号隔开', `sort` int(11) NULL DEFAULT NULL COMMENT '排序字段:最高的可以单独上传图片', `filter_type` int(1) NULL DEFAULT NULL COMMENT '分类筛选样式:1->普通;1->颜色', `search_type` int(1) NULL DEFAULT NULL COMMENT '检索类型;0->不需要进行检索;1->关键字检索;2->范围检索', `related_status` int(1) NULL DEFAULT NULL COMMENT '相同属性产品是否关联;0->不关联;1->关联', `hand_add_status` int(1) NULL DEFAULT NULL COMMENT '是否支持手动新增;0->不支持;1->支持', `type` int(1) NULL DEFAULT NULL COMMENT '属性的类型;0->规格;1->参数', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 74 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '商品属性参数表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_product_attribute -- ---------------------------- INSERT INTO `pms_product_attribute` VALUES (1, 1, '尺寸', 2, 1, 'M,X,XL,2XL,3XL,4XL', 0, 0, 0, 0, 0, 0); INSERT INTO `pms_product_attribute` VALUES (7, 1, '颜色', 2, 1, '黑色,红色,白色,粉色', 100, 0, 0, 0, 1, 0); INSERT INTO `pms_product_attribute` VALUES (13, 0, '上市年份', 1, 1, '2013年,2014年,2015年,2016年,2017年', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (14, 0, '上市年份1', 1, 1, '2013年,2014年,2015年,2016年,2017年', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (15, 0, '上市年份2', 1, 1, '2013年,2014年,2015年,2016年,2017年', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (16, 0, '上市年份3', 1, 1, '2013年,2014年,2015年,2016年,2017年', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (17, 0, '上市年份4', 1, 1, '2013年,2014年,2015年,2016年,2017年', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (18, 0, '上市年份5', 1, 1, '2013年,2014年,2015年,2016年,2017年', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (19, 0, '适用对象', 1, 1, '青年女性,中年女性', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (20, 0, '适用对象1', 2, 1, '青年女性,中年女性', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (21, 0, '适用对象3', 2, 1, '青年女性,中年女性', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (24, 1, '商品编号', 1, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (25, 1, '适用季节', 1, 1, '春季,夏季,秋季,冬季', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (32, 2, '适用人群', 0, 1, '老年,青年,中年', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (33, 2, '风格', 0, 1, '嘻哈风格,基础大众,商务正装', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (35, 2, '颜色', 0, 0, '', 100, 0, 0, 0, 1, 0); INSERT INTO `pms_product_attribute` VALUES (37, 1, '适用人群', 1, 1, '儿童,青年,中年,老年', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (38, 1, '上市时间', 1, 1, '2017年秋,2017年冬,2018年春,2018年夏', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (39, 1, '袖长', 1, 1, '短袖,长袖,中袖', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (40, 2, '尺码', 0, 1, '29,30,31,32,33,34', 0, 0, 0, 0, 0, 0); INSERT INTO `pms_product_attribute` VALUES (41, 2, '适用场景', 0, 1, '居家,运动,正装', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (42, 2, '上市时间', 0, 1, '2018年春,2018年夏', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (43, 3, '颜色', 0, 0, '', 100, 0, 0, 0, 1, 0); INSERT INTO `pms_product_attribute` VALUES (44, 3, '容量', 0, 1, '16G,32G,64G,128G,256G,512G', 0, 0, 0, 0, 0, 0); INSERT INTO `pms_product_attribute` VALUES (45, 3, '屏幕尺寸', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (46, 3, '网络', 0, 1, '3G,4G,5G,WLAN', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (47, 3, '系统', 0, 1, 'Android,IOS', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (48, 3, '电池容量', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (49, 11, '颜色', 0, 1, '红色,蓝色,绿色', 0, 1, 0, 0, 0, 0); INSERT INTO `pms_product_attribute` VALUES (50, 11, '尺寸', 0, 1, '38,39,40', 0, 0, 0, 0, 0, 0); INSERT INTO `pms_product_attribute` VALUES (51, 11, '风格', 0, 1, '夏季,秋季', 0, 0, 0, 0, 0, 0); INSERT INTO `pms_product_attribute` VALUES (52, 12, '尺寸', 0, 1, '50英寸,65英寸,70英寸', 0, 0, 0, 0, 0, 0); INSERT INTO `pms_product_attribute` VALUES (53, 12, '内存', 0, 1, '8G,16G,32G', 0, 0, 0, 0, 0, 0); INSERT INTO `pms_product_attribute` VALUES (54, 12, '商品编号', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (55, 12, '商品毛重', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (56, 12, '商品产地', 0, 1, '中国大陆,其他', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (57, 12, '电视类型', 0, 1, '大屏,教育电视,4K超清', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (58, 13, '颜色', 0, 0, '', 0, 0, 0, 0, 1, 0); INSERT INTO `pms_product_attribute` VALUES (59, 13, '版本', 0, 1, 'R7 16G 512,R5 16G 512,I5 16G 512,I7 16G 512', 0, 0, 0, 0, 0, 0); INSERT INTO `pms_product_attribute` VALUES (60, 13, '屏幕尺寸', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (61, 13, '屏幕分辨率', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (62, 13, 'CPU型号', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (63, 14, '系列', 0, 0, '', 0, 0, 0, 0, 1, 0); INSERT INTO `pms_product_attribute` VALUES (64, 14, '上市时间', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (65, 14, '毛重', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (66, 14, '额定功率', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (67, 15, '颜色', 0, 0, '', 0, 0, 0, 0, 1, 0); INSERT INTO `pms_product_attribute` VALUES (68, 15, '版本', 0, 1, '512GB,1TB', 0, 0, 0, 0, 0, 0); INSERT INTO `pms_product_attribute` VALUES (69, 15, '系列', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (70, 15, '型号', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (71, 15, '闪存类型', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (72, 15, '顺序读速', 0, 0, '', 0, 0, 0, 0, 0, 1); INSERT INTO `pms_product_attribute` VALUES (73, 15, '顺序写入', 0, 0, '', 0, 0, 0, 0, 0, 1); -- ---------------------------- -- Table structure for pms_product_attribute_category -- ---------------------------- DROP TABLE IF EXISTS `pms_product_attribute_category`; CREATE TABLE `pms_product_attribute_category` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `attribute_count` int(11) NULL DEFAULT 0 COMMENT '属性数量', `param_count` int(11) NULL DEFAULT 0 COMMENT '参数数量', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 16 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '产品属性分类表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_product_attribute_category -- ---------------------------- INSERT INTO `pms_product_attribute_category` VALUES (1, '服装-T恤', 2, 5); INSERT INTO `pms_product_attribute_category` VALUES (2, '服装-裤装', 2, 4); INSERT INTO `pms_product_attribute_category` VALUES (3, '手机数码-手机通讯', 2, 4); INSERT INTO `pms_product_attribute_category` VALUES (4, '配件', 0, 0); INSERT INTO `pms_product_attribute_category` VALUES (5, '居家', 0, 0); INSERT INTO `pms_product_attribute_category` VALUES (6, '洗护', 0, 0); INSERT INTO `pms_product_attribute_category` VALUES (10, '测试分类', 0, 0); INSERT INTO `pms_product_attribute_category` VALUES (11, '服装-鞋帽', 3, 0); INSERT INTO `pms_product_attribute_category` VALUES (12, '家用电器-电视', 2, 4); INSERT INTO `pms_product_attribute_category` VALUES (13, '电脑办公-笔记本', 2, 3); INSERT INTO `pms_product_attribute_category` VALUES (14, '家用电器-厨卫大电', 1, 3); INSERT INTO `pms_product_attribute_category` VALUES (15, '电脑办公-硬盘', 2, 5); -- ---------------------------- -- Table structure for pms_product_attribute_value -- ---------------------------- DROP TABLE IF EXISTS `pms_product_attribute_value`; CREATE TABLE `pms_product_attribute_value` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `product_id` bigint(20) NULL DEFAULT NULL, `product_attribute_id` bigint(20) NULL DEFAULT NULL, `value` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手动添加规格或参数的值,参数单值,规格有多个时以逗号隔开', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 517 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '存储产品参数信息的表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_product_attribute_value -- ---------------------------- INSERT INTO `pms_product_attribute_value` VALUES (1, 9, 1, 'X'); INSERT INTO `pms_product_attribute_value` VALUES (2, 10, 1, 'X'); INSERT INTO `pms_product_attribute_value` VALUES (3, 11, 1, 'X'); INSERT INTO `pms_product_attribute_value` VALUES (4, 12, 1, 'X'); INSERT INTO `pms_product_attribute_value` VALUES (5, 13, 1, 'X'); INSERT INTO `pms_product_attribute_value` VALUES (6, 14, 1, 'X'); INSERT INTO `pms_product_attribute_value` VALUES (7, 18, 1, 'X'); INSERT INTO `pms_product_attribute_value` VALUES (8, 7, 1, 'X'); INSERT INTO `pms_product_attribute_value` VALUES (9, 7, 1, 'XL'); INSERT INTO `pms_product_attribute_value` VALUES (10, 7, 1, 'XXL'); INSERT INTO `pms_product_attribute_value` VALUES (11, 22, 7, 'x,xx'); INSERT INTO `pms_product_attribute_value` VALUES (12, 22, 24, 'no110'); INSERT INTO `pms_product_attribute_value` VALUES (13, 22, 25, '春季'); INSERT INTO `pms_product_attribute_value` VALUES (14, 22, 37, '青年'); INSERT INTO `pms_product_attribute_value` VALUES (15, 22, 38, '2018年春'); INSERT INTO `pms_product_attribute_value` VALUES (16, 22, 39, '长袖'); INSERT INTO `pms_product_attribute_value` VALUES (124, 23, 7, '米白色,浅黄色'); INSERT INTO `pms_product_attribute_value` VALUES (125, 23, 24, 'no1098'); INSERT INTO `pms_product_attribute_value` VALUES (126, 23, 25, '春季'); INSERT INTO `pms_product_attribute_value` VALUES (127, 23, 37, '青年'); INSERT INTO `pms_product_attribute_value` VALUES (128, 23, 38, '2018年春'); INSERT INTO `pms_product_attribute_value` VALUES (129, 23, 39, '长袖'); INSERT INTO `pms_product_attribute_value` VALUES (130, 1, 13, NULL); INSERT INTO `pms_product_attribute_value` VALUES (131, 1, 14, NULL); INSERT INTO `pms_product_attribute_value` VALUES (132, 1, 15, NULL); INSERT INTO `pms_product_attribute_value` VALUES (133, 1, 16, NULL); INSERT INTO `pms_product_attribute_value` VALUES (134, 1, 17, NULL); INSERT INTO `pms_product_attribute_value` VALUES (135, 1, 18, NULL); INSERT INTO `pms_product_attribute_value` VALUES (136, 1, 19, NULL); INSERT INTO `pms_product_attribute_value` VALUES (137, 1, 20, NULL); INSERT INTO `pms_product_attribute_value` VALUES (138, 1, 21, NULL); INSERT INTO `pms_product_attribute_value` VALUES (139, 2, 13, NULL); INSERT INTO `pms_product_attribute_value` VALUES (140, 2, 14, NULL); INSERT INTO `pms_product_attribute_value` VALUES (141, 2, 15, NULL); INSERT INTO `pms_product_attribute_value` VALUES (142, 2, 16, NULL); INSERT INTO `pms_product_attribute_value` VALUES (143, 2, 17, NULL); INSERT INTO `pms_product_attribute_value` VALUES (144, 2, 18, NULL); INSERT INTO `pms_product_attribute_value` VALUES (145, 2, 19, NULL); INSERT INTO `pms_product_attribute_value` VALUES (146, 2, 20, NULL); INSERT INTO `pms_product_attribute_value` VALUES (147, 2, 21, NULL); INSERT INTO `pms_product_attribute_value` VALUES (243, 30, 7, '蓝色,白色'); INSERT INTO `pms_product_attribute_value` VALUES (244, 30, 24, 'HNTBJ2E042A'); INSERT INTO `pms_product_attribute_value` VALUES (245, 30, 25, '夏季'); INSERT INTO `pms_product_attribute_value` VALUES (246, 30, 37, '青年'); INSERT INTO `pms_product_attribute_value` VALUES (247, 30, 38, '2018年夏'); INSERT INTO `pms_product_attribute_value` VALUES (248, 30, 39, '短袖'); INSERT INTO `pms_product_attribute_value` VALUES (249, 31, 7, '浅灰色,深灰色'); INSERT INTO `pms_product_attribute_value` VALUES (250, 31, 24, 'HNTBJ2E080A'); INSERT INTO `pms_product_attribute_value` VALUES (251, 31, 25, '夏季'); INSERT INTO `pms_product_attribute_value` VALUES (252, 31, 37, '青年'); INSERT INTO `pms_product_attribute_value` VALUES (253, 31, 38, '2018年夏'); INSERT INTO `pms_product_attribute_value` VALUES (254, 31, 39, '短袖'); INSERT INTO `pms_product_attribute_value` VALUES (255, 32, 7, '黑色,白色'); INSERT INTO `pms_product_attribute_value` VALUES (256, 32, 24, 'HNTBJ2E153A'); INSERT INTO `pms_product_attribute_value` VALUES (257, 32, 25, '夏季'); INSERT INTO `pms_product_attribute_value` VALUES (258, 32, 37, '青年'); INSERT INTO `pms_product_attribute_value` VALUES (259, 32, 38, '2018年夏'); INSERT INTO `pms_product_attribute_value` VALUES (260, 32, 39, '短袖'); INSERT INTO `pms_product_attribute_value` VALUES (265, 33, 54, '4609652'); INSERT INTO `pms_product_attribute_value` VALUES (266, 33, 55, '28.6kg'); INSERT INTO `pms_product_attribute_value` VALUES (267, 33, 56, '中国大陆'); INSERT INTO `pms_product_attribute_value` VALUES (268, 33, 57, '大屏'); INSERT INTO `pms_product_attribute_value` VALUES (269, 34, 54, '4609660'); INSERT INTO `pms_product_attribute_value` VALUES (270, 34, 55, '30.8kg'); INSERT INTO `pms_product_attribute_value` VALUES (271, 34, 56, '中国大陆'); INSERT INTO `pms_product_attribute_value` VALUES (272, 34, 57, '4K超清'); INSERT INTO `pms_product_attribute_value` VALUES (288, 27, 43, '黑色,蓝色'); INSERT INTO `pms_product_attribute_value` VALUES (289, 27, 45, '5.8'); INSERT INTO `pms_product_attribute_value` VALUES (290, 27, 46, '4G'); INSERT INTO `pms_product_attribute_value` VALUES (291, 27, 47, 'Android'); INSERT INTO `pms_product_attribute_value` VALUES (292, 27, 48, '3000ml'); INSERT INTO `pms_product_attribute_value` VALUES (303, 28, 43, '金色,银色'); INSERT INTO `pms_product_attribute_value` VALUES (304, 28, 45, '5.0'); INSERT INTO `pms_product_attribute_value` VALUES (305, 28, 46, '4G'); INSERT INTO `pms_product_attribute_value` VALUES (306, 28, 47, 'Android'); INSERT INTO `pms_product_attribute_value` VALUES (307, 28, 48, '2800ml'); INSERT INTO `pms_product_attribute_value` VALUES (308, 29, 43, '金色,银色'); INSERT INTO `pms_product_attribute_value` VALUES (309, 29, 45, '4.7'); INSERT INTO `pms_product_attribute_value` VALUES (310, 29, 46, '4G'); INSERT INTO `pms_product_attribute_value` VALUES (311, 29, 47, 'IOS'); INSERT INTO `pms_product_attribute_value` VALUES (312, 29, 48, '1960ml'); INSERT INTO `pms_product_attribute_value` VALUES (338, 37, 43, '午夜色,星光色,紫色,蓝色'); INSERT INTO `pms_product_attribute_value` VALUES (339, 37, 45, '6.1英寸'); INSERT INTO `pms_product_attribute_value` VALUES (340, 37, 46, '5G'); INSERT INTO `pms_product_attribute_value` VALUES (341, 37, 47, 'IOS'); INSERT INTO `pms_product_attribute_value` VALUES (342, 37, 48, '3000毫安'); INSERT INTO `pms_product_attribute_value` VALUES (443, 38, 43, '银色,蓝色'); INSERT INTO `pms_product_attribute_value` VALUES (444, 38, 45, '10.9英寸'); INSERT INTO `pms_product_attribute_value` VALUES (445, 38, 46, 'WLAN'); INSERT INTO `pms_product_attribute_value` VALUES (446, 38, 47, 'IOS'); INSERT INTO `pms_product_attribute_value` VALUES (447, 38, 48, '6000毫安'); INSERT INTO `pms_product_attribute_value` VALUES (448, 39, 58, '新小米Pro 14英寸 2.8K屏,新Redmi Pro 15英寸 3.2K屏'); INSERT INTO `pms_product_attribute_value` VALUES (449, 39, 60, '15.6英寸'); INSERT INTO `pms_product_attribute_value` VALUES (450, 39, 61, '3200*2000'); INSERT INTO `pms_product_attribute_value` VALUES (451, 39, 62, 'R5 6600H'); INSERT INTO `pms_product_attribute_value` VALUES (452, 41, 43, '墨羽,银迹'); INSERT INTO `pms_product_attribute_value` VALUES (453, 41, 45, '6.67英寸'); INSERT INTO `pms_product_attribute_value` VALUES (454, 41, 46, '5G'); INSERT INTO `pms_product_attribute_value` VALUES (455, 41, 47, 'Android'); INSERT INTO `pms_product_attribute_value` VALUES (456, 41, 48, '5500mAh'); INSERT INTO `pms_product_attribute_value` VALUES (457, 42, 43, '曜金黑,冰霜银'); INSERT INTO `pms_product_attribute_value` VALUES (458, 42, 45, '6.7英寸'); INSERT INTO `pms_product_attribute_value` VALUES (459, 42, 46, '5G'); INSERT INTO `pms_product_attribute_value` VALUES (460, 42, 47, 'Android'); INSERT INTO `pms_product_attribute_value` VALUES (461, 42, 48, '4460mAh'); INSERT INTO `pms_product_attribute_value` VALUES (462, 43, 63, 'JSQ25-565W13【13升】【恒温旗舰款】,JSQ30-565W16【16升】【恒温旗舰款】'); INSERT INTO `pms_product_attribute_value` VALUES (463, 43, 64, '2021-05'); INSERT INTO `pms_product_attribute_value` VALUES (464, 43, 65, '15.5kg'); INSERT INTO `pms_product_attribute_value` VALUES (465, 43, 66, '30w'); INSERT INTO `pms_product_attribute_value` VALUES (466, 44, 67, '新品980|NVMe PCIe3.0*4,980 PRO|NVMe PCIe 4.0'); INSERT INTO `pms_product_attribute_value` VALUES (467, 44, 69, '980'); INSERT INTO `pms_product_attribute_value` VALUES (468, 44, 70, 'MZ-V8V500BW'); INSERT INTO `pms_product_attribute_value` VALUES (469, 44, 71, 'TLC'); INSERT INTO `pms_product_attribute_value` VALUES (470, 44, 72, '3100MB/s'); INSERT INTO `pms_product_attribute_value` VALUES (471, 44, 73, '2600MB/s'); INSERT INTO `pms_product_attribute_value` VALUES (472, 45, 43, '鸢尾紫,晴空蓝'); INSERT INTO `pms_product_attribute_value` VALUES (473, 45, 45, '6.43英寸'); INSERT INTO `pms_product_attribute_value` VALUES (474, 45, 46, '5G'); INSERT INTO `pms_product_attribute_value` VALUES (475, 45, 47, 'Android'); INSERT INTO `pms_product_attribute_value` VALUES (476, 45, 48, '4500mAh'); INSERT INTO `pms_product_attribute_value` VALUES (477, 40, 43, '黑色,蓝色'); INSERT INTO `pms_product_attribute_value` VALUES (478, 40, 45, '6.73英寸'); INSERT INTO `pms_product_attribute_value` VALUES (479, 40, 46, '5G'); INSERT INTO `pms_product_attribute_value` VALUES (480, 40, 47, 'Android'); INSERT INTO `pms_product_attribute_value` VALUES (481, 40, 48, '5160mAh'); INSERT INTO `pms_product_attribute_value` VALUES (512, 26, 43, '金色,银色'); INSERT INTO `pms_product_attribute_value` VALUES (513, 26, 45, '5.0'); INSERT INTO `pms_product_attribute_value` VALUES (514, 26, 46, '4G'); INSERT INTO `pms_product_attribute_value` VALUES (515, 26, 47, 'Android'); INSERT INTO `pms_product_attribute_value` VALUES (516, 26, 48, '3000'); -- ---------------------------- -- Table structure for pms_product_category -- ---------------------------- DROP TABLE IF EXISTS `pms_product_category`; CREATE TABLE `pms_product_category` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `parent_id` bigint(20) NULL DEFAULT NULL COMMENT '上机分类的编号:0表示一级分类', `name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `level` int(1) NULL DEFAULT NULL COMMENT '分类级别:0->1级;1->2级', `product_count` int(11) NULL DEFAULT NULL, `product_unit` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `nav_status` int(1) NULL DEFAULT NULL COMMENT '是否显示在导航栏:0->不显示;1->显示', `show_status` int(1) NULL DEFAULT NULL COMMENT '显示状态:0->不显示;1->显示', `sort` int(11) NULL DEFAULT NULL, `icon` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '图标', `keywords` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `description` text CHARACTER SET utf8 COLLATE utf8_general_ci NULL COMMENT '描述', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 56 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '产品分类' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_product_category -- ---------------------------- INSERT INTO `pms_product_category` VALUES (1, 0, '服装', 0, 100, '件', 1, 1, 1, NULL, '服装', '服装分类'); INSERT INTO `pms_product_category` VALUES (2, 0, '手机数码', 0, 100, '件', 1, 1, 1, NULL, '手机数码', '手机数码'); INSERT INTO `pms_product_category` VALUES (3, 0, '家用电器', 0, 100, '件', 1, 1, 1, NULL, '家用电器', '家用电器'); INSERT INTO `pms_product_category` VALUES (4, 0, '家具家装', 0, 100, '件', 1, 1, 1, NULL, '家具家装', '家具家装'); INSERT INTO `pms_product_category` VALUES (5, 0, '汽车用品', 0, 100, '件', 1, 1, 1, NULL, '汽车用品', '汽车用品'); INSERT INTO `pms_product_category` VALUES (7, 1, '外套', 1, 100, '件', 1, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190519/5ac4780cN6087feb5.jpg', '外套', '外套'); INSERT INTO `pms_product_category` VALUES (8, 1, 'T恤', 1, 100, '件', 1, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190519/5ac47ffaN8a7b2e14.png', 'T恤', 'T恤'); INSERT INTO `pms_product_category` VALUES (9, 1, '休闲裤', 1, 100, '件', 1, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190519/5ac47845N7374a31d.jpg', '休闲裤', '休闲裤'); INSERT INTO `pms_product_category` VALUES (10, 1, '牛仔裤', 1, 100, '件', 1, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190519/5ac47841Nff658599.jpg', '牛仔裤', '牛仔裤'); INSERT INTO `pms_product_category` VALUES (11, 1, '衬衫', 1, 100, '件', 1, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190519/5ac48007Nb30b2118.jpg', '衬衫', '衬衫分类'); INSERT INTO `pms_product_category` VALUES (13, 12, '家电子分类1', 1, 1, 'string', 0, 1, 0, 'string', 'string', 'string'); INSERT INTO `pms_product_category` VALUES (14, 12, '家电子分类2', 1, 1, 'string', 0, 1, 0, 'string', 'string', 'string'); INSERT INTO `pms_product_category` VALUES (19, 2, '手机通讯', 1, 0, '件', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190519/5ac48d27N3f5bb821.jpg', '手机通讯', '手机通讯'); INSERT INTO `pms_product_category` VALUES (29, 1, '男鞋', 1, 0, '', 0, 0, 0, '', '', ''); INSERT INTO `pms_product_category` VALUES (30, 2, '手机配件', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190519/5ac48672N11cf61fe.jpg', '手机配件', '手机配件'); INSERT INTO `pms_product_category` VALUES (31, 2, '摄影摄像', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190519/5a1679f2Nc2f659b6.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (32, 2, '影音娱乐', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190519/5a167859N01d8198b.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (33, 2, '数码配件', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190519/5a1676e9N1ba70a81.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (34, 2, '智能设备', 1, 0, '', 0, 0, 0, '', '', ''); INSERT INTO `pms_product_category` VALUES (35, 3, '电视', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a17f71eN25360979.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (36, 3, '空调', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a17f6f6Ndfe746aa.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (37, 3, '洗衣机', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a17f6eaN9ec936de.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (38, 3, '冰箱', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a17f6c5Ne56d7e26.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (39, 3, '厨卫大电', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a17f369N6a55ff3f.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (40, 3, '厨房小电', 1, 0, '', 0, 0, 0, '', '', ''); INSERT INTO `pms_product_category` VALUES (41, 3, '生活电器', 1, 0, '', 0, 0, 0, '', '', ''); INSERT INTO `pms_product_category` VALUES (42, 3, '个护健康', 1, 0, '', 0, 0, 0, '', '', ''); INSERT INTO `pms_product_category` VALUES (43, 4, '厨房卫浴', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a1eb12cN5ab932bb.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (44, 4, '灯饰照明', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a1eb115Na5705672.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (45, 4, '五金工具', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a28e743Nf6d99998.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (46, 4, '卧室家具', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a1eb096N6326e0bd.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (47, 4, '客厅家具', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a1eb080N38c2e7b7.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (48, 5, '全新整车', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/ebe31b9cc535e122.png', '', ''); INSERT INTO `pms_product_category` VALUES (49, 5, '车载电器', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a1fb8d2N53bbd2ba.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (50, 5, '维修保养', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a1fb8baNbe801af8.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (51, 5, '汽车装饰', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20200607/5a28ae20N34461e66.jpg', '', ''); INSERT INTO `pms_product_category` VALUES (52, 0, '电脑办公', 0, 0, '件', 1, 1, 1, '', '电脑办公', '电脑办公'); INSERT INTO `pms_product_category` VALUES (53, 52, '平板电脑', 1, 0, '件', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/pad_category_01.jpg', '平板电脑', '平板电脑'); INSERT INTO `pms_product_category` VALUES (54, 52, '笔记本', 1, 0, '件', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/computer_category_01.jpg', '笔记本', '笔记本'); INSERT INTO `pms_product_category` VALUES (55, 52, '硬盘', 1, 0, '', 0, 1, 0, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/ssd_category_01.jpg', '硬盘', ''); -- ---------------------------- -- Table structure for pms_product_category_attribute_relation -- ---------------------------- DROP TABLE IF EXISTS `pms_product_category_attribute_relation`; CREATE TABLE `pms_product_category_attribute_relation` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `product_category_id` bigint(20) NULL DEFAULT NULL, `product_attribute_id` bigint(20) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '产品的分类和属性的关系表,用于设置分类筛选条件(只支持一级分类)' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_product_category_attribute_relation -- ---------------------------- INSERT INTO `pms_product_category_attribute_relation` VALUES (1, 24, 24); INSERT INTO `pms_product_category_attribute_relation` VALUES (5, 26, 24); INSERT INTO `pms_product_category_attribute_relation` VALUES (7, 28, 24); INSERT INTO `pms_product_category_attribute_relation` VALUES (9, 25, 24); INSERT INTO `pms_product_category_attribute_relation` VALUES (10, 25, 25); -- ---------------------------- -- Table structure for pms_product_full_reduction -- ---------------------------- DROP TABLE IF EXISTS `pms_product_full_reduction`; CREATE TABLE `pms_product_full_reduction` ( `id` bigint(11) NOT NULL AUTO_INCREMENT, `product_id` bigint(20) NULL DEFAULT NULL, `full_price` decimal(10, 2) NULL DEFAULT NULL, `reduce_price` decimal(10, 2) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 148 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '产品满减表(只针对同商品)' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_product_full_reduction -- ---------------------------- INSERT INTO `pms_product_full_reduction` VALUES (1, 7, 100.00, 20.00); INSERT INTO `pms_product_full_reduction` VALUES (2, 8, 100.00, 20.00); INSERT INTO `pms_product_full_reduction` VALUES (3, 9, 100.00, 20.00); INSERT INTO `pms_product_full_reduction` VALUES (4, 10, 100.00, 20.00); INSERT INTO `pms_product_full_reduction` VALUES (5, 11, 100.00, 20.00); INSERT INTO `pms_product_full_reduction` VALUES (6, 12, 100.00, 20.00); INSERT INTO `pms_product_full_reduction` VALUES (7, 13, 100.00, 20.00); INSERT INTO `pms_product_full_reduction` VALUES (8, 14, 100.00, 20.00); INSERT INTO `pms_product_full_reduction` VALUES (9, 18, 100.00, 20.00); INSERT INTO `pms_product_full_reduction` VALUES (10, 7, 200.00, 50.00); INSERT INTO `pms_product_full_reduction` VALUES (11, 7, 300.00, 100.00); INSERT INTO `pms_product_full_reduction` VALUES (14, 22, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (16, 24, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (34, 23, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (78, 36, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (79, 35, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (83, 30, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (84, 31, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (85, 32, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (87, 33, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (88, 34, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (93, 27, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (96, 28, 500.00, 50.00); INSERT INTO `pms_product_full_reduction` VALUES (97, 28, 1000.00, 120.00); INSERT INTO `pms_product_full_reduction` VALUES (98, 29, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (104, 37, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (126, 38, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (127, 39, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (128, 41, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (129, 42, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (130, 43, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (131, 44, 0.00, 0.00); INSERT INTO `pms_product_full_reduction` VALUES (132, 45, 2000.00, 100.00); INSERT INTO `pms_product_full_reduction` VALUES (133, 40, 2000.00, 200.00); INSERT INTO `pms_product_full_reduction` VALUES (146, 26, 3000.00, 300.00); INSERT INTO `pms_product_full_reduction` VALUES (147, 26, 5000.00, 500.00); -- ---------------------------- -- Table structure for pms_product_ladder -- ---------------------------- DROP TABLE IF EXISTS `pms_product_ladder`; CREATE TABLE `pms_product_ladder` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `product_id` bigint(20) NULL DEFAULT NULL, `count` int(11) NULL DEFAULT NULL COMMENT '满足的商品数量', `discount` decimal(10, 2) NULL DEFAULT NULL COMMENT '折扣', `price` decimal(10, 2) NULL DEFAULT NULL COMMENT '折后价格', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 148 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '产品阶梯价格表(只针对同商品)' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_product_ladder -- ---------------------------- INSERT INTO `pms_product_ladder` VALUES (1, 7, 3, 0.70, 0.00); INSERT INTO `pms_product_ladder` VALUES (2, 8, 3, 0.70, 0.00); INSERT INTO `pms_product_ladder` VALUES (3, 9, 3, 0.70, 0.00); INSERT INTO `pms_product_ladder` VALUES (4, 10, 3, 0.70, 0.00); INSERT INTO `pms_product_ladder` VALUES (5, 11, 3, 0.70, 0.00); INSERT INTO `pms_product_ladder` VALUES (6, 12, 3, 0.70, 0.00); INSERT INTO `pms_product_ladder` VALUES (7, 13, 3, 0.70, 0.00); INSERT INTO `pms_product_ladder` VALUES (8, 14, 3, 0.70, 0.00); INSERT INTO `pms_product_ladder` VALUES (12, 18, 3, 0.70, 0.00); INSERT INTO `pms_product_ladder` VALUES (14, 7, 4, 0.60, 0.00); INSERT INTO `pms_product_ladder` VALUES (15, 7, 5, 0.50, 0.00); INSERT INTO `pms_product_ladder` VALUES (18, 22, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (20, 24, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (38, 23, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (83, 36, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (84, 35, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (88, 30, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (89, 31, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (90, 32, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (92, 33, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (93, 34, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (99, 27, 2, 0.80, 0.00); INSERT INTO `pms_product_ladder` VALUES (100, 27, 3, 0.75, 0.00); INSERT INTO `pms_product_ladder` VALUES (103, 28, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (104, 29, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (110, 37, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (133, 38, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (134, 39, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (135, 41, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (136, 42, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (137, 43, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (138, 44, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (139, 45, 1, 0.70, 0.00); INSERT INTO `pms_product_ladder` VALUES (140, 40, 0, 0.00, 0.00); INSERT INTO `pms_product_ladder` VALUES (147, 26, 0, 0.00, 0.00); -- ---------------------------- -- Table structure for pms_product_operate_log -- ---------------------------- DROP TABLE IF EXISTS `pms_product_operate_log`; CREATE TABLE `pms_product_operate_log` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `product_id` bigint(20) NULL DEFAULT NULL, `price_old` decimal(10, 2) NULL DEFAULT NULL, `price_new` decimal(10, 2) NULL DEFAULT NULL, `sale_price_old` decimal(10, 2) NULL DEFAULT NULL, `sale_price_new` decimal(10, 2) NULL DEFAULT NULL, `gift_point_old` int(11) NULL DEFAULT NULL COMMENT '赠送的积分', `gift_point_new` int(11) NULL DEFAULT NULL, `use_point_limit_old` int(11) NULL DEFAULT NULL, `use_point_limit_new` int(11) NULL DEFAULT NULL, `operate_man` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作人', `create_time` datetime NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_product_operate_log -- ---------------------------- -- ---------------------------- -- Table structure for pms_product_vertify_record -- ---------------------------- DROP TABLE IF EXISTS `pms_product_vertify_record`; CREATE TABLE `pms_product_vertify_record` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `product_id` bigint(20) NULL DEFAULT NULL, `create_time` datetime NULL DEFAULT NULL, `vertify_man` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '审核人', `status` int(1) NULL DEFAULT NULL, `detail` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '反馈详情', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '商品审核记录' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_product_vertify_record -- ---------------------------- INSERT INTO `pms_product_vertify_record` VALUES (1, 1, '2018-04-27 16:36:41', 'test', 1, '验证通过'); INSERT INTO `pms_product_vertify_record` VALUES (2, 2, '2018-04-27 16:36:41', 'test', 1, '验证通过'); -- ---------------------------- -- Table structure for pms_sku_stock -- ---------------------------- DROP TABLE IF EXISTS `pms_sku_stock`; CREATE TABLE `pms_sku_stock` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `product_id` bigint(20) NULL DEFAULT NULL, `sku_code` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT 'sku编码', `price` decimal(10, 2) NULL DEFAULT NULL, `stock` int(11) NULL DEFAULT 0 COMMENT '库存', `low_stock` int(11) NULL DEFAULT NULL COMMENT '预警库存', `pic` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '展示图片', `sale` int(11) NULL DEFAULT NULL COMMENT '销量', `promotion_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '单品促销价格', `lock_stock` int(11) NULL DEFAULT 0 COMMENT '锁定库存', `sp_data` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品销售属性,json格式', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 243 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = 'sku的库存' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of pms_sku_stock -- ---------------------------- INSERT INTO `pms_sku_stock` VALUES (98, 27, '201808270027001', 2699.00, 86, NULL, NULL, NULL, NULL, -24, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `pms_sku_stock` VALUES (99, 27, '201808270027002', 2999.00, 100, NULL, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"64G\"}]'); INSERT INTO `pms_sku_stock` VALUES (100, 27, '201808270027003', 2699.00, 100, NULL, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `pms_sku_stock` VALUES (101, 27, '201808270027004', 2999.00, 100, NULL, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"容量\",\"value\":\"64G\"}]'); INSERT INTO `pms_sku_stock` VALUES (102, 28, '201808270028001', 649.00, 99, NULL, NULL, NULL, NULL, -8, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `pms_sku_stock` VALUES (103, 28, '201808270028002', 699.00, 99, NULL, NULL, NULL, NULL, -8, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `pms_sku_stock` VALUES (104, 28, '201808270028003', 649.00, 100, NULL, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `pms_sku_stock` VALUES (105, 28, '201808270028004', 699.00, 100, NULL, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `pms_sku_stock` VALUES (106, 29, '201808270029001', 5499.00, 99, NULL, NULL, NULL, 4999.00, -8, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `pms_sku_stock` VALUES (107, 29, '201808270029002', 6299.00, 100, NULL, NULL, NULL, 5799.00, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"64G\"}]'); INSERT INTO `pms_sku_stock` VALUES (108, 29, '201808270029003', 5499.00, 100, NULL, NULL, NULL, 4999.00, 0, '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `pms_sku_stock` VALUES (109, 29, '201808270029004', 6299.00, 100, NULL, NULL, NULL, 5799.00, 0, '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"64G\"}]'); INSERT INTO `pms_sku_stock` VALUES (110, 26, '201806070026001', 3788.00, 487, NULL, NULL, NULL, 3699.00, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `pms_sku_stock` VALUES (111, 26, '201806070026002', 3999.00, 499, NULL, NULL, NULL, 3899.00, 0, '[{\"key\":\"颜色\",\"value\":\"金色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `pms_sku_stock` VALUES (112, 26, '201806070026003', 3788.00, 500, NULL, NULL, NULL, 3699.00, 0, '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"16G\"}]'); INSERT INTO `pms_sku_stock` VALUES (113, 26, '201806070026004', 3999.00, 500, NULL, NULL, NULL, 3899.00, 0, '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"32G\"}]'); INSERT INTO `pms_sku_stock` VALUES (163, 36, '202002210036001', 100.00, 100, 25, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"秋季\"}]'); INSERT INTO `pms_sku_stock` VALUES (164, 36, '202002210036002', 120.00, 98, 20, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"夏季\"}]'); INSERT INTO `pms_sku_stock` VALUES (165, 36, '202002210036003', 100.00, 100, 20, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"39\"},{\"key\":\"风格\",\"value\":\"秋季\"}]'); INSERT INTO `pms_sku_stock` VALUES (166, 36, '202002210036004', 100.00, 100, 20, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"39\"},{\"key\":\"风格\",\"value\":\"夏季\"}]'); INSERT INTO `pms_sku_stock` VALUES (167, 36, '202002210036005', 100.00, 100, 20, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"秋季\"}]'); INSERT INTO `pms_sku_stock` VALUES (168, 36, '202002210036006', 100.00, 100, 20, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"夏季\"}]'); INSERT INTO `pms_sku_stock` VALUES (169, 36, '202002210036007', 100.00, 100, 20, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"尺寸\",\"value\":\"39\"},{\"key\":\"风格\",\"value\":\"秋季\"}]'); INSERT INTO `pms_sku_stock` VALUES (170, 36, '202002210036008', 100.00, 100, 20, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"尺寸\",\"value\":\"39\"},{\"key\":\"风格\",\"value\":\"夏季\"}]'); INSERT INTO `pms_sku_stock` VALUES (171, 35, '202002250035001', 200.00, 100, 50, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"夏季\"}]'); INSERT INTO `pms_sku_stock` VALUES (172, 35, '202002250035002', 240.00, 100, 50, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"秋季\"}]'); INSERT INTO `pms_sku_stock` VALUES (173, 35, '202002250035003', 200.00, 100, 50, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"39\"},{\"key\":\"风格\",\"value\":\"夏季\"}]'); INSERT INTO `pms_sku_stock` VALUES (174, 35, '202002250035004', 200.00, 100, 50, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"红色\"},{\"key\":\"尺寸\",\"value\":\"39\"},{\"key\":\"风格\",\"value\":\"秋季\"}]'); INSERT INTO `pms_sku_stock` VALUES (175, 35, '202002250035005', 200.00, 100, 50, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"夏季\"}]'); INSERT INTO `pms_sku_stock` VALUES (176, 35, '202002250035006', 200.00, 100, 50, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"尺寸\",\"value\":\"38\"},{\"key\":\"风格\",\"value\":\"秋季\"}]'); INSERT INTO `pms_sku_stock` VALUES (177, 35, '202002250035007', 200.00, 100, 50, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"尺寸\",\"value\":\"39\"},{\"key\":\"风格\",\"value\":\"夏季\"}]'); INSERT INTO `pms_sku_stock` VALUES (178, 35, '202002250035008', 200.00, 100, 50, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"尺寸\",\"value\":\"39\"},{\"key\":\"风格\",\"value\":\"秋季\"}]'); INSERT INTO `pms_sku_stock` VALUES (179, 30, '202004190030001', 88.00, 100, NULL, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"尺寸\",\"value\":\"X\"}]'); INSERT INTO `pms_sku_stock` VALUES (180, 30, '202004190030002', 88.00, 100, NULL, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"尺寸\",\"value\":\"XL\"}]'); INSERT INTO `pms_sku_stock` VALUES (181, 30, '202004190030003', 88.00, 100, NULL, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"尺寸\",\"value\":\"M\"}]'); INSERT INTO `pms_sku_stock` VALUES (182, 30, '202004190030004', 88.00, 100, NULL, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"白色\"},{\"key\":\"尺寸\",\"value\":\"X\"}]'); INSERT INTO `pms_sku_stock` VALUES (183, 30, '202004190030005', 88.00, 100, NULL, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"白色\"},{\"key\":\"尺寸\",\"value\":\"XL\"}]'); INSERT INTO `pms_sku_stock` VALUES (184, 30, '202004190030006', 88.00, 100, NULL, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"白色\"},{\"key\":\"尺寸\",\"value\":\"M\"}]'); INSERT INTO `pms_sku_stock` VALUES (185, 31, '202004190031001', 88.00, 80, 10, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"浅灰色\"},{\"key\":\"尺寸\",\"value\":\"X\"}]'); INSERT INTO `pms_sku_stock` VALUES (186, 31, '202004190031002', 88.00, 80, 10, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"浅灰色\"},{\"key\":\"尺寸\",\"value\":\"XL\"}]'); INSERT INTO `pms_sku_stock` VALUES (187, 31, '202004190031003', 88.00, 80, 10, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"深灰色\"},{\"key\":\"尺寸\",\"value\":\"X\"}]'); INSERT INTO `pms_sku_stock` VALUES (188, 31, '202004190031004', 88.00, 80, 10, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"深灰色\"},{\"key\":\"尺寸\",\"value\":\"XL\"}]'); INSERT INTO `pms_sku_stock` VALUES (189, 32, '202004190032001', 99.00, 100, 10, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"尺寸\",\"value\":\"X\"}]'); INSERT INTO `pms_sku_stock` VALUES (190, 32, '202004190032002', 99.00, 100, 10, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"尺寸\",\"value\":\"M\"}]'); INSERT INTO `pms_sku_stock` VALUES (191, 32, '202004190032003', 99.00, 100, 10, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"白色\"},{\"key\":\"尺寸\",\"value\":\"X\"}]'); INSERT INTO `pms_sku_stock` VALUES (192, 32, '202004190032004', 99.00, 100, 10, NULL, NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"白色\"},{\"key\":\"尺寸\",\"value\":\"M\"}]'); INSERT INTO `pms_sku_stock` VALUES (193, 33, '202004190033001', 2499.00, 500, 10, NULL, NULL, NULL, 0, '[{\"key\":\"尺寸\",\"value\":\"50英寸\"},{\"key\":\"内存\",\"value\":\"8G\"}]'); INSERT INTO `pms_sku_stock` VALUES (194, 33, '202004190033002', 2499.00, 500, 10, NULL, NULL, NULL, 0, '[{\"key\":\"尺寸\",\"value\":\"50英寸\"},{\"key\":\"内存\",\"value\":\"16G\"}]'); INSERT INTO `pms_sku_stock` VALUES (195, 33, '202004190033003', 2499.00, 500, 10, NULL, NULL, NULL, 0, '[{\"key\":\"尺寸\",\"value\":\"65英寸\"},{\"key\":\"内存\",\"value\":\"8G\"}]'); INSERT INTO `pms_sku_stock` VALUES (196, 33, '202004190033004', 2499.00, 500, 10, NULL, NULL, NULL, 0, '[{\"key\":\"尺寸\",\"value\":\"65英寸\"},{\"key\":\"内存\",\"value\":\"16G\"}]'); INSERT INTO `pms_sku_stock` VALUES (197, 34, '202004190034001', 3999.00, 500, 10, NULL, NULL, NULL, 0, '[{\"key\":\"尺寸\",\"value\":\"65英寸\"},{\"key\":\"内存\",\"value\":\"16G\"}]'); INSERT INTO `pms_sku_stock` VALUES (198, 34, '202004190034002', 3999.00, 500, 10, NULL, NULL, NULL, 0, '[{\"key\":\"尺寸\",\"value\":\"65英寸\"},{\"key\":\"内存\",\"value\":\"32G\"}]'); INSERT INTO `pms_sku_stock` VALUES (199, 34, '202004190034003', 3999.00, 500, 10, NULL, NULL, NULL, 0, '[{\"key\":\"尺寸\",\"value\":\"70英寸\"},{\"key\":\"内存\",\"value\":\"16G\"}]'); INSERT INTO `pms_sku_stock` VALUES (200, 34, '202004190034004', 3999.00, 500, 10, NULL, NULL, NULL, 0, '[{\"key\":\"尺寸\",\"value\":\"70英寸\"},{\"key\":\"内存\",\"value\":\"32G\"}]'); INSERT INTO `pms_sku_stock` VALUES (201, 37, '202210280037001', 5999.00, 195, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', NULL, NULL, 1, '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `pms_sku_stock` VALUES (202, 37, '202210280037002', 6899.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); INSERT INTO `pms_sku_stock` VALUES (203, 37, '202210280037003', 8699.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_001.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"午夜色\"},{\"key\":\"容量\",\"value\":\"512G\"}]'); INSERT INTO `pms_sku_stock` VALUES (204, 37, '202210280037004', 5999.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_002.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"星光色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `pms_sku_stock` VALUES (205, 37, '202210280037005', 6899.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_002.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"星光色\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); INSERT INTO `pms_sku_stock` VALUES (206, 37, '202210280037006', 8699.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_002.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"星光色\"},{\"key\":\"容量\",\"value\":\"512G\"}]'); INSERT INTO `pms_sku_stock` VALUES (207, 37, '202210280037007', 5999.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_003.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"紫色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `pms_sku_stock` VALUES (208, 37, '202210280037008', 6899.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_003.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"紫色\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); INSERT INTO `pms_sku_stock` VALUES (209, 37, '202210280037009', 8699.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_003.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"紫色\"},{\"key\":\"容量\",\"value\":\"512G\"}]'); INSERT INTO `pms_sku_stock` VALUES (210, 37, '202210280037010', 5999.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_004.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `pms_sku_stock` VALUES (211, 37, '202210280037011', 6899.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_004.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); INSERT INTO `pms_sku_stock` VALUES (212, 37, '202210280037012', 8699.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/iphone14_004.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"容量\",\"value\":\"512G\"}]'); INSERT INTO `pms_sku_stock` VALUES (213, 38, '202210280038001', 3599.00, 198, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/ipad_001.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"64G\"}]'); INSERT INTO `pms_sku_stock` VALUES (214, 38, '202210280038002', 4799.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/ipad_001.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"银色\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); INSERT INTO `pms_sku_stock` VALUES (215, 38, '202210280038003', 3599.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/ipad_002.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"容量\",\"value\":\"64G\"}]'); INSERT INTO `pms_sku_stock` VALUES (216, 38, '202210280038004', 4799.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/ipad_002.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); INSERT INTO `pms_sku_stock` VALUES (217, 39, '202210280039001', 5999.00, 499, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/xiaomi_computer_001.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"新小米Pro 14英寸 2.8K屏\"},{\"key\":\"版本\",\"value\":\"R7 16G 512\"}]'); INSERT INTO `pms_sku_stock` VALUES (218, 39, '202210280039002', 5599.00, 500, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/xiaomi_computer_001.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"新小米Pro 14英寸 2.8K屏\"},{\"key\":\"版本\",\"value\":\"R5 16G 512\"}]'); INSERT INTO `pms_sku_stock` VALUES (219, 39, '202210280039003', 5499.00, 500, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/xiaomi_computer_002.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"新Redmi Pro 15英寸 3.2K屏\"},{\"key\":\"版本\",\"value\":\"R7 16G 512\"}]'); INSERT INTO `pms_sku_stock` VALUES (220, 39, '202210280039004', 4999.00, 500, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221028/xiaomi_computer_002.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"新Redmi Pro 15英寸 3.2K屏\"},{\"key\":\"版本\",\"value\":\"R5 16G 512\"}]'); INSERT INTO `pms_sku_stock` VALUES (221, 40, '202211040040001', 2999.00, 91, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `pms_sku_stock` VALUES (222, 40, '202211040040002', 3499.00, 100, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_01.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"黑色\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); INSERT INTO `pms_sku_stock` VALUES (223, 40, '202211040040003', 2999.00, 100, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_02.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `pms_sku_stock` VALUES (224, 40, '202211040040004', 3499.00, 100, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/xiaomi_12_pro_02.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"蓝色\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); INSERT INTO `pms_sku_stock` VALUES (225, 41, '202211040041001', 2099.00, 195, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `pms_sku_stock` VALUES (226, 41, '202211040041002', 2299.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_01.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"墨羽\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); INSERT INTO `pms_sku_stock` VALUES (227, 41, '202211040041003', 2099.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_02.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"银迹\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `pms_sku_stock` VALUES (228, 41, '202211040041004', 2299.00, 200, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/redmi_k50_02.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"银迹\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); INSERT INTO `pms_sku_stock` VALUES (229, 42, '202211040042001', 4999.00, 99, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/huawei_mate50_01.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"曜金黑\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `pms_sku_stock` VALUES (230, 42, '202211040042002', 5499.00, 100, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/huawei_mate50_01.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"曜金黑\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); INSERT INTO `pms_sku_stock` VALUES (231, 42, '202211040042003', 4999.00, 100, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/huawei_mate50_02.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"冰霜银\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `pms_sku_stock` VALUES (232, 42, '202211040042004', 5499.00, 100, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/huawei_mate50_02.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"冰霜银\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); INSERT INTO `pms_sku_stock` VALUES (233, 43, '202211040043001', 1649.00, 500, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/wanhe_13L_01.png', NULL, NULL, 0, '[{\"key\":\"系列\",\"value\":\"JSQ25-565W13【13升】【恒温旗舰款】\"}]'); INSERT INTO `pms_sku_stock` VALUES (234, 43, '202211040043002', 1799.00, 500, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221104/wanhe_13L_01.png', NULL, NULL, 0, '[{\"key\":\"系列\",\"value\":\"JSQ30-565W16【16升】【恒温旗舰款】\"}]'); INSERT INTO `pms_sku_stock` VALUES (235, 44, '202211080044001', 369.00, 99, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/sanxing_ssd_02.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"新品980|NVMe PCIe3.0*4\"},{\"key\":\"版本\",\"value\":\"512GB\"}]'); INSERT INTO `pms_sku_stock` VALUES (236, 44, '202211080044002', 649.00, 100, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/sanxing_ssd_02.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"新品980|NVMe PCIe3.0*4\"},{\"key\":\"版本\",\"value\":\"1TB\"}]'); INSERT INTO `pms_sku_stock` VALUES (237, 44, '202211080044003', 549.00, 100, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/sanxing_ssd_01.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"980 PRO|NVMe PCIe 4.0\"},{\"key\":\"版本\",\"value\":\"512GB\"}]'); INSERT INTO `pms_sku_stock` VALUES (238, 44, '202211080044004', 899.00, 100, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/sanxing_ssd_01.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"980 PRO|NVMe PCIe 4.0\"},{\"key\":\"版本\",\"value\":\"1TB\"}]'); INSERT INTO `pms_sku_stock` VALUES (239, 45, '202211080045001', 2299.00, 250, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/oppo_r8_01.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"鸢尾紫\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `pms_sku_stock` VALUES (240, 45, '202211080045002', 2499.00, 250, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/oppo_r8_01.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"鸢尾紫\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); INSERT INTO `pms_sku_stock` VALUES (241, 45, '202211080045003', 2299.00, 250, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/oppo_r8_02.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"晴空蓝\"},{\"key\":\"容量\",\"value\":\"128G\"}]'); INSERT INTO `pms_sku_stock` VALUES (242, 45, '202211080045004', 2499.00, 250, NULL, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/oppo_r8_02.jpg', NULL, NULL, 0, '[{\"key\":\"颜色\",\"value\":\"晴空蓝\"},{\"key\":\"容量\",\"value\":\"256G\"}]'); -- ---------------------------- -- Table structure for sms_coupon -- ---------------------------- DROP TABLE IF EXISTS `sms_coupon`; CREATE TABLE `sms_coupon` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `type` int(1) NULL DEFAULT NULL COMMENT '优惠券类型;0->全场赠券;1->会员赠券;2->购物赠券;3->注册赠券', `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `platform` int(1) NULL DEFAULT NULL COMMENT '使用平台:0->全部;1->移动;2->PC', `count` int(11) NULL DEFAULT NULL COMMENT '数量', `amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '金额', `per_limit` int(11) NULL DEFAULT NULL COMMENT '每人限领张数', `min_point` decimal(10, 2) NULL DEFAULT NULL COMMENT '使用门槛;0表示无门槛', `start_time` datetime NULL DEFAULT NULL, `end_time` datetime NULL DEFAULT NULL, `use_type` int(1) NULL DEFAULT NULL COMMENT '使用类型:0->全场通用;1->指定分类;2->指定商品', `note` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注', `publish_count` int(11) NULL DEFAULT NULL COMMENT '发行数量', `use_count` int(11) NULL DEFAULT NULL COMMENT '已使用数量', `receive_count` int(11) NULL DEFAULT NULL COMMENT '领取数量', `enable_time` datetime NULL DEFAULT NULL COMMENT '可以领取的日期', `code` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '优惠码', `member_level` int(1) NULL DEFAULT NULL COMMENT '可领取的会员类型:0->无限时', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 32 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '优惠券表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of sms_coupon -- ---------------------------- INSERT INTO `sms_coupon` VALUES (27, 0, '全品类通用券', 0, 94, 10.00, 10, 100.00, '2022-11-08 00:00:00', '2023-11-30 00:00:00', 0, NULL, 100, 0, 6, '2022-11-08 00:00:00', NULL, NULL); INSERT INTO `sms_coupon` VALUES (28, 0, '手机分类专用券', 0, 995, 100.00, 5, 1000.00, '2022-11-08 00:00:00', '2023-11-30 00:00:00', 1, NULL, 1000, 0, 5, '2022-11-08 00:00:00', NULL, NULL); INSERT INTO `sms_coupon` VALUES (29, 0, '苹果手机专用券', 0, 998, 600.00, 1, 4000.00, '2022-11-08 00:00:00', '2023-11-30 00:00:00', 2, NULL, 1000, 0, 2, '2022-11-08 00:00:00', NULL, NULL); INSERT INTO `sms_coupon` VALUES (30, 0, '小米手机专用券', 0, 998, 200.00, 1, 2000.00, '2022-11-08 00:00:00', '2023-11-30 00:00:00', 2, NULL, 1000, 0, 2, '2022-11-08 00:00:00', NULL, NULL); INSERT INTO `sms_coupon` VALUES (31, 0, '限时优惠券', 0, 999, 20.00, 5, 500.00, '2022-12-01 00:00:00', '2022-12-22 00:00:00', 0, NULL, 1000, 0, 1, '2022-12-23 00:00:00', NULL, NULL); -- ---------------------------- -- Table structure for sms_coupon_history -- ---------------------------- DROP TABLE IF EXISTS `sms_coupon_history`; CREATE TABLE `sms_coupon_history` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `coupon_id` bigint(20) NULL DEFAULT NULL, `member_id` bigint(20) NULL DEFAULT NULL, `coupon_code` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `member_nickname` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '领取人昵称', `get_type` int(1) NULL DEFAULT NULL COMMENT '获取类型:0->后台赠送;1->主动获取', `create_time` datetime NULL DEFAULT NULL, `use_status` int(1) NULL DEFAULT NULL COMMENT '使用状态:0->未使用;1->已使用;2->已过期', `use_time` datetime NULL DEFAULT NULL COMMENT '使用时间', `order_id` bigint(20) NULL DEFAULT NULL COMMENT '订单编号', `order_sn` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '订单号码', PRIMARY KEY (`id`) USING BTREE, INDEX `idx_member_id`(`member_id`) USING BTREE, INDEX `idx_coupon_id`(`coupon_id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 53 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '优惠券使用、领取历史表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of sms_coupon_history -- ---------------------------- INSERT INTO `sms_coupon_history` VALUES (37, 30, 1, '7806895974110001', 'windir', 1, '2022-11-09 15:14:29', 1, '2022-11-09 15:14:58', NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (38, 27, 1, '7872472849240001', 'windir', 1, '2022-11-09 15:25:25', 1, '2022-11-09 15:25:38', NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (39, 29, 1, '7876204111480001', 'windir', 1, '2022-11-09 15:26:02', 1, '2022-11-09 15:26:11', NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (40, 27, 1, '7911945030190001', 'windir', 1, '2022-11-09 15:31:59', 0, NULL, NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (41, 28, 1, '8194868687790001', 'windir', 1, '2022-11-09 16:19:09', 1, '2022-11-11 16:12:42', NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (42, 28, 1, '1239565720390001', 'test', 1, '2022-12-21 16:46:36', 1, '2022-12-21 16:53:07', NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (43, 31, 1, '6030247208280001', 'test', 1, '2022-12-23 09:51:42', 0, NULL, NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (44, 28, 1, '6050939443480001', 'test', 1, '2022-12-23 09:55:09', 0, NULL, NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (45, 27, 1, '4182437014580001', 'test', 1, '2023-01-10 17:10:24', 0, NULL, NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (46, 27, 11, '9011281751500011', 'member', 1, '2023-05-11 15:28:33', 0, NULL, NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (47, 28, 11, '9011495851370011', 'member', 1, '2023-05-11 15:28:35', 1, '2023-05-11 15:37:16', NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (48, 30, 11, '9011677197430011', 'member', 1, '2023-05-11 15:28:37', 1, '2023-05-11 15:28:56', NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (49, 27, 11, '9046676666610011', 'member', 1, '2023-05-11 15:34:27', 0, NULL, NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (50, 28, 11, '9046909751910011', 'member', 1, '2023-05-11 15:34:29', 0, NULL, NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (51, 29, 11, '9047077722990011', 'member', 1, '2023-05-11 15:34:31', 0, NULL, NULL, NULL); INSERT INTO `sms_coupon_history` VALUES (52, 27, 11, '9075818288630011', 'member', 1, '2023-05-11 15:39:18', 0, NULL, NULL, NULL); -- ---------------------------- -- Table structure for sms_coupon_product_category_relation -- ---------------------------- DROP TABLE IF EXISTS `sms_coupon_product_category_relation`; CREATE TABLE `sms_coupon_product_category_relation` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `coupon_id` bigint(20) NULL DEFAULT NULL, `product_category_id` bigint(20) NULL DEFAULT NULL, `product_category_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '产品分类名称', `parent_category_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '父分类名称', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '优惠券和产品分类关系表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of sms_coupon_product_category_relation -- ---------------------------- INSERT INTO `sms_coupon_product_category_relation` VALUES (11, 28, 19, '手机通讯', '手机数码'); -- ---------------------------- -- Table structure for sms_coupon_product_relation -- ---------------------------- DROP TABLE IF EXISTS `sms_coupon_product_relation`; CREATE TABLE `sms_coupon_product_relation` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `coupon_id` bigint(20) NULL DEFAULT NULL, `product_id` bigint(20) NULL DEFAULT NULL, `product_name` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品名称', `product_sn` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '商品编码', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 23 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '优惠券和产品的关系表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of sms_coupon_product_relation -- ---------------------------- INSERT INTO `sms_coupon_product_relation` VALUES (18, 29, 37, 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', '100038005189'); INSERT INTO `sms_coupon_product_relation` VALUES (19, 29, 29, 'Apple iPhone 8 Plus 64GB 红色特别版 移动联通电信4G手机', '7437799'); INSERT INTO `sms_coupon_product_relation` VALUES (21, 30, 41, 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量 墨羽 12GB+256GB 5G智能手机 小米 红米', '100035246702'); INSERT INTO `sms_coupon_product_relation` VALUES (22, 30, 40, '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充 12GB+256GB 黑色 5G手机', '100027789721'); -- ---------------------------- -- Table structure for sms_flash_promotion -- ---------------------------- DROP TABLE IF EXISTS `sms_flash_promotion`; CREATE TABLE `sms_flash_promotion` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `title` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '秒杀时间段名称', `start_date` date NULL DEFAULT NULL COMMENT '开始日期', `end_date` date NULL DEFAULT NULL COMMENT '结束日期', `status` int(1) NULL DEFAULT NULL COMMENT '上下线状态', `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '限时购表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of sms_flash_promotion -- ---------------------------- INSERT INTO `sms_flash_promotion` VALUES (14, '双11特卖活动', '2022-11-09', '2023-12-31', 1, '2022-11-09 14:56:48'); -- ---------------------------- -- Table structure for sms_flash_promotion_log -- ---------------------------- DROP TABLE IF EXISTS `sms_flash_promotion_log`; CREATE TABLE `sms_flash_promotion_log` ( `id` int(11) NOT NULL AUTO_INCREMENT, `member_id` int(11) NULL DEFAULT NULL, `product_id` bigint(20) NULL DEFAULT NULL, `member_phone` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `product_name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `subscribe_time` datetime NULL DEFAULT NULL COMMENT '会员订阅时间', `send_time` datetime NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '限时购通知记录' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of sms_flash_promotion_log -- ---------------------------- -- ---------------------------- -- Table structure for sms_flash_promotion_product_relation -- ---------------------------- DROP TABLE IF EXISTS `sms_flash_promotion_product_relation`; CREATE TABLE `sms_flash_promotion_product_relation` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号', `flash_promotion_id` bigint(20) NULL DEFAULT NULL, `flash_promotion_session_id` bigint(20) NULL DEFAULT NULL COMMENT '编号', `product_id` bigint(20) NULL DEFAULT NULL, `flash_promotion_price` decimal(10, 2) NULL DEFAULT NULL COMMENT '限时购价格', `flash_promotion_count` int(11) NULL DEFAULT NULL COMMENT '限时购数量', `flash_promotion_limit` int(11) NULL DEFAULT NULL COMMENT '每人限购数量', `sort` int(11) NULL DEFAULT NULL COMMENT '排序', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 52 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '商品限时购与商品关系表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of sms_flash_promotion_product_relation -- ---------------------------- INSERT INTO `sms_flash_promotion_product_relation` VALUES (1, 2, 1, 26, 3000.00, 10, 1, 0); INSERT INTO `sms_flash_promotion_product_relation` VALUES (2, 2, 1, 27, 2000.00, 10, 1, 20); INSERT INTO `sms_flash_promotion_product_relation` VALUES (3, 2, 1, 28, 599.00, 19, 1, 0); INSERT INTO `sms_flash_promotion_product_relation` VALUES (4, 2, 1, 29, 4999.00, 10, 1, 100); INSERT INTO `sms_flash_promotion_product_relation` VALUES (9, 2, 2, 26, 2999.00, 100, 1, 0); INSERT INTO `sms_flash_promotion_product_relation` VALUES (10, 2, 2, 27, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (11, 2, 2, 28, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (12, 2, 2, 29, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (13, 2, 2, 30, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (14, 2, 3, 31, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (15, 2, 3, 32, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (16, 2, 4, 33, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (17, 2, 4, 34, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (18, 2, 5, 36, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (19, 2, 6, 33, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (20, 2, 6, 34, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (21, 14, 1, 26, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (22, 14, 1, 27, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (23, 14, 1, 28, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (24, 14, 1, 29, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (25, 14, 2, 30, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (26, 14, 2, 31, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (27, 14, 2, 32, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (28, 14, 2, 35, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (29, 14, 3, 33, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (30, 14, 3, 34, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (31, 14, 3, 36, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (32, 14, 3, 37, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (33, 14, 4, 37, 5699.00, 10, 1, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (34, 14, 4, 38, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (35, 14, 4, 39, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (36, 14, 4, 40, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (37, 14, 5, 41, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (38, 14, 5, 42, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (39, 14, 5, 43, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (40, 14, 5, 44, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (41, 14, 5, 45, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (42, 14, 6, 26, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (43, 14, 6, 27, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (44, 14, 6, 28, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (45, 14, 6, 29, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (46, 14, 6, 30, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (47, 14, 7, 31, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (48, 14, 7, 32, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (49, 14, 7, 33, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (50, 14, 7, 34, NULL, NULL, NULL, NULL); INSERT INTO `sms_flash_promotion_product_relation` VALUES (51, 14, 7, 35, NULL, NULL, NULL, NULL); -- ---------------------------- -- Table structure for sms_flash_promotion_session -- ---------------------------- DROP TABLE IF EXISTS `sms_flash_promotion_session`; CREATE TABLE `sms_flash_promotion_session` ( `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号', `name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '场次名称', `start_time` time NULL DEFAULT NULL COMMENT '每日开始时间', `end_time` time NULL DEFAULT NULL COMMENT '每日结束时间', `status` int(1) NULL DEFAULT NULL COMMENT '启用状态:0->不启用;1->启用', `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '限时购场次表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of sms_flash_promotion_session -- ---------------------------- INSERT INTO `sms_flash_promotion_session` VALUES (1, '8:00', '08:00:00', '10:00:00', 1, '2018-11-16 13:22:17'); INSERT INTO `sms_flash_promotion_session` VALUES (2, '10:00', '10:00:00', '12:00:00', 1, '2018-11-16 13:22:34'); INSERT INTO `sms_flash_promotion_session` VALUES (3, '12:00', '12:00:00', '14:00:00', 1, '2018-11-16 13:22:37'); INSERT INTO `sms_flash_promotion_session` VALUES (4, '14:00', '14:00:00', '16:00:00', 1, '2018-11-16 13:22:41'); INSERT INTO `sms_flash_promotion_session` VALUES (5, '16:00', '16:00:00', '18:00:00', 1, '2018-11-16 13:22:45'); INSERT INTO `sms_flash_promotion_session` VALUES (6, '18:00', '18:00:00', '20:00:00', 1, '2018-11-16 13:21:34'); INSERT INTO `sms_flash_promotion_session` VALUES (7, '20:00', '20:00:00', '22:00:00', 1, '2018-11-16 13:22:55'); -- ---------------------------- -- Table structure for sms_home_advertise -- ---------------------------- DROP TABLE IF EXISTS `sms_home_advertise`; CREATE TABLE `sms_home_advertise` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `type` int(1) NULL DEFAULT NULL COMMENT '轮播位置:0->PC首页轮播;1->app首页轮播', `pic` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `start_time` datetime NULL DEFAULT NULL, `end_time` datetime NULL DEFAULT NULL, `status` int(1) NULL DEFAULT NULL COMMENT '上下线状态:0->下线;1->上线', `click_count` int(11) NULL DEFAULT NULL COMMENT '点击数', `order_count` int(11) NULL DEFAULT NULL COMMENT '下单数', `url` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '链接地址', `note` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注', `sort` int(11) NULL DEFAULT 0 COMMENT '排序', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 17 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '首页轮播广告表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of sms_home_advertise -- ---------------------------- INSERT INTO `sms_home_advertise` VALUES (2, '夏季大热促销', 1, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190525/ad1.jpg', '2018-11-01 14:01:37', '2018-11-15 14:01:37', 0, 0, 0, NULL, '夏季大热促销', 0); INSERT INTO `sms_home_advertise` VALUES (3, '夏季大热促销1', 1, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190525/ad1.jpg', '2018-11-13 14:01:37', '2018-11-13 14:01:37', 0, 0, 0, NULL, '夏季大热促销1', 0); INSERT INTO `sms_home_advertise` VALUES (4, '夏季大热促销2', 1, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20190525/ad2.jpg', '2018-11-13 14:01:37', '2018-11-13 14:01:37', 0, 0, 0, NULL, '夏季大热促销2', 0); INSERT INTO `sms_home_advertise` VALUES (9, '电影推荐广告', 1, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20181113/movie_ad.jpg', '2018-11-01 00:00:00', '2018-11-24 00:00:00', 0, 0, 0, 'www.baidu.com', '电影推荐广告', 100); INSERT INTO `sms_home_advertise` VALUES (10, '汽车促销广告', 1, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20181113/car_ad.jpg', '2018-11-13 00:00:00', '2018-11-24 00:00:00', 0, 0, 0, 'xxx', NULL, 99); INSERT INTO `sms_home_advertise` VALUES (11, '汽车推荐广告', 1, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20181113/car_ad2.jpg', '2018-11-13 00:00:00', '2018-11-30 00:00:00', 0, 0, 0, 'xxx', NULL, 98); INSERT INTO `sms_home_advertise` VALUES (12, '小米推荐广告', 1, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/xiaomi_banner_01.png', '2022-11-08 17:04:03', '2023-11-08 17:04:05', 1, 0, 0, '/pages/brand/brandDetail?id=6', NULL, 0); INSERT INTO `sms_home_advertise` VALUES (13, '华为推荐广告', 1, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/huawei_banner_01.png', '2022-11-08 17:10:27', '2023-11-08 17:10:28', 1, 0, 0, '/pages/brand/brandDetail?id=3', NULL, 0); INSERT INTO `sms_home_advertise` VALUES (14, '苹果推荐广告', 1, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/apple_banner_01.png', '2022-11-08 17:12:54', '2023-11-08 17:12:55', 1, 0, 0, '/pages/brand/brandDetail?id=51', NULL, 0); INSERT INTO `sms_home_advertise` VALUES (15, '三星推荐广告', 1, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/sanxing_banner_01.png', '2022-11-08 17:15:38', '2023-11-08 17:15:39', 1, 0, 0, '/pages/brand/brandDetail?id=2', NULL, 0); INSERT INTO `sms_home_advertise` VALUES (16, 'OPPO推荐广告', 1, 'http://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/images/20221108/oppo_banner_01.png', '2022-11-08 17:20:10', '2023-11-08 17:20:11', 1, 0, 0, '/pages/brand/brandDetail?id=21', NULL, 0); -- ---------------------------- -- Table structure for sms_home_brand -- ---------------------------- DROP TABLE IF EXISTS `sms_home_brand`; CREATE TABLE `sms_home_brand` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `brand_id` bigint(20) NULL DEFAULT NULL, `brand_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `recommend_status` int(1) NULL DEFAULT NULL, `sort` int(11) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 48 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '首页推荐品牌表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of sms_home_brand -- ---------------------------- INSERT INTO `sms_home_brand` VALUES (6, 6, '小米', 1, 300); INSERT INTO `sms_home_brand` VALUES (32, 50, '海澜之家', 1, 198); INSERT INTO `sms_home_brand` VALUES (33, 51, '苹果', 1, 199); INSERT INTO `sms_home_brand` VALUES (34, 2, '三星', 1, 195); INSERT INTO `sms_home_brand` VALUES (35, 3, '华为', 1, 200); INSERT INTO `sms_home_brand` VALUES (39, 21, 'OPPO', 1, 197); INSERT INTO `sms_home_brand` VALUES (45, 1, '万和', 1, 0); INSERT INTO `sms_home_brand` VALUES (46, 5, '方太', 1, 0); INSERT INTO `sms_home_brand` VALUES (47, 4, '格力', 1, 0); -- ---------------------------- -- Table structure for sms_home_new_product -- ---------------------------- DROP TABLE IF EXISTS `sms_home_new_product`; CREATE TABLE `sms_home_new_product` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `product_id` bigint(20) NULL DEFAULT NULL, `product_name` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `recommend_status` int(1) NULL DEFAULT NULL, `sort` int(1) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 28 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '新鲜好物表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of sms_home_new_product -- ---------------------------- INSERT INTO `sms_home_new_product` VALUES (19, 37, 'Apple iPhone 14 (A2884) 128GB 支持移动联通电信5G 双卡双待手机', 1, 197); INSERT INTO `sms_home_new_product` VALUES (20, 38, 'Apple iPad 10.9英寸平板电脑 2022年款(64GB WLAN版/A14芯片/1200万像素/iPadOS MPQ03CH/A )', 1, 0); INSERT INTO `sms_home_new_product` VALUES (21, 39, '小米 Xiaomi Book Pro 14 2022 锐龙版 2.8K超清大师屏 高端轻薄笔记本电脑(新R5-6600H标压 16G 512G win11)', 1, 198); INSERT INTO `sms_home_new_product` VALUES (22, 40, '小米12 Pro 天玑版 天玑9000+处理器 5000万疾速影像 2K超视感屏 120Hz高刷 67W快充 12GB+256GB 黑色 5G手机', 1, 200); INSERT INTO `sms_home_new_product` VALUES (23, 41, 'Redmi K50 天玑8100 2K柔性直屏 OIS光学防抖 67W快充 5500mAh大电量 墨羽 12GB+256GB 5G智能手机 小米 红米', 1, 199); INSERT INTO `sms_home_new_product` VALUES (24, 42, 'HUAWEI Mate 50 直屏旗舰 超光变XMAGE影像 北斗卫星消息 低电量应急模式 128GB曜金黑华为鸿蒙手机', 1, 0); INSERT INTO `sms_home_new_product` VALUES (25, 44, '三星(SAMSUNG)500GB SSD固态硬盘 M.2接口(NVMe协议) 980(MZ-V8V500BW)', 1, 0); INSERT INTO `sms_home_new_product` VALUES (26, 45, 'OPPO Reno8 8GB+128GB 鸢尾紫 新配色上市 80W超级闪充 5000万水光人像三摄 3200万前置索尼镜头 5G手机', 1, 0); INSERT INTO `sms_home_new_product` VALUES (27, 43, '万和(Vanward)燃气热水器天然气家用四重防冻直流变频节能全新升级增压水伺服恒温高抗风 JSQ30-565W16【16升】【恒温旗舰款】', 1, 0); -- ---------------------------- -- Table structure for sms_home_recommend_product -- ---------------------------- DROP TABLE IF EXISTS `sms_home_recommend_product`; CREATE TABLE `sms_home_recommend_product` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `product_id` bigint(20) NULL DEFAULT NULL, `product_name` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `recommend_status` int(1) NULL DEFAULT NULL, `sort` int(1) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 15 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '人气推荐商品表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of sms_home_recommend_product -- ---------------------------- INSERT INTO `sms_home_recommend_product` VALUES (10, 38, 'Apple iPad 10.9英寸平板电脑 2022年款(64GB WLAN版/A14芯片/1200万像素/iPadOS MPQ03CH/A )', 1, 0); INSERT INTO `sms_home_recommend_product` VALUES (11, 39, '小米 Xiaomi Book Pro 14 2022 锐龙版 2.8K超清大师屏 高端轻薄笔记本电脑(新R5-6600H标压 16G 512G win11)', 1, 0); INSERT INTO `sms_home_recommend_product` VALUES (12, 44, '三星(SAMSUNG)500GB SSD固态硬盘 M.2接口(NVMe协议) 980(MZ-V8V500BW)', 1, 0); INSERT INTO `sms_home_recommend_product` VALUES (13, 43, '万和(Vanward)燃气热水器天然气家用四重防冻直流变频节能全新升级增压水伺服恒温高抗风 JSQ30-565W16【16升】【恒温旗舰款】', 1, 0); INSERT INTO `sms_home_recommend_product` VALUES (14, 45, 'OPPO Reno8 8GB+128GB 鸢尾紫 新配色上市 80W超级闪充 5000万水光人像三摄 3200万前置索尼镜头 5G手机', 1, 0); -- ---------------------------- -- Table structure for sms_home_recommend_subject -- ---------------------------- DROP TABLE IF EXISTS `sms_home_recommend_subject`; CREATE TABLE `sms_home_recommend_subject` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `subject_id` bigint(20) NULL DEFAULT NULL, `subject_name` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `recommend_status` int(1) NULL DEFAULT NULL, `sort` int(11) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 20 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '首页推荐专题表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of sms_home_recommend_subject -- ---------------------------- INSERT INTO `sms_home_recommend_subject` VALUES (14, 1, 'polo衬衫的也时尚', 1, 0); INSERT INTO `sms_home_recommend_subject` VALUES (15, 2, '大牌手机低价秒', 1, 0); INSERT INTO `sms_home_recommend_subject` VALUES (16, 3, '晓龙845新品上市', 1, 0); INSERT INTO `sms_home_recommend_subject` VALUES (17, 4, '夏天应该穿什么', 1, 0); INSERT INTO `sms_home_recommend_subject` VALUES (18, 5, '夏季精选', 1, 100); INSERT INTO `sms_home_recommend_subject` VALUES (19, 6, '品牌手机降价', 1, 0); -- ---------------------------- -- Table structure for ums_admin -- ---------------------------- DROP TABLE IF EXISTS `ums_admin`; CREATE TABLE `ums_admin` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `username` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `password` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `icon` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '头像', `email` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮箱', `nick_name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '昵称', `note` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '备注信息', `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', `login_time` datetime NULL DEFAULT NULL COMMENT '最后登录时间', `status` int(1) NULL DEFAULT 1 COMMENT '帐号启用状态:0->禁用;1->启用', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '后台用户表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_admin -- ---------------------------- INSERT INTO `ums_admin` VALUES (1, 'test', '$2a$10$NZ5o7r2E.ayT2ZoxgjlI.eJ6OEYqjH7INR/F.mXDbjZJi9HF0YCVG', 'https://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/icon/github_icon_02.png', 'test@qq.com', '测试账号', NULL, '2018-09-29 13:55:30', '2018-09-29 13:55:39', 1); INSERT INTO `ums_admin` VALUES (3, 'admin', '$2a$10$.E1FokumK5GIXWgKlg.Hc.i/0/2.qdAwYFL1zc5QHdyzpXOr38RZO', 'https://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/icon/github_icon_01.png', 'admin@163.com', '系统管理员', '系统管理员', '2018-10-08 13:32:47', '2019-04-20 12:45:16', 1); INSERT INTO `ums_admin` VALUES (4, 'macro', '$2a$10$Bx4jZPR7GhEpIQfefDQtVeS58GfT5n6mxs/b4nLLK65eMFa16topa', 'https://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/icon/github_icon_01.png', 'macro@qq.com', 'macro', 'macro专用', '2019-10-06 15:53:51', '2020-02-03 14:55:55', 1); INSERT INTO `ums_admin` VALUES (6, 'productAdmin', '$2a$10$6/.J.p.6Bhn7ic4GfoB5D.pGd7xSiD1a9M6ht6yO0fxzlKJPjRAGm', 'https://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/icon/github_icon_03.png', 'product@qq.com', '商品管理员', '只有商品权限', '2020-02-07 16:15:08', NULL, 1); INSERT INTO `ums_admin` VALUES (7, 'orderAdmin', '$2a$10$UqEhA9UZXjHHA3B.L9wNG.6aerrBjC6WHTtbv1FdvYPUI.7lkL6E.', 'https://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/icon/github_icon_04.png', 'order@qq.com', '订单管理员', '只有订单管理权限', '2020-02-07 16:15:50', NULL, 1); INSERT INTO `ums_admin` VALUES (8, 'test123', '$2a$10$M1qJguEzwoAN0la7PB8UO.HOGe1xZGku7xw1iTaUUpY0ZVRCxrxoO', 'string', 'abc@qq.com', 'string', 'string', '2022-08-07 14:45:42', NULL, 1); INSERT INTO `ums_admin` VALUES (9, 'test256', '$2a$10$kTMBrt8mkXcO8T4eHThFWOf3KuNK6tqevkiAf4YbtXtaCJ6ocYkJa', 'string', 'abc@qq.com', 'string', 'string', '2022-08-07 14:52:57', NULL, 1); INSERT INTO `ums_admin` VALUES (10, 'test1267', '$2a$10$VUywDhXVPY13YZxMD/uPWeDqkzSozN7o8u/3MX6sBig2NK2VaTJZ2', NULL, 'test1267@qq.com', 'test1267', 'test1267', '2023-01-04 16:13:34', NULL, 1); -- ---------------------------- -- Table structure for ums_admin_login_log -- ---------------------------- DROP TABLE IF EXISTS `ums_admin_login_log`; CREATE TABLE `ums_admin_login_log` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `admin_id` bigint(20) NULL DEFAULT NULL, `create_time` datetime NULL DEFAULT NULL, `ip` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `address` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `user_agent` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '浏览器登录类型', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 413 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '后台用户登录日志表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_admin_login_log -- ---------------------------- INSERT INTO `ums_admin_login_log` VALUES (1, 3, '2018-12-23 14:27:00', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (2, 3, '2019-04-07 16:04:39', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (3, 3, '2019-04-08 21:47:52', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (4, 3, '2019-04-08 21:48:18', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (5, 3, '2019-04-18 22:18:40', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (6, 3, '2019-04-20 12:45:16', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (7, 3, '2019-05-19 14:52:12', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (8, 3, '2019-05-25 15:00:17', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (9, 3, '2019-06-19 20:11:42', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (10, 3, '2019-06-30 10:33:48', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (11, 3, '2019-06-30 10:34:31', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (12, 3, '2019-06-30 10:35:34', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (13, 3, '2019-07-27 17:11:01', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (14, 3, '2019-07-27 17:13:18', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (15, 3, '2019-07-27 17:15:35', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (16, 3, '2019-07-27 17:17:11', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (17, 3, '2019-07-27 17:18:34', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (18, 3, '2019-07-27 21:21:52', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (19, 3, '2019-07-27 21:34:29', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (20, 3, '2019-07-27 21:35:17', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (21, 3, '2019-07-27 21:35:48', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (22, 3, '2019-07-27 21:40:33', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (23, 3, '2019-08-18 16:00:38', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (24, 3, '2019-08-18 16:01:06', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (25, 3, '2019-08-18 16:47:01', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (26, 3, '2019-10-06 15:54:23', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (27, 3, '2019-10-06 16:03:28', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (28, 3, '2019-10-06 16:04:51', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (29, 3, '2019-10-06 16:06:44', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (30, 3, '2019-10-06 16:14:51', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (31, 1, '2019-10-06 16:15:09', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (32, 1, '2019-10-06 16:16:14', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (33, 3, '2019-10-06 16:16:35', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (34, 3, '2019-10-06 16:16:42', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (35, 3, '2019-10-07 15:20:48', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (36, 3, '2019-10-07 15:40:07', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (37, 3, '2019-10-07 16:34:15', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (38, 3, '2019-10-09 21:19:08', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (39, 4, '2019-10-09 21:30:35', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (40, 4, '2019-10-09 21:31:30', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (41, 4, '2019-10-09 21:32:39', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (42, 4, '2019-10-09 21:33:27', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (43, 4, '2019-10-09 21:33:50', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (44, 3, '2019-10-20 16:02:53', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (45, 3, '2019-10-23 21:20:55', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (46, 3, '2019-10-27 21:41:45', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (47, 3, '2019-11-09 16:44:57', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (48, 3, '2019-11-09 16:46:56', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (49, 3, '2019-11-09 16:49:55', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (50, 3, '2019-11-23 14:17:16', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (51, 6, '2019-11-23 14:52:30', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (52, 3, '2019-11-23 15:07:24', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (53, 3, '2019-11-30 21:25:30', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (54, 3, '2019-11-30 21:27:54', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (55, 3, '2019-12-28 15:23:01', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (56, 3, '2020-01-01 15:21:46', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (57, 3, '2020-01-04 16:00:54', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (58, 3, '2020-02-01 15:05:19', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (59, 3, '2020-02-01 15:36:05', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (60, 3, '2020-02-01 15:36:36', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (61, 3, '2020-02-01 15:37:30', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (62, 3, '2020-02-01 15:37:46', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (63, 3, '2020-02-01 15:38:20', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (64, 3, '2020-02-01 15:38:33', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (65, 3, '2020-02-01 15:39:06', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (66, 3, '2020-02-01 15:41:31', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (67, 3, '2020-02-01 15:43:17', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (68, 3, '2020-02-01 15:44:34', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (69, 3, '2020-02-01 15:45:10', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (70, 3, '2020-02-01 15:46:04', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (71, 3, '2020-02-01 15:48:33', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (72, 3, '2020-02-01 16:00:07', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (73, 3, '2020-02-01 16:07:25', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (74, 3, '2020-02-01 16:08:22', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (75, 3, '2020-02-02 15:28:13', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (76, 3, '2020-02-02 15:44:37', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (77, 3, '2020-02-02 15:45:25', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (78, 3, '2020-02-02 15:52:32', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (79, 3, '2020-02-02 15:53:44', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (80, 3, '2020-02-02 15:54:36', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (81, 3, '2020-02-02 16:01:00', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (82, 3, '2020-02-02 16:05:19', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (83, 3, '2020-02-02 16:06:31', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (84, 3, '2020-02-02 16:17:26', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (85, 3, '2020-02-02 16:18:45', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (86, 3, '2020-02-02 16:19:05', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (87, 3, '2020-02-02 16:19:23', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (88, 3, '2020-02-02 16:22:27', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (89, 3, '2020-02-02 16:23:30', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (90, 3, '2020-02-02 16:23:48', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (91, 3, '2020-02-02 16:24:38', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (92, 3, '2020-02-02 16:25:22', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (93, 3, '2020-02-02 16:26:19', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (94, 3, '2020-02-02 16:26:31', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (95, 3, '2020-02-02 16:27:08', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (96, 3, '2020-02-02 16:31:02', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (97, 3, '2020-02-02 16:31:08', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (98, 3, '2020-02-02 16:31:25', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (99, 3, '2020-02-02 16:31:50', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (100, 3, '2020-02-02 16:33:22', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (101, 3, '2020-02-02 16:33:41', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (102, 3, '2020-02-02 16:34:58', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (103, 3, '2020-02-02 16:38:42', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (104, 3, '2020-02-02 16:39:41', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (105, 3, '2020-02-02 16:42:22', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (106, 3, '2020-02-02 16:46:21', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (107, 3, '2020-02-02 16:50:23', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (108, 3, '2020-02-02 16:51:11', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (109, 3, '2020-02-02 16:51:22', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (110, 3, '2020-02-02 16:52:00', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (111, 3, '2020-02-02 17:01:05', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (112, 3, '2020-02-03 10:43:22', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (113, 3, '2020-02-03 10:45:29', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (114, 3, '2020-02-03 10:46:33', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (115, 3, '2020-02-03 10:54:33', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (116, 3, '2020-02-03 14:24:47', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (117, 3, '2020-02-03 14:25:38', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (118, 5, '2020-02-03 15:22:28', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (119, 5, '2020-02-03 15:23:00', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (120, 5, '2020-02-03 15:24:29', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (121, 3, '2020-02-03 15:24:50', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (122, 5, '2020-02-03 15:27:18', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (123, 3, '2020-02-03 15:27:33', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (124, 3, '2020-02-03 15:29:06', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (125, 5, '2020-02-03 15:33:25', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (126, 3, '2020-02-03 15:33:51', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (127, 1, '2020-02-03 15:34:35', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (128, 3, '2020-02-03 15:34:47', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (129, 3, '2020-02-04 14:14:46', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (130, 3, '2020-02-05 10:33:35', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (131, 3, '2020-02-05 10:36:21', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (132, 3, '2020-02-05 16:34:37', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (133, 4, '2020-02-05 16:58:37', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (134, 3, '2020-02-05 16:59:03', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (135, 3, '2020-02-06 10:25:02', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (136, 3, '2020-02-07 14:34:34', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (137, 3, '2020-02-07 14:36:20', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (138, 1, '2020-02-07 14:43:34', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (139, 3, '2020-02-07 15:18:06', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (140, 3, '2020-02-07 15:20:07', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (141, 3, '2020-02-07 15:22:20', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (142, 3, '2020-02-07 15:22:28', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (143, 3, '2020-02-07 15:55:11', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (144, 3, '2020-02-07 15:56:04', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (145, 3, '2020-02-07 15:58:49', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (146, 6, '2020-02-07 16:16:21', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (147, 7, '2020-02-07 16:16:37', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (148, 3, '2020-02-07 16:18:39', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (149, 7, '2020-02-07 16:20:06', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (150, 3, '2020-02-07 16:20:44', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (151, 3, '2020-02-07 16:32:31', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (152, 3, '2020-02-07 19:32:34', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (153, 3, '2020-02-07 19:32:48', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (154, 3, '2020-02-07 19:33:01', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (155, 3, '2020-02-07 19:33:06', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (156, 3, '2020-02-07 19:33:21', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (157, 3, '2020-02-07 19:35:33', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (158, 3, '2020-02-07 19:37:10', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (159, 3, '2020-02-07 19:37:14', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (160, 3, '2020-02-07 19:37:25', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (161, 3, '2020-02-07 19:45:41', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (162, 3, '2020-02-07 19:47:45', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (163, 3, '2020-02-07 20:02:25', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (164, 6, '2020-02-07 20:10:55', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (165, 6, '2020-02-07 20:11:02', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (166, 6, '2020-02-07 20:13:44', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (167, 6, '2020-02-07 20:17:14', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (168, 3, '2020-02-07 20:17:44', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (169, 6, '2020-02-07 20:18:13', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (170, 3, '2020-02-10 10:28:14', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (171, 3, '2020-02-10 10:45:15', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (172, 3, '2020-02-10 10:57:46', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (173, 3, '2020-02-10 10:59:06', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (174, 3, '2020-02-10 11:04:19', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (175, 3, '2020-02-10 11:05:55', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (176, 3, '2020-02-10 11:06:45', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (177, 3, '2020-02-10 11:07:41', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (178, 3, '2020-02-10 11:08:13', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (179, 3, '2020-02-10 11:10:02', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (180, 6, '2020-02-10 14:25:17', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (181, 6, '2020-02-10 14:29:14', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (182, 3, '2020-02-10 16:09:16', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (183, 3, '2020-02-20 14:39:19', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (184, 8, '2020-02-20 17:14:58', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (185, 8, '2020-02-20 17:17:04', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (186, 8, '2020-02-20 17:17:42', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (187, 8, '2020-02-21 10:26:56', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (188, 8, '2020-02-21 10:28:54', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (189, 8, '2020-02-21 10:32:25', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (190, 8, '2020-02-21 10:33:41', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (191, 8, '2020-02-21 10:35:58', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (192, 8, '2020-02-21 10:36:49', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (193, 3, '2020-02-21 11:10:11', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (194, 3, '2020-02-25 16:11:13', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (195, 3, '2020-02-25 16:46:29', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (196, 3, '2020-03-07 16:33:59', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (197, 6, '2020-03-07 16:35:38', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (198, 3, '2020-03-07 17:00:09', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (199, 3, '2020-03-14 14:32:08', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (200, 8, '2020-03-14 14:32:59', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (201, 3, '2020-03-14 14:33:26', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (202, 8, '2020-03-14 14:34:57', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (203, 3, '2020-03-14 14:35:23', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (204, 8, '2020-03-14 14:36:31', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (205, 3, '2020-03-14 14:36:51', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (206, 8, '2020-03-14 14:37:31', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (207, 3, '2020-03-14 14:37:44', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (208, 8, '2020-03-14 14:38:30', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (209, 3, '2020-03-14 14:38:50', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (210, 8, '2020-03-14 14:39:26', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (211, 3, '2020-03-14 14:39:41', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (212, 3, '2020-03-15 14:23:54', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (213, 3, '2020-03-22 14:33:17', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (214, 3, '2020-03-22 14:59:51', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (215, 3, '2020-03-22 15:04:32', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (216, 3, '2020-03-29 16:14:37', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (217, 3, '2020-03-29 17:17:00', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (218, 3, '2020-04-06 16:54:49', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (219, 3, '2020-04-12 15:01:40', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (220, 3, '2020-04-19 09:50:59', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (221, 3, '2020-05-04 10:45:45', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (222, 3, '2020-05-05 11:02:44', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (223, 3, '2020-05-16 15:17:21', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (224, 3, '2020-05-17 14:58:35', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (225, 3, '2020-05-18 15:47:46', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (226, 3, '2020-05-23 16:51:15', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (227, 3, '2020-05-23 16:54:53', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (228, 3, '2020-05-23 17:00:33', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (229, 3, '2020-05-24 10:38:00', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (230, 3, '2020-06-07 09:39:31', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (231, 3, '2020-06-14 14:23:30', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (232, 3, '2020-06-14 17:11:59', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (233, 3, '2020-06-20 14:53:51', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (234, 3, '2020-06-21 14:57:36', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (235, 3, '2020-06-27 10:41:31', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (236, 3, '2020-07-05 15:54:21', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (237, 3, '2020-07-11 10:40:28', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (238, 3, '2020-07-11 10:45:01', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (239, 3, '2020-07-19 11:00:16', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (240, 3, '2020-07-19 11:46:27', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (241, 3, '2020-07-19 11:53:47', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (242, 3, '2020-07-19 14:17:37', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (243, 3, '2020-07-19 14:44:24', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (244, 3, '2020-07-19 14:44:58', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (245, 3, '2020-07-19 14:48:27', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (246, 3, '2020-07-19 14:48:57', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (247, 3, '2020-07-19 14:49:30', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (248, 3, '2020-07-19 14:50:18', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (249, 3, '2020-07-19 14:51:51', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (250, 3, '2020-07-19 14:55:27', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (251, 3, '2020-07-19 14:58:14', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (252, 6, '2020-07-19 15:04:21', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (253, 3, '2020-07-19 15:38:49', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (254, 6, '2020-07-19 16:26:24', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (255, 3, '2020-08-08 10:39:12', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (256, 3, '2020-08-09 11:06:31', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (257, 3, '2020-08-10 20:41:30', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (258, 3, '2020-08-15 10:12:25', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (259, 1, '2020-08-19 21:23:59', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (260, 1, '2020-08-19 21:25:06', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (261, 3, '2020-09-05 16:14:50', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (262, 3, '2020-09-05 16:15:37', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (263, 3, '2020-09-12 16:07:35', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (264, 6, '2020-09-12 16:08:14', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (265, 1, '2020-09-12 16:08:26', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (266, 6, '2020-09-12 16:09:08', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (267, 1, '2020-09-12 16:09:17', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (268, 3, '2020-09-13 14:22:25', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (269, 3, '2020-09-13 14:23:07', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (270, 3, '2020-09-13 14:24:21', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (271, 3, '2020-09-13 14:32:32', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (272, 1, '2020-09-19 15:43:31', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (273, 3, '2020-09-19 15:43:58', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (274, 3, '2020-09-19 15:49:44', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (275, 6, '2020-09-19 15:50:12', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (276, 6, '2020-09-19 15:50:18', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (277, 1, '2020-09-19 15:50:41', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (278, 6, '2020-09-19 15:52:28', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (279, 1, '2020-09-19 15:53:01', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (280, 1, '2020-09-19 15:53:48', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (281, 6, '2020-09-19 15:54:37', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (282, 3, '2020-09-20 11:13:50', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (283, 1, '2020-10-08 14:26:58', '0:0:0:0:0:0:0:1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (284, 1, '2020-10-08 14:30:49', '192.168.3.185', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (285, 3, '2021-04-11 10:27:43', '192.168.3.227', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (286, 1, '2021-04-11 10:29:19', '192.168.3.227', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (287, 3, '2021-04-11 10:30:40', '192.168.3.227', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (288, 3, '2021-04-11 10:37:50', '192.168.3.227', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (289, 3, '2021-12-08 10:44:09', '192.168.3.4', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (290, 3, '2022-04-15 15:04:51', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (291, 1, '2022-05-10 15:25:58', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (292, 1, '2022-05-10 15:31:08', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (293, 1, '2022-05-10 15:32:18', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (294, 1, '2022-05-10 15:34:17', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (295, 1, '2022-05-10 15:34:38', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (296, 1, '2022-05-10 15:54:50', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (297, 1, '2022-05-10 16:31:20', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (298, 1, '2022-05-10 16:33:45', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (299, 1, '2022-05-10 16:39:07', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (300, 1, '2022-05-18 14:53:41', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (301, 3, '2022-06-07 17:28:29', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (302, 3, '2022-06-08 09:48:32', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (303, 3, '2022-06-08 10:34:20', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (304, 3, '2022-06-08 17:09:29', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (305, 3, '2022-06-08 17:10:11', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (306, 6, '2022-06-08 17:10:55', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (307, 3, '2022-06-08 17:23:05', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (308, 3, '2022-06-08 17:30:51', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (309, 3, '2022-06-08 17:31:42', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (310, 3, '2022-06-08 17:31:48', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (311, 3, '2022-06-08 21:03:56', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (312, 3, '2022-06-09 10:41:31', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (313, 3, '2022-06-09 15:18:46', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (314, 3, '2022-06-10 15:43:15', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (315, 3, '2022-06-10 15:52:27', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (316, 3, '2022-06-15 14:41:59', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (317, 3, '2022-06-23 16:24:09', '192.168.3.6', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (318, 3, '2022-06-23 16:41:33', '192.168.3.6', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (319, 3, '2022-06-23 16:42:50', '192.168.3.6', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (320, 3, '2022-06-23 16:42:51', '192.168.3.6', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (321, 3, '2022-06-23 16:42:52', '192.168.3.6', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (322, 3, '2022-06-23 16:42:53', '192.168.3.6', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (323, 3, '2022-06-23 16:43:07', '192.168.3.6', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (324, 3, '2022-06-23 16:44:56', '192.168.3.6', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (325, 3, '2022-06-23 16:45:42', '192.168.3.6', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (326, 3, '2022-06-23 16:50:08', '192.168.3.6', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (327, 3, '2022-06-24 15:19:04', '192.168.3.227', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (328, 3, '2022-06-24 15:25:52', '192.168.3.227', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (329, 3, '2022-06-24 15:40:29', '192.168.3.227', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (330, 3, '2022-06-25 15:13:52', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (331, 3, '2022-06-25 15:25:12', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (332, 3, '2022-06-27 16:38:37', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (333, 3, '2022-07-24 10:10:06', '192.168.3.227', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (334, 1, '2022-07-25 17:15:55', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (335, 3, '2022-07-27 09:41:32', '192.168.3.227', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (336, 1, '2022-07-28 16:56:10', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (337, 1, '2022-07-28 16:56:25', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (338, 8, '2022-08-07 14:46:00', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (339, 9, '2022-08-07 14:53:32', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (340, 9, '2022-08-07 14:53:46', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (341, 9, '2022-08-07 14:56:19', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (342, 1, '2022-08-09 10:53:55', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (343, 1, '2022-08-09 10:54:36', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (344, 1, '2022-08-09 11:00:06', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (345, 1, '2022-08-09 11:02:04', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (346, 1, '2022-08-09 15:48:14', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (347, 1, '2022-08-16 16:35:24', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (348, 1, '2022-08-17 15:03:52', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (349, 1, '2022-08-20 16:49:19', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (350, 1, '2022-08-23 14:54:06', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (351, 1, '2022-08-31 17:16:35', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (352, 3, '2022-10-14 15:31:42', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (353, 3, '2022-10-14 15:42:39', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (354, 3, '2022-10-14 15:44:08', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (355, 3, '2022-10-14 15:46:23', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (356, 3, '2022-10-14 15:46:35', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (357, 3, '2022-10-14 16:06:11', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (358, 3, '2022-10-14 16:24:08', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (359, 3, '2022-10-17 16:44:52', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (360, 3, '2022-10-17 16:49:42', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (361, 3, '2022-10-17 16:49:53', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (362, 3, '2022-10-17 17:03:10', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (363, 3, '2022-10-17 17:03:22', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (364, 3, '2022-10-17 21:00:48', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (365, 3, '2022-10-24 16:32:31', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (366, 3, '2022-10-26 16:31:17', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (367, 3, '2022-10-26 16:50:48', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (368, 3, '2022-10-26 16:52:28', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (369, 3, '2022-10-27 17:21:28', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (370, 3, '2022-10-28 10:52:22', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (371, 3, '2022-11-04 16:09:08', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (372, 3, '2022-11-08 10:27:27', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (373, 3, '2022-11-09 10:42:30', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (374, 3, '2022-11-10 15:03:08', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (375, 3, '2022-11-11 10:11:11', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (376, 3, '2022-11-14 16:33:30', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (377, 3, '2022-11-15 10:54:02', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (378, 3, '2022-11-15 15:16:35', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (379, 3, '2022-11-15 15:17:41', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (380, 3, '2022-11-15 15:17:47', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (381, 1, '2022-11-15 15:19:56', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (382, 3, '2022-11-15 15:20:12', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (383, 3, '2022-11-15 15:22:22', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (384, 3, '2022-11-16 10:39:08', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (385, 1, '2022-11-24 20:02:12', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (386, 3, '2022-11-28 15:24:02', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (387, 3, '2022-11-30 09:34:28', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (388, 3, '2022-12-05 09:43:58', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (389, 3, '2022-12-09 17:18:09', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (390, 3, '2022-12-15 14:53:39', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (391, 3, '2022-12-15 16:11:54', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (392, 3, '2022-12-20 15:55:18', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (393, 3, '2022-12-21 14:49:30', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (394, 3, '2022-12-23 09:49:50', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (395, 3, '2023-01-04 10:17:44', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (396, 3, '2023-01-04 15:28:47', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (397, 3, '2023-01-05 10:13:43', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (398, 3, '2023-01-06 09:49:23', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (399, 3, '2023-01-06 10:04:19', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (400, 3, '2023-01-06 10:07:06', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (401, 3, '2023-01-06 16:21:31', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (402, 3, '2023-01-09 16:50:30', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (403, 3, '2023-01-10 10:05:52', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (404, 3, '2023-01-10 17:09:44', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (405, 3, '2023-01-11 10:17:17', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (406, 3, '2023-01-13 09:35:37', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (407, 3, '2023-01-13 09:40:51', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (408, 3, '2023-01-31 10:46:52', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (409, 3, '2023-02-08 17:11:11', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (410, 3, '2023-02-09 15:46:41', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (411, 3, '2023-02-10 17:23:52', '192.168.56.1', NULL, NULL); INSERT INTO `ums_admin_login_log` VALUES (412, 3, '2023-05-11 15:29:54', '192.168.56.1', NULL, NULL); -- ---------------------------- -- Table structure for ums_admin_permission_relation -- ---------------------------- DROP TABLE IF EXISTS `ums_admin_permission_relation`; CREATE TABLE `ums_admin_permission_relation` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `admin_id` bigint(20) NULL DEFAULT NULL, `permission_id` bigint(20) NULL DEFAULT NULL, `type` int(1) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '后台用户和权限关系表(除角色中定义的权限以外的加减权限)' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_admin_permission_relation -- ---------------------------- -- ---------------------------- -- Table structure for ums_admin_role_relation -- ---------------------------- DROP TABLE IF EXISTS `ums_admin_role_relation`; CREATE TABLE `ums_admin_role_relation` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `admin_id` bigint(20) NULL DEFAULT NULL, `role_id` bigint(20) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 32 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '后台用户和角色关系表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_admin_role_relation -- ---------------------------- INSERT INTO `ums_admin_role_relation` VALUES (26, 3, 5); INSERT INTO `ums_admin_role_relation` VALUES (27, 6, 1); INSERT INTO `ums_admin_role_relation` VALUES (28, 7, 2); INSERT INTO `ums_admin_role_relation` VALUES (29, 1, 5); INSERT INTO `ums_admin_role_relation` VALUES (30, 4, 5); INSERT INTO `ums_admin_role_relation` VALUES (31, 8, 1); -- ---------------------------- -- Table structure for ums_growth_change_history -- ---------------------------- DROP TABLE IF EXISTS `ums_growth_change_history`; CREATE TABLE `ums_growth_change_history` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `member_id` bigint(20) NULL DEFAULT NULL, `create_time` datetime NULL DEFAULT NULL, `change_type` int(1) NULL DEFAULT NULL COMMENT '改变类型:0->增加;1->减少', `change_count` int(11) NULL DEFAULT NULL COMMENT '积分改变数量', `operate_man` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作人员', `operate_note` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作备注', `source_type` int(1) NULL DEFAULT NULL COMMENT '积分来源:0->购物;1->管理员修改', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '成长值变化历史记录表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_growth_change_history -- ---------------------------- INSERT INTO `ums_growth_change_history` VALUES (1, 1, '2018-08-29 17:16:35', 0, 1000, 'test', '测试使用', 1); -- ---------------------------- -- Table structure for ums_integration_change_history -- ---------------------------- DROP TABLE IF EXISTS `ums_integration_change_history`; CREATE TABLE `ums_integration_change_history` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `member_id` bigint(20) NULL DEFAULT NULL, `create_time` datetime NULL DEFAULT NULL, `change_type` int(1) NULL DEFAULT NULL COMMENT '改变类型:0->增加;1->减少', `change_count` int(11) NULL DEFAULT NULL COMMENT '积分改变数量', `operate_man` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作人员', `operate_note` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '操作备注', `source_type` int(1) NULL DEFAULT NULL COMMENT '积分来源:0->购物;1->管理员修改', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '积分变化历史记录表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_integration_change_history -- ---------------------------- -- ---------------------------- -- Table structure for ums_integration_consume_setting -- ---------------------------- DROP TABLE IF EXISTS `ums_integration_consume_setting`; CREATE TABLE `ums_integration_consume_setting` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `deduction_per_amount` int(11) NULL DEFAULT NULL COMMENT '每一元需要抵扣的积分数量', `max_percent_per_order` int(11) NULL DEFAULT NULL COMMENT '每笔订单最高抵用百分比', `use_unit` int(11) NULL DEFAULT NULL COMMENT '每次使用积分最小单位100', `coupon_status` int(1) NULL DEFAULT NULL COMMENT '是否可以和优惠券同用;0->不可以;1->可以', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '积分消费设置' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_integration_consume_setting -- ---------------------------- INSERT INTO `ums_integration_consume_setting` VALUES (1, 100, 50, 100, 1); -- ---------------------------- -- Table structure for ums_member -- ---------------------------- DROP TABLE IF EXISTS `ums_member`; CREATE TABLE `ums_member` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `member_level_id` bigint(20) NULL DEFAULT NULL, `username` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '用户名', `password` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '密码', `nickname` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '昵称', `phone` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '手机号码', `status` int(1) NULL DEFAULT NULL COMMENT '帐号启用状态:0->禁用;1->启用', `create_time` datetime NULL DEFAULT NULL COMMENT '注册时间', `icon` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '头像', `gender` int(1) NULL DEFAULT NULL COMMENT '性别:0->未知;1->男;2->女', `birthday` date NULL DEFAULT NULL COMMENT '生日', `city` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '所做城市', `job` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '职业', `personalized_signature` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '个性签名', `source_type` int(1) NULL DEFAULT NULL COMMENT '用户来源', `integration` int(11) NULL DEFAULT NULL COMMENT '积分', `growth` int(11) NULL DEFAULT NULL COMMENT '成长值', `luckey_count` int(11) NULL DEFAULT NULL COMMENT '剩余抽奖次数', `history_integration` int(11) NULL DEFAULT NULL COMMENT '历史积分数量', PRIMARY KEY (`id`) USING BTREE, UNIQUE INDEX `idx_username`(`username`) USING BTREE, UNIQUE INDEX `idx_phone`(`phone`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '会员表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_member -- ---------------------------- INSERT INTO `ums_member` VALUES (1, 4, 'test', '$2a$10$NZ5o7r2E.ayT2ZoxgjlI.eJ6OEYqjH7INR/F.mXDbjZJi9HF0YCVG', 'test', '18061581849', 1, '2018-08-02 10:35:44', 'https://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/icon/github_icon_03.png', 1, '2009-06-01', '上海', '学生', 'test', NULL, 3900, 1000, NULL, NULL); INSERT INTO `ums_member` VALUES (3, 4, 'windy', '$2a$10$NZ5o7r2E.ayT2ZoxgjlI.eJ6OEYqjH7INR/F.mXDbjZJi9HF0YCVG', 'windy', '18061581848', 1, '2018-08-03 16:46:38', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `ums_member` VALUES (4, 4, 'zhengsan', '$2a$10$NZ5o7r2E.ayT2ZoxgjlI.eJ6OEYqjH7INR/F.mXDbjZJi9HF0YCVG', 'zhengsan', '18061581847', 1, '2018-11-12 14:12:04', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `ums_member` VALUES (5, 4, 'lisi', '$2a$10$NZ5o7r2E.ayT2ZoxgjlI.eJ6OEYqjH7INR/F.mXDbjZJi9HF0YCVG', 'lisi', '18061581841', 1, '2018-11-12 14:12:38', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `ums_member` VALUES (6, 4, 'wangwu', '$2a$10$NZ5o7r2E.ayT2ZoxgjlI.eJ6OEYqjH7INR/F.mXDbjZJi9HF0YCVG', 'wangwu', '18061581842', 1, '2018-11-12 14:13:09', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `ums_member` VALUES (7, 4, 'lion', '$2a$10$NZ5o7r2E.ayT2ZoxgjlI.eJ6OEYqjH7INR/F.mXDbjZJi9HF0YCVG', 'lion', '18061581845', 1, '2018-11-12 14:21:39', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `ums_member` VALUES (8, 4, 'shari', '$2a$10$NZ5o7r2E.ayT2ZoxgjlI.eJ6OEYqjH7INR/F.mXDbjZJi9HF0YCVG', 'shari', '18061581844', 1, '2018-11-12 14:22:00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `ums_member` VALUES (9, 4, 'aewen', '$2a$10$NZ5o7r2E.ayT2ZoxgjlI.eJ6OEYqjH7INR/F.mXDbjZJi9HF0YCVG', 'aewen', '18061581843', 1, '2018-11-12 14:22:55', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `ums_member` VALUES (10, 4, 'guest', '$2a$10$WQiD4RzEs1iJVWU.2HVu8OdSlExJHWKmwndaw3SUfMyqfKZmXe1vq', NULL, '18911111111', 1, '2020-03-14 14:52:18', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); INSERT INTO `ums_member` VALUES (11, 4, 'member', '$2a$10$Q08uzqvtPj61NnpYQZsVvOnyilJ3AU4VdngAcJFGvPhEeqhhC.hhS', 'member', '18961511111', 1, '2023-05-11 15:22:38', 'https://macro-oss.oss-cn-shenzhen.aliyuncs.com/mall/icon/github_icon_02.png', 1, '2009-06-01', '上海', '学生', 'member', NULL, 5000, 1000, NULL, NULL); -- ---------------------------- -- Table structure for ums_member_level -- ---------------------------- DROP TABLE IF EXISTS `ums_member_level`; CREATE TABLE `ums_member_level` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `growth_point` int(11) NULL DEFAULT NULL, `default_status` int(1) NULL DEFAULT NULL COMMENT '是否为默认等级:0->不是;1->是', `free_freight_point` decimal(10, 2) NULL DEFAULT NULL COMMENT '免运费标准', `comment_growth_point` int(11) NULL DEFAULT NULL COMMENT '每次评价获取的成长值', `priviledge_free_freight` int(1) NULL DEFAULT NULL COMMENT '是否有免邮特权', `priviledge_sign_in` int(1) NULL DEFAULT NULL COMMENT '是否有签到特权', `priviledge_comment` int(1) NULL DEFAULT NULL COMMENT '是否有评论获奖励特权', `priviledge_promotion` int(1) NULL DEFAULT NULL COMMENT '是否有专享活动特权', `priviledge_member_price` int(1) NULL DEFAULT NULL COMMENT '是否有会员价格特权', `priviledge_birthday` int(1) NULL DEFAULT NULL COMMENT '是否有生日特权', `note` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '会员等级表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_member_level -- ---------------------------- INSERT INTO `ums_member_level` VALUES (1, '黄金会员', 1000, 0, 199.00, 5, 1, 1, 1, 1, 1, 1, NULL); INSERT INTO `ums_member_level` VALUES (2, '白金会员', 5000, 0, 99.00, 10, 1, 1, 1, 1, 1, 1, NULL); INSERT INTO `ums_member_level` VALUES (3, '钻石会员', 15000, 0, 69.00, 15, 1, 1, 1, 1, 1, 1, NULL); INSERT INTO `ums_member_level` VALUES (4, '普通会员', 1, 1, 199.00, 20, 1, 1, 1, 1, 0, 0, NULL); -- ---------------------------- -- Table structure for ums_member_login_log -- ---------------------------- DROP TABLE IF EXISTS `ums_member_login_log`; CREATE TABLE `ums_member_login_log` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `member_id` bigint(20) NULL DEFAULT NULL, `create_time` datetime NULL DEFAULT NULL, `ip` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `city` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `login_type` int(1) NULL DEFAULT NULL COMMENT '登录类型:0->PC;1->android;2->ios;3->小程序', `province` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '会员登录记录' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_member_login_log -- ---------------------------- -- ---------------------------- -- Table structure for ums_member_member_tag_relation -- ---------------------------- DROP TABLE IF EXISTS `ums_member_member_tag_relation`; CREATE TABLE `ums_member_member_tag_relation` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `member_id` bigint(20) NULL DEFAULT NULL, `tag_id` bigint(20) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户和标签关系表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_member_member_tag_relation -- ---------------------------- -- ---------------------------- -- Table structure for ums_member_product_category_relation -- ---------------------------- DROP TABLE IF EXISTS `ums_member_product_category_relation`; CREATE TABLE `ums_member_product_category_relation` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `member_id` bigint(20) NULL DEFAULT NULL, `product_category_id` bigint(20) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '会员与产品分类关系表(用户喜欢的分类)' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_member_product_category_relation -- ---------------------------- -- ---------------------------- -- Table structure for ums_member_receive_address -- ---------------------------- DROP TABLE IF EXISTS `ums_member_receive_address`; CREATE TABLE `ums_member_receive_address` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `member_id` bigint(20) NULL DEFAULT NULL, `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '收货人名称', `phone_number` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `default_status` int(1) NULL DEFAULT NULL COMMENT '是否为默认', `post_code` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '邮政编码', `province` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '省份/直辖市', `city` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '城市', `region` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '区', `detail_address` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '详细地址(街道)', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '会员收货地址表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_member_receive_address -- ---------------------------- INSERT INTO `ums_member_receive_address` VALUES (1, 1, '大梨', '18033441849', 0, '518000', '广东省', '深圳市', '南山区', '科兴科学园'); INSERT INTO `ums_member_receive_address` VALUES (3, 1, '大梨', '18033441849', 0, '518000', '广东省', '深圳市', '福田区', '清水河街道'); INSERT INTO `ums_member_receive_address` VALUES (4, 1, '大梨', '18033441849', 1, '518000', '广东省', '深圳市', '福田区', '东晓街道'); INSERT INTO `ums_member_receive_address` VALUES (5, 11, '小李', '18961511111', 1, '518000', '广东省', '深圳市', '福田区', '东晓街道'); INSERT INTO `ums_member_receive_address` VALUES (6, 11, '小李', '18961511111', NULL, '518000', '广东省', '深圳市', '福田区', '清水河街道'); -- ---------------------------- -- Table structure for ums_member_rule_setting -- ---------------------------- DROP TABLE IF EXISTS `ums_member_rule_setting`; CREATE TABLE `ums_member_rule_setting` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `continue_sign_day` int(11) NULL DEFAULT NULL COMMENT '连续签到天数', `continue_sign_point` int(11) NULL DEFAULT NULL COMMENT '连续签到赠送数量', `consume_per_point` decimal(10, 2) NULL DEFAULT NULL COMMENT '每消费多少元获取1个点', `low_order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '最低获取点数的订单金额', `max_point_per_order` int(11) NULL DEFAULT NULL COMMENT '每笔订单最高获取点数', `type` int(1) NULL DEFAULT NULL COMMENT '类型:0->积分规则;1->成长值规则', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '会员积分成长规则表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_member_rule_setting -- ---------------------------- -- ---------------------------- -- Table structure for ums_member_statistics_info -- ---------------------------- DROP TABLE IF EXISTS `ums_member_statistics_info`; CREATE TABLE `ums_member_statistics_info` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `member_id` bigint(20) NULL DEFAULT NULL, `consume_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '累计消费金额', `order_count` int(11) NULL DEFAULT NULL COMMENT '订单数量', `coupon_count` int(11) NULL DEFAULT NULL COMMENT '优惠券数量', `comment_count` int(11) NULL DEFAULT NULL COMMENT '评价数', `return_order_count` int(11) NULL DEFAULT NULL COMMENT '退货数量', `login_count` int(11) NULL DEFAULT NULL COMMENT '登录次数', `attend_count` int(11) NULL DEFAULT NULL COMMENT '关注数量', `fans_count` int(11) NULL DEFAULT NULL COMMENT '粉丝数量', `collect_product_count` int(11) NULL DEFAULT NULL, `collect_subject_count` int(11) NULL DEFAULT NULL, `collect_topic_count` int(11) NULL DEFAULT NULL, `collect_comment_count` int(11) NULL DEFAULT NULL, `invite_friend_count` int(11) NULL DEFAULT NULL, `recent_order_time` datetime NULL DEFAULT NULL COMMENT '最后一次下订单时间', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '会员统计信息' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_member_statistics_info -- ---------------------------- -- ---------------------------- -- Table structure for ums_member_tag -- ---------------------------- DROP TABLE IF EXISTS `ums_member_tag`; CREATE TABLE `ums_member_tag` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `finish_order_count` int(11) NULL DEFAULT NULL COMMENT '自动打标签完成订单数量', `finish_order_amount` decimal(10, 2) NULL DEFAULT NULL COMMENT '自动打标签完成订单金额', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户标签表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_member_tag -- ---------------------------- -- ---------------------------- -- Table structure for ums_member_task -- ---------------------------- DROP TABLE IF EXISTS `ums_member_task`; CREATE TABLE `ums_member_task` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL, `growth` int(11) NULL DEFAULT NULL COMMENT '赠送成长值', `intergration` int(11) NULL DEFAULT NULL COMMENT '赠送积分', `type` int(1) NULL DEFAULT NULL COMMENT '任务类型:0->新手任务;1->日常任务', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '会员任务表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_member_task -- ---------------------------- -- ---------------------------- -- Table structure for ums_menu -- ---------------------------- DROP TABLE IF EXISTS `ums_menu`; CREATE TABLE `ums_menu` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `parent_id` bigint(20) NULL DEFAULT NULL COMMENT '父级ID', `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', `title` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '菜单名称', `level` int(4) NULL DEFAULT NULL COMMENT '菜单级数', `sort` int(4) NULL DEFAULT NULL COMMENT '菜单排序', `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '前端名称', `icon` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '前端图标', `hidden` int(1) NULL DEFAULT NULL COMMENT '前端隐藏', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 26 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '后台菜单表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_menu -- ---------------------------- INSERT INTO `ums_menu` VALUES (1, 0, '2020-02-02 14:50:36', '商品', 0, 0, 'pms', 'product', 0); INSERT INTO `ums_menu` VALUES (2, 1, '2020-02-02 14:51:50', '商品列表', 1, 0, 'product', 'product-list', 0); INSERT INTO `ums_menu` VALUES (3, 1, '2020-02-02 14:52:44', '添加商品', 1, 0, 'addProduct', 'product-add', 0); INSERT INTO `ums_menu` VALUES (4, 1, '2020-02-02 14:53:51', '商品分类', 1, 0, 'productCate', 'product-cate', 0); INSERT INTO `ums_menu` VALUES (5, 1, '2020-02-02 14:54:51', '商品类型', 1, 0, 'productAttr', 'product-attr', 0); INSERT INTO `ums_menu` VALUES (6, 1, '2020-02-02 14:56:29', '品牌管理', 1, 0, 'brand', 'product-brand', 0); INSERT INTO `ums_menu` VALUES (7, 0, '2020-02-02 16:54:07', '订单', 0, 0, 'oms', 'order', 0); INSERT INTO `ums_menu` VALUES (8, 7, '2020-02-02 16:55:18', '订单列表', 1, 0, 'order', 'product-list', 0); INSERT INTO `ums_menu` VALUES (9, 7, '2020-02-02 16:56:46', '订单设置', 1, 0, 'orderSetting', 'order-setting', 0); INSERT INTO `ums_menu` VALUES (10, 7, '2020-02-02 16:57:39', '退货申请处理', 1, 0, 'returnApply', 'order-return', 0); INSERT INTO `ums_menu` VALUES (11, 7, '2020-02-02 16:59:40', '退货原因设置', 1, 0, 'returnReason', 'order-return-reason', 0); INSERT INTO `ums_menu` VALUES (12, 0, '2020-02-04 16:18:00', '营销', 0, 0, 'sms', 'sms', 0); INSERT INTO `ums_menu` VALUES (13, 12, '2020-02-04 16:19:22', '秒杀活动列表', 1, 0, 'flash', 'sms-flash', 0); INSERT INTO `ums_menu` VALUES (14, 12, '2020-02-04 16:20:16', '优惠券列表', 1, 0, 'coupon', 'sms-coupon', 0); INSERT INTO `ums_menu` VALUES (16, 12, '2020-02-07 16:22:38', '品牌推荐', 1, 0, 'homeBrand', 'product-brand', 0); INSERT INTO `ums_menu` VALUES (17, 12, '2020-02-07 16:23:14', '新品推荐', 1, 0, 'homeNew', 'sms-new', 0); INSERT INTO `ums_menu` VALUES (18, 12, '2020-02-07 16:26:38', '人气推荐', 1, 0, 'homeHot', 'sms-hot', 0); INSERT INTO `ums_menu` VALUES (19, 12, '2020-02-07 16:28:16', '专题推荐', 1, 0, 'homeSubject', 'sms-subject', 0); INSERT INTO `ums_menu` VALUES (20, 12, '2020-02-07 16:28:42', '广告列表', 1, 0, 'homeAdvertise', 'sms-ad', 0); INSERT INTO `ums_menu` VALUES (21, 0, '2020-02-07 16:29:13', '权限', 0, 0, 'ums', 'ums', 0); INSERT INTO `ums_menu` VALUES (22, 21, '2020-02-07 16:29:51', '用户列表', 1, 0, 'admin', 'ums-admin', 0); INSERT INTO `ums_menu` VALUES (23, 21, '2020-02-07 16:30:13', '角色列表', 1, 0, 'role', 'ums-role', 0); INSERT INTO `ums_menu` VALUES (24, 21, '2020-02-07 16:30:53', '菜单列表', 1, 0, 'menu', 'ums-menu', 0); INSERT INTO `ums_menu` VALUES (25, 21, '2020-02-07 16:31:13', '资源列表', 1, 0, 'resource', 'ums-resource', 0); -- ---------------------------- -- Table structure for ums_permission -- ---------------------------- DROP TABLE IF EXISTS `ums_permission`; CREATE TABLE `ums_permission` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `pid` bigint(20) NULL DEFAULT NULL COMMENT '父级权限id', `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称', `value` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '权限值', `icon` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '图标', `type` int(1) NULL DEFAULT NULL COMMENT '权限类型:0->目录;1->菜单;2->按钮(接口绑定权限)', `uri` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '前端资源路径', `status` int(1) NULL DEFAULT NULL COMMENT '启用状态;0->禁用;1->启用', `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', `sort` int(11) NULL DEFAULT NULL COMMENT '排序', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 19 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '后台用户权限表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_permission -- ---------------------------- INSERT INTO `ums_permission` VALUES (1, 0, '商品', NULL, NULL, 0, NULL, 1, '2018-09-29 16:15:14', 0); INSERT INTO `ums_permission` VALUES (2, 1, '商品列表', 'pms:product:read', NULL, 1, '/pms/product/index', 1, '2018-09-29 16:17:01', 0); INSERT INTO `ums_permission` VALUES (3, 1, '添加商品', 'pms:product:create', NULL, 1, '/pms/product/add', 1, '2018-09-29 16:18:51', 0); INSERT INTO `ums_permission` VALUES (4, 1, '商品分类', 'pms:productCategory:read', NULL, 1, '/pms/productCate/index', 1, '2018-09-29 16:23:07', 0); INSERT INTO `ums_permission` VALUES (5, 1, '商品类型', 'pms:productAttribute:read', NULL, 1, '/pms/productAttr/index', 1, '2018-09-29 16:24:43', 0); INSERT INTO `ums_permission` VALUES (6, 1, '品牌管理', 'pms:brand:read', NULL, 1, '/pms/brand/index', 1, '2018-09-29 16:25:45', 0); INSERT INTO `ums_permission` VALUES (7, 2, '编辑商品', 'pms:product:update', NULL, 2, '/pms/product/updateProduct', 1, '2018-09-29 16:34:23', 0); INSERT INTO `ums_permission` VALUES (8, 2, '删除商品', 'pms:product:delete', NULL, 2, '/pms/product/delete', 1, '2018-09-29 16:38:33', 0); INSERT INTO `ums_permission` VALUES (9, 4, '添加商品分类', 'pms:productCategory:create', NULL, 2, '/pms/productCate/create', 1, '2018-09-29 16:43:23', 0); INSERT INTO `ums_permission` VALUES (10, 4, '修改商品分类', 'pms:productCategory:update', NULL, 2, '/pms/productCate/update', 1, '2018-09-29 16:43:55', 0); INSERT INTO `ums_permission` VALUES (11, 4, '删除商品分类', 'pms:productCategory:delete', NULL, 2, '/pms/productAttr/delete', 1, '2018-09-29 16:44:38', 0); INSERT INTO `ums_permission` VALUES (12, 5, '添加商品类型', 'pms:productAttribute:create', NULL, 2, '/pms/productAttr/create', 1, '2018-09-29 16:45:25', 0); INSERT INTO `ums_permission` VALUES (13, 5, '修改商品类型', 'pms:productAttribute:update', NULL, 2, '/pms/productAttr/update', 1, '2018-09-29 16:48:08', 0); INSERT INTO `ums_permission` VALUES (14, 5, '删除商品类型', 'pms:productAttribute:delete', NULL, 2, '/pms/productAttr/delete', 1, '2018-09-29 16:48:44', 0); INSERT INTO `ums_permission` VALUES (15, 6, '添加品牌', 'pms:brand:create', NULL, 2, '/pms/brand/add', 1, '2018-09-29 16:49:34', 0); INSERT INTO `ums_permission` VALUES (16, 6, '修改品牌', 'pms:brand:update', NULL, 2, '/pms/brand/update', 1, '2018-09-29 16:50:55', 0); INSERT INTO `ums_permission` VALUES (17, 6, '删除品牌', 'pms:brand:delete', NULL, 2, '/pms/brand/delete', 1, '2018-09-29 16:50:59', 0); INSERT INTO `ums_permission` VALUES (18, 0, '首页', NULL, NULL, 0, NULL, 1, '2018-09-29 16:51:57', 0); -- ---------------------------- -- Table structure for ums_resource -- ---------------------------- DROP TABLE IF EXISTS `ums_resource`; CREATE TABLE `ums_resource` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', `name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '资源名称', `url` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '资源URL', `description` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述', `category_id` bigint(20) NULL DEFAULT NULL COMMENT '资源分类ID', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 33 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '后台资源表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_resource -- ---------------------------- INSERT INTO `ums_resource` VALUES (1, '2020-02-04 17:04:55', '商品品牌管理', '/brand/**', NULL, 1); INSERT INTO `ums_resource` VALUES (2, '2020-02-04 17:05:35', '商品属性分类管理', '/productAttribute/category/**', NULL, 1); INSERT INTO `ums_resource` VALUES (3, '2020-02-04 17:06:13', '商品属性管理', '/productAttribute/**', NULL, 1); INSERT INTO `ums_resource` VALUES (4, '2020-02-04 17:07:15', '商品分类管理', '/productCategory/**', NULL, 1); INSERT INTO `ums_resource` VALUES (5, '2020-02-04 17:09:16', '商品管理', '/product/**', NULL, 1); INSERT INTO `ums_resource` VALUES (6, '2020-02-04 17:09:53', '商品库存管理', '/sku/**', NULL, 1); INSERT INTO `ums_resource` VALUES (8, '2020-02-05 14:43:37', '订单管理', '/order/**', '', 2); INSERT INTO `ums_resource` VALUES (9, '2020-02-05 14:44:22', ' 订单退货申请管理', '/returnApply/**', '', 2); INSERT INTO `ums_resource` VALUES (10, '2020-02-05 14:45:08', '退货原因管理', '/returnReason/**', '', 2); INSERT INTO `ums_resource` VALUES (11, '2020-02-05 14:45:43', '订单设置管理', '/orderSetting/**', '', 2); INSERT INTO `ums_resource` VALUES (12, '2020-02-05 14:46:23', '收货地址管理', '/companyAddress/**', '', 2); INSERT INTO `ums_resource` VALUES (13, '2020-02-07 16:37:22', '优惠券管理', '/coupon/**', '', 3); INSERT INTO `ums_resource` VALUES (14, '2020-02-07 16:37:59', '优惠券领取记录管理', '/couponHistory/**', '', 3); INSERT INTO `ums_resource` VALUES (15, '2020-02-07 16:38:28', '限时购活动管理', '/flash/**', '', 3); INSERT INTO `ums_resource` VALUES (16, '2020-02-07 16:38:59', '限时购商品关系管理', '/flashProductRelation/**', '', 3); INSERT INTO `ums_resource` VALUES (17, '2020-02-07 16:39:22', '限时购场次管理', '/flashSession/**', '', 3); INSERT INTO `ums_resource` VALUES (18, '2020-02-07 16:40:07', '首页轮播广告管理', '/home/advertise/**', '', 3); INSERT INTO `ums_resource` VALUES (19, '2020-02-07 16:40:34', '首页品牌管理', '/home/brand/**', '', 3); INSERT INTO `ums_resource` VALUES (20, '2020-02-07 16:41:06', '首页新品管理', '/home/newProduct/**', '', 3); INSERT INTO `ums_resource` VALUES (21, '2020-02-07 16:42:16', '首页人气推荐管理', '/home/recommendProduct/**', '', 3); INSERT INTO `ums_resource` VALUES (22, '2020-02-07 16:42:48', '首页专题推荐管理', '/home/recommendSubject/**', '', 3); INSERT INTO `ums_resource` VALUES (23, '2020-02-07 16:44:56', ' 商品优选管理', '/prefrenceArea/**', '', 5); INSERT INTO `ums_resource` VALUES (24, '2020-02-07 16:45:39', '商品专题管理', '/subject/**', '', 5); INSERT INTO `ums_resource` VALUES (25, '2020-02-07 16:47:34', '后台用户管理', '/admin/**', '', 4); INSERT INTO `ums_resource` VALUES (26, '2020-02-07 16:48:24', '后台用户角色管理', '/role/**', '', 4); INSERT INTO `ums_resource` VALUES (27, '2020-02-07 16:48:48', '后台菜单管理', '/menu/**', '', 4); INSERT INTO `ums_resource` VALUES (28, '2020-02-07 16:49:18', '后台资源分类管理', '/resourceCategory/**', '', 4); INSERT INTO `ums_resource` VALUES (29, '2020-02-07 16:49:45', '后台资源管理', '/resource/**', '', 4); INSERT INTO `ums_resource` VALUES (30, '2020-09-19 15:47:57', '会员等级管理', '/memberLevel/**', '', 7); INSERT INTO `ums_resource` VALUES (31, '2020-09-19 15:51:29', '获取登录用户信息', '/admin/info', '用户登录必配', 4); INSERT INTO `ums_resource` VALUES (32, '2020-09-19 15:53:34', '用户登出', '/admin/logout', '用户登出必配', 4); -- ---------------------------- -- Table structure for ums_resource_category -- ---------------------------- DROP TABLE IF EXISTS `ums_resource_category`; CREATE TABLE `ums_resource_category` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', `name` varchar(200) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '分类名称', `sort` int(4) NULL DEFAULT NULL COMMENT '排序', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 8 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '资源分类表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_resource_category -- ---------------------------- INSERT INTO `ums_resource_category` VALUES (1, '2020-02-05 10:21:44', '商品模块', 0); INSERT INTO `ums_resource_category` VALUES (2, '2020-02-05 10:22:34', '订单模块', 0); INSERT INTO `ums_resource_category` VALUES (3, '2020-02-05 10:22:48', '营销模块', 0); INSERT INTO `ums_resource_category` VALUES (4, '2020-02-05 10:23:04', '权限模块', 0); INSERT INTO `ums_resource_category` VALUES (5, '2020-02-07 16:34:27', '内容模块', 0); INSERT INTO `ums_resource_category` VALUES (7, '2020-09-19 15:49:08', '其他模块', 0); -- ---------------------------- -- Table structure for ums_role -- ---------------------------- DROP TABLE IF EXISTS `ums_role`; CREATE TABLE `ums_role` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `name` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '名称', `description` varchar(500) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL COMMENT '描述', `admin_count` int(11) NULL DEFAULT NULL COMMENT '后台用户数量', `create_time` datetime NULL DEFAULT NULL COMMENT '创建时间', `status` int(1) NULL DEFAULT 1 COMMENT '启用状态:0->禁用;1->启用', `sort` int(11) NULL DEFAULT 0, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 6 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '后台用户角色表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_role -- ---------------------------- INSERT INTO `ums_role` VALUES (1, '商品管理员', '只能查看及操作商品', 0, '2020-02-03 16:50:37', 1, 0); INSERT INTO `ums_role` VALUES (2, '订单管理员', '只能查看及操作订单', 0, '2018-09-30 15:53:45', 1, 0); INSERT INTO `ums_role` VALUES (5, '超级管理员', '拥有所有查看和操作功能', 0, '2020-02-02 15:11:05', 1, 0); -- ---------------------------- -- Table structure for ums_role_menu_relation -- ---------------------------- DROP TABLE IF EXISTS `ums_role_menu_relation`; CREATE TABLE `ums_role_menu_relation` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `role_id` bigint(20) NULL DEFAULT NULL COMMENT '角色ID', `menu_id` bigint(20) NULL DEFAULT NULL COMMENT '菜单ID', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 127 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '后台角色菜单关系表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_role_menu_relation -- ---------------------------- INSERT INTO `ums_role_menu_relation` VALUES (53, 2, 7); INSERT INTO `ums_role_menu_relation` VALUES (54, 2, 8); INSERT INTO `ums_role_menu_relation` VALUES (55, 2, 9); INSERT INTO `ums_role_menu_relation` VALUES (56, 2, 10); INSERT INTO `ums_role_menu_relation` VALUES (57, 2, 11); INSERT INTO `ums_role_menu_relation` VALUES (72, 5, 1); INSERT INTO `ums_role_menu_relation` VALUES (73, 5, 2); INSERT INTO `ums_role_menu_relation` VALUES (74, 5, 3); INSERT INTO `ums_role_menu_relation` VALUES (75, 5, 4); INSERT INTO `ums_role_menu_relation` VALUES (76, 5, 5); INSERT INTO `ums_role_menu_relation` VALUES (77, 5, 6); INSERT INTO `ums_role_menu_relation` VALUES (78, 5, 7); INSERT INTO `ums_role_menu_relation` VALUES (79, 5, 8); INSERT INTO `ums_role_menu_relation` VALUES (80, 5, 9); INSERT INTO `ums_role_menu_relation` VALUES (81, 5, 10); INSERT INTO `ums_role_menu_relation` VALUES (82, 5, 11); INSERT INTO `ums_role_menu_relation` VALUES (83, 5, 12); INSERT INTO `ums_role_menu_relation` VALUES (84, 5, 13); INSERT INTO `ums_role_menu_relation` VALUES (85, 5, 14); INSERT INTO `ums_role_menu_relation` VALUES (86, 5, 16); INSERT INTO `ums_role_menu_relation` VALUES (87, 5, 17); INSERT INTO `ums_role_menu_relation` VALUES (88, 5, 18); INSERT INTO `ums_role_menu_relation` VALUES (89, 5, 19); INSERT INTO `ums_role_menu_relation` VALUES (90, 5, 20); INSERT INTO `ums_role_menu_relation` VALUES (91, 5, 21); INSERT INTO `ums_role_menu_relation` VALUES (92, 5, 22); INSERT INTO `ums_role_menu_relation` VALUES (93, 5, 23); INSERT INTO `ums_role_menu_relation` VALUES (94, 5, 24); INSERT INTO `ums_role_menu_relation` VALUES (95, 5, 25); INSERT INTO `ums_role_menu_relation` VALUES (121, 1, 1); INSERT INTO `ums_role_menu_relation` VALUES (122, 1, 2); INSERT INTO `ums_role_menu_relation` VALUES (123, 1, 3); INSERT INTO `ums_role_menu_relation` VALUES (124, 1, 4); INSERT INTO `ums_role_menu_relation` VALUES (125, 1, 5); INSERT INTO `ums_role_menu_relation` VALUES (126, 1, 6); -- ---------------------------- -- Table structure for ums_role_permission_relation -- ---------------------------- DROP TABLE IF EXISTS `ums_role_permission_relation`; CREATE TABLE `ums_role_permission_relation` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `role_id` bigint(20) NULL DEFAULT NULL, `permission_id` bigint(20) NULL DEFAULT NULL, PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 18 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '后台用户角色和权限关系表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_role_permission_relation -- ---------------------------- INSERT INTO `ums_role_permission_relation` VALUES (1, 1, 1); INSERT INTO `ums_role_permission_relation` VALUES (2, 1, 2); INSERT INTO `ums_role_permission_relation` VALUES (3, 1, 3); INSERT INTO `ums_role_permission_relation` VALUES (4, 1, 7); INSERT INTO `ums_role_permission_relation` VALUES (5, 1, 8); INSERT INTO `ums_role_permission_relation` VALUES (6, 2, 4); INSERT INTO `ums_role_permission_relation` VALUES (7, 2, 9); INSERT INTO `ums_role_permission_relation` VALUES (8, 2, 10); INSERT INTO `ums_role_permission_relation` VALUES (9, 2, 11); INSERT INTO `ums_role_permission_relation` VALUES (10, 3, 5); INSERT INTO `ums_role_permission_relation` VALUES (11, 3, 12); INSERT INTO `ums_role_permission_relation` VALUES (12, 3, 13); INSERT INTO `ums_role_permission_relation` VALUES (13, 3, 14); INSERT INTO `ums_role_permission_relation` VALUES (14, 4, 6); INSERT INTO `ums_role_permission_relation` VALUES (15, 4, 15); INSERT INTO `ums_role_permission_relation` VALUES (16, 4, 16); INSERT INTO `ums_role_permission_relation` VALUES (17, 4, 17); -- ---------------------------- -- Table structure for ums_role_resource_relation -- ---------------------------- DROP TABLE IF EXISTS `ums_role_resource_relation`; CREATE TABLE `ums_role_resource_relation` ( `id` bigint(20) NOT NULL AUTO_INCREMENT, `role_id` bigint(20) NULL DEFAULT NULL COMMENT '角色ID', `resource_id` bigint(20) NULL DEFAULT NULL COMMENT '资源ID', PRIMARY KEY (`id`) USING BTREE ) ENGINE = InnoDB AUTO_INCREMENT = 249 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '后台角色资源关系表' ROW_FORMAT = DYNAMIC; -- ---------------------------- -- Records of ums_role_resource_relation -- ---------------------------- INSERT INTO `ums_role_resource_relation` VALUES (194, 5, 1); INSERT INTO `ums_role_resource_relation` VALUES (195, 5, 2); INSERT INTO `ums_role_resource_relation` VALUES (196, 5, 3); INSERT INTO `ums_role_resource_relation` VALUES (197, 5, 4); INSERT INTO `ums_role_resource_relation` VALUES (198, 5, 5); INSERT INTO `ums_role_resource_relation` VALUES (199, 5, 6); INSERT INTO `ums_role_resource_relation` VALUES (200, 5, 8); INSERT INTO `ums_role_resource_relation` VALUES (201, 5, 9); INSERT INTO `ums_role_resource_relation` VALUES (202, 5, 10); INSERT INTO `ums_role_resource_relation` VALUES (203, 5, 11); INSERT INTO `ums_role_resource_relation` VALUES (204, 5, 12); INSERT INTO `ums_role_resource_relation` VALUES (205, 5, 13); INSERT INTO `ums_role_resource_relation` VALUES (206, 5, 14); INSERT INTO `ums_role_resource_relation` VALUES (207, 5, 15); INSERT INTO `ums_role_resource_relation` VALUES (208, 5, 16); INSERT INTO `ums_role_resource_relation` VALUES (209, 5, 17); INSERT INTO `ums_role_resource_relation` VALUES (210, 5, 18); INSERT INTO `ums_role_resource_relation` VALUES (211, 5, 19); INSERT INTO `ums_role_resource_relation` VALUES (212, 5, 20); INSERT INTO `ums_role_resource_relation` VALUES (213, 5, 21); INSERT INTO `ums_role_resource_relation` VALUES (214, 5, 22); INSERT INTO `ums_role_resource_relation` VALUES (215, 5, 23); INSERT INTO `ums_role_resource_relation` VALUES (216, 5, 24); INSERT INTO `ums_role_resource_relation` VALUES (217, 5, 25); INSERT INTO `ums_role_resource_relation` VALUES (218, 5, 26); INSERT INTO `ums_role_resource_relation` VALUES (219, 5, 27); INSERT INTO `ums_role_resource_relation` VALUES (220, 5, 28); INSERT INTO `ums_role_resource_relation` VALUES (221, 5, 29); INSERT INTO `ums_role_resource_relation` VALUES (222, 5, 30); INSERT INTO `ums_role_resource_relation` VALUES (232, 2, 8); INSERT INTO `ums_role_resource_relation` VALUES (233, 2, 9); INSERT INTO `ums_role_resource_relation` VALUES (234, 2, 10); INSERT INTO `ums_role_resource_relation` VALUES (235, 2, 11); INSERT INTO `ums_role_resource_relation` VALUES (236, 2, 12); INSERT INTO `ums_role_resource_relation` VALUES (237, 2, 31); INSERT INTO `ums_role_resource_relation` VALUES (238, 2, 32); INSERT INTO `ums_role_resource_relation` VALUES (239, 1, 1); INSERT INTO `ums_role_resource_relation` VALUES (240, 1, 2); INSERT INTO `ums_role_resource_relation` VALUES (241, 1, 3); INSERT INTO `ums_role_resource_relation` VALUES (242, 1, 4); INSERT INTO `ums_role_resource_relation` VALUES (243, 1, 5); INSERT INTO `ums_role_resource_relation` VALUES (244, 1, 6); INSERT INTO `ums_role_resource_relation` VALUES (245, 1, 23); INSERT INTO `ums_role_resource_relation` VALUES (246, 1, 24); INSERT INTO `ums_role_resource_relation` VALUES (247, 1, 31); INSERT INTO `ums_role_resource_relation` VALUES (248, 1, 32); SET FOREIGN_KEY_CHECKS = 1; ================================================ FILE: mall-admin/pom.xml ================================================ 4.0.0 com.macro.mall mall-admin 1.0-SNAPSHOT jar mall-admin mall-admin project for mall com.macro.mall mall 1.0-SNAPSHOT com.macro.mall mall-mbg com.macro.mall mall-security com.aliyun.oss aliyun-sdk-oss io.minio minio org.springframework.boot spring-boot-maven-plugin io.fabric8 docker-maven-plugin ================================================ FILE: mall-admin/src/main/java/com/macro/mall/MallAdminApplication.java ================================================ package com.macro.mall; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; /** * 应用启动入口 * Created by macro on 2018/4/26. */ @SpringBootApplication public class MallAdminApplication { public static void main(String[] args) { SpringApplication.run(MallAdminApplication.class, args); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/bo/AdminUserDetails.java ================================================ package com.macro.mall.bo; import com.macro.mall.model.UmsAdmin; import com.macro.mall.model.UmsResource; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; import java.util.Collection; import java.util.List; import java.util.stream.Collectors; /** * SpringSecurity需要的用户信息封装类 * Created by macro on 2018/4/26. */ public class AdminUserDetails implements UserDetails { //后台用户 private final UmsAdmin umsAdmin; //拥有资源列表 private final List resourceList; public AdminUserDetails(UmsAdmin umsAdmin,List resourceList) { this.umsAdmin = umsAdmin; this.resourceList = resourceList; } @Override public Collection getAuthorities() { //返回当前用户所拥有的资源 return resourceList.stream() .map(resource ->new SimpleGrantedAuthority(resource.getId()+":"+resource.getName())) .collect(Collectors.toList()); } @Override public String getPassword() { return umsAdmin.getPassword(); } @Override public String getUsername() { return umsAdmin.getUsername(); } @Override public boolean isAccountNonExpired() { return true; } @Override public boolean isAccountNonLocked() { return true; } @Override public boolean isCredentialsNonExpired() { return true; } @Override public boolean isEnabled() { return umsAdmin.getStatus().equals(1); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/config/GlobalCorsConfig.java ================================================ package com.macro.mall.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.cors.CorsConfiguration; import org.springframework.web.cors.UrlBasedCorsConfigurationSource; import org.springframework.web.filter.CorsFilter; /** * 全局跨域配置 * Created by macro on 2019/7/27. */ @Configuration public class GlobalCorsConfig { /** * 允许跨域调用的过滤器 */ @Bean public CorsFilter corsFilter() { CorsConfiguration config = new CorsConfiguration(); //允许所有域名进行跨域调用 config.addAllowedOriginPattern("*"); //允许跨越发送cookie config.setAllowCredentials(true); //放行全部原始头信息 config.addAllowedHeader("*"); //允许所有请求方法跨域调用 config.addAllowedMethod("*"); UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); source.registerCorsConfiguration("/**", config); return new CorsFilter(source); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/config/MallSecurityConfig.java ================================================ package com.macro.mall.config; import com.macro.mall.model.UmsResource; import com.macro.mall.security.component.DynamicSecurityService; import com.macro.mall.service.UmsAdminService; import com.macro.mall.service.UmsResourceService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.access.ConfigAttribute; import org.springframework.security.core.userdetails.UserDetailsService; import java.util.List; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; /** * mall-security模块相关配置 * Created by macro on 2019/11/9. */ @Configuration public class MallSecurityConfig { @Autowired private UmsAdminService adminService; @Autowired private UmsResourceService resourceService; @Bean public UserDetailsService userDetailsService() { //获取登录用户信息 return username -> adminService.loadUserByUsername(username); } @Bean public DynamicSecurityService dynamicSecurityService() { return new DynamicSecurityService() { @Override public Map loadDataSource() { Map map = new ConcurrentHashMap<>(); List resourceList = resourceService.listAll(); for (UmsResource resource : resourceList) { map.put(resource.getUrl(), new org.springframework.security.access.SecurityConfig(resource.getId() + ":" + resource.getName())); } return map; } }; } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/config/MyBatisConfig.java ================================================ package com.macro.mall.config; import org.mybatis.spring.annotation.MapperScan; import org.springframework.context.annotation.Configuration; import org.springframework.transaction.annotation.EnableTransactionManagement; /** * MyBatis相关配置 * Created by macro on 2019/4/8. */ @Configuration @EnableTransactionManagement @MapperScan({"com.macro.mall.mapper","com.macro.mall.dao"}) public class MyBatisConfig { } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/config/OssConfig.java ================================================ package com.macro.mall.config; import com.aliyun.oss.OSSClient; import org.springframework.beans.factory.annotation.Value; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; /** * OSS对象存储相关配置 * Created by macro on 2018/5/17. */ @Configuration public class OssConfig { @Value("${aliyun.oss.endpoint}") private String ALIYUN_OSS_ENDPOINT; @Value("${aliyun.oss.accessKeyId}") private String ALIYUN_OSS_ACCESSKEYID; @Value("${aliyun.oss.accessKeySecret}") private String ALIYUN_OSS_ACCESSKEYSECRET; @Bean public OSSClient ossClient(){ return new OSSClient(ALIYUN_OSS_ENDPOINT,ALIYUN_OSS_ACCESSKEYID,ALIYUN_OSS_ACCESSKEYSECRET); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/config/SwaggerConfig.java ================================================ package com.macro.mall.config; import com.macro.mall.common.config.BaseSwaggerConfig; import com.macro.mall.common.domain.SwaggerProperties; import org.springframework.beans.factory.config.BeanPostProcessor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.swagger2.annotations.EnableSwagger2; /** * Swagger相关配置 * Created by macro on 2018/4/26. */ @Configuration @EnableSwagger2 public class SwaggerConfig extends BaseSwaggerConfig { @Override public SwaggerProperties swaggerProperties() { return SwaggerProperties.builder() .apiBasePackage("com.macro.mall.controller") .title("mall后台系统") .description("mall后台相关接口文档") .contactName("macro") .version("1.0") .enableSecurity(true) .build(); } @Bean public BeanPostProcessor springfoxHandlerProviderBeanPostProcessor() { return generateBeanPostProcessor(); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/CmsPrefrenceAreaController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.CmsPrefrenceArea; import com.macro.mall.service.CmsPrefrenceAreaService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.ResponseBody; import java.util.List; /** * 商品优选管理Controller * Created by macro on 2018/6/1. */ @Controller @Api(tags = "CmsPrefrenceAreaController") @Tag(name = "CmsPrefrenceAreaController", description = "商品优选管理") @RequestMapping("/prefrenceArea") public class CmsPrefrenceAreaController { @Autowired private CmsPrefrenceAreaService prefrenceAreaService; @ApiOperation("获取所有商品优选") @RequestMapping(value = "/listAll", method = RequestMethod.GET) @ResponseBody public CommonResult> listAll() { List prefrenceAreaList = prefrenceAreaService.listAll(); return CommonResult.success(prefrenceAreaList); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/CmsSubjectController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.CmsSubject; import com.macro.mall.service.CmsSubjectService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import java.util.List; /** * 商品专题管理Controller * Created by macro on 2018/6/1. */ @Controller @Api(tags = "CmsSubjectController") @Tag(name = "CmsSubjectController", description = "商品专题管理") @RequestMapping("/subject") public class CmsSubjectController { @Autowired private CmsSubjectService subjectService; @ApiOperation("获取全部商品专题") @RequestMapping(value = "/listAll", method = RequestMethod.GET) @ResponseBody public CommonResult> listAll() { List subjectList = subjectService.listAll(); return CommonResult.success(subjectList); } @ApiOperation(value = "根据专题名称分页获取商品专题") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> getList(@RequestParam(value = "keyword", required = false) String keyword, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize) { List subjectList = subjectService.list(keyword, pageNum, pageSize); return CommonResult.success(CommonPage.restPage(subjectList)); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/MinioController.java ================================================ package com.macro.mall.controller; import cn.hutool.core.collection.CollUtil; import cn.hutool.json.JSONUtil; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.BucketPolicyConfigDto; import com.macro.mall.dto.MinioUploadDto; import io.minio.*; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import org.springframework.web.multipart.MultipartFile; import java.text.SimpleDateFormat; import java.util.Date; /** * MinIO对象存储管理Controller * Created by macro on 2019/12/25. */ @Controller @Api(tags = "MinioController") @Tag(name = "MinioController", description = "MinIO对象存储管理") @RequestMapping("/minio") public class MinioController { private static final Logger LOGGER = LoggerFactory.getLogger(MinioController.class); @Value("${minio.endpoint}") private String ENDPOINT; @Value("${minio.bucketName}") private String BUCKET_NAME; @Value("${minio.accessKey}") private String ACCESS_KEY; @Value("${minio.secretKey}") private String SECRET_KEY; @ApiOperation("文件上传") @RequestMapping(value = "/upload", method = RequestMethod.POST) @ResponseBody public CommonResult upload(@RequestPart("file") MultipartFile file) { try { //创建一个MinIO的Java客户端 MinioClient minioClient =MinioClient.builder() .endpoint(ENDPOINT) .credentials(ACCESS_KEY,SECRET_KEY) .build(); boolean isExist = minioClient.bucketExists(BucketExistsArgs.builder().bucket(BUCKET_NAME).build()); if (isExist) { LOGGER.info("存储桶已经存在!"); } else { //创建存储桶并设置只读权限 minioClient.makeBucket(MakeBucketArgs.builder().bucket(BUCKET_NAME).build()); BucketPolicyConfigDto bucketPolicyConfigDto = createBucketPolicyConfigDto(BUCKET_NAME); SetBucketPolicyArgs setBucketPolicyArgs = SetBucketPolicyArgs.builder() .bucket(BUCKET_NAME) .config(JSONUtil.toJsonStr(bucketPolicyConfigDto)) .build(); minioClient.setBucketPolicy(setBucketPolicyArgs); } String filename = file.getOriginalFilename(); SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd"); // 设置存储对象名称 String objectName = sdf.format(new Date()) + "/" + filename; // 使用putObject上传一个文件到存储桶中 PutObjectArgs putObjectArgs = PutObjectArgs.builder() .bucket(BUCKET_NAME) .object(objectName) .contentType(file.getContentType()) .stream(file.getInputStream(), file.getSize(), ObjectWriteArgs.MIN_MULTIPART_SIZE).build(); minioClient.putObject(putObjectArgs); LOGGER.info("文件上传成功!"); MinioUploadDto minioUploadDto = new MinioUploadDto(); minioUploadDto.setName(filename); minioUploadDto.setUrl(ENDPOINT + "/" + BUCKET_NAME + "/" + objectName); return CommonResult.success(minioUploadDto); } catch (Exception e) { e.printStackTrace(); LOGGER.info("上传发生错误: {}!", e.getMessage()); } return CommonResult.failed(); } /** * 创建存储桶的访问策略,设置为只读权限 */ private BucketPolicyConfigDto createBucketPolicyConfigDto(String bucketName) { BucketPolicyConfigDto.Statement statement = BucketPolicyConfigDto.Statement.builder() .Effect("Allow") .Principal("*") .Action("s3:GetObject") .Resource("arn:aws:s3:::"+bucketName+"/*.**").build(); return BucketPolicyConfigDto.builder() .Version("2012-10-17") .Statement(CollUtil.toList(statement)) .build(); } @ApiOperation("文件删除") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("objectName") String objectName) { try { MinioClient minioClient = MinioClient.builder() .endpoint(ENDPOINT) .credentials(ACCESS_KEY,SECRET_KEY) .build(); minioClient.removeObject(RemoveObjectArgs.builder().bucket(BUCKET_NAME).object(objectName).build()); return CommonResult.success(null); } catch (Exception e) { e.printStackTrace(); } return CommonResult.failed(); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/OmsCompanyAddressController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.OmsCompanyAddress; import com.macro.mall.service.OmsCompanyAddressService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.ResponseBody; import java.util.List; /** * 收货地址管理Controller * Created by macro on 2018/10/18. */ @Controller @Api(tags = "OmsCompanyAddressController") @Tag(name = "OmsCompanyAddressController", description = "收货地址管理") @RequestMapping("/companyAddress") public class OmsCompanyAddressController { @Autowired private OmsCompanyAddressService companyAddressService; @ApiOperation("获取所有收货地址") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list() { List companyAddressList = companyAddressService.list(); return CommonResult.success(companyAddressList); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/OmsOrderController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.*; import com.macro.mall.model.OmsOrder; import com.macro.mall.service.OmsOrderService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 订单管理Controller * Created by macro on 2018/10/11. */ @Controller @Api(tags = "OmsOrderController") @Tag(name = "OmsOrderController", description = "订单管理") @RequestMapping("/order") public class OmsOrderController { @Autowired private OmsOrderService orderService; @ApiOperation("查询订单") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(OmsOrderQueryParam queryParam, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List orderList = orderService.list(queryParam, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(orderList)); } @ApiOperation("批量发货") @RequestMapping(value = "/update/delivery", method = RequestMethod.POST) @ResponseBody public CommonResult delivery(@RequestBody List deliveryParamList) { int count = orderService.delivery(deliveryParamList); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("批量关闭订单") @RequestMapping(value = "/update/close", method = RequestMethod.POST) @ResponseBody public CommonResult close(@RequestParam("ids") List ids, @RequestParam String note) { int count = orderService.close(ids, note); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("批量删除订单") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("ids") List ids) { int count = orderService.delete(ids); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("获取订单详情:订单信息、商品信息、操作记录") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult detail(@PathVariable Long id) { OmsOrderDetail orderDetailResult = orderService.detail(id); return CommonResult.success(orderDetailResult); } @ApiOperation("修改收货人信息") @RequestMapping(value = "/update/receiverInfo", method = RequestMethod.POST) @ResponseBody public CommonResult updateReceiverInfo(@RequestBody OmsReceiverInfoParam receiverInfoParam) { int count = orderService.updateReceiverInfo(receiverInfoParam); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("修改订单费用信息") @RequestMapping(value = "/update/moneyInfo", method = RequestMethod.POST) @ResponseBody public CommonResult updateReceiverInfo(@RequestBody OmsMoneyInfoParam moneyInfoParam) { int count = orderService.updateMoneyInfo(moneyInfoParam); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("备注订单") @RequestMapping(value = "/update/note", method = RequestMethod.POST) @ResponseBody public CommonResult updateNote(@RequestParam("id") Long id, @RequestParam("note") String note, @RequestParam("status") Integer status) { int count = orderService.updateNote(id, note, status); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/OmsOrderReturnApplyController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.OmsOrderReturnApplyResult; import com.macro.mall.dto.OmsReturnApplyQueryParam; import com.macro.mall.dto.OmsUpdateStatusParam; import com.macro.mall.model.OmsOrderReturnApply; import com.macro.mall.service.OmsOrderReturnApplyService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 订单退货申请管理Controller * Created by macro on 2018/10/18. */ @Controller @Api(tags = "OmsOrderReturnApplyController") @Tag(name = "OmsOrderReturnApplyController", description = "订单退货申请管理") @RequestMapping("/returnApply") public class OmsOrderReturnApplyController { @Autowired private OmsOrderReturnApplyService returnApplyService; @ApiOperation("分页查询退货申请") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(OmsReturnApplyQueryParam queryParam, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List returnApplyList = returnApplyService.list(queryParam, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(returnApplyList)); } @ApiOperation("批量删除退货申请") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("ids") List ids) { int count = returnApplyService.delete(ids); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("获取退货申请详情") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { OmsOrderReturnApplyResult result = returnApplyService.getItem(id); return CommonResult.success(result); } @ApiOperation("修改退货申请状态") @RequestMapping(value = "/update/status/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult updateStatus(@PathVariable Long id, @RequestBody OmsUpdateStatusParam statusParam) { int count = returnApplyService.updateStatus(id, statusParam); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/OmsOrderReturnReasonController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.OmsOrderReturnReason; import com.macro.mall.service.OmsOrderReturnReasonService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 退货原因管理Controller * Created by macro on 2018/10/17. */ @Controller @Api(tags = "OmsOrderReturnReasonController") @Tag(name = "OmsOrderReturnReasonController", description = "退货原因管理") @RequestMapping("/returnReason") public class OmsOrderReturnReasonController { @Autowired private OmsOrderReturnReasonService orderReturnReasonService; @ApiOperation("添加退货原因") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody OmsOrderReturnReason returnReason) { int count = orderReturnReasonService.create(returnReason); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("修改退货原因") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody OmsOrderReturnReason returnReason) { int count = orderReturnReasonService.update(id, returnReason); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("批量删除退货原因") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("ids") List ids) { int count = orderReturnReasonService.delete(ids); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("分页查询退货原因") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List reasonList = orderReturnReasonService.list(pageSize, pageNum); return CommonResult.success(CommonPage.restPage(reasonList)); } @ApiOperation("获取单个退货原因详情信息") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { OmsOrderReturnReason reason = orderReturnReasonService.getItem(id); return CommonResult.success(reason); } @ApiOperation("修改退货原因启用状态") @RequestMapping(value = "/update/status", method = RequestMethod.POST) @ResponseBody public CommonResult updateStatus(@RequestParam(value = "status") Integer status, @RequestParam("ids") List ids) { int count = orderReturnReasonService.updateStatus(ids, status); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/OmsOrderSettingController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.OmsOrderSetting; import com.macro.mall.service.OmsOrderSettingService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; /** * 订单设置管理Controller * Created by macro on 2018/10/16. */ @Controller @Api(tags = "OmsOrderSettingController") @Tag(name = "OmsOrderSettingController", description = "订单设置管理") @RequestMapping("/orderSetting") public class OmsOrderSettingController { @Autowired private OmsOrderSettingService orderSettingService; @ApiOperation("获取指定订单设置") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { OmsOrderSetting orderSetting = orderSettingService.getItem(id); return CommonResult.success(orderSetting); } @ApiOperation("修改指定订单设置") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody OmsOrderSetting orderSetting) { int count = orderSettingService.update(id,orderSetting); if(count>0){ return CommonResult.success(count); } return CommonResult.failed(); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/OssController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.OssCallbackResult; import com.macro.mall.dto.OssPolicyResult; import com.macro.mall.service.OssService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.ResponseBody; import javax.servlet.http.HttpServletRequest; /** * Oss对象存储管理Controller * Created by macro on 2018/4/26. */ @Controller @Api(tags = "OssController") @Tag(name = "OssController", description = "Oss对象存储管理") @RequestMapping("/aliyun/oss") public class OssController { @Autowired private OssService ossService; @ApiOperation(value = "Oss上传签名生成") @RequestMapping(value = "/policy", method = RequestMethod.GET) @ResponseBody public CommonResult policy() { OssPolicyResult result = ossService.policy(); return CommonResult.success(result); } @ApiOperation(value = "Oss上传成功回调") @RequestMapping(value = "callback", method = RequestMethod.POST) @ResponseBody public CommonResult callback(HttpServletRequest request) { OssCallbackResult ossCallbackResult = ossService.callback(request); return CommonResult.success(ossCallbackResult); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/PmsBrandController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.PmsBrandParam; import com.macro.mall.model.PmsBrand; import com.macro.mall.service.PmsBrandService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 商品品牌管理Controller * Created by macro on 2018/4/26. */ @Controller @Api(tags = "PmsBrandController") @Tag(name = "PmsBrandController", description = "商品品牌管理") @RequestMapping("/brand") public class PmsBrandController { @Autowired private PmsBrandService brandService; @ApiOperation(value = "获取全部品牌列表") @RequestMapping(value = "/listAll", method = RequestMethod.GET) @ResponseBody public CommonResult> getList() { return CommonResult.success(brandService.listAllBrand()); } @ApiOperation(value = "添加品牌") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@Validated @RequestBody PmsBrandParam pmsBrand) { CommonResult commonResult; int count = brandService.createBrand(pmsBrand); if (count == 1) { commonResult = CommonResult.success(count); } else { commonResult = CommonResult.failed(); } return commonResult; } @ApiOperation(value = "更新品牌") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable("id") Long id, @Validated @RequestBody PmsBrandParam pmsBrandParam) { CommonResult commonResult; int count = brandService.updateBrand(id, pmsBrandParam); if (count == 1) { commonResult = CommonResult.success(count); } else { commonResult = CommonResult.failed(); } return commonResult; } @ApiOperation(value = "删除品牌") @RequestMapping(value = "/delete/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult delete(@PathVariable("id") Long id) { int count = brandService.deleteBrand(id); if (count == 1) { return CommonResult.success(null); } else { return CommonResult.failed(); } } @ApiOperation(value = "根据品牌名称分页获取品牌列表") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> getList(@RequestParam(value = "keyword", required = false) String keyword, @RequestParam(value = "showStatus",required = false) Integer showStatus, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize) { List brandList = brandService.listBrand(keyword,showStatus,pageNum, pageSize); return CommonResult.success(CommonPage.restPage(brandList)); } @ApiOperation(value = "根据编号查询品牌信息") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable("id") Long id) { return CommonResult.success(brandService.getBrand(id)); } @ApiOperation(value = "批量删除品牌") @RequestMapping(value = "/delete/batch", method = RequestMethod.POST) @ResponseBody public CommonResult deleteBatch(@RequestParam("ids") List ids) { int count = brandService.deleteBrand(ids); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation(value = "批量更新显示状态") @RequestMapping(value = "/update/showStatus", method = RequestMethod.POST) @ResponseBody public CommonResult updateShowStatus(@RequestParam("ids") List ids, @RequestParam("showStatus") Integer showStatus) { int count = brandService.updateShowStatus(ids, showStatus); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation(value = "批量更新厂家制造商状态") @RequestMapping(value = "/update/factoryStatus", method = RequestMethod.POST) @ResponseBody public CommonResult updateFactoryStatus(@RequestParam("ids") List ids, @RequestParam("factoryStatus") Integer factoryStatus) { int count = brandService.updateFactoryStatus(ids, factoryStatus); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/PmsProductAttributeCategoryController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.PmsProductAttributeCategoryItem; import com.macro.mall.model.PmsProductAttributeCategory; import com.macro.mall.service.PmsProductAttributeCategoryService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 商品属性分类管理Controller * Created by macro on 2018/4/26. */ @Controller @Api(tags = "PmsProductAttributeCategoryController") @Tag(name = "PmsProductAttributeCategoryController", description = "商品属性分类管理") @RequestMapping("/productAttribute/category") public class PmsProductAttributeCategoryController { @Autowired private PmsProductAttributeCategoryService productAttributeCategoryService; @ApiOperation("添加商品属性分类") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestParam String name) { int count = productAttributeCategoryService.create(name); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("修改商品属性分类") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestParam String name) { int count = productAttributeCategoryService.update(id, name); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("删除单个商品属性分类") @RequestMapping(value = "/delete/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult delete(@PathVariable Long id) { int count = productAttributeCategoryService.delete(id); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("获取单个商品属性分类信息") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { PmsProductAttributeCategory productAttributeCategory = productAttributeCategoryService.getItem(id); return CommonResult.success(productAttributeCategory); } @ApiOperation("分页获取所有商品属性分类") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> getList(@RequestParam(defaultValue = "5") Integer pageSize, @RequestParam(defaultValue = "1") Integer pageNum) { List productAttributeCategoryList = productAttributeCategoryService.getList(pageSize, pageNum); return CommonResult.success(CommonPage.restPage(productAttributeCategoryList)); } @ApiOperation("获取所有商品属性分类及其下属性") @RequestMapping(value = "/list/withAttr", method = RequestMethod.GET) @ResponseBody public CommonResult> getListWithAttr() { List productAttributeCategoryResultList = productAttributeCategoryService.getListWithAttr(); return CommonResult.success(productAttributeCategoryResultList); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/PmsProductAttributeController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.PmsProductAttributeParam; import com.macro.mall.dto.ProductAttrInfo; import com.macro.mall.model.PmsProductAttribute; import com.macro.mall.service.PmsProductAttributeService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 商品属性管理Controller * Created by macro on 2018/4/26. */ @Controller @Api(tags = "PmsProductAttributeController") @Tag(name = "PmsProductAttributeController", description = "商品属性管理") @RequestMapping("/productAttribute") public class PmsProductAttributeController { @Autowired private PmsProductAttributeService productAttributeService; @ApiOperation("根据分类ID查询属性列表或参数列表") @ApiImplicitParams({@ApiImplicitParam(name = "type", value = "0表示属性,1表示参数", required = true, paramType = "query", dataType = "integer")}) @RequestMapping(value = "/list/{cid}", method = RequestMethod.GET) @ResponseBody public CommonResult> getList(@PathVariable Long cid, @RequestParam(value = "type") Integer type, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List productAttributeList = productAttributeService.getList(cid, type, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(productAttributeList)); } @ApiOperation("添加商品属性信息") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody PmsProductAttributeParam productAttributeParam) { int count = productAttributeService.create(productAttributeParam); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("修改商品属性信息") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody PmsProductAttributeParam productAttributeParam) { int count = productAttributeService.update(id, productAttributeParam); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("根据ID查询商品属性") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { PmsProductAttribute productAttribute = productAttributeService.getItem(id); return CommonResult.success(productAttribute); } @ApiOperation("批量删除商品属性") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("ids") List ids) { int count = productAttributeService.delete(ids); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("根据商品分类的ID获取商品属性及属性分类ID") @RequestMapping(value = "/attrInfo/{productCategoryId}", method = RequestMethod.GET) @ResponseBody public CommonResult> getAttrInfo(@PathVariable Long productCategoryId) { List productAttrInfoList = productAttributeService.getProductAttrInfo(productCategoryId); return CommonResult.success(productAttrInfoList); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/PmsProductCategoryController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.PmsProductCategoryParam; import com.macro.mall.dto.PmsProductCategoryWithChildrenItem; import com.macro.mall.model.PmsProductCategory; import com.macro.mall.service.PmsProductCategoryService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 商品分类管理Controller * Created by macro on 2018/4/26. */ @Controller @Api(tags = "PmsProductCategoryController") @Tag(name = "PmsProductCategoryController", description = "商品分类管理") @RequestMapping("/productCategory") public class PmsProductCategoryController { @Autowired private PmsProductCategoryService productCategoryService; @ApiOperation("添加商品分类") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@Validated @RequestBody PmsProductCategoryParam productCategoryParam) { int count = productCategoryService.create(productCategoryParam); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("修改商品分类") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @Validated @RequestBody PmsProductCategoryParam productCategoryParam) { int count = productCategoryService.update(id, productCategoryParam); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("分页查询商品分类") @RequestMapping(value = "/list/{parentId}", method = RequestMethod.GET) @ResponseBody public CommonResult> getList(@PathVariable Long parentId, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List productCategoryList = productCategoryService.getList(parentId, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(productCategoryList)); } @ApiOperation("根据ID获取商品分类") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { PmsProductCategory productCategory = productCategoryService.getItem(id); return CommonResult.success(productCategory); } @ApiOperation("根据ID删除商品分类") @RequestMapping(value = "/delete/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@PathVariable Long id) { int count = productCategoryService.delete(id); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("批量修改导航栏显示状态") @RequestMapping(value = "/update/navStatus", method = RequestMethod.POST) @ResponseBody public CommonResult updateNavStatus(@RequestParam("ids") List ids, @RequestParam("navStatus") Integer navStatus) { int count = productCategoryService.updateNavStatus(ids, navStatus); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("批量修改显示状态") @RequestMapping(value = "/update/showStatus", method = RequestMethod.POST) @ResponseBody public CommonResult updateShowStatus(@RequestParam("ids") List ids, @RequestParam("showStatus") Integer showStatus) { int count = productCategoryService.updateShowStatus(ids, showStatus); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("查询所有一级分类及子分类") @RequestMapping(value = "/list/withChildren", method = RequestMethod.GET) @ResponseBody public CommonResult> listWithChildren() { List list = productCategoryService.listWithChildren(); return CommonResult.success(list); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/PmsProductController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.PmsProductParam; import com.macro.mall.dto.PmsProductQueryParam; import com.macro.mall.dto.PmsProductResult; import com.macro.mall.model.PmsProduct; import com.macro.mall.service.PmsProductService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 商品管理Controller * Created by macro on 2018/4/26. */ @Controller @Api(tags = "PmsProductController") @Tag(name = "PmsProductController", description = "商品管理") @RequestMapping("/product") public class PmsProductController { @Autowired private PmsProductService productService; @ApiOperation("创建商品") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody PmsProductParam productParam) { int count = productService.create(productParam); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("根据商品id获取商品编辑信息") @RequestMapping(value = "/updateInfo/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getUpdateInfo(@PathVariable Long id) { PmsProductResult productResult = productService.getUpdateInfo(id); return CommonResult.success(productResult); } @ApiOperation("根据ID修改商品信息") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody PmsProductParam productParam) { int count = productService.update(id, productParam); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("查询商品") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> getList(PmsProductQueryParam productQueryParam, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List productList = productService.list(productQueryParam, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(productList)); } @ApiOperation("根据商品名称或货号模糊查询") @RequestMapping(value = "/simpleList", method = RequestMethod.GET) @ResponseBody public CommonResult> getList(String keyword) { List productList = productService.list(keyword); return CommonResult.success(productList); } @ApiOperation("批量修改审核状态") @RequestMapping(value = "/update/verifyStatus", method = RequestMethod.POST) @ResponseBody public CommonResult updateVerifyStatus(@RequestParam("ids") List ids, @RequestParam("verifyStatus") Integer verifyStatus, @RequestParam("detail") String detail) { int count = productService.updateVerifyStatus(ids, verifyStatus, detail); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("批量上下架商品") @RequestMapping(value = "/update/publishStatus", method = RequestMethod.POST) @ResponseBody public CommonResult updatePublishStatus(@RequestParam("ids") List ids, @RequestParam("publishStatus") Integer publishStatus) { int count = productService.updatePublishStatus(ids, publishStatus); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("批量推荐商品") @RequestMapping(value = "/update/recommendStatus", method = RequestMethod.POST) @ResponseBody public CommonResult updateRecommendStatus(@RequestParam("ids") List ids, @RequestParam("recommendStatus") Integer recommendStatus) { int count = productService.updateRecommendStatus(ids, recommendStatus); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("批量设为新品") @RequestMapping(value = "/update/newStatus", method = RequestMethod.POST) @ResponseBody public CommonResult updateNewStatus(@RequestParam("ids") List ids, @RequestParam("newStatus") Integer newStatus) { int count = productService.updateNewStatus(ids, newStatus); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("批量修改删除状态") @RequestMapping(value = "/update/deleteStatus", method = RequestMethod.POST) @ResponseBody public CommonResult updateDeleteStatus(@RequestParam("ids") List ids, @RequestParam("deleteStatus") Integer deleteStatus) { int count = productService.updateDeleteStatus(ids, deleteStatus); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/PmsSkuStockController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.PmsSkuStock; import com.macro.mall.service.PmsSkuStockService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 商品SKU库存管理Controller * Created by macro on 2018/4/27. */ @Controller @Api(tags = "PmsSkuStockController") @Tag(name = "PmsSkuStockController", description = "sku商品库存管理") @RequestMapping("/sku") public class PmsSkuStockController { @Autowired private PmsSkuStockService skuStockService; @ApiOperation("根据商品ID及sku编码模糊搜索sku库存") @RequestMapping(value = "/{pid}", method = RequestMethod.GET) @ResponseBody public CommonResult> getList(@PathVariable Long pid, @RequestParam(value = "keyword",required = false) String keyword) { List skuStockList = skuStockService.getList(pid, keyword); return CommonResult.success(skuStockList); } @ApiOperation("根据商品ID批量更新sku库存信息") @RequestMapping(value ="/update/{pid}",method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long pid,@RequestBody List skuStockList){ int count = skuStockService.update(pid,skuStockList); if(count>0){ return CommonResult.success(count); }else{ return CommonResult.failed(); } } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/SmsCouponController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.SmsCouponParam; import com.macro.mall.model.SmsCoupon; import com.macro.mall.service.SmsCouponService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 优惠券管理Controller * Created by macro on 2018/8/28. */ @Controller @Api(tags = "SmsCouponController") @Tag(name = "SmsCouponController", description = "优惠券管理") @RequestMapping("/coupon") public class SmsCouponController { @Autowired private SmsCouponService couponService; @ApiOperation("添加优惠券") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult add(@RequestBody SmsCouponParam couponParam) { int count = couponService.create(couponParam); if(count>0){ return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("根据ID删除优惠券") @RequestMapping(value = "/delete/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@PathVariable Long id) { int count = couponService.delete(id); if(count>0){ return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("根据ID修改优惠券") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id,@RequestBody SmsCouponParam couponParam) { int count = couponService.update(id,couponParam); if(count>0){ return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("根据优惠券名称和类型分页获取优惠券列表") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list( @RequestParam(value = "name",required = false) String name, @RequestParam(value = "type",required = false) Integer type, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List couponList = couponService.list(name,type,pageSize,pageNum); return CommonResult.success(CommonPage.restPage(couponList)); } @ApiOperation("获取单个优惠券的详细信息") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { SmsCouponParam couponParam = couponService.getItem(id); return CommonResult.success(couponParam); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/SmsCouponHistoryController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.SmsCouponHistory; import com.macro.mall.service.SmsCouponHistoryService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import java.util.List; /** * 优惠券领取记录管理Controller * Created by macro on 2018/11/6. */ @Controller @Api(tags = "SmsCouponHistoryController") @Tag(name = "SmsCouponHistoryController", description = "优惠券领取记录管理") @RequestMapping("/couponHistory") public class SmsCouponHistoryController { @Autowired private SmsCouponHistoryService historyService; @ApiOperation("根据优惠券id,使用状态,订单编号分页获取领取记录") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "couponId", required = false) Long couponId, @RequestParam(value = "useStatus", required = false) Integer useStatus, @RequestParam(value = "orderSn", required = false) String orderSn, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List historyList = historyService.list(couponId, useStatus, orderSn, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(historyList)); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/SmsFlashPromotionController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.SmsFlashPromotion; import com.macro.mall.service.SmsFlashPromotionService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 限时购活动管理Controller * Created by macro on 2018/11/16. */ @Controller @Api(tags = "SmsFlashPromotionController") @Tag(name = "SmsFlashPromotionController", description = "限时购活动管理") @RequestMapping("/flash") public class SmsFlashPromotionController { @Autowired private SmsFlashPromotionService flashPromotionService; @ApiOperation("添加活动") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody SmsFlashPromotion flashPromotion) { int count = flashPromotionService.create(flashPromotion); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("编辑活动") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody SmsFlashPromotion flashPromotion) { int count = flashPromotionService.update(id, flashPromotion); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("删除活动") @RequestMapping(value = "/delete/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@PathVariable Long id) { int count = flashPromotionService.delete(id); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("修改活动上下线状态") @RequestMapping(value = "/update/status/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, Integer status) { int count = flashPromotionService.updateStatus(id, status); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("获取活动详情") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { SmsFlashPromotion flashPromotion = flashPromotionService.getItem(id); return CommonResult.success(flashPromotion); } @ApiOperation("根据活动名称分页查询活动") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> getItem(@RequestParam(value = "keyword", required = false) String keyword, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List flashPromotionList = flashPromotionService.list(keyword, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(flashPromotionList)); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/SmsFlashPromotionProductRelationController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.SmsFlashPromotionProduct; import com.macro.mall.model.SmsFlashPromotionProductRelation; import com.macro.mall.service.SmsFlashPromotionProductRelationService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 限时购和商品关系管理Controller * Created by macro on 2018/11/16. */ @Controller @Api(tags = "SmsFlashPromotionProductRelationController") @Tag(name = "SmsFlashPromotionProductRelationController", description = "限时购和商品关系管理") @RequestMapping("/flashProductRelation") public class SmsFlashPromotionProductRelationController { @Autowired private SmsFlashPromotionProductRelationService relationService; @ApiOperation("批量选择商品添加关联") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody List relationList) { int count = relationService.create(relationList); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("根据ID修改关联信息") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody SmsFlashPromotionProductRelation relation) { int count = relationService.update(id, relation); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("根据ID删除关联信息") @RequestMapping(value = "/delete/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@PathVariable Long id) { int count = relationService.delete(id); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("获取关联商品促销信息") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { SmsFlashPromotionProductRelation relation = relationService.getItem(id); return CommonResult.success(relation); } @ApiOperation("分页查询不同场次关联及商品信息") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "flashPromotionId") Long flashPromotionId, @RequestParam(value = "flashPromotionSessionId") Long flashPromotionSessionId, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List flashPromotionProductList = relationService.list(flashPromotionId, flashPromotionSessionId, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(flashPromotionProductList)); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/SmsFlashPromotionSessionController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.SmsFlashPromotionSessionDetail; import com.macro.mall.model.SmsFlashPromotionSession; import com.macro.mall.service.SmsFlashPromotionSessionService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 限时购场次管理Controller * Created by macro on 2018/11/16. */ @Controller @Api(tags = "SmsFlashPromotionSessionController") @Tag(name = "SmsFlashPromotionSessionController", description = "限时购场次管理") @RequestMapping("/flashSession") public class SmsFlashPromotionSessionController { @Autowired private SmsFlashPromotionSessionService flashPromotionSessionService; @ApiOperation("添加场次") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody SmsFlashPromotionSession promotionSession) { int count = flashPromotionSessionService.create(promotionSession); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("修改场次") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody SmsFlashPromotionSession promotionSession) { int count = flashPromotionSessionService.update(id, promotionSession); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("根据ID修改场次启用状态") @RequestMapping(value = "/update/status/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult updateStatus(@PathVariable Long id, Integer status) { int count = flashPromotionSessionService.updateStatus(id, status); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("删除场次") @RequestMapping(value = "/delete/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@PathVariable Long id) { int count = flashPromotionSessionService.delete(id); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("获取场次详情") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { SmsFlashPromotionSession promotionSession = flashPromotionSessionService.getItem(id); return CommonResult.success(promotionSession); } @ApiOperation("获取全部场次") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list() { List promotionSessionList = flashPromotionSessionService.list(); return CommonResult.success(promotionSessionList); } @ApiOperation("获取全部可选场次及其数量") @RequestMapping(value = "/selectList", method = RequestMethod.GET) @ResponseBody public CommonResult> selectList(Long flashPromotionId) { List promotionSessionList = flashPromotionSessionService.selectList(flashPromotionId); return CommonResult.success(promotionSessionList); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/SmsHomeAdvertiseController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.SmsHomeAdvertise; import com.macro.mall.service.SmsHomeAdvertiseService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 首页轮播广告管理Controller * Created by macro on 2018/11/7. */ @Controller @Api(tags = "SmsHomeAdvertiseController") @Tag(name = "SmsHomeAdvertiseController", description = "首页轮播广告管理") @RequestMapping("/home/advertise") public class SmsHomeAdvertiseController { @Autowired private SmsHomeAdvertiseService advertiseService; @ApiOperation("添加广告") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody SmsHomeAdvertise advertise) { int count = advertiseService.create(advertise); if (count > 0) return CommonResult.success(count); return CommonResult.failed(); } @ApiOperation("批量删除广告") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("ids") List ids) { int count = advertiseService.delete(ids); if (count > 0) return CommonResult.success(count); return CommonResult.failed(); } @ApiOperation("修改上下线状态") @RequestMapping(value = "/update/status/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult updateStatus(@PathVariable Long id, Integer status) { int count = advertiseService.updateStatus(id, status); if (count > 0) return CommonResult.success(count); return CommonResult.failed(); } @ApiOperation("根据ID获取广告详情") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { SmsHomeAdvertise advertise = advertiseService.getItem(id); return CommonResult.success(advertise); } @ApiOperation("根据ID修改广告") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody SmsHomeAdvertise advertise) { int count = advertiseService.update(id, advertise); if (count > 0) return CommonResult.success(count); return CommonResult.failed(); } @ApiOperation("分页查询首页广告") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "name", required = false) String name, @RequestParam(value = "type", required = false) Integer type, @RequestParam(value = "endTime", required = false) String endTime, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List advertiseList = advertiseService.list(name, type, endTime, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(advertiseList)); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/SmsHomeBrandController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.SmsHomeBrand; import com.macro.mall.service.SmsHomeBrandService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 首页品牌管理Controller * Created by macro on 2018/11/6. */ @Controller @Api(tags = "SmsHomeBrandController") @Tag(name = "SmsHomeBrandController", description = "首页品牌管理") @RequestMapping("/home/brand") public class SmsHomeBrandController { @Autowired private SmsHomeBrandService homeBrandService; @ApiOperation("添加首页推荐品牌") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody List homeBrandList) { int count = homeBrandService.create(homeBrandList); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("修改推荐品牌排序") @RequestMapping(value = "/update/sort/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult updateSort(@PathVariable Long id, Integer sort) { int count = homeBrandService.updateSort(id, sort); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("批量删除推荐品牌") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("ids") List ids) { int count = homeBrandService.delete(ids); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("批量修改推荐品牌状态") @RequestMapping(value = "/update/recommendStatus", method = RequestMethod.POST) @ResponseBody public CommonResult updateRecommendStatus(@RequestParam("ids") List ids, @RequestParam Integer recommendStatus) { int count = homeBrandService.updateRecommendStatus(ids, recommendStatus); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("分页查询推荐品牌") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "brandName", required = false) String brandName, @RequestParam(value = "recommendStatus", required = false) Integer recommendStatus, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List homeBrandList = homeBrandService.list(brandName, recommendStatus, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(homeBrandList)); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/SmsHomeNewProductController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.SmsHomeNewProduct; import com.macro.mall.service.SmsHomeNewProductService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 首页新品管理Controller * Created by macro on 2018/11/6. */ @Controller @Api(tags = "SmsHomeNewProductController") @Tag(name = "SmsHomeNewProductController", description = "首页新品管理") @RequestMapping("/home/newProduct") public class SmsHomeNewProductController { @Autowired private SmsHomeNewProductService homeNewProductService; @ApiOperation("批量添加首页新品") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody List homeNewProductList) { int count = homeNewProductService.create(homeNewProductList); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("修改首页新品排序") @RequestMapping(value = "/update/sort/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult updateSort(@PathVariable Long id, Integer sort) { int count = homeNewProductService.updateSort(id, sort); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("批量删除首页新品") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("ids") List ids) { int count = homeNewProductService.delete(ids); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("批量修改首页新品状态") @RequestMapping(value = "/update/recommendStatus", method = RequestMethod.POST) @ResponseBody public CommonResult updateRecommendStatus(@RequestParam("ids") List ids, @RequestParam Integer recommendStatus) { int count = homeNewProductService.updateRecommendStatus(ids, recommendStatus); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("分页查询首页新品") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "productName", required = false) String productName, @RequestParam(value = "recommendStatus", required = false) Integer recommendStatus, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List homeNewProductList = homeNewProductService.list(productName, recommendStatus, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(homeNewProductList)); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/SmsHomeRecommendProductController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.SmsHomeRecommendProduct; import com.macro.mall.service.SmsHomeRecommendProductService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 首页人气推荐管理Controller * Created by macro on 2018/11/6. */ @Controller @Api(tags = "SmsHomeRecommendProductController") @Tag(name = "SmsHomeRecommendProductController", description = "首页人气推荐管理") @RequestMapping("/home/recommendProduct") public class SmsHomeRecommendProductController { @Autowired private SmsHomeRecommendProductService recommendProductService; @ApiOperation("添加首页推荐") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody List homeRecommendProductList) { int count = recommendProductService.create(homeRecommendProductList); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("修改推荐排序") @RequestMapping(value = "/update/sort/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult updateSort(@PathVariable Long id, Integer sort) { int count = recommendProductService.updateSort(id, sort); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("批量删除推荐") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("ids") List ids) { int count = recommendProductService.delete(ids); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("批量修改推荐状态") @RequestMapping(value = "/update/recommendStatus", method = RequestMethod.POST) @ResponseBody public CommonResult updateRecommendStatus(@RequestParam("ids") List ids, @RequestParam Integer recommendStatus) { int count = recommendProductService.updateRecommendStatus(ids, recommendStatus); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("分页查询推荐") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "productName", required = false) String productName, @RequestParam(value = "recommendStatus", required = false) Integer recommendStatus, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List homeRecommendProductList = recommendProductService.list(productName, recommendStatus, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(homeRecommendProductList)); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/SmsHomeRecommendSubjectController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.SmsHomeRecommendSubject; import com.macro.mall.service.SmsHomeRecommendSubjectService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 首页专题推荐管理Controller * Created by macro on 2018/11/6. */ @Controller @Api(tags = "SmsHomeRecommendSubjectController") @Tag(name = "SmsHomeRecommendSubjectController", description = "首页专题推荐管理") @RequestMapping("/home/recommendSubject") public class SmsHomeRecommendSubjectController { @Autowired private SmsHomeRecommendSubjectService recommendSubjectService; @ApiOperation("批量添加首页专题推荐") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody List homeRecommendSubjectList) { int count = recommendSubjectService.create(homeRecommendSubjectList); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("修改专题推荐排序") @RequestMapping(value = "/update/sort/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult updateSort(@PathVariable Long id, Integer sort) { int count = recommendSubjectService.updateSort(id, sort); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("批量删除专题推荐") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("ids") List ids) { int count = recommendSubjectService.delete(ids); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("批量修改专题推荐状态") @RequestMapping(value = "/update/recommendStatus", method = RequestMethod.POST) @ResponseBody public CommonResult updateRecommendStatus(@RequestParam("ids") List ids, @RequestParam Integer recommendStatus) { int count = recommendSubjectService.updateRecommendStatus(ids, recommendStatus); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("分页查询专题推荐") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "subjectName", required = false) String subjectName, @RequestParam(value = "recommendStatus", required = false) Integer recommendStatus, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List homeRecommendSubjectList = recommendSubjectService.list(subjectName, recommendStatus, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(homeRecommendSubjectList)); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/UmsAdminController.java ================================================ package com.macro.mall.controller; import cn.hutool.core.collection.CollUtil; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.UmsAdminLoginParam; import com.macro.mall.dto.UmsAdminParam; import com.macro.mall.dto.UpdateAdminPasswordParam; import com.macro.mall.model.UmsAdmin; import com.macro.mall.model.UmsRole; import com.macro.mall.service.UmsAdminService; import com.macro.mall.service.UmsRoleService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Controller; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; import javax.servlet.http.HttpServletRequest; import java.security.Principal; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; /** * 后台用户管理Controller * Created by macro on 2018/4/26. */ @Controller @Api(tags = "UmsAdminController") @Tag(name = "UmsAdminController", description = "后台用户管理") @RequestMapping("/admin") public class UmsAdminController { @Value("${jwt.tokenHeader}") private String tokenHeader; @Value("${jwt.tokenHead}") private String tokenHead; @Autowired private UmsAdminService adminService; @Autowired private UmsRoleService roleService; @ApiOperation(value = "用户注册") @RequestMapping(value = "/register", method = RequestMethod.POST) @ResponseBody public CommonResult register(@Validated @RequestBody UmsAdminParam umsAdminParam) { UmsAdmin umsAdmin = adminService.register(umsAdminParam); if (umsAdmin == null) { return CommonResult.failed(); } return CommonResult.success(umsAdmin); } @ApiOperation(value = "登录以后返回token") @RequestMapping(value = "/login", method = RequestMethod.POST) @ResponseBody public CommonResult login(@Validated @RequestBody UmsAdminLoginParam umsAdminLoginParam) { String token = adminService.login(umsAdminLoginParam.getUsername(), umsAdminLoginParam.getPassword()); if (token == null) { return CommonResult.validateFailed("用户名或密码错误"); } Map tokenMap = new HashMap<>(); tokenMap.put("token", token); tokenMap.put("tokenHead", tokenHead); return CommonResult.success(tokenMap); } @ApiOperation(value = "刷新token") @RequestMapping(value = "/refreshToken", method = RequestMethod.GET) @ResponseBody public CommonResult refreshToken(HttpServletRequest request) { String token = request.getHeader(tokenHeader); String refreshToken = adminService.refreshToken(token); if (refreshToken == null) { return CommonResult.failed("token已经过期!"); } Map tokenMap = new HashMap<>(); tokenMap.put("token", refreshToken); tokenMap.put("tokenHead", tokenHead); return CommonResult.success(tokenMap); } @ApiOperation(value = "获取当前登录用户信息") @RequestMapping(value = "/info", method = RequestMethod.GET) @ResponseBody public CommonResult getAdminInfo(Principal principal) { if(principal==null){ return CommonResult.unauthorized(null); } String username = principal.getName(); UmsAdmin umsAdmin = adminService.getAdminByUsername(username); Map data = new HashMap<>(); data.put("username", umsAdmin.getUsername()); data.put("menus", roleService.getMenuList(umsAdmin.getId())); data.put("icon", umsAdmin.getIcon()); List roleList = adminService.getRoleList(umsAdmin.getId()); if(CollUtil.isNotEmpty(roleList)){ List roles = roleList.stream().map(UmsRole::getName).collect(Collectors.toList()); data.put("roles",roles); } return CommonResult.success(data); } @ApiOperation(value = "登出功能") @RequestMapping(value = "/logout", method = RequestMethod.POST) @ResponseBody public CommonResult logout(Principal principal) { adminService.logout(principal.getName()); return CommonResult.success(null); } @ApiOperation("根据用户名或姓名分页获取用户列表") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "keyword", required = false) String keyword, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List adminList = adminService.list(keyword, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(adminList)); } @ApiOperation("获取指定用户信息") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { UmsAdmin admin = adminService.getItem(id); return CommonResult.success(admin); } @ApiOperation("修改指定用户信息") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody UmsAdmin admin) { int count = adminService.update(id, admin); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("修改指定用户密码") @RequestMapping(value = "/updatePassword", method = RequestMethod.POST) @ResponseBody public CommonResult updatePassword(@Validated @RequestBody UpdateAdminPasswordParam updatePasswordParam) { int status = adminService.updatePassword(updatePasswordParam); if (status > 0) { return CommonResult.success(status); } else if (status == -1) { return CommonResult.failed("提交参数不合法"); } else if (status == -2) { return CommonResult.failed("找不到该用户"); } else if (status == -3) { return CommonResult.failed("旧密码错误"); } else { return CommonResult.failed(); } } @ApiOperation("删除指定用户信息") @RequestMapping(value = "/delete/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@PathVariable Long id) { int count = adminService.delete(id); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("修改帐号状态") @RequestMapping(value = "/updateStatus/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult updateStatus(@PathVariable Long id,@RequestParam(value = "status") Integer status) { UmsAdmin umsAdmin = new UmsAdmin(); umsAdmin.setStatus(status); int count = adminService.update(id,umsAdmin); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("给用户分配角色") @RequestMapping(value = "/role/update", method = RequestMethod.POST) @ResponseBody public CommonResult updateRole(@RequestParam("adminId") Long adminId, @RequestParam("roleIds") List roleIds) { int count = adminService.updateRole(adminId, roleIds); if (count >= 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("获取指定用户的角色") @RequestMapping(value = "/role/{adminId}", method = RequestMethod.GET) @ResponseBody public CommonResult> getRoleList(@PathVariable Long adminId) { List roleList = adminService.getRoleList(adminId); return CommonResult.success(roleList); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/UmsMemberLevelController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.UmsMemberLevel; import com.macro.mall.service.UmsMemberLevelService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import java.util.List; /** * 会员等级管理Controller * Created by macro on 2018/4/26. */ @Controller @Api(tags = "UmsMemberLevelController") @Tag(name = "UmsMemberLevelController", description = "会员等级管理") @RequestMapping("/memberLevel") public class UmsMemberLevelController { @Autowired private UmsMemberLevelService memberLevelService; @ApiOperation("查询所有会员等级") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam("defaultStatus") Integer defaultStatus) { List memberLevelList = memberLevelService.list(defaultStatus); return CommonResult.success(memberLevelList); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/UmsMenuController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.UmsMenuNode; import com.macro.mall.model.UmsMenu; import com.macro.mall.service.UmsMenuService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 后台菜单管理Controller * Created by macro on 2020/2/4. */ @Controller @Api(tags = "UmsMenuController") @Tag(name = "UmsMenuController", description = "后台菜单管理") @RequestMapping("/menu") public class UmsMenuController { @Autowired private UmsMenuService menuService; @ApiOperation("添加后台菜单") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody UmsMenu umsMenu) { int count = menuService.create(umsMenu); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("修改后台菜单") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody UmsMenu umsMenu) { int count = menuService.update(id, umsMenu); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("根据ID获取菜单详情") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { UmsMenu umsMenu = menuService.getItem(id); return CommonResult.success(umsMenu); } @ApiOperation("根据ID删除后台菜单") @RequestMapping(value = "/delete/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@PathVariable Long id) { int count = menuService.delete(id); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("根据上级菜单ID分页查询菜单") @RequestMapping(value = "/list/{parentId}", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@PathVariable Long parentId, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List menuList = menuService.list(parentId, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(menuList)); } @ApiOperation("树形结构返回所有菜单列表") @RequestMapping(value = "/treeList", method = RequestMethod.GET) @ResponseBody public CommonResult> treeList() { List list = menuService.treeList(); return CommonResult.success(list); } @ApiOperation("根据ID修改菜单显示状态") @RequestMapping(value = "/updateHidden/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult updateHidden(@PathVariable Long id, @RequestParam("hidden") Integer hidden) { int count = menuService.updateHidden(id, hidden); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/UmsResourceCategoryController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.UmsResourceCategory; import com.macro.mall.service.UmsResourceCategoryService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 后台资源分类管理Controller * Created by macro on 2020/2/5. */ @Controller @Api(tags = "UmsResourceCategoryController") @Tag(name = "UmsResourceCategoryController", description = "后台资源分类管理") @RequestMapping("/resourceCategory") public class UmsResourceCategoryController { @Autowired private UmsResourceCategoryService resourceCategoryService; @ApiOperation("查询所有后台资源分类") @RequestMapping(value = "/listAll", method = RequestMethod.GET) @ResponseBody public CommonResult> listAll() { List resourceList = resourceCategoryService.listAll(); return CommonResult.success(resourceList); } @ApiOperation("添加后台资源分类") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody UmsResourceCategory umsResourceCategory) { int count = resourceCategoryService.create(umsResourceCategory); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("修改后台资源分类") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody UmsResourceCategory umsResourceCategory) { int count = resourceCategoryService.update(id, umsResourceCategory); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("根据ID删除后台资源分类") @RequestMapping(value = "/delete/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@PathVariable Long id) { int count = resourceCategoryService.delete(id); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/UmsResourceController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.UmsResource; import com.macro.mall.security.component.DynamicSecurityMetadataSource; import com.macro.mall.service.UmsResourceService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 后台资源管理Controller * Created by macro on 2020/2/4. */ @Controller @Api(tags = "UmsResourceController") @Tag(name = "UmsResourceController", description = "后台资源管理") @RequestMapping("/resource") public class UmsResourceController { @Autowired private UmsResourceService resourceService; @Autowired private DynamicSecurityMetadataSource dynamicSecurityMetadataSource; @ApiOperation("添加后台资源") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody UmsResource umsResource) { int count = resourceService.create(umsResource); dynamicSecurityMetadataSource.clearDataSource(); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("修改后台资源") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody UmsResource umsResource) { int count = resourceService.update(id, umsResource); dynamicSecurityMetadataSource.clearDataSource(); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("根据ID获取资源详情") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { UmsResource umsResource = resourceService.getItem(id); return CommonResult.success(umsResource); } @ApiOperation("根据ID删除后台资源") @RequestMapping(value = "/delete/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@PathVariable Long id) { int count = resourceService.delete(id); dynamicSecurityMetadataSource.clearDataSource(); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("分页模糊查询后台资源") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(required = false) Long categoryId, @RequestParam(required = false) String nameKeyword, @RequestParam(required = false) String urlKeyword, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List resourceList = resourceService.list(categoryId,nameKeyword, urlKeyword, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(resourceList)); } @ApiOperation("查询所有后台资源") @RequestMapping(value = "/listAll", method = RequestMethod.GET) @ResponseBody public CommonResult> listAll() { List resourceList = resourceService.listAll(); return CommonResult.success(resourceList); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/controller/UmsRoleController.java ================================================ package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.*; import com.macro.mall.service.UmsRoleService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 后台用户角色管理Controller * Created by macro on 2018/9/30. */ @Controller @Api(tags = "UmsRoleController") @Tag(name = "UmsRoleController", description = "后台用户角色管理") @RequestMapping("/role") public class UmsRoleController { @Autowired private UmsRoleService roleService; @ApiOperation("添加角色") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody UmsRole role) { int count = roleService.create(role); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("修改角色") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody UmsRole role) { int count = roleService.update(id, role); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("批量删除角色") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("ids") List ids) { int count = roleService.delete(ids); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("获取所有角色") @RequestMapping(value = "/listAll", method = RequestMethod.GET) @ResponseBody public CommonResult> listAll() { List roleList = roleService.list(); return CommonResult.success(roleList); } @ApiOperation("根据角色名称分页获取角色列表") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "keyword", required = false) String keyword, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List roleList = roleService.list(keyword, pageSize, pageNum); return CommonResult.success(CommonPage.restPage(roleList)); } @ApiOperation("修改角色状态") @RequestMapping(value = "/updateStatus/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult updateStatus(@PathVariable Long id, @RequestParam(value = "status") Integer status) { UmsRole umsRole = new UmsRole(); umsRole.setStatus(status); int count = roleService.update(id, umsRole); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("根据角色ID获取菜单列表") @RequestMapping(value = "/listMenu/{roleId}", method = RequestMethod.GET) @ResponseBody public CommonResult> listMenu(@PathVariable Long roleId) { List roleList = roleService.listMenu(roleId); return CommonResult.success(roleList); } @ApiOperation("获取角色相关资源") @RequestMapping(value = "/listResource/{roleId}", method = RequestMethod.GET) @ResponseBody public CommonResult> listResource(@PathVariable Long roleId) { List roleList = roleService.listResource(roleId); return CommonResult.success(roleList); } @ApiOperation("给角色分配菜单") @RequestMapping(value = "/allocMenu", method = RequestMethod.POST) @ResponseBody public CommonResult allocMenu(@RequestParam Long roleId, @RequestParam List menuIds) { int count = roleService.allocMenu(roleId, menuIds); return CommonResult.success(count); } @ApiOperation("给角色分配资源") @RequestMapping(value = "/allocResource", method = RequestMethod.POST) @ResponseBody public CommonResult allocResource(@RequestParam Long roleId, @RequestParam List resourceIds) { int count = roleService.allocResource(roleId, resourceIds); return CommonResult.success(count); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/CmsPrefrenceAreaProductRelationDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.CmsPrefrenceAreaProductRelation; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 优选和商品关系自定义Dao * Created by macro on 2018/4/26. */ public interface CmsPrefrenceAreaProductRelationDao { /** * 批量创建 */ int insertList(@Param("list") List prefrenceAreaProductRelationList); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/CmsSubjectProductRelationDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.CmsSubjectProductRelation; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 商品和专题关系自定义Dao * Created by macro on 2018/4/26. */ public interface CmsSubjectProductRelationDao { /** * 批量创建 */ int insertList(@Param("list") List subjectProductRelationList); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/OmsOrderDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.dto.OmsOrderDeliveryParam; import com.macro.mall.dto.OmsOrderDetail; import com.macro.mall.dto.OmsOrderQueryParam; import com.macro.mall.model.OmsOrder; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 订单查询自定义Dao * Created by macro on 2018/10/12. */ public interface OmsOrderDao { /** * 条件查询订单 */ List getList(@Param("queryParam") OmsOrderQueryParam queryParam); /** * 批量发货 */ int delivery(@Param("list") List deliveryParamList); /** * 获取订单详情 */ OmsOrderDetail getDetail(@Param("id") Long id); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/OmsOrderOperateHistoryDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.OmsOrderOperateHistory; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 订单操作记录自定义Dao * Created by macro on 2018/10/12. */ public interface OmsOrderOperateHistoryDao { /** * 批量创建 */ int insertList(@Param("list") List orderOperateHistoryList); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/OmsOrderReturnApplyDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.dto.OmsOrderReturnApplyResult; import com.macro.mall.dto.OmsReturnApplyQueryParam; import com.macro.mall.model.OmsOrderReturnApply; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 订单退货申请管理自定义Dao * Created by macro on 2018/10/18. */ public interface OmsOrderReturnApplyDao { /** * 查询申请列表 */ List getList(@Param("queryParam") OmsReturnApplyQueryParam queryParam); /** * 获取申请详情 */ OmsOrderReturnApplyResult getDetail(@Param("id")Long id); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/PmsMemberPriceDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.PmsMemberPrice; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 会员价格管理自定义Dao * Created by macro on 2018/4/26. */ public interface PmsMemberPriceDao { /** * 批量创建 */ int insertList(@Param("list") List memberPriceList); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/PmsProductAttributeCategoryDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.dto.PmsProductAttributeCategoryItem; import java.util.List; /** * 商品属性分类管理自定义Dao * Created by macro on 2018/5/24. */ public interface PmsProductAttributeCategoryDao { /** * 获取包含属性的商品属性分类 */ List getListWithAttr(); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/PmsProductAttributeDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.dto.ProductAttrInfo; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 商品属性管理自定义Dao * Created by macro on 2018/5/23. */ public interface PmsProductAttributeDao { /** * 获取商品属性信息 */ List getProductAttrInfo(@Param("id") Long productCategoryId); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/PmsProductAttributeValueDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.PmsProductAttributeValue; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 商品属性值管理自定义Dao * Created by macro on 2018/4/26. */ public interface PmsProductAttributeValueDao { /** * 批量创建 */ int insertList(@Param("list")List productAttributeValueList); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/PmsProductCategoryAttributeRelationDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.PmsProductCategoryAttributeRelation; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 商品分类和属性关系自定义Dao * Created by macro on 2018/5/23. */ public interface PmsProductCategoryAttributeRelationDao { /** * 批量创建 */ int insertList(@Param("list") List productCategoryAttributeRelationList); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/PmsProductCategoryDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.dto.PmsProductCategoryWithChildrenItem; import java.util.List; /** * 商品分类自定义Dao * Created by macro on 2018/5/25. */ public interface PmsProductCategoryDao { /** * 获取商品分类及其子分类 */ List listWithChildren(); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/PmsProductDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.dto.PmsProductResult; import org.apache.ibatis.annotations.Param; /** * 商品管理自定义Dao * Created by macro on 2018/4/26. */ public interface PmsProductDao { /** * 获取商品编辑信息 */ PmsProductResult getUpdateInfo(@Param("id") Long id); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/PmsProductFullReductionDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.PmsProductFullReduction; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 商品满减自定义Dao * Created by macro on 2018/4/26. */ public interface PmsProductFullReductionDao { /** * 批量创建 */ int insertList(@Param("list") List productFullReductionList); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/PmsProductLadderDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.PmsProductLadder; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 会员阶梯价格自定义Dao * Created by macro on 2018/4/26. */ public interface PmsProductLadderDao { /** * 批量创建 */ int insertList(@Param("list") List productLadderList); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/PmsProductVertifyRecordDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.PmsProductVertifyRecord; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 商品审核日志管理自定义Dao * Created by macro on 2018/4/27. */ public interface PmsProductVertifyRecordDao { /** * 批量创建 */ int insertList(@Param("list") List list); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/PmsSkuStockDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.PmsSkuStock; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 商品SKU管理自定义Dao * Created by macro on 2018/4/26. */ public interface PmsSkuStockDao { /** * 批量插入操作 */ int insertList(@Param("list")List skuStockList); /** * 批量插入或替换操作 */ int replaceList(@Param("list")List skuStockList); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/SmsCouponDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.dto.SmsCouponParam; import org.apache.ibatis.annotations.Param; /** * 优惠券管理自定义Dao * Created by macro on 2018/8/29. */ public interface SmsCouponDao { /** * 获取优惠券详情包括绑定关系 */ SmsCouponParam getItem(@Param("id") Long id); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/SmsCouponProductCategoryRelationDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.SmsCouponProductCategoryRelation; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 优惠券和商品分类关系管理自定义Dao * Created by macro on 2018/8/28. */ public interface SmsCouponProductCategoryRelationDao { /** * 批量创建 */ int insertList(@Param("list")List productCategoryRelationList); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/SmsCouponProductRelationDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.SmsCouponProductRelation; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 优惠券和商品关系自定义Dao * Created by macro on 2018/8/28. */ public interface SmsCouponProductRelationDao { /** * 批量创建 */ int insertList(@Param("list")List productRelationList); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/SmsFlashPromotionProductRelationDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.dto.SmsFlashPromotionProduct; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 限时购商品关系管理自定义Dao * Created by macro on 2018/11/16. */ public interface SmsFlashPromotionProductRelationDao { /** * 获取限时购及相关商品信息 */ List getList(@Param("flashPromotionId") Long flashPromotionId, @Param("flashPromotionSessionId") Long flashPromotionSessionId); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/UmsAdminRoleRelationDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.UmsAdminRoleRelation; import com.macro.mall.model.UmsResource; import com.macro.mall.model.UmsRole; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 后台用户与角色关系管理自定义Dao * Created by macro on 2018/10/8. */ public interface UmsAdminRoleRelationDao { /** * 批量插入用户角色关系 */ int insertList(@Param("list") List adminRoleRelationList); /** * 获取用于所有角色 */ List getRoleList(@Param("adminId") Long adminId); /** * 获取用户所有可访问资源 */ List getResourceList(@Param("adminId") Long adminId); /** * 获取资源相关用户ID列表 */ List getAdminIdList(@Param("resourceId") Long resourceId); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dao/UmsRoleDao.java ================================================ package com.macro.mall.dao; import com.macro.mall.model.UmsMenu; import com.macro.mall.model.UmsResource; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 后台角色管理自定义Dao * Created by macro on 2020/2/2. */ public interface UmsRoleDao { /** * 根据后台用户ID获取菜单 */ List getMenuList(@Param("adminId") Long adminId); /** * 根据角色ID获取菜单 */ List getMenuListByRoleId(@Param("roleId") Long roleId); /** * 根据角色ID获取资源 */ List getResourceListByRoleId(@Param("roleId") Long roleId); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/BucketPolicyConfigDto.java ================================================ package com.macro.mall.dto; import lombok.Builder; import lombok.Data; import lombok.EqualsAndHashCode; import java.util.List; /** * Minio Bucket访问策略配置 * Created by macro on 2020/8/11. */ @Data @EqualsAndHashCode @Builder public class BucketPolicyConfigDto { private String Version; private List Statement; @Data @EqualsAndHashCode @Builder public static class Statement { private String Effect; private String Principal; private String Action; private String Resource; } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/MinioUploadDto.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; /** * 文件上传返回结果 * Created by macro on 2019/12/25. */ @Data @EqualsAndHashCode public class MinioUploadDto { @ApiModelProperty("文件访问URL") private String url; @ApiModelProperty("文件名称") private String name; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/OmsMoneyInfoParam.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.math.BigDecimal; /** * 修改订单费用信息参数 * Created by macro on 2018/10/29. */ @Getter @Setter public class OmsMoneyInfoParam { @ApiModelProperty("订单ID") private Long orderId; @ApiModelProperty("运费金额") private BigDecimal freightAmount; @ApiModelProperty("管理员后台调整订单所使用的折扣金额") private BigDecimal discountAmount; @ApiModelProperty("订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单") private Integer status; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/OmsOrderDeliveryParam.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; /** * 订单发货参数 * Created by macro on 2018/10/12. */ @Getter @Setter public class OmsOrderDeliveryParam { @ApiModelProperty("订单id") private Long orderId; @ApiModelProperty("物流公司") private String deliveryCompany; @ApiModelProperty("物流单号") private String deliverySn; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/OmsOrderDetail.java ================================================ package com.macro.mall.dto; import com.macro.mall.model.OmsOrder; import com.macro.mall.model.OmsOrderItem; import com.macro.mall.model.OmsOrderOperateHistory; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 订单详情信息 * Created by macro on 2018/10/11. */ public class OmsOrderDetail extends OmsOrder { @Getter @Setter @ApiModelProperty("订单商品列表") private List orderItemList; @Getter @Setter @ApiModelProperty("订单操作记录列表") private List historyList; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/OmsOrderQueryParam.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; /** * 订单查询参数 * Created by macro on 2018/10/11. */ @Getter @Setter public class OmsOrderQueryParam { @ApiModelProperty(value = "订单编号") private String orderSn; @ApiModelProperty(value = "收货人姓名/号码") private String receiverKeyword; @ApiModelProperty(value = "订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单") private Integer status; @ApiModelProperty(value = "订单类型:0->正常订单;1->秒杀订单") private Integer orderType; @ApiModelProperty(value = "订单来源:0->PC订单;1->app订单") private Integer sourceType; @ApiModelProperty(value = "订单提交时间") private String createTime; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/OmsOrderReturnApplyResult.java ================================================ package com.macro.mall.dto; import com.macro.mall.model.OmsCompanyAddress; import com.macro.mall.model.OmsOrderReturnApply; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; /** * 订单退货申请结果封装 * Created by macro on 2018/10/18. */ public class OmsOrderReturnApplyResult extends OmsOrderReturnApply { @Getter @Setter @ApiModelProperty(value = "公司收货地址") private OmsCompanyAddress companyAddress; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/OmsReceiverInfoParam.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; /** * 订单修改收货人信息参数 * Created by macro on 2018/10/29. */ @Getter @Setter public class OmsReceiverInfoParam { @ApiModelProperty(value = "订单ID") private Long orderId; @ApiModelProperty(value = "收货人姓名") private String receiverName; @ApiModelProperty(value = "收货人电话") private String receiverPhone; @ApiModelProperty(value = "收货人邮编") private String receiverPostCode; @ApiModelProperty(value = "详细地址") private String receiverDetailAddress; @ApiModelProperty(value = "省份/直辖市") private String receiverProvince; @ApiModelProperty(value = "城市") private String receiverCity; @ApiModelProperty(value = "区") private String receiverRegion; @ApiModelProperty(value = "订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单") private Integer status; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/OmsReturnApplyQueryParam.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; /** * 订单退货申请查询参数 * Created by macro on 2018/10/18. */ @Getter @Setter public class OmsReturnApplyQueryParam { @ApiModelProperty("服务单号") private Long id; @ApiModelProperty(value = "收货人姓名/号码") private String receiverKeyword; @ApiModelProperty(value = "申请状态:0->待处理;1->退货中;2->已完成;3->已拒绝") private Integer status; @ApiModelProperty(value = "申请时间") private String createTime; @ApiModelProperty(value = "处理人员") private String handleMan; @ApiModelProperty(value = "处理时间") private String handleTime; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/OmsUpdateStatusParam.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.math.BigDecimal; /** * 确认收货请求参数 * Created by macro on 2018/10/18. */ @Getter @Setter public class OmsUpdateStatusParam { @ApiModelProperty("服务单号") private Long id; @ApiModelProperty("收货地址关联id") private Long companyAddressId; @ApiModelProperty("确认退款金额") private BigDecimal returnAmount; @ApiModelProperty("处理备注") private String handleNote; @ApiModelProperty("处理人") private String handleMan; @ApiModelProperty("收货备注") private String receiveNote; @ApiModelProperty("收货人") private String receiveMan; @ApiModelProperty("申请状态:1->退货中;2->已完成;3->已拒绝") private Integer status; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/OssCallbackParam.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; /** * OSS上传成功后的回调参数 * Created by macro on 2018/5/17. */ @Data @EqualsAndHashCode public class OssCallbackParam { @ApiModelProperty("请求的回调地址") private String callbackUrl; @ApiModelProperty("回调是传入request中的参数") private String callbackBody; @ApiModelProperty("回调时传入参数的格式,比如表单提交形式") private String callbackBodyType; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/OssCallbackResult.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; /** * OSS上传文件的回调结果 * Created by macro on 2018/5/17. */ @Data @EqualsAndHashCode public class OssCallbackResult { @ApiModelProperty("文件名称") private String filename; @ApiModelProperty("文件大小") private String size; @ApiModelProperty("文件的mimeType") private String mimeType; @ApiModelProperty("图片文件的宽") private String width; @ApiModelProperty("图片文件的高") private String height; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/OssPolicyResult.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; /** * 获取OSS上传文件授权返回结果 * Created by macro on 2018/5/17. */ @Data @EqualsAndHashCode public class OssPolicyResult { @ApiModelProperty("访问身份验证中用到用户标识") private String accessKeyId; @ApiModelProperty("用户表单上传的策略,经过base64编码过的字符串") private String policy; @ApiModelProperty("对policy签名后的字符串") private String signature; @ApiModelProperty("上传文件夹路径前缀") private String dir; @ApiModelProperty("oss对外服务的访问域名") private String host; @ApiModelProperty("上传成功后的回调设置") private String callback; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/PmsBrandParam.java ================================================ package com.macro.mall.dto; import com.macro.mall.validator.FlagValidator; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import javax.validation.constraints.Min; import javax.validation.constraints.NotEmpty; /** * 品牌请求参数 * Created by macro on 2018/4/26. */ @Data @EqualsAndHashCode public class PmsBrandParam { @NotEmpty @ApiModelProperty(value = "品牌名称",required = true) private String name; @ApiModelProperty(value = "品牌首字母") private String firstLetter; @Min(value = 0) @ApiModelProperty(value = "排序字段") private Integer sort; @FlagValidator(value = {"0","1"}, message = "厂家状态不正确") @ApiModelProperty(value = "是否为厂家制造商") private Integer factoryStatus; @FlagValidator(value = {"0","1"}, message = "显示状态不正确") @ApiModelProperty(value = "是否进行显示") private Integer showStatus; @NotEmpty @ApiModelProperty(value = "品牌logo",required = true) private String logo; @ApiModelProperty(value = "品牌大图") private String bigPic; @ApiModelProperty(value = "品牌故事") private String brandStory; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/PmsProductAttributeCategoryItem.java ================================================ package com.macro.mall.dto; import com.macro.mall.model.PmsProductAttribute; import com.macro.mall.model.PmsProductAttributeCategory; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 带有属性的商品属性分类 * Created by macro on 2018/5/24. */ public class PmsProductAttributeCategoryItem extends PmsProductAttributeCategory { @Getter @Setter @ApiModelProperty(value = "商品属性列表") private List productAttributeList; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/PmsProductAttributeParam.java ================================================ package com.macro.mall.dto; import com.macro.mall.validator.FlagValidator; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import javax.validation.constraints.NotEmpty; /** * 商品属性参数 * Created by macro on 2018/4/26. */ @Data @EqualsAndHashCode public class PmsProductAttributeParam { @NotEmpty @ApiModelProperty("属性分类ID") private Long productAttributeCategoryId; @NotEmpty @ApiModelProperty("属性名称") private String name; @FlagValidator({"0","1","2"}) @ApiModelProperty("属性选择类型:0->唯一;1->单选;2->多选") private Integer selectType; @FlagValidator({"0","1"}) @ApiModelProperty("属性录入方式:0->手工录入;1->从列表中选取") private Integer inputType; @ApiModelProperty("可选值列表,以逗号隔开") private String inputList; private Integer sort; @ApiModelProperty("分类筛选样式:0->普通;1->颜色") @FlagValidator({"0","1"}) private Integer filterType; @ApiModelProperty("检索类型;0->不需要进行检索;1->关键字检索;2->范围检索") @FlagValidator({"0","1","2"}) private Integer searchType; @ApiModelProperty("相同属性商品是否关联;0->不关联;1->关联") @FlagValidator({"0","1"}) private Integer relatedStatus; @ApiModelProperty("是否支持手动新增;0->不支持;1->支持") @FlagValidator({"0","1"}) private Integer handAddStatus; @ApiModelProperty("属性的类型;0->规格;1->参数") @FlagValidator({"0","1"}) private Integer type; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/PmsProductCategoryParam.java ================================================ package com.macro.mall.dto; import com.macro.mall.validator.FlagValidator; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import javax.validation.constraints.Min; import javax.validation.constraints.NotEmpty; import java.util.List; /** * 添加更新商品分类的参数 * Created by macro on 2018/4/26. */ @Data @EqualsAndHashCode public class PmsProductCategoryParam { @ApiModelProperty("父分类的编号") private Long parentId; @NotEmpty @ApiModelProperty(value = "商品分类名称",required = true) private String name; @ApiModelProperty("分类单位") private String productUnit; @FlagValidator(value = {"0","1"},message = "状态只能为0或1") @ApiModelProperty("是否在导航栏显示") private Integer navStatus; @FlagValidator(value = {"0","1"},message = "状态只能为0或1") @ApiModelProperty("是否进行显示") private Integer showStatus; @Min(value = 0) @ApiModelProperty("排序") private Integer sort; @ApiModelProperty("图标") private String icon; @ApiModelProperty("关键字") private String keywords; @ApiModelProperty("描述") private String description; @ApiModelProperty("商品相关筛选属性集合") private List productAttributeIdList; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/PmsProductCategoryWithChildrenItem.java ================================================ package com.macro.mall.dto; import com.macro.mall.model.PmsProductCategory; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 包含子级分类的商品分类 * Created by macro on 2018/5/25. */ public class PmsProductCategoryWithChildrenItem extends PmsProductCategory { @Getter @Setter @ApiModelProperty("子级分类") private List children; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/PmsProductParam.java ================================================ package com.macro.mall.dto; import com.macro.mall.model.*; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import java.util.List; /** * 创建和修改商品的请求参数 * Created by macro on 2018/4/26. */ @Data @EqualsAndHashCode public class PmsProductParam extends PmsProduct{ @ApiModelProperty("商品阶梯价格设置") private List productLadderList; @ApiModelProperty("商品满减价格设置") private List productFullReductionList; @ApiModelProperty("商品会员价格设置") private List memberPriceList; @ApiModelProperty("商品的sku库存信息") private List skuStockList; @ApiModelProperty("商品参数及自定义规格属性") private List productAttributeValueList; @ApiModelProperty("专题和商品关系") private List subjectProductRelationList; @ApiModelProperty("优选专区和商品的关系") private List prefrenceAreaProductRelationList; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/PmsProductQueryParam.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; /** * 商品查询参数 * Created by macro on 2018/4/27. */ @Data @EqualsAndHashCode public class PmsProductQueryParam { @ApiModelProperty("上架状态") private Integer publishStatus; @ApiModelProperty("审核状态") private Integer verifyStatus; @ApiModelProperty("商品名称模糊关键字") private String keyword; @ApiModelProperty("商品货号") private String productSn; @ApiModelProperty("商品分类编号") private Long productCategoryId; @ApiModelProperty("商品品牌编号") private Long brandId; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/PmsProductResult.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; /** * 查询单个商品修改后返回的结果 * Created by macro on 2018/4/26. */ public class PmsProductResult extends PmsProductParam { @Getter @Setter @ApiModelProperty("商品所选分类的父id") private Long cateParentId; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/ProductAttrInfo.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; /** * 商品分类对应属性信息 * Created by macro on 2018/5/23. */ @Data @EqualsAndHashCode public class ProductAttrInfo { @ApiModelProperty("商品属性ID") private Long attributeId; @ApiModelProperty("商品属性分类ID") private Long attributeCategoryId; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/SmsCouponParam.java ================================================ package com.macro.mall.dto; import com.macro.mall.model.SmsCoupon; import com.macro.mall.model.SmsCouponProductCategoryRelation; import com.macro.mall.model.SmsCouponProductRelation; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 优惠券信息封装,包括绑定商品和分类 * Created by macro on 2018/8/28. */ public class SmsCouponParam extends SmsCoupon { @Getter @Setter @ApiModelProperty("优惠券绑定的商品") private List productRelationList; @Getter @Setter @ApiModelProperty("优惠券绑定的商品分类") private List productCategoryRelationList; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/SmsFlashPromotionProduct.java ================================================ package com.macro.mall.dto; import com.macro.mall.model.PmsProduct; import com.macro.mall.model.SmsFlashPromotionProductRelation; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; /** * 限时购商品信息封装 * Created by macro on 2018/11/16. */ public class SmsFlashPromotionProduct extends SmsFlashPromotionProductRelation{ @Getter @Setter @ApiModelProperty("关联商品") private PmsProduct product; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/SmsFlashPromotionSessionDetail.java ================================================ package com.macro.mall.dto; import com.macro.mall.model.SmsFlashPromotionSession; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; /** * 包含商品数量的场次信息 * Created by macro on 2018/11/19. */ public class SmsFlashPromotionSessionDetail extends SmsFlashPromotionSession { @Setter @Getter @ApiModelProperty("商品数量") private Long productCount; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/UmsAdminLoginParam.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import javax.validation.constraints.NotEmpty; /** * 用户登录参数 * Created by macro on 2018/4/26. */ @Data @EqualsAndHashCode public class UmsAdminLoginParam { @NotEmpty @ApiModelProperty(value = "用户名",required = true) private String username; @NotEmpty @ApiModelProperty(value = "密码",required = true) private String password; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/UmsAdminParam.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import javax.validation.constraints.Email; import javax.validation.constraints.NotEmpty; /** * 用户注册参数 * Created by macro on 2018/4/26. */ @Getter @Setter public class UmsAdminParam { @NotEmpty @ApiModelProperty(value = "用户名", required = true) private String username; @NotEmpty @ApiModelProperty(value = "密码", required = true) private String password; @ApiModelProperty(value = "用户头像") private String icon; @Email @ApiModelProperty(value = "邮箱") private String email; @ApiModelProperty(value = "用户昵称") private String nickName; @ApiModelProperty(value = "备注") private String note; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/UmsMenuNode.java ================================================ package com.macro.mall.dto; import com.macro.mall.model.UmsMenu; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 后台菜单节点封装 * Created by macro on 2020/2/4. */ @Getter @Setter public class UmsMenuNode extends UmsMenu { @ApiModelProperty(value = "子级菜单") private List children; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/dto/UpdateAdminPasswordParam.java ================================================ package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import javax.validation.constraints.NotEmpty; /** * 修改用户名密码参数 * Created by macro on 2019/10/9. */ @Getter @Setter public class UpdateAdminPasswordParam { @NotEmpty @ApiModelProperty(value = "用户名", required = true) private String username; @NotEmpty @ApiModelProperty(value = "旧密码", required = true) private String oldPassword; @NotEmpty @ApiModelProperty(value = "新密码", required = true) private String newPassword; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/CmsPrefrenceAreaService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.CmsPrefrenceArea; import java.util.List; /** * 优选专区管理Service * Created by macro on 2018/6/1. */ public interface CmsPrefrenceAreaService { /** * 获取所有优选专区 */ List listAll(); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/CmsSubjectService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.CmsSubject; import java.util.List; /** * 商品专题管理Service * Created by macro on 2018/6/1. */ public interface CmsSubjectService { /** * 查询所有专题 */ List listAll(); /** * 分页查询专题 */ List list(String keyword, Integer pageNum, Integer pageSize); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/OmsCompanyAddressService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.OmsCompanyAddress; import java.util.List; /** * 收货地址管理Service * Created by macro on 2018/10/18. */ public interface OmsCompanyAddressService { /** * 获取全部收货地址 */ List list(); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/OmsOrderReturnApplyService.java ================================================ package com.macro.mall.service; import com.macro.mall.dto.OmsOrderReturnApplyResult; import com.macro.mall.dto.OmsReturnApplyQueryParam; import com.macro.mall.dto.OmsUpdateStatusParam; import com.macro.mall.model.OmsOrderReturnApply; import java.util.List; /** * 退货申请管理Service * Created by macro on 2018/10/18. */ public interface OmsOrderReturnApplyService { /** * 分页查询申请 */ List list(OmsReturnApplyQueryParam queryParam, Integer pageSize, Integer pageNum); /** * 批量删除申请 */ int delete(List ids); /** * 修改指定申请状态 */ int updateStatus(Long id, OmsUpdateStatusParam statusParam); /** * 获取指定申请详情 */ OmsOrderReturnApplyResult getItem(Long id); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/OmsOrderReturnReasonService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.OmsOrderReturnReason; import java.util.List; /** * 退货原因管理Service * Created by macro on 2018/10/17. */ public interface OmsOrderReturnReasonService { /** * 添加退货原因 */ int create(OmsOrderReturnReason returnReason); /** * 修改退货原因 */ int update(Long id, OmsOrderReturnReason returnReason); /** * 批量删除退货原因 */ int delete(List ids); /** * 分页获取退货原因 */ List list(Integer pageSize, Integer pageNum); /** * 批量修改退货原因状态 */ int updateStatus(List ids, Integer status); /** * 获取单个退货原因详情信息 */ OmsOrderReturnReason getItem(Long id); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/OmsOrderService.java ================================================ package com.macro.mall.service; import com.macro.mall.dto.*; import com.macro.mall.model.OmsOrder; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 订单管理Service * Created by macro on 2018/10/11. */ public interface OmsOrderService { /** * 分页查询订单 */ List list(OmsOrderQueryParam queryParam, Integer pageSize, Integer pageNum); /** * 批量发货 */ @Transactional int delivery(List deliveryParamList); /** * 批量关闭订单 */ @Transactional int close(List ids, String note); /** * 批量删除订单 */ int delete(List ids); /** * 获取指定订单详情 */ OmsOrderDetail detail(Long id); /** * 修改订单收货人信息 */ @Transactional int updateReceiverInfo(OmsReceiverInfoParam receiverInfoParam); /** * 修改订单费用信息 */ @Transactional int updateMoneyInfo(OmsMoneyInfoParam moneyInfoParam); /** * 修改订单备注 */ @Transactional int updateNote(Long id, String note, Integer status); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/OmsOrderSettingService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.OmsOrderSetting; /** * 订单设置管理Service * Created by macro on 2018/10/16. */ public interface OmsOrderSettingService { /** * 获取指定订单设置 */ OmsOrderSetting getItem(Long id); /** * 修改指定订单设置 */ int update(Long id, OmsOrderSetting orderSetting); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/OssService.java ================================================ package com.macro.mall.service; import com.macro.mall.dto.OssCallbackResult; import com.macro.mall.dto.OssPolicyResult; import javax.servlet.http.HttpServletRequest; /** * Oss对象存储管理Service * Created by macro on 2018/5/17. */ public interface OssService { /** * Oss上传策略生成 */ OssPolicyResult policy(); /** * Oss上传成功回调 */ OssCallbackResult callback(HttpServletRequest request); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/PmsBrandService.java ================================================ package com.macro.mall.service; import com.macro.mall.dto.PmsBrandParam; import com.macro.mall.model.PmsBrand; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 商品品牌管理Service * Created by macro on 2018/4/26. */ public interface PmsBrandService { /** * 获取所有品牌 */ List listAllBrand(); /** * 创建品牌 */ int createBrand(PmsBrandParam pmsBrandParam); /** * 修改品牌 */ @Transactional int updateBrand(Long id, PmsBrandParam pmsBrandParam); /** * 删除品牌 */ int deleteBrand(Long id); /** * 批量删除品牌 */ int deleteBrand(List ids); /** * 分页查询品牌 */ List listBrand(String keyword, Integer showStatus, int pageNum, int pageSize); /** * 获取品牌详情 */ PmsBrand getBrand(Long id); /** * 修改显示状态 */ int updateShowStatus(List ids, Integer showStatus); /** * 修改厂家制造商状态 */ int updateFactoryStatus(List ids, Integer factoryStatus); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/PmsProductAttributeCategoryService.java ================================================ package com.macro.mall.service; import com.macro.mall.dto.PmsProductAttributeCategoryItem; import com.macro.mall.model.PmsProductAttributeCategory; import java.util.List; /** * 商品属性分类管理Service * Created by macro on 2018/4/26. */ public interface PmsProductAttributeCategoryService { /** * 创建属性分类 */ int create(String name); /** * 修改属性分类 */ int update(Long id, String name); /** * 删除属性分类 */ int delete(Long id); /** * 获取属性分类详情 */ PmsProductAttributeCategory getItem(Long id); /** * 分页查询属性分类 */ List getList(Integer pageSize, Integer pageNum); /** * 获取包含属性的属性分类 */ List getListWithAttr(); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/PmsProductAttributeService.java ================================================ package com.macro.mall.service; import com.macro.mall.dto.PmsProductAttributeParam; import com.macro.mall.dto.ProductAttrInfo; import com.macro.mall.model.PmsProductAttribute; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 商品属性管理Service * Created by macro on 2018/4/26. */ public interface PmsProductAttributeService { /** * 根据分类ID和类型分页获取商品属性 * @param cid 分类id * @param type 0->规格;1->参数 */ List getList(Long cid, Integer type, Integer pageSize, Integer pageNum); /** * 添加商品属性 */ @Transactional int create(PmsProductAttributeParam pmsProductAttributeParam); /** * 修改商品属性 */ int update(Long id, PmsProductAttributeParam productAttributeParam); /** * 获取单个商品属性信息 */ PmsProductAttribute getItem(Long id); /** * 批量删除商品属性 */ @Transactional int delete(List ids); /** * 获取商品分类对应属性列表 */ List getProductAttrInfo(Long productCategoryId); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/PmsProductCategoryService.java ================================================ package com.macro.mall.service; import com.macro.mall.dto.PmsProductCategoryParam; import com.macro.mall.dto.PmsProductCategoryWithChildrenItem; import com.macro.mall.model.PmsProductCategory; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 商品分类管理Service * Created by macro on 2018/4/26. */ public interface PmsProductCategoryService { /** * 创建商品分类 */ @Transactional int create(PmsProductCategoryParam pmsProductCategoryParam); /** * 修改商品分类 */ @Transactional int update(Long id, PmsProductCategoryParam pmsProductCategoryParam); /** * 分页获取商品分类 */ List getList(Long parentId, Integer pageSize, Integer pageNum); /** * 删除商品分类 */ int delete(Long id); /** * 根据ID获取商品分类 */ PmsProductCategory getItem(Long id); /** * 批量修改导航状态 */ int updateNavStatus(List ids, Integer navStatus); /** * 批量修改显示状态 */ int updateShowStatus(List ids, Integer showStatus); /** * 以层级形式获取商品分类 */ List listWithChildren(); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/PmsProductService.java ================================================ package com.macro.mall.service; import com.macro.mall.dto.PmsProductParam; import com.macro.mall.dto.PmsProductQueryParam; import com.macro.mall.dto.PmsProductResult; import com.macro.mall.model.PmsProduct; import org.springframework.transaction.annotation.Isolation; import org.springframework.transaction.annotation.Propagation; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 商品管理Service * Created by macro on 2018/4/26. */ public interface PmsProductService { /** * 创建商品 */ @Transactional(isolation = Isolation.DEFAULT,propagation = Propagation.REQUIRED) int create(PmsProductParam productParam); /** * 根据商品ID获取商品信息(用于更新商品) */ PmsProductResult getUpdateInfo(Long id); /** * 更新商品 */ @Transactional int update(Long id, PmsProductParam productParam); /** * 分页查询商品 */ List list(PmsProductQueryParam productQueryParam, Integer pageSize, Integer pageNum); /** * 批量修改审核状态 * @param ids 商品ID列表 * @param verifyStatus 审核状态 * @param detail 审核详情 */ @Transactional int updateVerifyStatus(List ids, Integer verifyStatus, String detail); /** * 批量修改商品上架状态 */ int updatePublishStatus(List ids, Integer publishStatus); /** * 批量修改商品推荐状态 */ int updateRecommendStatus(List ids, Integer recommendStatus); /** * 批量修改新品状态 */ int updateNewStatus(List ids, Integer newStatus); /** * 批量删除商品 */ int updateDeleteStatus(List ids, Integer deleteStatus); /** * 根据商品名称或者货号模糊查询 */ List list(String keyword); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/PmsSkuStockService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.PmsSkuStock; import java.util.List; /** * 商品SKU库存管理Service * Created by macro on 2018/4/27. */ public interface PmsSkuStockService { /** * 根据商品id和skuCode关键字模糊搜索 */ List getList(Long pid, String keyword); /** * 批量更新商品库存信息 */ int update(Long pid, List skuStockList); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/SmsCouponHistoryService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.SmsCouponHistory; import java.util.List; /** * 优惠券领取记录管理Service * Created by macro on 2018/11/6. */ public interface SmsCouponHistoryService { /** * 分页查询优惠券领取记录 * @param couponId 优惠券id * @param useStatus 使用状态 * @param orderSn 使用订单号码 */ List list(Long couponId, Integer useStatus, String orderSn, Integer pageSize, Integer pageNum); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/SmsCouponService.java ================================================ package com.macro.mall.service; import com.macro.mall.dto.SmsCouponParam; import com.macro.mall.model.SmsCoupon; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 优惠券管理Service * Created by macro on 2018/8/28. */ public interface SmsCouponService { /** * 添加优惠券 */ @Transactional int create(SmsCouponParam couponParam); /** * 根据优惠券id删除优惠券 */ @Transactional int delete(Long id); /** * 根据优惠券id更新优惠券信息 */ @Transactional int update(Long id, SmsCouponParam couponParam); /** * 分页获取优惠券列表 */ List list(String name, Integer type, Integer pageSize, Integer pageNum); /** * 获取优惠券详情 * @param id 优惠券表id */ SmsCouponParam getItem(Long id); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/SmsFlashPromotionProductRelationService.java ================================================ package com.macro.mall.service; import com.macro.mall.dto.SmsFlashPromotionProduct; import com.macro.mall.model.SmsFlashPromotionProductRelation; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 限时购商品关联管理Service * Created by macro on 2018/11/16. */ public interface SmsFlashPromotionProductRelationService { /** * 批量添加关联 */ @Transactional int create(List relationList); /** * 修改关联信息 */ int update(Long id, SmsFlashPromotionProductRelation relation); /** * 删除关联 */ int delete(Long id); /** * 获取关联详情 */ SmsFlashPromotionProductRelation getItem(Long id); /** * 根据限时购和场次id分页查询限时购商品信息 * * @param flashPromotionId 限时购id * @param flashPromotionSessionId 限时购场次id */ List list(Long flashPromotionId, Long flashPromotionSessionId, Integer pageSize, Integer pageNum); /** * 根据限时购和场次id获取商品关系数量 * @param flashPromotionId 限时购id * @param flashPromotionSessionId 限时购场次id */ long getCount(Long flashPromotionId,Long flashPromotionSessionId); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/SmsFlashPromotionService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.SmsFlashPromotion; import java.util.List; /** * 限时购活动管理Service * Created by macro on 2018/11/16. */ public interface SmsFlashPromotionService { /** * 添加活动 */ int create(SmsFlashPromotion flashPromotion); /** * 修改指定活动 */ int update(Long id, SmsFlashPromotion flashPromotion); /** * 删除单个活动 */ int delete(Long id); /** * 修改活动上下线状态 */ int updateStatus(Long id, Integer status); /** * 获取活动详情 */ SmsFlashPromotion getItem(Long id); /** * 根据关键字分页查询活动 */ List list(String keyword, Integer pageSize, Integer pageNum); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/SmsFlashPromotionSessionService.java ================================================ package com.macro.mall.service; import com.macro.mall.dto.SmsFlashPromotionSessionDetail; import com.macro.mall.model.SmsFlashPromotionSession; import java.util.List; /** * 限时购场次管理Service * Created by macro on 2018/11/16. */ public interface SmsFlashPromotionSessionService { /** * 添加场次 */ int create(SmsFlashPromotionSession promotionSession); /** * 修改场次 */ int update(Long id, SmsFlashPromotionSession promotionSession); /** * 修改场次启用状态 */ int updateStatus(Long id, Integer status); /** * 删除场次 */ int delete(Long id); /** * 获取场次详情 */ SmsFlashPromotionSession getItem(Long id); /** * 获取全部场次列表 */ List list(); /** * 获取全部可选场次及其数量 */ List selectList(Long flashPromotionId); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/SmsHomeAdvertiseService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.SmsHomeAdvertise; import java.util.List; /** * 首页广告管理Service * Created by macro on 2018/11/7. */ public interface SmsHomeAdvertiseService { /** * 添加广告 */ int create(SmsHomeAdvertise advertise); /** * 批量删除广告 */ int delete(List ids); /** * 修改广告上、下线状态 */ int updateStatus(Long id, Integer status); /** * 获取广告详情 */ SmsHomeAdvertise getItem(Long id); /** * 更新广告 */ int update(Long id, SmsHomeAdvertise advertise); /** * 分页查询广告 */ List list(String name, Integer type, String endTime, Integer pageSize, Integer pageNum); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/SmsHomeBrandService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.SmsHomeBrand; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 首页品牌管理Service * Created by macro on 2018/11/6. */ public interface SmsHomeBrandService { /** * 添加品牌推荐 */ @Transactional int create(List homeBrandList); /** * 修改品牌推荐排序 */ int updateSort(Long id, Integer sort); /** * 批量删除品牌推荐 */ int delete(List ids); /** * 批量更新品牌推荐状态 */ int updateRecommendStatus(List ids, Integer recommendStatus); /** * 分页查询品牌推荐 */ List list(String brandName, Integer recommendStatus, Integer pageSize, Integer pageNum); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/SmsHomeNewProductService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.SmsHomeNewProduct; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 首页新品推荐管理Service * Created by macro on 2018/11/6. */ public interface SmsHomeNewProductService { /** * 添加新品推荐 */ @Transactional int create(List homeNewProductList); /** * 修改新品推荐排序 */ int updateSort(Long id, Integer sort); /** * 批量删除新品推荐 */ int delete(List ids); /** * 批量更新新品推荐状态 */ int updateRecommendStatus(List ids, Integer recommendStatus); /** * 分页查询新品推荐 */ List list(String productName, Integer recommendStatus, Integer pageSize, Integer pageNum); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/SmsHomeRecommendProductService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.SmsHomeRecommendProduct; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 首页人气推荐管理Service * Created by macro on 2018/11/7. */ public interface SmsHomeRecommendProductService { /** * 添加人气推荐 */ @Transactional int create(List homeRecommendProductList); /** * 修改人气推荐排序 */ int updateSort(Long id, Integer sort); /** * 批量删除人气推荐 */ int delete(List ids); /** * 批量更新人气推荐状态 */ int updateRecommendStatus(List ids, Integer recommendStatus); /** * 分页查询人气推荐 */ List list(String productName, Integer recommendStatus, Integer pageSize, Integer pageNum); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/SmsHomeRecommendSubjectService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.SmsHomeRecommendSubject; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 首页专题推荐管理Service * Created by macro on 2018/11/7. */ public interface SmsHomeRecommendSubjectService { /** * 添加专题推荐 */ @Transactional int create(List recommendSubjectList); /** * 修改专题推荐排序 */ int updateSort(Long id, Integer sort); /** * 批量删除专题推荐 */ int delete(List ids); /** * 批量更新专题推荐状态 */ int updateRecommendStatus(List ids, Integer recommendStatus); /** * 分页查询专题推荐 */ List list(String subjectName, Integer recommendStatus, Integer pageSize, Integer pageNum); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/UmsAdminCacheService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.UmsAdmin; import com.macro.mall.model.UmsResource; import java.util.List; /** * 后台用户缓存管理Service * Created by macro on 2020/3/13. */ public interface UmsAdminCacheService { /** * 删除后台用户缓存 */ void delAdmin(Long adminId); /** * 删除后台用户资源列表缓存 */ void delResourceList(Long adminId); /** * 当角色相关资源信息改变时删除相关后台用户缓存 */ void delResourceListByRole(Long roleId); /** * 当角色相关资源信息改变时删除相关后台用户缓存 */ void delResourceListByRoleIds(List roleIds); /** * 当资源信息改变时,删除资源相关后台用户缓存 */ void delResourceListByResource(Long resourceId); /** * 获取缓存后台用户信息 */ UmsAdmin getAdmin(String username); /** * 设置缓存后台用户信息 */ void setAdmin(UmsAdmin admin); /** * 获取缓存后台用户资源列表 */ List getResourceList(Long adminId); /** * 设置缓存后台用户资源列表 */ void setResourceList(Long adminId, List resourceList); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/UmsAdminService.java ================================================ package com.macro.mall.service; import com.macro.mall.dto.UmsAdminParam; import com.macro.mall.dto.UpdateAdminPasswordParam; import com.macro.mall.model.UmsAdmin; import com.macro.mall.model.UmsResource; import com.macro.mall.model.UmsRole; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 后台用户管理Service * Created by macro on 2018/4/26. */ public interface UmsAdminService { /** * 根据用户名获取后台管理员 */ UmsAdmin getAdminByUsername(String username); /** * 注册功能 */ UmsAdmin register(UmsAdminParam umsAdminParam); /** * 登录功能 * @param username 用户名 * @param password 密码 * @return 生成的JWT的token */ String login(String username,String password); /** * 刷新token的功能 * @param oldToken 旧的token */ String refreshToken(String oldToken); /** * 根据用户id获取用户 */ UmsAdmin getItem(Long id); /** * 根据用户名或昵称分页查询用户 */ List list(String keyword, Integer pageSize, Integer pageNum); /** * 修改指定用户信息 */ int update(Long id, UmsAdmin admin); /** * 删除指定用户 */ int delete(Long id); /** * 修改用户角色关系 */ @Transactional int updateRole(Long adminId, List roleIds); /** * 获取用户对应角色 */ List getRoleList(Long adminId); /** * 获取指定用户的可访问资源 */ List getResourceList(Long adminId); /** * 修改密码 */ int updatePassword(UpdateAdminPasswordParam updatePasswordParam); /** * 获取用户信息 */ UserDetails loadUserByUsername(String username); /** * 获取缓存服务 */ UmsAdminCacheService getCacheService(); /** * 登出功能 * @param username 用户名 */ void logout(String username); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/UmsMemberLevelService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.UmsMemberLevel; import java.util.List; /** * 会员等级管理Service * Created by macro on 2018/4/26. */ public interface UmsMemberLevelService { /** * 获取所有会员等级 * @param defaultStatus 是否为默认会员 */ List list(Integer defaultStatus); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/UmsMenuService.java ================================================ package com.macro.mall.service; import com.macro.mall.dto.UmsMenuNode; import com.macro.mall.model.UmsMenu; import java.util.List; /** * 后台菜单管理Service * Created by macro on 2020/2/2. */ public interface UmsMenuService { /** * 创建后台菜单 */ int create(UmsMenu umsMenu); /** * 修改后台菜单 */ int update(Long id, UmsMenu umsMenu); /** * 根据ID获取菜单详情 */ UmsMenu getItem(Long id); /** * 根据ID删除菜单 */ int delete(Long id); /** * 分页查询后台菜单 */ List list(Long parentId, Integer pageSize, Integer pageNum); /** * 树形结构返回所有菜单列表 */ List treeList(); /** * 修改菜单显示状态 */ int updateHidden(Long id, Integer hidden); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/UmsResourceCategoryService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.UmsResourceCategory; import java.util.List; /** * 后台资源分类管理Service * Created by macro on 2020/2/5. */ public interface UmsResourceCategoryService { /** * 获取所有资源分类 */ List listAll(); /** * 创建资源分类 */ int create(UmsResourceCategory umsResourceCategory); /** * 修改资源分类 */ int update(Long id, UmsResourceCategory umsResourceCategory); /** * 删除资源分类 */ int delete(Long id); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/UmsResourceService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.UmsResource; import java.util.List; /** * 后台资源管理Service * Created by macro on 2020/2/2. */ public interface UmsResourceService { /** * 添加资源 */ int create(UmsResource umsResource); /** * 修改资源 */ int update(Long id, UmsResource umsResource); /** * 获取资源详情 */ UmsResource getItem(Long id); /** * 删除资源 */ int delete(Long id); /** * 分页查询资源 */ List list(Long categoryId, String nameKeyword, String urlKeyword, Integer pageSize, Integer pageNum); /** * 查询全部资源 */ List listAll(); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/UmsRoleService.java ================================================ package com.macro.mall.service; import com.macro.mall.model.UmsMenu; import com.macro.mall.model.UmsResource; import com.macro.mall.model.UmsRole; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 后台角色管理Service * Created by macro on 2018/9/30. */ public interface UmsRoleService { /** * 添加角色 */ int create(UmsRole role); /** * 修改角色信息 */ int update(Long id, UmsRole role); /** * 批量删除角色 */ int delete(List ids); /** * 获取所有角色列表 */ List list(); /** * 分页获取角色列表 */ List list(String keyword, Integer pageSize, Integer pageNum); /** * 根据管理员ID获取对应菜单 */ List getMenuList(Long adminId); /** * 获取角色相关菜单 */ List listMenu(Long roleId); /** * 获取角色相关资源 */ List listResource(Long roleId); /** * 给角色分配菜单 */ @Transactional int allocMenu(Long roleId, List menuIds); /** * 给角色分配资源 */ @Transactional int allocResource(Long roleId, List resourceIds); } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/CmsPrefrenceAreaServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.macro.mall.mapper.CmsPrefrenceAreaMapper; import com.macro.mall.model.CmsPrefrenceArea; import com.macro.mall.model.CmsPrefrenceAreaExample; import com.macro.mall.service.CmsPrefrenceAreaService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 商品优选管理Service实现类 * Created by macro on 2018/6/1. */ @Service public class CmsPrefrenceAreaServiceImpl implements CmsPrefrenceAreaService { @Autowired private CmsPrefrenceAreaMapper prefrenceAreaMapper; @Override public List listAll() { return prefrenceAreaMapper.selectByExample(new CmsPrefrenceAreaExample()); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/CmsSubjectServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.mapper.CmsSubjectMapper; import com.macro.mall.model.CmsSubject; import com.macro.mall.model.CmsSubjectExample; import com.macro.mall.service.CmsSubjectService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 商品专题管理Service实现类 * Created by macro on 2018/6/1. */ @Service public class CmsSubjectServiceImpl implements CmsSubjectService { @Autowired private CmsSubjectMapper subjectMapper; @Override public List listAll() { return subjectMapper.selectByExample(new CmsSubjectExample()); } @Override public List list(String keyword, Integer pageNum, Integer pageSize) { PageHelper.startPage(pageNum, pageSize); CmsSubjectExample example = new CmsSubjectExample(); CmsSubjectExample.Criteria criteria = example.createCriteria(); if (!StrUtil.isEmpty(keyword)) { criteria.andTitleLike("%" + keyword + "%"); } return subjectMapper.selectByExample(example); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/OmsCompanyAddressServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.macro.mall.mapper.OmsCompanyAddressMapper; import com.macro.mall.model.OmsCompanyAddress; import com.macro.mall.model.OmsCompanyAddressExample; import com.macro.mall.service.OmsCompanyAddressService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 收货地址管理Service实现类 * Created by macro on 2018/10/18. */ @Service public class OmsCompanyAddressServiceImpl implements OmsCompanyAddressService { @Autowired private OmsCompanyAddressMapper companyAddressMapper; @Override public List list() { return companyAddressMapper.selectByExample(new OmsCompanyAddressExample()); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/OmsOrderReturnApplyServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.github.pagehelper.PageHelper; import com.macro.mall.dao.OmsOrderReturnApplyDao; import com.macro.mall.dto.OmsOrderReturnApplyResult; import com.macro.mall.dto.OmsReturnApplyQueryParam; import com.macro.mall.dto.OmsUpdateStatusParam; import com.macro.mall.mapper.OmsOrderReturnApplyMapper; import com.macro.mall.model.OmsOrderReturnApply; import com.macro.mall.model.OmsOrderReturnApplyExample; import com.macro.mall.service.OmsOrderReturnApplyService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Date; import java.util.List; /** * 订单退货管理Service实现类 * Created by macro on 2018/10/18. */ @Service public class OmsOrderReturnApplyServiceImpl implements OmsOrderReturnApplyService { @Autowired private OmsOrderReturnApplyDao returnApplyDao; @Autowired private OmsOrderReturnApplyMapper returnApplyMapper; @Override public List list(OmsReturnApplyQueryParam queryParam, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum,pageSize); return returnApplyDao.getList(queryParam); } @Override public int delete(List ids) { OmsOrderReturnApplyExample example = new OmsOrderReturnApplyExample(); example.createCriteria().andIdIn(ids).andStatusEqualTo(3); return returnApplyMapper.deleteByExample(example); } @Override public int updateStatus(Long id, OmsUpdateStatusParam statusParam) { Integer status = statusParam.getStatus(); OmsOrderReturnApply returnApply = new OmsOrderReturnApply(); if(status.equals(1)){ //确认退货 returnApply.setId(id); returnApply.setStatus(1); returnApply.setReturnAmount(statusParam.getReturnAmount()); returnApply.setCompanyAddressId(statusParam.getCompanyAddressId()); returnApply.setHandleTime(new Date()); returnApply.setHandleMan(statusParam.getHandleMan()); returnApply.setHandleNote(statusParam.getHandleNote()); }else if(status.equals(2)){ //完成退货 returnApply.setId(id); returnApply.setStatus(2); returnApply.setReceiveTime(new Date()); returnApply.setReceiveMan(statusParam.getReceiveMan()); returnApply.setReceiveNote(statusParam.getReceiveNote()); }else if(status.equals(3)){ //拒绝退货 returnApply.setId(id); returnApply.setStatus(3); returnApply.setHandleTime(new Date()); returnApply.setHandleMan(statusParam.getHandleMan()); returnApply.setHandleNote(statusParam.getHandleNote()); }else{ return 0; } return returnApplyMapper.updateByPrimaryKeySelective(returnApply); } @Override public OmsOrderReturnApplyResult getItem(Long id) { return returnApplyDao.getDetail(id); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/OmsOrderReturnReasonServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.github.pagehelper.PageHelper; import com.macro.mall.mapper.OmsOrderReturnReasonMapper; import com.macro.mall.model.OmsOrderReturnReason; import com.macro.mall.model.OmsOrderReturnReasonExample; import com.macro.mall.service.OmsOrderReturnReasonService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Date; import java.util.List; /** * 订单原因管理Service实现类 * Created by macro on 2018/10/17. */ @Service public class OmsOrderReturnReasonServiceImpl implements OmsOrderReturnReasonService { @Autowired private OmsOrderReturnReasonMapper returnReasonMapper; @Override public int create(OmsOrderReturnReason returnReason) { returnReason.setCreateTime(new Date()); return returnReasonMapper.insert(returnReason); } @Override public int update(Long id, OmsOrderReturnReason returnReason) { returnReason.setId(id); return returnReasonMapper.updateByPrimaryKey(returnReason); } @Override public int delete(List ids) { OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample(); example.createCriteria().andIdIn(ids); return returnReasonMapper.deleteByExample(example); } @Override public List list(Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum,pageSize); OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample(); example.setOrderByClause("sort desc"); return returnReasonMapper.selectByExample(example); } @Override public int updateStatus(List ids, Integer status) { if(!status.equals(0)&&!status.equals(1)){ return 0; } OmsOrderReturnReason record = new OmsOrderReturnReason(); record.setStatus(status); OmsOrderReturnReasonExample example = new OmsOrderReturnReasonExample(); example.createCriteria().andIdIn(ids); return returnReasonMapper.updateByExampleSelective(record,example); } @Override public OmsOrderReturnReason getItem(Long id) { return returnReasonMapper.selectByPrimaryKey(id); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/OmsOrderServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.github.pagehelper.PageHelper; import com.macro.mall.dao.OmsOrderDao; import com.macro.mall.dao.OmsOrderOperateHistoryDao; import com.macro.mall.dto.*; import com.macro.mall.mapper.OmsOrderMapper; import com.macro.mall.mapper.OmsOrderOperateHistoryMapper; import com.macro.mall.model.OmsOrder; import com.macro.mall.model.OmsOrderExample; import com.macro.mall.model.OmsOrderOperateHistory; import com.macro.mall.service.OmsOrderService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Date; import java.util.List; import java.util.stream.Collectors; /** * 订单管理Service实现类 * Created by macro on 2018/10/11. */ @Service public class OmsOrderServiceImpl implements OmsOrderService { @Autowired private OmsOrderMapper orderMapper; @Autowired private OmsOrderDao orderDao; @Autowired private OmsOrderOperateHistoryDao orderOperateHistoryDao; @Autowired private OmsOrderOperateHistoryMapper orderOperateHistoryMapper; @Override public List list(OmsOrderQueryParam queryParam, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum, pageSize); return orderDao.getList(queryParam); } @Override public int delivery(List deliveryParamList) { //批量发货 int count = orderDao.delivery(deliveryParamList); //添加操作记录 List operateHistoryList = deliveryParamList.stream() .map(omsOrderDeliveryParam -> { OmsOrderOperateHistory history = new OmsOrderOperateHistory(); history.setOrderId(omsOrderDeliveryParam.getOrderId()); history.setCreateTime(new Date()); history.setOperateMan("后台管理员"); history.setOrderStatus(2); history.setNote("完成发货"); return history; }).collect(Collectors.toList()); orderOperateHistoryDao.insertList(operateHistoryList); return count; } @Override public int close(List ids, String note) { OmsOrder record = new OmsOrder(); record.setStatus(4); OmsOrderExample example = new OmsOrderExample(); example.createCriteria().andDeleteStatusEqualTo(0).andIdIn(ids); int count = orderMapper.updateByExampleSelective(record, example); List historyList = ids.stream().map(orderId -> { OmsOrderOperateHistory history = new OmsOrderOperateHistory(); history.setOrderId(orderId); history.setCreateTime(new Date()); history.setOperateMan("后台管理员"); history.setOrderStatus(4); history.setNote("订单关闭:"+note); return history; }).collect(Collectors.toList()); orderOperateHistoryDao.insertList(historyList); return count; } @Override public int delete(List ids) { OmsOrder record = new OmsOrder(); record.setDeleteStatus(1); OmsOrderExample example = new OmsOrderExample(); example.createCriteria().andDeleteStatusEqualTo(0).andIdIn(ids); return orderMapper.updateByExampleSelective(record, example); } @Override public OmsOrderDetail detail(Long id) { return orderDao.getDetail(id); } @Override public int updateReceiverInfo(OmsReceiverInfoParam receiverInfoParam) { OmsOrder order = new OmsOrder(); order.setId(receiverInfoParam.getOrderId()); order.setReceiverName(receiverInfoParam.getReceiverName()); order.setReceiverPhone(receiverInfoParam.getReceiverPhone()); order.setReceiverPostCode(receiverInfoParam.getReceiverPostCode()); order.setReceiverDetailAddress(receiverInfoParam.getReceiverDetailAddress()); order.setReceiverProvince(receiverInfoParam.getReceiverProvince()); order.setReceiverCity(receiverInfoParam.getReceiverCity()); order.setReceiverRegion(receiverInfoParam.getReceiverRegion()); order.setModifyTime(new Date()); int count = orderMapper.updateByPrimaryKeySelective(order); //插入操作记录 OmsOrderOperateHistory history = new OmsOrderOperateHistory(); history.setOrderId(receiverInfoParam.getOrderId()); history.setCreateTime(new Date()); history.setOperateMan("后台管理员"); history.setOrderStatus(receiverInfoParam.getStatus()); history.setNote("修改收货人信息"); orderOperateHistoryMapper.insert(history); return count; } @Override public int updateMoneyInfo(OmsMoneyInfoParam moneyInfoParam) { OmsOrder order = new OmsOrder(); order.setId(moneyInfoParam.getOrderId()); order.setFreightAmount(moneyInfoParam.getFreightAmount()); order.setDiscountAmount(moneyInfoParam.getDiscountAmount()); order.setModifyTime(new Date()); int count = orderMapper.updateByPrimaryKeySelective(order); //插入操作记录 OmsOrderOperateHistory history = new OmsOrderOperateHistory(); history.setOrderId(moneyInfoParam.getOrderId()); history.setCreateTime(new Date()); history.setOperateMan("后台管理员"); history.setOrderStatus(moneyInfoParam.getStatus()); history.setNote("修改费用信息"); orderOperateHistoryMapper.insert(history); return count; } @Override public int updateNote(Long id, String note, Integer status) { OmsOrder order = new OmsOrder(); order.setId(id); order.setNote(note); order.setModifyTime(new Date()); int count = orderMapper.updateByPrimaryKeySelective(order); OmsOrderOperateHistory history = new OmsOrderOperateHistory(); history.setOrderId(id); history.setCreateTime(new Date()); history.setOperateMan("后台管理员"); history.setOrderStatus(status); history.setNote("修改备注信息:"+note); orderOperateHistoryMapper.insert(history); return count; } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/OmsOrderSettingServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.macro.mall.mapper.OmsOrderSettingMapper; import com.macro.mall.model.OmsOrderSetting; import com.macro.mall.service.OmsOrderSettingService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * 订单设置管理Service实现类 * Created by macro on 2018/10/16. */ @Service public class OmsOrderSettingServiceImpl implements OmsOrderSettingService { @Autowired private OmsOrderSettingMapper orderSettingMapper; @Override public OmsOrderSetting getItem(Long id) { return orderSettingMapper.selectByPrimaryKey(id); } @Override public int update(Long id, OmsOrderSetting orderSetting) { orderSetting.setId(id); return orderSettingMapper.updateByPrimaryKey(orderSetting); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/OssServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.json.JSONUtil; import com.aliyun.oss.OSSClient; import com.aliyun.oss.common.utils.BinaryUtil; import com.aliyun.oss.model.MatchMode; import com.aliyun.oss.model.PolicyConditions; import com.macro.mall.dto.OssCallbackParam; import com.macro.mall.dto.OssCallbackResult; import com.macro.mall.dto.OssPolicyResult; import com.macro.mall.service.OssService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import javax.servlet.http.HttpServletRequest; import java.text.SimpleDateFormat; import java.util.Date; /** * Oss对象存储管理Service实现类 * Created by macro on 2018/5/17. */ @Service public class OssServiceImpl implements OssService { private static final Logger LOGGER = LoggerFactory.getLogger(OssServiceImpl.class); @Value("${aliyun.oss.policy.expire}") private int ALIYUN_OSS_EXPIRE; @Value("${aliyun.oss.maxSize}") private int ALIYUN_OSS_MAX_SIZE; @Value("${aliyun.oss.callback}") private String ALIYUN_OSS_CALLBACK; @Value("${aliyun.oss.bucketName}") private String ALIYUN_OSS_BUCKET_NAME; @Value("${aliyun.oss.endpoint}") private String ALIYUN_OSS_ENDPOINT; @Value("${aliyun.oss.dir.prefix}") private String ALIYUN_OSS_DIR_PREFIX; @Autowired private OSSClient ossClient; /** * 签名生成 */ @Override public OssPolicyResult policy() { OssPolicyResult result = new OssPolicyResult(); // 存储目录 SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMdd"); String dir = ALIYUN_OSS_DIR_PREFIX+sdf.format(new Date()); // 签名有效期 long expireEndTime = System.currentTimeMillis() + ALIYUN_OSS_EXPIRE * 1000; Date expiration = new Date(expireEndTime); // 文件大小 long maxSize = ALIYUN_OSS_MAX_SIZE * 1024 * 1024; // 回调 OssCallbackParam callback = new OssCallbackParam(); callback.setCallbackUrl(ALIYUN_OSS_CALLBACK); callback.setCallbackBody("filename=${object}&size=${size}&mimeType=${mimeType}&height=${imageInfo.height}&width=${imageInfo.width}"); callback.setCallbackBodyType("application/x-www-form-urlencoded"); // 提交节点 String action = "http://" + ALIYUN_OSS_BUCKET_NAME + "." + ALIYUN_OSS_ENDPOINT; try { PolicyConditions policyConds = new PolicyConditions(); policyConds.addConditionItem(PolicyConditions.COND_CONTENT_LENGTH_RANGE, 0, maxSize); policyConds.addConditionItem(MatchMode.StartWith, PolicyConditions.COND_KEY, dir); String postPolicy = ossClient.generatePostPolicy(expiration, policyConds); byte[] binaryData = postPolicy.getBytes("utf-8"); String policy = BinaryUtil.toBase64String(binaryData); String signature = ossClient.calculatePostSignature(postPolicy); String callbackData = BinaryUtil.toBase64String(JSONUtil.parse(callback).toString().getBytes("utf-8")); // 返回结果 result.setAccessKeyId(ossClient.getCredentialsProvider().getCredentials().getAccessKeyId()); result.setPolicy(policy); result.setSignature(signature); result.setDir(dir); result.setCallback(callbackData); result.setHost(action); } catch (Exception e) { LOGGER.error("签名生成失败", e); } return result; } @Override public OssCallbackResult callback(HttpServletRequest request) { OssCallbackResult result= new OssCallbackResult(); String filename = request.getParameter("filename"); filename = "http://".concat(ALIYUN_OSS_BUCKET_NAME).concat(".").concat(ALIYUN_OSS_ENDPOINT).concat("/").concat(filename); result.setFilename(filename); result.setSize(request.getParameter("size")); result.setMimeType(request.getParameter("mimeType")); result.setWidth(request.getParameter("width")); result.setHeight(request.getParameter("height")); return result; } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/PmsBrandServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.dto.PmsBrandParam; import com.macro.mall.mapper.PmsBrandMapper; import com.macro.mall.mapper.PmsProductMapper; import com.macro.mall.model.PmsBrand; import com.macro.mall.model.PmsBrandExample; import com.macro.mall.model.PmsProduct; import com.macro.mall.model.PmsProductExample; import com.macro.mall.service.PmsBrandService; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 商品品牌管理Service实现类 * Created by macro on 2018/4/26. */ @Service public class PmsBrandServiceImpl implements PmsBrandService { @Autowired private PmsBrandMapper brandMapper; @Autowired private PmsProductMapper productMapper; @Override public List listAllBrand() { return brandMapper.selectByExample(new PmsBrandExample()); } @Override public int createBrand(PmsBrandParam pmsBrandParam) { PmsBrand pmsBrand = new PmsBrand(); BeanUtils.copyProperties(pmsBrandParam, pmsBrand); //如果创建时首字母为空,取名称的第一个为首字母 if (StrUtil.isEmpty(pmsBrand.getFirstLetter())) { pmsBrand.setFirstLetter(pmsBrand.getName().substring(0, 1)); } return brandMapper.insertSelective(pmsBrand); } @Override public int updateBrand(Long id, PmsBrandParam pmsBrandParam) { PmsBrand pmsBrand = new PmsBrand(); BeanUtils.copyProperties(pmsBrandParam, pmsBrand); pmsBrand.setId(id); //如果创建时首字母为空,取名称的第一个为首字母 if (StrUtil.isEmpty(pmsBrand.getFirstLetter())) { pmsBrand.setFirstLetter(pmsBrand.getName().substring(0, 1)); } //更新品牌时要更新商品中的品牌名称 PmsProduct product = new PmsProduct(); product.setBrandName(pmsBrand.getName()); PmsProductExample example = new PmsProductExample(); example.createCriteria().andBrandIdEqualTo(id); productMapper.updateByExampleSelective(product,example); return brandMapper.updateByPrimaryKeySelective(pmsBrand); } @Override public int deleteBrand(Long id) { return brandMapper.deleteByPrimaryKey(id); } @Override public int deleteBrand(List ids) { PmsBrandExample pmsBrandExample = new PmsBrandExample(); pmsBrandExample.createCriteria().andIdIn(ids); return brandMapper.deleteByExample(pmsBrandExample); } @Override public List listBrand(String keyword, Integer showStatus, int pageNum, int pageSize) { PageHelper.startPage(pageNum, pageSize); PmsBrandExample pmsBrandExample = new PmsBrandExample(); pmsBrandExample.setOrderByClause("sort desc"); PmsBrandExample.Criteria criteria = pmsBrandExample.createCriteria(); if (!StrUtil.isEmpty(keyword)) { criteria.andNameLike("%" + keyword + "%"); } if(showStatus!=null){ criteria.andShowStatusEqualTo(showStatus); } return brandMapper.selectByExample(pmsBrandExample); } @Override public PmsBrand getBrand(Long id) { return brandMapper.selectByPrimaryKey(id); } @Override public int updateShowStatus(List ids, Integer showStatus) { PmsBrand pmsBrand = new PmsBrand(); pmsBrand.setShowStatus(showStatus); PmsBrandExample pmsBrandExample = new PmsBrandExample(); pmsBrandExample.createCriteria().andIdIn(ids); return brandMapper.updateByExampleSelective(pmsBrand, pmsBrandExample); } @Override public int updateFactoryStatus(List ids, Integer factoryStatus) { PmsBrand pmsBrand = new PmsBrand(); pmsBrand.setFactoryStatus(factoryStatus); PmsBrandExample pmsBrandExample = new PmsBrandExample(); pmsBrandExample.createCriteria().andIdIn(ids); return brandMapper.updateByExampleSelective(pmsBrand, pmsBrandExample); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/PmsProductAttributeCategoryServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.github.pagehelper.PageHelper; import com.macro.mall.dao.PmsProductAttributeCategoryDao; import com.macro.mall.dto.PmsProductAttributeCategoryItem; import com.macro.mall.mapper.PmsProductAttributeCategoryMapper; import com.macro.mall.model.PmsProductAttributeCategory; import com.macro.mall.model.PmsProductAttributeCategoryExample; import com.macro.mall.service.PmsProductAttributeCategoryService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 商品属性分类管理Service实现类 * Created by macro on 2018/4/26. */ @Service public class PmsProductAttributeCategoryServiceImpl implements PmsProductAttributeCategoryService { @Autowired private PmsProductAttributeCategoryMapper productAttributeCategoryMapper; @Autowired private PmsProductAttributeCategoryDao productAttributeCategoryDao; @Override public int create(String name) { PmsProductAttributeCategory productAttributeCategory = new PmsProductAttributeCategory(); productAttributeCategory.setName(name); return productAttributeCategoryMapper.insertSelective(productAttributeCategory); } @Override public int update(Long id, String name) { PmsProductAttributeCategory productAttributeCategory = new PmsProductAttributeCategory(); productAttributeCategory.setName(name); productAttributeCategory.setId(id); return productAttributeCategoryMapper.updateByPrimaryKeySelective(productAttributeCategory); } @Override public int delete(Long id) { return productAttributeCategoryMapper.deleteByPrimaryKey(id); } @Override public PmsProductAttributeCategory getItem(Long id) { return productAttributeCategoryMapper.selectByPrimaryKey(id); } @Override public List getList(Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum,pageSize); return productAttributeCategoryMapper.selectByExample(new PmsProductAttributeCategoryExample()); } @Override public List getListWithAttr() { return productAttributeCategoryDao.getListWithAttr(); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/PmsProductAttributeServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.github.pagehelper.PageHelper; import com.macro.mall.dao.PmsProductAttributeDao; import com.macro.mall.dto.PmsProductAttributeParam; import com.macro.mall.dto.ProductAttrInfo; import com.macro.mall.mapper.PmsProductAttributeCategoryMapper; import com.macro.mall.mapper.PmsProductAttributeMapper; import com.macro.mall.model.PmsProductAttribute; import com.macro.mall.model.PmsProductAttributeCategory; import com.macro.mall.model.PmsProductAttributeExample; import com.macro.mall.service.PmsProductAttributeService; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 商品属性管理Service实现类 * Created by macro on 2018/4/26. */ @Service public class PmsProductAttributeServiceImpl implements PmsProductAttributeService { @Autowired private PmsProductAttributeMapper productAttributeMapper; @Autowired private PmsProductAttributeCategoryMapper productAttributeCategoryMapper; @Autowired private PmsProductAttributeDao productAttributeDao; @Override public List getList(Long cid, Integer type, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum, pageSize); PmsProductAttributeExample example = new PmsProductAttributeExample(); example.setOrderByClause("sort desc"); example.createCriteria().andProductAttributeCategoryIdEqualTo(cid).andTypeEqualTo(type); return productAttributeMapper.selectByExample(example); } @Override public int create(PmsProductAttributeParam pmsProductAttributeParam) { PmsProductAttribute pmsProductAttribute = new PmsProductAttribute(); BeanUtils.copyProperties(pmsProductAttributeParam, pmsProductAttribute); int count = productAttributeMapper.insertSelective(pmsProductAttribute); //新增商品属性以后需要更新商品属性分类数量 PmsProductAttributeCategory pmsProductAttributeCategory = productAttributeCategoryMapper.selectByPrimaryKey(pmsProductAttribute.getProductAttributeCategoryId()); if(pmsProductAttribute.getType()==0){ pmsProductAttributeCategory.setAttributeCount(pmsProductAttributeCategory.getAttributeCount()+1); }else if(pmsProductAttribute.getType()==1){ pmsProductAttributeCategory.setParamCount(pmsProductAttributeCategory.getParamCount()+1); } productAttributeCategoryMapper.updateByPrimaryKey(pmsProductAttributeCategory); return count; } @Override public int update(Long id, PmsProductAttributeParam productAttributeParam) { PmsProductAttribute pmsProductAttribute = new PmsProductAttribute(); pmsProductAttribute.setId(id); BeanUtils.copyProperties(productAttributeParam, pmsProductAttribute); return productAttributeMapper.updateByPrimaryKeySelective(pmsProductAttribute); } @Override public PmsProductAttribute getItem(Long id) { return productAttributeMapper.selectByPrimaryKey(id); } @Override public int delete(List ids) { //获取分类 PmsProductAttribute pmsProductAttribute = productAttributeMapper.selectByPrimaryKey(ids.get(0)); Integer type = pmsProductAttribute.getType(); PmsProductAttributeCategory pmsProductAttributeCategory = productAttributeCategoryMapper.selectByPrimaryKey(pmsProductAttribute.getProductAttributeCategoryId()); PmsProductAttributeExample example = new PmsProductAttributeExample(); example.createCriteria().andIdIn(ids); int count = productAttributeMapper.deleteByExample(example); //删除完成后修改数量 if(type==0){ if(pmsProductAttributeCategory.getAttributeCount()>=count){ pmsProductAttributeCategory.setAttributeCount(pmsProductAttributeCategory.getAttributeCount()-count); }else{ pmsProductAttributeCategory.setAttributeCount(0); } }else if(type==1){ if(pmsProductAttributeCategory.getParamCount()>=count){ pmsProductAttributeCategory.setParamCount(pmsProductAttributeCategory.getParamCount()-count); }else{ pmsProductAttributeCategory.setParamCount(0); } } productAttributeCategoryMapper.updateByPrimaryKey(pmsProductAttributeCategory); return count; } @Override public List getProductAttrInfo(Long productCategoryId) { return productAttributeDao.getProductAttrInfo(productCategoryId); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/PmsProductCategoryServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.github.pagehelper.PageHelper; import com.macro.mall.dao.PmsProductCategoryAttributeRelationDao; import com.macro.mall.dao.PmsProductCategoryDao; import com.macro.mall.dto.PmsProductCategoryParam; import com.macro.mall.dto.PmsProductCategoryWithChildrenItem; import com.macro.mall.mapper.PmsProductCategoryAttributeRelationMapper; import com.macro.mall.mapper.PmsProductCategoryMapper; import com.macro.mall.mapper.PmsProductMapper; import com.macro.mall.model.*; import com.macro.mall.service.PmsProductCategoryService; import org.apache.commons.collections.CollectionUtils; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.ArrayList; import java.util.List; /** * 商品分类管理Service实现类 * Created by macro on 2018/4/26. */ @Service public class PmsProductCategoryServiceImpl implements PmsProductCategoryService { @Autowired private PmsProductCategoryMapper productCategoryMapper; @Autowired private PmsProductMapper productMapper; @Autowired private PmsProductCategoryAttributeRelationDao productCategoryAttributeRelationDao; @Autowired private PmsProductCategoryAttributeRelationMapper productCategoryAttributeRelationMapper; @Autowired private PmsProductCategoryDao productCategoryDao; @Override public int create(PmsProductCategoryParam pmsProductCategoryParam) { PmsProductCategory productCategory = new PmsProductCategory(); productCategory.setProductCount(0); BeanUtils.copyProperties(pmsProductCategoryParam, productCategory); //没有父分类时为一级分类 setCategoryLevel(productCategory); int count = productCategoryMapper.insertSelective(productCategory); //创建筛选属性关联 List productAttributeIdList = pmsProductCategoryParam.getProductAttributeIdList(); if(!CollectionUtils.isEmpty(productAttributeIdList)){ insertRelationList(productCategory.getId(), productAttributeIdList); } return count; } /** * 批量插入商品分类与筛选属性关系表 * @param productCategoryId 商品分类id * @param productAttributeIdList 相关商品筛选属性id集合 */ private void insertRelationList(Long productCategoryId, List productAttributeIdList) { List relationList = new ArrayList<>(); for (Long productAttrId : productAttributeIdList) { PmsProductCategoryAttributeRelation relation = new PmsProductCategoryAttributeRelation(); relation.setProductAttributeId(productAttrId); relation.setProductCategoryId(productCategoryId); relationList.add(relation); } productCategoryAttributeRelationDao.insertList(relationList); } @Override public int update(Long id, PmsProductCategoryParam pmsProductCategoryParam) { PmsProductCategory productCategory = new PmsProductCategory(); productCategory.setId(id); BeanUtils.copyProperties(pmsProductCategoryParam, productCategory); setCategoryLevel(productCategory); //更新商品分类时要更新商品中的名称 PmsProduct product = new PmsProduct(); product.setProductCategoryName(productCategory.getName()); PmsProductExample example = new PmsProductExample(); example.createCriteria().andProductCategoryIdEqualTo(id); productMapper.updateByExampleSelective(product,example); //同时更新筛选属性的信息 if(!CollectionUtils.isEmpty(pmsProductCategoryParam.getProductAttributeIdList())){ PmsProductCategoryAttributeRelationExample relationExample = new PmsProductCategoryAttributeRelationExample(); relationExample.createCriteria().andProductCategoryIdEqualTo(id); productCategoryAttributeRelationMapper.deleteByExample(relationExample); insertRelationList(id,pmsProductCategoryParam.getProductAttributeIdList()); }else{ PmsProductCategoryAttributeRelationExample relationExample = new PmsProductCategoryAttributeRelationExample(); relationExample.createCriteria().andProductCategoryIdEqualTo(id); productCategoryAttributeRelationMapper.deleteByExample(relationExample); } return productCategoryMapper.updateByPrimaryKeySelective(productCategory); } @Override public List getList(Long parentId, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum, pageSize); PmsProductCategoryExample example = new PmsProductCategoryExample(); example.setOrderByClause("sort desc"); example.createCriteria().andParentIdEqualTo(parentId); return productCategoryMapper.selectByExample(example); } @Override public int delete(Long id) { return productCategoryMapper.deleteByPrimaryKey(id); } @Override public PmsProductCategory getItem(Long id) { return productCategoryMapper.selectByPrimaryKey(id); } @Override public int updateNavStatus(List ids, Integer navStatus) { PmsProductCategory productCategory = new PmsProductCategory(); productCategory.setNavStatus(navStatus); PmsProductCategoryExample example = new PmsProductCategoryExample(); example.createCriteria().andIdIn(ids); return productCategoryMapper.updateByExampleSelective(productCategory, example); } @Override public int updateShowStatus(List ids, Integer showStatus) { PmsProductCategory productCategory = new PmsProductCategory(); productCategory.setShowStatus(showStatus); PmsProductCategoryExample example = new PmsProductCategoryExample(); example.createCriteria().andIdIn(ids); return productCategoryMapper.updateByExampleSelective(productCategory, example); } @Override public List listWithChildren() { return productCategoryDao.listWithChildren(); } /** * 根据分类的parentId设置分类的level */ private void setCategoryLevel(PmsProductCategory productCategory) { //没有父分类时为一级分类 if (productCategory.getParentId() == 0) { productCategory.setLevel(0); } else { //有父分类时选择根据父分类level设置 PmsProductCategory parentCategory = productCategoryMapper.selectByPrimaryKey(productCategory.getParentId()); if (parentCategory != null) { productCategory.setLevel(parentCategory.getLevel() + 1); } else { productCategory.setLevel(0); } } } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/PmsProductServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.collection.CollUtil; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.dao.*; import com.macro.mall.dto.PmsProductParam; import com.macro.mall.dto.PmsProductQueryParam; import com.macro.mall.dto.PmsProductResult; import com.macro.mall.mapper.*; import com.macro.mall.model.*; import com.macro.mall.service.PmsProductService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.util.CollectionUtils; import java.lang.reflect.Method; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.stream.Collectors; /** * 商品管理Service实现类 * Created by macro on 2018/4/26. */ @Service public class PmsProductServiceImpl implements PmsProductService { private static final Logger LOGGER = LoggerFactory.getLogger(PmsProductServiceImpl.class); @Autowired private PmsProductMapper productMapper; @Autowired private PmsMemberPriceDao memberPriceDao; @Autowired private PmsMemberPriceMapper memberPriceMapper; @Autowired private PmsProductLadderDao productLadderDao; @Autowired private PmsProductLadderMapper productLadderMapper; @Autowired private PmsProductFullReductionDao productFullReductionDao; @Autowired private PmsProductFullReductionMapper productFullReductionMapper; @Autowired private PmsSkuStockDao skuStockDao; @Autowired private PmsSkuStockMapper skuStockMapper; @Autowired private PmsProductAttributeValueDao productAttributeValueDao; @Autowired private PmsProductAttributeValueMapper productAttributeValueMapper; @Autowired private CmsSubjectProductRelationDao subjectProductRelationDao; @Autowired private CmsSubjectProductRelationMapper subjectProductRelationMapper; @Autowired private CmsPrefrenceAreaProductRelationDao prefrenceAreaProductRelationDao; @Autowired private CmsPrefrenceAreaProductRelationMapper prefrenceAreaProductRelationMapper; @Autowired private PmsProductDao productDao; @Autowired private PmsProductVertifyRecordDao productVertifyRecordDao; @Override public int create(PmsProductParam productParam) { int count; //创建商品 PmsProduct product = productParam; product.setId(null); productMapper.insertSelective(product); //根据促销类型设置价格:会员价格、阶梯价格、满减价格 Long productId = product.getId(); //会员价格 relateAndInsertList(memberPriceDao, productParam.getMemberPriceList(), productId); //阶梯价格 relateAndInsertList(productLadderDao, productParam.getProductLadderList(), productId); //满减价格 relateAndInsertList(productFullReductionDao, productParam.getProductFullReductionList(), productId); //处理sku的编码 handleSkuStockCode(productParam.getSkuStockList(),productId); //添加sku库存信息 relateAndInsertList(skuStockDao, productParam.getSkuStockList(), productId); //添加商品参数,添加自定义商品规格 relateAndInsertList(productAttributeValueDao, productParam.getProductAttributeValueList(), productId); //关联专题 relateAndInsertList(subjectProductRelationDao, productParam.getSubjectProductRelationList(), productId); //关联优选 relateAndInsertList(prefrenceAreaProductRelationDao, productParam.getPrefrenceAreaProductRelationList(), productId); count = 1; return count; } private void handleSkuStockCode(List skuStockList, Long productId) { if(CollectionUtils.isEmpty(skuStockList))return; for(int i=0;i currSkuList = productParam.getSkuStockList(); //当前没有sku直接删除 if(CollUtil.isEmpty(currSkuList)){ PmsSkuStockExample skuStockExample = new PmsSkuStockExample(); skuStockExample.createCriteria().andProductIdEqualTo(id); skuStockMapper.deleteByExample(skuStockExample); return; } //获取初始sku信息 PmsSkuStockExample skuStockExample = new PmsSkuStockExample(); skuStockExample.createCriteria().andProductIdEqualTo(id); List oriStuList = skuStockMapper.selectByExample(skuStockExample); //获取新增sku信息 List insertSkuList = currSkuList.stream().filter(item->item.getId()==null).collect(Collectors.toList()); //获取需要更新的sku信息 List updateSkuList = currSkuList.stream().filter(item->item.getId()!=null).collect(Collectors.toList()); List updateSkuIds = updateSkuList.stream().map(PmsSkuStock::getId).collect(Collectors.toList()); //获取需要删除的sku信息 List removeSkuList = oriStuList.stream().filter(item-> !updateSkuIds.contains(item.getId())).collect(Collectors.toList()); handleSkuStockCode(insertSkuList,id); handleSkuStockCode(updateSkuList,id); //新增sku if(CollUtil.isNotEmpty(insertSkuList)){ relateAndInsertList(skuStockDao, insertSkuList, id); } //删除sku if(CollUtil.isNotEmpty(removeSkuList)){ List removeSkuIds = removeSkuList.stream().map(PmsSkuStock::getId).collect(Collectors.toList()); PmsSkuStockExample removeExample = new PmsSkuStockExample(); removeExample.createCriteria().andIdIn(removeSkuIds); skuStockMapper.deleteByExample(removeExample); } //修改sku if(CollUtil.isNotEmpty(updateSkuList)){ for (PmsSkuStock pmsSkuStock : updateSkuList) { skuStockMapper.updateByPrimaryKeySelective(pmsSkuStock); } } } @Override public List list(PmsProductQueryParam productQueryParam, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum, pageSize); PmsProductExample productExample = new PmsProductExample(); PmsProductExample.Criteria criteria = productExample.createCriteria(); criteria.andDeleteStatusEqualTo(0); if (productQueryParam.getPublishStatus() != null) { criteria.andPublishStatusEqualTo(productQueryParam.getPublishStatus()); } if (productQueryParam.getVerifyStatus() != null) { criteria.andVerifyStatusEqualTo(productQueryParam.getVerifyStatus()); } if (!StrUtil.isEmpty(productQueryParam.getKeyword())) { criteria.andNameLike("%" + productQueryParam.getKeyword() + "%"); } if (!StrUtil.isEmpty(productQueryParam.getProductSn())) { criteria.andProductSnEqualTo(productQueryParam.getProductSn()); } if (productQueryParam.getBrandId() != null) { criteria.andBrandIdEqualTo(productQueryParam.getBrandId()); } if (productQueryParam.getProductCategoryId() != null) { criteria.andProductCategoryIdEqualTo(productQueryParam.getProductCategoryId()); } return productMapper.selectByExample(productExample); } @Override public int updateVerifyStatus(List ids, Integer verifyStatus, String detail) { PmsProduct product = new PmsProduct(); product.setVerifyStatus(verifyStatus); PmsProductExample example = new PmsProductExample(); example.createCriteria().andIdIn(ids); List list = new ArrayList<>(); int count = productMapper.updateByExampleSelective(product, example); //修改完审核状态后插入审核记录 for (Long id : ids) { PmsProductVertifyRecord record = new PmsProductVertifyRecord(); record.setProductId(id); record.setCreateTime(new Date()); record.setDetail(detail); record.setStatus(verifyStatus); record.setVertifyMan("test"); list.add(record); } productVertifyRecordDao.insertList(list); return count; } @Override public int updatePublishStatus(List ids, Integer publishStatus) { PmsProduct record = new PmsProduct(); record.setPublishStatus(publishStatus); PmsProductExample example = new PmsProductExample(); example.createCriteria().andIdIn(ids); return productMapper.updateByExampleSelective(record, example); } @Override public int updateRecommendStatus(List ids, Integer recommendStatus) { PmsProduct record = new PmsProduct(); record.setRecommandStatus(recommendStatus); PmsProductExample example = new PmsProductExample(); example.createCriteria().andIdIn(ids); return productMapper.updateByExampleSelective(record, example); } @Override public int updateNewStatus(List ids, Integer newStatus) { PmsProduct record = new PmsProduct(); record.setNewStatus(newStatus); PmsProductExample example = new PmsProductExample(); example.createCriteria().andIdIn(ids); return productMapper.updateByExampleSelective(record, example); } @Override public int updateDeleteStatus(List ids, Integer deleteStatus) { PmsProduct record = new PmsProduct(); record.setDeleteStatus(deleteStatus); PmsProductExample example = new PmsProductExample(); example.createCriteria().andIdIn(ids); return productMapper.updateByExampleSelective(record, example); } @Override public List list(String keyword) { PmsProductExample productExample = new PmsProductExample(); PmsProductExample.Criteria criteria = productExample.createCriteria(); criteria.andDeleteStatusEqualTo(0); if(!StrUtil.isEmpty(keyword)){ criteria.andNameLike("%" + keyword + "%"); productExample.or().andDeleteStatusEqualTo(0).andProductSnLike("%" + keyword + "%"); } return productMapper.selectByExample(productExample); } /** * 建立和插入关系表操作 * * @param dao 可以操作的dao * @param dataList 要插入的数据 * @param productId 建立关系的id */ private void relateAndInsertList(Object dao, List dataList, Long productId) { try { if (CollectionUtils.isEmpty(dataList)) return; for (Object item : dataList) { Method setId = item.getClass().getMethod("setId", Long.class); setId.invoke(item, (Long) null); Method setProductId = item.getClass().getMethod("setProductId", Long.class); setProductId.invoke(item, productId); } Method insertList = dao.getClass().getMethod("insertList", List.class); insertList.invoke(dao, dataList); } catch (Exception e) { LOGGER.warn("创建商品出错:{}", e.getMessage()); throw new RuntimeException(e.getMessage()); } } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/PmsSkuStockServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.macro.mall.dao.PmsSkuStockDao; import com.macro.mall.mapper.PmsSkuStockMapper; import com.macro.mall.model.PmsSkuStock; import com.macro.mall.model.PmsSkuStockExample; import com.macro.mall.service.PmsSkuStockService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; import java.util.stream.Collectors; /** * 商品SKU库存管理Service实现类 * Created by macro on 2018/4/27. */ @Service public class PmsSkuStockServiceImpl implements PmsSkuStockService { @Autowired private PmsSkuStockMapper skuStockMapper; @Autowired private PmsSkuStockDao skuStockDao; @Override public List getList(Long pid, String keyword) { PmsSkuStockExample example = new PmsSkuStockExample(); PmsSkuStockExample.Criteria criteria = example.createCriteria().andProductIdEqualTo(pid); if (!StrUtil.isEmpty(keyword)) { criteria.andSkuCodeLike("%" + keyword + "%"); } return skuStockMapper.selectByExample(example); } @Override public int update(Long pid, List skuStockList) { List filterSkuList = skuStockList.stream() .filter(item -> pid.equals(item.getProductId())) .collect(Collectors.toList()); return skuStockDao.replaceList(filterSkuList); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/SmsCouponHistoryServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.mapper.SmsCouponHistoryMapper; import com.macro.mall.model.SmsCouponHistory; import com.macro.mall.model.SmsCouponHistoryExample; import com.macro.mall.service.SmsCouponHistoryService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 优惠券领取记录管理Service实现类 * Created by macro on 2018/11/6. */ @Service public class SmsCouponHistoryServiceImpl implements SmsCouponHistoryService { @Autowired private SmsCouponHistoryMapper historyMapper; @Override public List list(Long couponId, Integer useStatus, String orderSn, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum,pageSize); SmsCouponHistoryExample example = new SmsCouponHistoryExample(); SmsCouponHistoryExample.Criteria criteria = example.createCriteria(); if(couponId!=null){ criteria.andCouponIdEqualTo(couponId); } if(useStatus!=null){ criteria.andUseStatusEqualTo(useStatus); } if(!StrUtil.isEmpty(orderSn)){ criteria.andOrderSnEqualTo(orderSn); } return historyMapper.selectByExample(example); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/SmsCouponServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.dao.SmsCouponDao; import com.macro.mall.dao.SmsCouponProductCategoryRelationDao; import com.macro.mall.dao.SmsCouponProductRelationDao; import com.macro.mall.dto.SmsCouponParam; import com.macro.mall.mapper.SmsCouponMapper; import com.macro.mall.mapper.SmsCouponProductCategoryRelationMapper; import com.macro.mall.mapper.SmsCouponProductRelationMapper; import com.macro.mall.model.*; import com.macro.mall.service.SmsCouponService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 优惠券管理Service实现类 * Created by macro on 2018/8/28. */ @Service public class SmsCouponServiceImpl implements SmsCouponService { @Autowired private SmsCouponMapper couponMapper; @Autowired private SmsCouponProductRelationMapper productRelationMapper; @Autowired private SmsCouponProductCategoryRelationMapper productCategoryRelationMapper; @Autowired private SmsCouponProductRelationDao productRelationDao; @Autowired private SmsCouponProductCategoryRelationDao productCategoryRelationDao; @Autowired private SmsCouponDao couponDao; @Override public int create(SmsCouponParam couponParam) { couponParam.setCount(couponParam.getPublishCount()); couponParam.setUseCount(0); couponParam.setReceiveCount(0); //插入优惠券表 int count = couponMapper.insert(couponParam); //插入优惠券和商品关系表 if(couponParam.getUseType().equals(2)){ for(SmsCouponProductRelation productRelation:couponParam.getProductRelationList()){ productRelation.setCouponId(couponParam.getId()); } productRelationDao.insertList(couponParam.getProductRelationList()); } //插入优惠券和商品分类关系表 if(couponParam.getUseType().equals(1)){ for (SmsCouponProductCategoryRelation couponProductCategoryRelation : couponParam.getProductCategoryRelationList()) { couponProductCategoryRelation.setCouponId(couponParam.getId()); } productCategoryRelationDao.insertList(couponParam.getProductCategoryRelationList()); } return count; } @Override public int delete(Long id) { //删除优惠券 int count = couponMapper.deleteByPrimaryKey(id); //删除商品关联 deleteProductRelation(id); //删除商品分类关联 deleteProductCategoryRelation(id); return count; } private void deleteProductCategoryRelation(Long id) { SmsCouponProductCategoryRelationExample productCategoryRelationExample = new SmsCouponProductCategoryRelationExample(); productCategoryRelationExample.createCriteria().andCouponIdEqualTo(id); productCategoryRelationMapper.deleteByExample(productCategoryRelationExample); } private void deleteProductRelation(Long id) { SmsCouponProductRelationExample productRelationExample = new SmsCouponProductRelationExample(); productRelationExample.createCriteria().andCouponIdEqualTo(id); productRelationMapper.deleteByExample(productRelationExample); } @Override public int update(Long id, SmsCouponParam couponParam) { couponParam.setId(id); int count =couponMapper.updateByPrimaryKey(couponParam); //删除后插入优惠券和商品关系表 if(couponParam.getUseType().equals(2)){ for(SmsCouponProductRelation productRelation:couponParam.getProductRelationList()){ productRelation.setCouponId(couponParam.getId()); } deleteProductRelation(id); productRelationDao.insertList(couponParam.getProductRelationList()); } //删除后插入优惠券和商品分类关系表 if(couponParam.getUseType().equals(1)){ for (SmsCouponProductCategoryRelation couponProductCategoryRelation : couponParam.getProductCategoryRelationList()) { couponProductCategoryRelation.setCouponId(couponParam.getId()); } deleteProductCategoryRelation(id); productCategoryRelationDao.insertList(couponParam.getProductCategoryRelationList()); } return count; } @Override public List list(String name, Integer type, Integer pageSize, Integer pageNum) { SmsCouponExample example = new SmsCouponExample(); SmsCouponExample.Criteria criteria = example.createCriteria(); if(!StrUtil.isEmpty(name)){ criteria.andNameLike("%"+name+"%"); } if(type!=null){ criteria.andTypeEqualTo(type); } PageHelper.startPage(pageNum,pageSize); return couponMapper.selectByExample(example); } @Override public SmsCouponParam getItem(Long id) { return couponDao.getItem(id); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/SmsFlashPromotionProductRelationServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.github.pagehelper.PageHelper; import com.macro.mall.dao.SmsFlashPromotionProductRelationDao; import com.macro.mall.dto.SmsFlashPromotionProduct; import com.macro.mall.mapper.SmsFlashPromotionProductRelationMapper; import com.macro.mall.model.SmsFlashPromotionProductRelation; import com.macro.mall.model.SmsFlashPromotionProductRelationExample; import com.macro.mall.service.SmsFlashPromotionProductRelationService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 限时购商品关联管理Service实现类 * Created by macro on 2018/11/16. */ @Service public class SmsFlashPromotionProductRelationServiceImpl implements SmsFlashPromotionProductRelationService { @Autowired private SmsFlashPromotionProductRelationMapper relationMapper; @Autowired private SmsFlashPromotionProductRelationDao relationDao; @Override public int create(List relationList) { for (SmsFlashPromotionProductRelation relation : relationList) { relationMapper.insert(relation); } return relationList.size(); } @Override public int update(Long id, SmsFlashPromotionProductRelation relation) { relation.setId(id); return relationMapper.updateByPrimaryKey(relation); } @Override public int delete(Long id) { return relationMapper.deleteByPrimaryKey(id); } @Override public SmsFlashPromotionProductRelation getItem(Long id) { return relationMapper.selectByPrimaryKey(id); } @Override public List list(Long flashPromotionId, Long flashPromotionSessionId, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum,pageSize); return relationDao.getList(flashPromotionId,flashPromotionSessionId); } @Override public long getCount(Long flashPromotionId, Long flashPromotionSessionId) { SmsFlashPromotionProductRelationExample example = new SmsFlashPromotionProductRelationExample(); example.createCriteria() .andFlashPromotionIdEqualTo(flashPromotionId) .andFlashPromotionSessionIdEqualTo(flashPromotionSessionId); return relationMapper.countByExample(example); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/SmsFlashPromotionServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.mapper.SmsFlashPromotionMapper; import com.macro.mall.model.SmsFlashPromotion; import com.macro.mall.model.SmsFlashPromotionExample; import com.macro.mall.service.SmsFlashPromotionService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Date; import java.util.List; /** * 限时购活动管理Service实现类 * Created by macro on 2018/11/16. */ @Service public class SmsFlashPromotionServiceImpl implements SmsFlashPromotionService { @Autowired private SmsFlashPromotionMapper flashPromotionMapper; @Override public int create(SmsFlashPromotion flashPromotion) { flashPromotion.setCreateTime(new Date()); return flashPromotionMapper.insert(flashPromotion); } @Override public int update(Long id, SmsFlashPromotion flashPromotion) { flashPromotion.setId(id); return flashPromotionMapper.updateByPrimaryKey(flashPromotion); } @Override public int delete(Long id) { return flashPromotionMapper.deleteByPrimaryKey(id); } @Override public int updateStatus(Long id, Integer status) { SmsFlashPromotion flashPromotion = new SmsFlashPromotion(); flashPromotion.setId(id); flashPromotion.setStatus(status); return flashPromotionMapper.updateByPrimaryKeySelective(flashPromotion); } @Override public SmsFlashPromotion getItem(Long id) { return flashPromotionMapper.selectByPrimaryKey(id); } @Override public List list(String keyword, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum, pageSize); SmsFlashPromotionExample example = new SmsFlashPromotionExample(); if (!StrUtil.isEmpty(keyword)) { example.createCriteria().andTitleLike("%" + keyword + "%"); } return flashPromotionMapper.selectByExample(example); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/SmsFlashPromotionSessionServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.macro.mall.dto.SmsFlashPromotionSessionDetail; import com.macro.mall.mapper.SmsFlashPromotionSessionMapper; import com.macro.mall.model.SmsFlashPromotionSession; import com.macro.mall.model.SmsFlashPromotionSessionExample; import com.macro.mall.service.SmsFlashPromotionProductRelationService; import com.macro.mall.service.SmsFlashPromotionSessionService; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * 限时购场次管理Service实现类 * Created by macro on 2018/11/16. */ @Service public class SmsFlashPromotionSessionServiceImpl implements SmsFlashPromotionSessionService { @Autowired private SmsFlashPromotionSessionMapper promotionSessionMapper; @Autowired private SmsFlashPromotionProductRelationService relationService; @Override public int create(SmsFlashPromotionSession promotionSession) { promotionSession.setCreateTime(new Date()); return promotionSessionMapper.insert(promotionSession); } @Override public int update(Long id, SmsFlashPromotionSession promotionSession) { promotionSession.setId(id); return promotionSessionMapper.updateByPrimaryKey(promotionSession); } @Override public int updateStatus(Long id, Integer status) { SmsFlashPromotionSession promotionSession = new SmsFlashPromotionSession(); promotionSession.setId(id); promotionSession.setStatus(status); return promotionSessionMapper.updateByPrimaryKeySelective(promotionSession); } @Override public int delete(Long id) { return promotionSessionMapper.deleteByPrimaryKey(id); } @Override public SmsFlashPromotionSession getItem(Long id) { return promotionSessionMapper.selectByPrimaryKey(id); } @Override public List list() { SmsFlashPromotionSessionExample example = new SmsFlashPromotionSessionExample(); return promotionSessionMapper.selectByExample(example); } @Override public List selectList(Long flashPromotionId) { List result = new ArrayList<>(); SmsFlashPromotionSessionExample example = new SmsFlashPromotionSessionExample(); example.createCriteria().andStatusEqualTo(1); List list = promotionSessionMapper.selectByExample(example); for (SmsFlashPromotionSession promotionSession : list) { SmsFlashPromotionSessionDetail detail = new SmsFlashPromotionSessionDetail(); BeanUtils.copyProperties(promotionSession, detail); long count = relationService.getCount(flashPromotionId, promotionSession.getId()); detail.setProductCount(count); result.add(detail); } return result; } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/SmsHomeAdvertiseServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.mapper.SmsHomeAdvertiseMapper; import com.macro.mall.model.SmsHomeAdvertise; import com.macro.mall.model.SmsHomeAdvertiseExample; import com.macro.mall.service.SmsHomeAdvertiseService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.List; /** * 首页广告管理Service实现类 * Created by macro on 2018/11/7. */ @Service public class SmsHomeAdvertiseServiceImpl implements SmsHomeAdvertiseService { @Autowired private SmsHomeAdvertiseMapper advertiseMapper; @Override public int create(SmsHomeAdvertise advertise) { advertise.setClickCount(0); advertise.setOrderCount(0); return advertiseMapper.insert(advertise); } @Override public int delete(List ids) { SmsHomeAdvertiseExample example = new SmsHomeAdvertiseExample(); example.createCriteria().andIdIn(ids); return advertiseMapper.deleteByExample(example); } @Override public int updateStatus(Long id, Integer status) { SmsHomeAdvertise record = new SmsHomeAdvertise(); record.setId(id); record.setStatus(status); return advertiseMapper.updateByPrimaryKeySelective(record); } @Override public SmsHomeAdvertise getItem(Long id) { return advertiseMapper.selectByPrimaryKey(id); } @Override public int update(Long id, SmsHomeAdvertise advertise) { advertise.setId(id); return advertiseMapper.updateByPrimaryKeySelective(advertise); } @Override public List list(String name, Integer type, String endTime, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum, pageSize); SmsHomeAdvertiseExample example = new SmsHomeAdvertiseExample(); SmsHomeAdvertiseExample.Criteria criteria = example.createCriteria(); if (!StrUtil.isEmpty(name)) { criteria.andNameLike("%" + name + "%"); } if (type != null) { criteria.andTypeEqualTo(type); } if (!StrUtil.isEmpty(endTime)) { String startStr = endTime + " 00:00:00"; String endStr = endTime + " 23:59:59"; SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); Date start = null; try { start = sdf.parse(startStr); } catch (ParseException e) { e.printStackTrace(); } Date end = null; try { end = sdf.parse(endStr); } catch (ParseException e) { e.printStackTrace(); } if (start != null && end != null) { criteria.andEndTimeBetween(start, end); } } example.setOrderByClause("sort desc"); return advertiseMapper.selectByExample(example); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/SmsHomeBrandServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.mapper.SmsHomeBrandMapper; import com.macro.mall.model.SmsHomeBrand; import com.macro.mall.model.SmsHomeBrandExample; import com.macro.mall.service.SmsHomeBrandService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 首页品牌管理Service实现类 * Created by macro on 2018/11/6. */ @Service public class SmsHomeBrandServiceImpl implements SmsHomeBrandService { @Autowired private SmsHomeBrandMapper homeBrandMapper; @Override public int create(List homeBrandList) { for (SmsHomeBrand smsHomeBrand : homeBrandList) { smsHomeBrand.setRecommendStatus(1); smsHomeBrand.setSort(0); homeBrandMapper.insert(smsHomeBrand); } return homeBrandList.size(); } @Override public int updateSort(Long id, Integer sort) { SmsHomeBrand homeBrand = new SmsHomeBrand(); homeBrand.setId(id); homeBrand.setSort(sort); return homeBrandMapper.updateByPrimaryKeySelective(homeBrand); } @Override public int delete(List ids) { SmsHomeBrandExample example = new SmsHomeBrandExample(); example.createCriteria().andIdIn(ids); return homeBrandMapper.deleteByExample(example); } @Override public int updateRecommendStatus(List ids, Integer recommendStatus) { SmsHomeBrandExample example = new SmsHomeBrandExample(); example.createCriteria().andIdIn(ids); SmsHomeBrand record = new SmsHomeBrand(); record.setRecommendStatus(recommendStatus); return homeBrandMapper.updateByExampleSelective(record,example); } @Override public List list(String brandName, Integer recommendStatus, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum,pageSize); SmsHomeBrandExample example = new SmsHomeBrandExample(); SmsHomeBrandExample.Criteria criteria = example.createCriteria(); if(!StrUtil.isEmpty(brandName)){ criteria.andBrandNameLike("%"+brandName+"%"); } if(recommendStatus!=null){ criteria.andRecommendStatusEqualTo(recommendStatus); } example.setOrderByClause("sort desc"); return homeBrandMapper.selectByExample(example); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/SmsHomeNewProductServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.mapper.SmsHomeNewProductMapper; import com.macro.mall.model.SmsHomeNewProduct; import com.macro.mall.model.SmsHomeNewProductExample; import com.macro.mall.service.SmsHomeNewProductService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 首页新品推荐管理Service实现类 * Created by macro on 2018/11/6. */ @Service public class SmsHomeNewProductServiceImpl implements SmsHomeNewProductService { @Autowired private SmsHomeNewProductMapper homeNewProductMapper; @Override public int create(List homeNewProductList) { for (SmsHomeNewProduct SmsHomeNewProduct : homeNewProductList) { SmsHomeNewProduct.setRecommendStatus(1); SmsHomeNewProduct.setSort(0); homeNewProductMapper.insert(SmsHomeNewProduct); } return homeNewProductList.size(); } @Override public int updateSort(Long id, Integer sort) { SmsHomeNewProduct homeNewProduct = new SmsHomeNewProduct(); homeNewProduct.setId(id); homeNewProduct.setSort(sort); return homeNewProductMapper.updateByPrimaryKeySelective(homeNewProduct); } @Override public int delete(List ids) { SmsHomeNewProductExample example = new SmsHomeNewProductExample(); example.createCriteria().andIdIn(ids); return homeNewProductMapper.deleteByExample(example); } @Override public int updateRecommendStatus(List ids, Integer recommendStatus) { SmsHomeNewProductExample example = new SmsHomeNewProductExample(); example.createCriteria().andIdIn(ids); SmsHomeNewProduct record = new SmsHomeNewProduct(); record.setRecommendStatus(recommendStatus); return homeNewProductMapper.updateByExampleSelective(record,example); } @Override public List list(String productName, Integer recommendStatus, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum,pageSize); SmsHomeNewProductExample example = new SmsHomeNewProductExample(); SmsHomeNewProductExample.Criteria criteria = example.createCriteria(); if(!StrUtil.isEmpty(productName)){ criteria.andProductNameLike("%"+productName+"%"); } if(recommendStatus!=null){ criteria.andRecommendStatusEqualTo(recommendStatus); } example.setOrderByClause("sort desc"); return homeNewProductMapper.selectByExample(example); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/SmsHomeRecommendProductServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.mapper.SmsHomeRecommendProductMapper; import com.macro.mall.model.SmsHomeRecommendProduct; import com.macro.mall.model.SmsHomeRecommendProductExample; import com.macro.mall.service.SmsHomeRecommendProductService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 首页人气推荐管理Service实现类 * Created by macro on 2018/11/7. */ @Service public class SmsHomeRecommendProductServiceImpl implements SmsHomeRecommendProductService { @Autowired private SmsHomeRecommendProductMapper recommendProductMapper; @Override public int create(List homeRecommendProductList) { for (SmsHomeRecommendProduct recommendProduct : homeRecommendProductList) { recommendProduct.setRecommendStatus(1); recommendProduct.setSort(0); recommendProductMapper.insert(recommendProduct); } return homeRecommendProductList.size(); } @Override public int updateSort(Long id, Integer sort) { SmsHomeRecommendProduct recommendProduct = new SmsHomeRecommendProduct(); recommendProduct.setId(id); recommendProduct.setSort(sort); return recommendProductMapper.updateByPrimaryKeySelective(recommendProduct); } @Override public int delete(List ids) { SmsHomeRecommendProductExample example = new SmsHomeRecommendProductExample(); example.createCriteria().andIdIn(ids); return recommendProductMapper.deleteByExample(example); } @Override public int updateRecommendStatus(List ids, Integer recommendStatus) { SmsHomeRecommendProductExample example = new SmsHomeRecommendProductExample(); example.createCriteria().andIdIn(ids); SmsHomeRecommendProduct record = new SmsHomeRecommendProduct(); record.setRecommendStatus(recommendStatus); return recommendProductMapper.updateByExampleSelective(record,example); } @Override public List list(String productName, Integer recommendStatus, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum,pageSize); SmsHomeRecommendProductExample example = new SmsHomeRecommendProductExample(); SmsHomeRecommendProductExample.Criteria criteria = example.createCriteria(); if(!StrUtil.isEmpty(productName)){ criteria.andProductNameLike("%"+productName+"%"); } if(recommendStatus!=null){ criteria.andRecommendStatusEqualTo(recommendStatus); } example.setOrderByClause("sort desc"); return recommendProductMapper.selectByExample(example); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/SmsHomeRecommendSubjectServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.mapper.SmsHomeRecommendSubjectMapper; import com.macro.mall.model.SmsHomeRecommendSubject; import com.macro.mall.model.SmsHomeRecommendSubjectExample; import com.macro.mall.service.SmsHomeRecommendSubjectService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 首页专题推荐管理Service实现类 * Created by macro on 2018/11/7. */ @Service public class SmsHomeRecommendSubjectServiceImpl implements SmsHomeRecommendSubjectService { @Autowired private SmsHomeRecommendSubjectMapper smsHomeRecommendSubjectMapper; @Override public int create(List recommendSubjectList) { for (SmsHomeRecommendSubject recommendSubject : recommendSubjectList) { recommendSubject.setRecommendStatus(1); recommendSubject.setSort(0); smsHomeRecommendSubjectMapper.insert(recommendSubject); } return recommendSubjectList.size(); } @Override public int updateSort(Long id, Integer sort) { SmsHomeRecommendSubject recommendSubject = new SmsHomeRecommendSubject(); recommendSubject.setId(id); recommendSubject.setSort(sort); return smsHomeRecommendSubjectMapper.updateByPrimaryKeySelective(recommendSubject); } @Override public int delete(List ids) { SmsHomeRecommendSubjectExample example = new SmsHomeRecommendSubjectExample(); example.createCriteria().andIdIn(ids); return smsHomeRecommendSubjectMapper.deleteByExample(example); } @Override public int updateRecommendStatus(List ids, Integer recommendStatus) { SmsHomeRecommendSubjectExample example = new SmsHomeRecommendSubjectExample(); example.createCriteria().andIdIn(ids); SmsHomeRecommendSubject record = new SmsHomeRecommendSubject(); record.setRecommendStatus(recommendStatus); return smsHomeRecommendSubjectMapper.updateByExampleSelective(record,example); } @Override public List list(String subjectName, Integer recommendStatus, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum,pageSize); SmsHomeRecommendSubjectExample example = new SmsHomeRecommendSubjectExample(); SmsHomeRecommendSubjectExample.Criteria criteria = example.createCriteria(); if(!StrUtil.isEmpty(subjectName)){ criteria.andSubjectNameLike("%"+subjectName+"%"); } if(recommendStatus!=null){ criteria.andRecommendStatusEqualTo(recommendStatus); } example.setOrderByClause("sort desc"); return smsHomeRecommendSubjectMapper.selectByExample(example); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/UmsAdminCacheServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.collection.CollUtil; import com.macro.mall.common.service.RedisService; import com.macro.mall.dao.UmsAdminRoleRelationDao; import com.macro.mall.mapper.UmsAdminRoleRelationMapper; import com.macro.mall.model.UmsAdmin; import com.macro.mall.model.UmsAdminRoleRelation; import com.macro.mall.model.UmsAdminRoleRelationExample; import com.macro.mall.model.UmsResource; import com.macro.mall.service.UmsAdminCacheService; import com.macro.mall.service.UmsAdminService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import java.util.List; import java.util.stream.Collectors; /** * 后台用户缓存管理Service实现类 * Created by macro on 2020/3/13. */ @Service public class UmsAdminCacheServiceImpl implements UmsAdminCacheService { @Autowired private UmsAdminService adminService; @Autowired private RedisService redisService; @Autowired private UmsAdminRoleRelationMapper adminRoleRelationMapper; @Autowired private UmsAdminRoleRelationDao adminRoleRelationDao; @Value("${redis.database}") private String REDIS_DATABASE; @Value("${redis.expire.common}") private Long REDIS_EXPIRE; @Value("${redis.key.admin}") private String REDIS_KEY_ADMIN; @Value("${redis.key.resourceList}") private String REDIS_KEY_RESOURCE_LIST; @Override public void delAdmin(Long adminId) { UmsAdmin admin = adminService.getItem(adminId); if (admin != null) { String key = REDIS_DATABASE + ":" + REDIS_KEY_ADMIN + ":" + admin.getUsername(); redisService.del(key); } } @Override public void delResourceList(Long adminId) { String key = REDIS_DATABASE + ":" + REDIS_KEY_RESOURCE_LIST + ":" + adminId; redisService.del(key); } @Override public void delResourceListByRole(Long roleId) { UmsAdminRoleRelationExample example = new UmsAdminRoleRelationExample(); example.createCriteria().andRoleIdEqualTo(roleId); List relationList = adminRoleRelationMapper.selectByExample(example); if (CollUtil.isNotEmpty(relationList)) { String keyPrefix = REDIS_DATABASE + ":" + REDIS_KEY_RESOURCE_LIST + ":"; List keys = relationList.stream().map(relation -> keyPrefix + relation.getAdminId()).collect(Collectors.toList()); redisService.del(keys); } } @Override public void delResourceListByRoleIds(List roleIds) { UmsAdminRoleRelationExample example = new UmsAdminRoleRelationExample(); example.createCriteria().andRoleIdIn(roleIds); List relationList = adminRoleRelationMapper.selectByExample(example); if (CollUtil.isNotEmpty(relationList)) { String keyPrefix = REDIS_DATABASE + ":" + REDIS_KEY_RESOURCE_LIST + ":"; List keys = relationList.stream().map(relation -> keyPrefix + relation.getAdminId()).collect(Collectors.toList()); redisService.del(keys); } } @Override public void delResourceListByResource(Long resourceId) { List adminIdList = adminRoleRelationDao.getAdminIdList(resourceId); if (CollUtil.isNotEmpty(adminIdList)) { String keyPrefix = REDIS_DATABASE + ":" + REDIS_KEY_RESOURCE_LIST + ":"; List keys = adminIdList.stream().map(adminId -> keyPrefix + adminId).collect(Collectors.toList()); redisService.del(keys); } } @Override public UmsAdmin getAdmin(String username) { String key = REDIS_DATABASE + ":" + REDIS_KEY_ADMIN + ":" + username; return (UmsAdmin) redisService.get(key); } @Override public void setAdmin(UmsAdmin admin) { String key = REDIS_DATABASE + ":" + REDIS_KEY_ADMIN + ":" + admin.getUsername(); redisService.set(key, admin, REDIS_EXPIRE); } @Override public List getResourceList(Long adminId) { String key = REDIS_DATABASE + ":" + REDIS_KEY_RESOURCE_LIST + ":" + adminId; return (List) redisService.get(key); } @Override public void setResourceList(Long adminId, List resourceList) { String key = REDIS_DATABASE + ":" + REDIS_KEY_RESOURCE_LIST + ":" + adminId; redisService.set(key, resourceList, REDIS_EXPIRE); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/UmsAdminServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.collection.CollUtil; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.bo.AdminUserDetails; import com.macro.mall.common.exception.Asserts; import com.macro.mall.common.util.RequestUtil; import com.macro.mall.dao.UmsAdminRoleRelationDao; import com.macro.mall.dto.UmsAdminParam; import com.macro.mall.dto.UpdateAdminPasswordParam; import com.macro.mall.mapper.UmsAdminLoginLogMapper; import com.macro.mall.mapper.UmsAdminMapper; import com.macro.mall.mapper.UmsAdminRoleRelationMapper; import com.macro.mall.model.*; import com.macro.mall.security.util.JwtTokenUtil; import com.macro.mall.security.util.SpringUtil; import com.macro.mall.service.UmsAdminCacheService; import com.macro.mall.service.UmsAdminService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.AuthenticationException; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UsernameNotFoundException; import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.stereotype.Service; import org.springframework.util.CollectionUtils; import org.springframework.web.context.request.RequestContextHolder; import org.springframework.web.context.request.ServletRequestAttributes; import javax.servlet.http.HttpServletRequest; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * 后台用户管理Service实现类 * Created by macro on 2018/4/26. */ @Service public class UmsAdminServiceImpl implements UmsAdminService { private static final Logger LOGGER = LoggerFactory.getLogger(UmsAdminServiceImpl.class); @Autowired private JwtTokenUtil jwtTokenUtil; @Autowired private PasswordEncoder passwordEncoder; @Autowired private UmsAdminMapper adminMapper; @Autowired private UmsAdminRoleRelationMapper adminRoleRelationMapper; @Autowired private UmsAdminRoleRelationDao adminRoleRelationDao; @Autowired private UmsAdminLoginLogMapper loginLogMapper; @Override public UmsAdmin getAdminByUsername(String username) { //先从缓存中获取数据 UmsAdmin admin = getCacheService().getAdmin(username); if (admin != null) return admin; //缓存中没有再从数据库中获取 UmsAdminExample example = new UmsAdminExample(); example.createCriteria().andUsernameEqualTo(username); List adminList = adminMapper.selectByExample(example); if (adminList != null && adminList.size() > 0) { admin = adminList.get(0); //将数据库中的数据存入缓存中 getCacheService().setAdmin(admin); return admin; } return null; } @Override public UmsAdmin register(UmsAdminParam umsAdminParam) { UmsAdmin umsAdmin = new UmsAdmin(); BeanUtils.copyProperties(umsAdminParam, umsAdmin); umsAdmin.setCreateTime(new Date()); umsAdmin.setStatus(1); //查询是否有相同用户名的用户 UmsAdminExample example = new UmsAdminExample(); example.createCriteria().andUsernameEqualTo(umsAdmin.getUsername()); List umsAdminList = adminMapper.selectByExample(example); if (umsAdminList.size() > 0) { return null; } //将密码进行加密操作 String encodePassword = passwordEncoder.encode(umsAdmin.getPassword()); umsAdmin.setPassword(encodePassword); adminMapper.insert(umsAdmin); return umsAdmin; } @Override public String login(String username, String password) { String token = null; //密码需要客户端加密后传递 try { UserDetails userDetails = loadUserByUsername(username); if(!passwordEncoder.matches(password,userDetails.getPassword())){ Asserts.fail("密码不正确"); } if(!userDetails.isEnabled()){ Asserts.fail("帐号已被禁用"); } UsernamePasswordAuthenticationToken authentication = new UsernamePasswordAuthenticationToken(userDetails, null, userDetails.getAuthorities()); SecurityContextHolder.getContext().setAuthentication(authentication); token = jwtTokenUtil.generateToken(userDetails); // updateLoginTimeByUsername(username); insertLoginLog(username); } catch (AuthenticationException e) { LOGGER.warn("登录异常:{}", e.getMessage()); } return token; } /** * 添加登录记录 * @param username 用户名 */ private void insertLoginLog(String username) { UmsAdmin admin = getAdminByUsername(username); if(admin==null) return; UmsAdminLoginLog loginLog = new UmsAdminLoginLog(); loginLog.setAdminId(admin.getId()); loginLog.setCreateTime(new Date()); ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes(); HttpServletRequest request = attributes.getRequest(); loginLog.setIp(RequestUtil.getRequestIp(request)); loginLogMapper.insert(loginLog); } /** * 根据用户名修改登录时间 */ private void updateLoginTimeByUsername(String username) { UmsAdmin record = new UmsAdmin(); record.setLoginTime(new Date()); UmsAdminExample example = new UmsAdminExample(); example.createCriteria().andUsernameEqualTo(username); adminMapper.updateByExampleSelective(record, example); } @Override public String refreshToken(String oldToken) { return jwtTokenUtil.refreshHeadToken(oldToken); } @Override public UmsAdmin getItem(Long id) { return adminMapper.selectByPrimaryKey(id); } @Override public List list(String keyword, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum, pageSize); UmsAdminExample example = new UmsAdminExample(); UmsAdminExample.Criteria criteria = example.createCriteria(); if (!StrUtil.isEmpty(keyword)) { criteria.andUsernameLike("%" + keyword + "%"); example.or(example.createCriteria().andNickNameLike("%" + keyword + "%")); } return adminMapper.selectByExample(example); } @Override public int update(Long id, UmsAdmin admin) { admin.setId(id); UmsAdmin rawAdmin = adminMapper.selectByPrimaryKey(id); if(rawAdmin.getPassword().equals(admin.getPassword())){ //与原加密密码相同的不需要修改 admin.setPassword(null); }else{ //与原加密密码不同的需要加密修改 if(StrUtil.isEmpty(admin.getPassword())){ admin.setPassword(null); }else{ admin.setPassword(passwordEncoder.encode(admin.getPassword())); } } int count = adminMapper.updateByPrimaryKeySelective(admin); getCacheService().delAdmin(id); return count; } @Override public int delete(Long id) { getCacheService().delAdmin(id); int count = adminMapper.deleteByPrimaryKey(id); getCacheService().delResourceList(id); return count; } @Override public int updateRole(Long adminId, List roleIds) { int count = roleIds == null ? 0 : roleIds.size(); //先删除原来的关系 UmsAdminRoleRelationExample adminRoleRelationExample = new UmsAdminRoleRelationExample(); adminRoleRelationExample.createCriteria().andAdminIdEqualTo(adminId); adminRoleRelationMapper.deleteByExample(adminRoleRelationExample); //建立新关系 if (!CollectionUtils.isEmpty(roleIds)) { List list = new ArrayList<>(); for (Long roleId : roleIds) { UmsAdminRoleRelation roleRelation = new UmsAdminRoleRelation(); roleRelation.setAdminId(adminId); roleRelation.setRoleId(roleId); list.add(roleRelation); } adminRoleRelationDao.insertList(list); } getCacheService().delResourceList(adminId); return count; } @Override public List getRoleList(Long adminId) { return adminRoleRelationDao.getRoleList(adminId); } @Override public List getResourceList(Long adminId) { //先从缓存中获取数据 List resourceList = getCacheService().getResourceList(adminId); if(CollUtil.isNotEmpty(resourceList)){ return resourceList; } //缓存中没有从数据库中获取 resourceList = adminRoleRelationDao.getResourceList(adminId); if(CollUtil.isNotEmpty(resourceList)){ //将数据库中的数据存入缓存中 getCacheService().setResourceList(adminId,resourceList); } return resourceList; } @Override public int updatePassword(UpdateAdminPasswordParam param) { if(StrUtil.isEmpty(param.getUsername()) ||StrUtil.isEmpty(param.getOldPassword()) ||StrUtil.isEmpty(param.getNewPassword())){ return -1; } UmsAdminExample example = new UmsAdminExample(); example.createCriteria().andUsernameEqualTo(param.getUsername()); List adminList = adminMapper.selectByExample(example); if(CollUtil.isEmpty(adminList)){ return -2; } UmsAdmin umsAdmin = adminList.get(0); if(!passwordEncoder.matches(param.getOldPassword(),umsAdmin.getPassword())){ return -3; } umsAdmin.setPassword(passwordEncoder.encode(param.getNewPassword())); adminMapper.updateByPrimaryKey(umsAdmin); getCacheService().delAdmin(umsAdmin.getId()); return 1; } @Override public UserDetails loadUserByUsername(String username){ //获取用户信息 UmsAdmin admin = getAdminByUsername(username); if (admin != null) { List resourceList = getResourceList(admin.getId()); return new AdminUserDetails(admin,resourceList); } throw new UsernameNotFoundException("用户名或密码错误"); } @Override public UmsAdminCacheService getCacheService() { return SpringUtil.getBean(UmsAdminCacheService.class); } @Override public void logout(String username) { //清空缓存中的用户相关数据 UmsAdmin admin = getCacheService().getAdmin(username); getCacheService().delAdmin(admin.getId()); getCacheService().delResourceList(admin.getId()); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/UmsMemberLevelServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.macro.mall.mapper.UmsMemberLevelMapper; import com.macro.mall.model.UmsMemberLevel; import com.macro.mall.model.UmsMemberLevelExample; import com.macro.mall.service.UmsMemberLevelService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 会员等级管理Service实现类 * Created by macro on 2018/4/26. */ @Service public class UmsMemberLevelServiceImpl implements UmsMemberLevelService{ @Autowired private UmsMemberLevelMapper memberLevelMapper; @Override public List list(Integer defaultStatus) { UmsMemberLevelExample example = new UmsMemberLevelExample(); example.createCriteria().andDefaultStatusEqualTo(defaultStatus); return memberLevelMapper.selectByExample(example); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/UmsMenuServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.github.pagehelper.PageHelper; import com.macro.mall.dto.UmsMenuNode; import com.macro.mall.mapper.UmsMenuMapper; import com.macro.mall.model.*; import com.macro.mall.service.UmsMenuService; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Date; import java.util.List; import java.util.stream.Collectors; /** * 后台菜单管理Service实现类 * Created by macro on 2020/2/2. */ @Service public class UmsMenuServiceImpl implements UmsMenuService { @Autowired private UmsMenuMapper menuMapper; @Override public int create(UmsMenu umsMenu) { umsMenu.setCreateTime(new Date()); updateLevel(umsMenu); return menuMapper.insert(umsMenu); } /** * 修改菜单层级 */ private void updateLevel(UmsMenu umsMenu) { if (umsMenu.getParentId() == 0) { //没有父菜单时为一级菜单 umsMenu.setLevel(0); } else { //有父菜单时为父菜单的level+1 UmsMenu parentMenu = menuMapper.selectByPrimaryKey(umsMenu.getParentId()); if (parentMenu != null) { umsMenu.setLevel(parentMenu.getLevel() + 1); } else { umsMenu.setLevel(0); } } } @Override public int update(Long id, UmsMenu umsMenu) { umsMenu.setId(id); updateLevel(umsMenu); return menuMapper.updateByPrimaryKeySelective(umsMenu); } @Override public UmsMenu getItem(Long id) { return menuMapper.selectByPrimaryKey(id); } @Override public int delete(Long id) { return menuMapper.deleteByPrimaryKey(id); } @Override public List list(Long parentId, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum, pageSize); UmsMenuExample example = new UmsMenuExample(); example.setOrderByClause("sort desc"); example.createCriteria().andParentIdEqualTo(parentId); return menuMapper.selectByExample(example); } @Override public List treeList() { List menuList = menuMapper.selectByExample(new UmsMenuExample()); List result = menuList.stream() .filter(menu -> menu.getParentId().equals(0L)) .map(menu -> covertMenuNode(menu, menuList)) .collect(Collectors.toList()); return result; } @Override public int updateHidden(Long id, Integer hidden) { UmsMenu umsMenu = new UmsMenu(); umsMenu.setId(id); umsMenu.setHidden(hidden); return menuMapper.updateByPrimaryKeySelective(umsMenu); } /** * 将UmsMenu转化为UmsMenuNode并设置children属性 */ private UmsMenuNode covertMenuNode(UmsMenu menu, List menuList) { UmsMenuNode node = new UmsMenuNode(); BeanUtils.copyProperties(menu, node); List children = menuList.stream() .filter(subMenu -> subMenu.getParentId().equals(menu.getId())) .map(subMenu -> covertMenuNode(subMenu, menuList)).collect(Collectors.toList()); node.setChildren(children); return node; } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/UmsResourceCategoryServiceImpl.java ================================================ package com.macro.mall.service.impl; import com.macro.mall.mapper.UmsResourceCategoryMapper; import com.macro.mall.model.UmsResourceCategory; import com.macro.mall.model.UmsResourceCategoryExample; import com.macro.mall.service.UmsResourceCategoryService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Date; import java.util.List; /** * 后台资源分类管理Service实现类 * Created by macro on 2020/2/5. */ @Service public class UmsResourceCategoryServiceImpl implements UmsResourceCategoryService { @Autowired private UmsResourceCategoryMapper resourceCategoryMapper; @Override public List listAll() { UmsResourceCategoryExample example = new UmsResourceCategoryExample(); example.setOrderByClause("sort desc"); return resourceCategoryMapper.selectByExample(example); } @Override public int create(UmsResourceCategory umsResourceCategory) { umsResourceCategory.setCreateTime(new Date()); return resourceCategoryMapper.insert(umsResourceCategory); } @Override public int update(Long id, UmsResourceCategory umsResourceCategory) { umsResourceCategory.setId(id); return resourceCategoryMapper.updateByPrimaryKeySelective(umsResourceCategory); } @Override public int delete(Long id) { return resourceCategoryMapper.deleteByPrimaryKey(id); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/UmsResourceServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.mapper.UmsResourceMapper; import com.macro.mall.model.UmsResource; import com.macro.mall.model.UmsResourceExample; import com.macro.mall.service.UmsAdminCacheService; import com.macro.mall.service.UmsResourceService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Date; import java.util.List; /** * 后台资源管理Service实现类 * Created by macro on 2020/2/2. */ @Service public class UmsResourceServiceImpl implements UmsResourceService { @Autowired private UmsResourceMapper resourceMapper; @Autowired private UmsAdminCacheService adminCacheService; @Override public int create(UmsResource umsResource) { umsResource.setCreateTime(new Date()); return resourceMapper.insert(umsResource); } @Override public int update(Long id, UmsResource umsResource) { umsResource.setId(id); int count = resourceMapper.updateByPrimaryKeySelective(umsResource); adminCacheService.delResourceListByResource(id); return count; } @Override public UmsResource getItem(Long id) { return resourceMapper.selectByPrimaryKey(id); } @Override public int delete(Long id) { int count = resourceMapper.deleteByPrimaryKey(id); adminCacheService.delResourceListByResource(id); return count; } @Override public List list(Long categoryId, String nameKeyword, String urlKeyword, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum,pageSize); UmsResourceExample example = new UmsResourceExample(); UmsResourceExample.Criteria criteria = example.createCriteria(); if(categoryId!=null){ criteria.andCategoryIdEqualTo(categoryId); } if(StrUtil.isNotEmpty(nameKeyword)){ criteria.andNameLike('%'+nameKeyword+'%'); } if(StrUtil.isNotEmpty(urlKeyword)){ criteria.andUrlLike('%'+urlKeyword+'%'); } return resourceMapper.selectByExample(example); } @Override public List listAll() { return resourceMapper.selectByExample(new UmsResourceExample()); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/service/impl/UmsRoleServiceImpl.java ================================================ package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.dao.UmsRoleDao; import com.macro.mall.mapper.UmsRoleMapper; import com.macro.mall.mapper.UmsRoleMenuRelationMapper; import com.macro.mall.mapper.UmsRoleResourceRelationMapper; import com.macro.mall.model.*; import com.macro.mall.service.UmsAdminCacheService; import com.macro.mall.service.UmsRoleService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Date; import java.util.List; /** * 后台角色管理Service实现类 * Created by macro on 2018/9/30. */ @Service public class UmsRoleServiceImpl implements UmsRoleService { @Autowired private UmsRoleMapper roleMapper; @Autowired private UmsRoleMenuRelationMapper roleMenuRelationMapper; @Autowired private UmsRoleResourceRelationMapper roleResourceRelationMapper; @Autowired private UmsRoleDao roleDao; @Autowired private UmsAdminCacheService adminCacheService; @Override public int create(UmsRole role) { role.setCreateTime(new Date()); role.setAdminCount(0); role.setSort(0); return roleMapper.insert(role); } @Override public int update(Long id, UmsRole role) { role.setId(id); return roleMapper.updateByPrimaryKeySelective(role); } @Override public int delete(List ids) { UmsRoleExample example = new UmsRoleExample(); example.createCriteria().andIdIn(ids); int count = roleMapper.deleteByExample(example); adminCacheService.delResourceListByRoleIds(ids); return count; } @Override public List list() { return roleMapper.selectByExample(new UmsRoleExample()); } @Override public List list(String keyword, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum, pageSize); UmsRoleExample example = new UmsRoleExample(); if (!StrUtil.isEmpty(keyword)) { example.createCriteria().andNameLike("%" + keyword + "%"); } return roleMapper.selectByExample(example); } @Override public List getMenuList(Long adminId) { return roleDao.getMenuList(adminId); } @Override public List listMenu(Long roleId) { return roleDao.getMenuListByRoleId(roleId); } @Override public List listResource(Long roleId) { return roleDao.getResourceListByRoleId(roleId); } @Override public int allocMenu(Long roleId, List menuIds) { //先删除原有关系 UmsRoleMenuRelationExample example=new UmsRoleMenuRelationExample(); example.createCriteria().andRoleIdEqualTo(roleId); roleMenuRelationMapper.deleteByExample(example); //批量插入新关系 for (Long menuId : menuIds) { UmsRoleMenuRelation relation = new UmsRoleMenuRelation(); relation.setRoleId(roleId); relation.setMenuId(menuId); roleMenuRelationMapper.insert(relation); } return menuIds.size(); } @Override public int allocResource(Long roleId, List resourceIds) { //先删除原有关系 UmsRoleResourceRelationExample example=new UmsRoleResourceRelationExample(); example.createCriteria().andRoleIdEqualTo(roleId); roleResourceRelationMapper.deleteByExample(example); //批量插入新关系 for (Long resourceId : resourceIds) { UmsRoleResourceRelation relation = new UmsRoleResourceRelation(); relation.setRoleId(roleId); relation.setResourceId(resourceId); roleResourceRelationMapper.insert(relation); } adminCacheService.delResourceListByRole(roleId); return resourceIds.size(); } } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/validator/FlagValidator.java ================================================ package com.macro.mall.validator; import javax.validation.Constraint; import javax.validation.Payload; import java.lang.annotation.*; /** * 用于验证状态是否在指定范围内的注解 * Created by macro on 2018/4/26. */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD,ElementType.PARAMETER}) @Constraint(validatedBy = FlagValidatorClass.class) public @interface FlagValidator { String[] value() default {}; String message() default "flag is not found"; Class[] groups() default {}; Class[] payload() default {}; } ================================================ FILE: mall-admin/src/main/java/com/macro/mall/validator/FlagValidatorClass.java ================================================ package com.macro.mall.validator; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; /** * 状态约束校验器 * Created by macro on 2018/4/26. */ public class FlagValidatorClass implements ConstraintValidator { private String[] values; @Override public void initialize(FlagValidator flagValidator) { this.values = flagValidator.value(); } @Override public boolean isValid(Integer value, ConstraintValidatorContext constraintValidatorContext) { boolean isValid = false; if(value==null){ //当状态为空时使用默认值 return true; } for(int i=0;i insert into cms_prefrence_area_product_relation (prefrence_area_id, product_id) values (#{item.prefrenceAreaId,jdbcType=BIGINT}, #{item.productId,jdbcType=BIGINT}) ================================================ FILE: mall-admin/src/main/resources/dao/CmsSubjectProductRelationDao.xml ================================================ insert into cms_subject_product_relation (subject_id, product_id) values (#{item.subjectId,jdbcType=BIGINT}, #{item.productId,jdbcType=BIGINT}) ================================================ FILE: mall-admin/src/main/resources/dao/OmsOrderDao.xml ================================================ UPDATE oms_order SET delivery_sn = CASE id WHEN #{item.orderId} THEN #{item.deliverySn} END, delivery_company = CASE id WHEN #{item.orderId} THEN #{item.deliveryCompany} END, delivery_time = CASE id WHEN #{item.orderId} THEN now() END, `status` = CASE id WHEN #{item.orderId} THEN 2 END WHERE id IN #{item.orderId} AND `status` = 1 ================================================ FILE: mall-admin/src/main/resources/dao/OmsOrderOperateHistoryDao.xml ================================================ INSERT INTO oms_order_operate_history (order_id, operate_man, create_time, order_status, note) VALUES (#{item.orderId}, #{item.operateMan}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.orderStatus}, #{item.note}) ================================================ FILE: mall-admin/src/main/resources/dao/OmsOrderReturnApplyDao.xml ================================================ ================================================ FILE: mall-admin/src/main/resources/dao/PmsMemberPriceDao.xml ================================================ INSERT INTO pms_member_price (product_id, member_level_id, member_price,member_level_name) VALUES (#{item.productId,jdbcType=BIGINT}, #{item.memberLevelId,jdbcType=BIGINT}, #{item.memberPrice,jdbcType=DECIMAL}, #{item.memberLevelName,jdbcType=VARCHAR}) ================================================ FILE: mall-admin/src/main/resources/dao/PmsProductAttributeCategoryDao.xml ================================================ ================================================ FILE: mall-admin/src/main/resources/dao/PmsProductAttributeDao.xml ================================================ ================================================ FILE: mall-admin/src/main/resources/dao/PmsProductAttributeValueDao.xml ================================================ insert into pms_product_attribute_value (product_id,product_attribute_id,value) values (#{item.productId,jdbcType=BIGINT}, #{item.productAttributeId,jdbcType=BIGINT}, #{item.value,jdbcType=VARCHAR}) ================================================ FILE: mall-admin/src/main/resources/dao/PmsProductCategoryAttributeRelationDao.xml ================================================ INSERT INTO pms_product_category_attribute_relation (product_category_id, product_attribute_id) VALUES (#{item.productCategoryId,jdbcType=BIGINT}, #{item.productAttributeId,jdbcType=BIGINT}) ================================================ FILE: mall-admin/src/main/resources/dao/PmsProductCategoryDao.xml ================================================ ================================================ FILE: mall-admin/src/main/resources/dao/PmsProductDao.xml ================================================ ================================================ FILE: mall-admin/src/main/resources/dao/PmsProductFullReductionDao.xml ================================================ INSERT INTO pms_product_full_reduction (product_id, full_price, reduce_price) VALUES (#{item.productId,jdbcType=BIGINT}, #{item.fullPrice,jdbcType=DECIMAL}, #{item.reducePrice,jdbcType=DECIMAL}) ================================================ FILE: mall-admin/src/main/resources/dao/PmsProductLadderDao.xml ================================================ INSERT INTO pms_product_ladder (product_id, count, discount, price) VALUES (#{item.productId,jdbcType=BIGINT}, #{item.count,jdbcType=INTEGER}, #{item.discount,jdbcType=DECIMAL}, #{item.price,jdbcType=DECIMAL}) ================================================ FILE: mall-admin/src/main/resources/dao/PmsProductVertifyRecordDao.xml ================================================ insert into pms_product_vertify_record (product_id, create_time, vertify_man,status, detail) values (#{item.productId,jdbcType=BIGINT}, #{item.createTime,jdbcType=TIMESTAMP}, #{item.vertifyMan,jdbcType=VARCHAR}, #{item.status,jdbcType=INTEGER}, #{item.detail,jdbcType=VARCHAR}) ================================================ FILE: mall-admin/src/main/resources/dao/PmsSkuStockDao.xml ================================================ INSERT INTO pms_sku_stock (product_id, sku_code, price, stock, low_stock, pic, sale, sp_data) VALUES (#{item.productId,jdbcType=BIGINT}, #{item.skuCode,jdbcType=VARCHAR}, #{item.price,jdbcType=DECIMAL}, #{item.stock,jdbcType=INTEGER}, #{item.lowStock,jdbcType=INTEGER}, #{item.pic,jdbcType=VARCHAR}, #{item.sale,jdbcType=INTEGER}, #{item.spData,jdbcType=VARCHAR}) REPLACE INTO pms_sku_stock (id,product_id, sku_code, price, stock, low_stock,pic, sale, sp_data) VALUES (#{item.id,jdbcType=BIGINT}, #{item.productId,jdbcType=BIGINT}, #{item.skuCode,jdbcType=VARCHAR}, #{item.price,jdbcType=DECIMAL}, #{item.stock,jdbcType=INTEGER}, #{item.lowStock,jdbcType=INTEGER}, #{item.pic,jdbcType=VARCHAR}, #{item.sale,jdbcType=INTEGER}, #{item.spData,jdbcType=VARCHAR}) ================================================ FILE: mall-admin/src/main/resources/dao/SmsCouponDao.xml ================================================ ================================================ FILE: mall-admin/src/main/resources/dao/SmsCouponProductCategoryRelationDao.xml ================================================ INSERT INTO sms_coupon_product_category_relation (product_category_id,product_category_name,parent_category_name,coupon_id) VALUES (#{item.productCategoryId,jdbcType=BIGINT}, #{item.productCategoryName,jdbcType=VARCHAR}, #{item.parentCategoryName,jdbcType=VARCHAR}, #{item.couponId,jdbcType=BIGINT}) ================================================ FILE: mall-admin/src/main/resources/dao/SmsCouponProductRelationDao.xml ================================================ INSERT INTO sms_coupon_product_relation (product_id,product_name,product_sn,coupon_id) VALUES (#{item.productId,jdbcType=BIGINT}, #{item.productName,jdbcType=VARCHAR}, #{item.productSn,jdbcType=VARCHAR}, #{item.couponId,jdbcType=INTEGER}) ================================================ FILE: mall-admin/src/main/resources/dao/SmsFlashPromotionProductRelationDao.xml ================================================ ================================================ FILE: mall-admin/src/main/resources/dao/UmsAdminRoleRelationDao.xml ================================================ INSERT INTO ums_admin_role_relation (admin_id, role_id) VALUES (#{item.adminId,jdbcType=BIGINT}, #{item.roleId,jdbcType=BIGINT}) ================================================ FILE: mall-admin/src/main/resources/dao/UmsRoleDao.xml ================================================ ================================================ FILE: mall-admin/src/test/com/macro/mall/PmsDaoTests.java ================================================ package com.macro.mall; import cn.hutool.json.JSONUtil; import com.macro.mall.dao.PmsMemberPriceDao; import com.macro.mall.dao.PmsProductDao; import com.macro.mall.dto.PmsProductResult; import com.macro.mall.model.PmsMemberPrice; import org.junit.jupiter.api.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.annotation.Rollback; import org.springframework.transaction.annotation.Transactional; import java.math.BigDecimal; import java.util.ArrayList; import java.util.List; import static org.junit.jupiter.api.Assertions.assertEquals; @SpringBootTest public class PmsDaoTests { @Autowired private PmsMemberPriceDao memberPriceDao; @Autowired private PmsProductDao productDao; private static final Logger LOGGER = LoggerFactory.getLogger(PmsDaoTests.class); @Test @Transactional @Rollback public void testInsertBatch(){ List list = new ArrayList<>(); for(int i=0;i<5;i++){ PmsMemberPrice memberPrice = new PmsMemberPrice(); memberPrice.setProductId(1L); memberPrice.setMemberLevelId((long) (i+1)); memberPrice.setMemberPrice(new BigDecimal("22")); list.add(memberPrice); } int count = memberPriceDao.insertList(list); assertEquals(5,count); } @Test public void testGetProductUpdateInfo(){ PmsProductResult productResult = productDao.getUpdateInfo(7L); String json = JSONUtil.parse(productResult).toString(); LOGGER.info(json); } } ================================================ FILE: mall-common/pom.xml ================================================ 4.0.0 com.macro.mall mall-common 1.0-SNAPSHOT jar mall-common mall-common project for mall com.macro.mall mall 1.0-SNAPSHOT com.github.pagehelper pagehelper org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-data-redis org.springframework.data spring-data-commons net.logstash.logback logstash-logback-encoder io.springfox springfox-boot-starter org.springframework.boot spring-boot-starter-validation ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/api/CommonPage.java ================================================ package com.macro.mall.common.api; import com.github.pagehelper.PageInfo; import org.springframework.data.domain.Page; import java.util.List; /** * 通用分页数据封装类 * Created by macro on 2019/4/19. */ public class CommonPage { /** * 当前页码 */ private Integer pageNum; /** * 每页数量 */ private Integer pageSize; /** * 总页数 */ private Integer totalPage; /** * 总条数 */ private Long total; /** * 分页数据 */ private List list; /** * 将PageHelper分页后的list转为分页信息 */ public static CommonPage restPage(List list) { CommonPage result = new CommonPage(); PageInfo pageInfo = new PageInfo(list); result.setTotalPage(pageInfo.getPages()); result.setPageNum(pageInfo.getPageNum()); result.setPageSize(pageInfo.getPageSize()); result.setTotal(pageInfo.getTotal()); result.setList(pageInfo.getList()); return result; } /** * 将SpringData分页后的list转为分页信息 */ public static CommonPage restPage(Page pageInfo) { CommonPage result = new CommonPage(); result.setTotalPage(pageInfo.getTotalPages()); result.setPageNum(pageInfo.getNumber()); result.setPageSize(pageInfo.getSize()); result.setTotal(pageInfo.getTotalElements()); result.setList(pageInfo.getContent()); return result; } public Integer getPageNum() { return pageNum; } public void setPageNum(Integer pageNum) { this.pageNum = pageNum; } public Integer getPageSize() { return pageSize; } public void setPageSize(Integer pageSize) { this.pageSize = pageSize; } public Integer getTotalPage() { return totalPage; } public void setTotalPage(Integer totalPage) { this.totalPage = totalPage; } public List getList() { return list; } public void setList(List list) { this.list = list; } public Long getTotal() { return total; } public void setTotal(Long total) { this.total = total; } } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/api/CommonResult.java ================================================ package com.macro.mall.common.api; /** * 通用返回结果封装类 * Created by macro on 2019/4/19. */ public class CommonResult { /** * 状态码 */ private long code; /** * 提示信息 */ private String message; /** * 数据封装 */ private T data; protected CommonResult() { } protected CommonResult(long code, String message, T data) { this.code = code; this.message = message; this.data = data; } /** * 成功返回结果 * * @param data 获取的数据 */ public static CommonResult success(T data) { return new CommonResult(ResultCode.SUCCESS.getCode(), ResultCode.SUCCESS.getMessage(), data); } /** * 成功返回结果 * * @param data 获取的数据 * @param message 提示信息 */ public static CommonResult success(T data, String message) { return new CommonResult(ResultCode.SUCCESS.getCode(), message, data); } /** * 失败返回结果 * @param errorCode 错误码 */ public static CommonResult failed(IErrorCode errorCode) { return new CommonResult(errorCode.getCode(), errorCode.getMessage(), null); } /** * 失败返回结果 * @param errorCode 错误码 * @param message 错误信息 */ public static CommonResult failed(IErrorCode errorCode,String message) { return new CommonResult(errorCode.getCode(), message, null); } /** * 失败返回结果 * @param message 提示信息 */ public static CommonResult failed(String message) { return new CommonResult(ResultCode.FAILED.getCode(), message, null); } /** * 失败返回结果 */ public static CommonResult failed() { return failed(ResultCode.FAILED); } /** * 参数验证失败返回结果 */ public static CommonResult validateFailed() { return failed(ResultCode.VALIDATE_FAILED); } /** * 参数验证失败返回结果 * @param message 提示信息 */ public static CommonResult validateFailed(String message) { return new CommonResult(ResultCode.VALIDATE_FAILED.getCode(), message, null); } /** * 未登录返回结果 */ public static CommonResult unauthorized(T data) { return new CommonResult(ResultCode.UNAUTHORIZED.getCode(), ResultCode.UNAUTHORIZED.getMessage(), data); } /** * 未授权返回结果 */ public static CommonResult forbidden(T data) { return new CommonResult(ResultCode.FORBIDDEN.getCode(), ResultCode.FORBIDDEN.getMessage(), data); } public long getCode() { return code; } public void setCode(long code) { this.code = code; } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } public T getData() { return data; } public void setData(T data) { this.data = data; } } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/api/IErrorCode.java ================================================ package com.macro.mall.common.api; /** * API返回码接口 * Created by macro on 2019/4/19. */ public interface IErrorCode { /** * 返回码 */ long getCode(); /** * 返回信息 */ String getMessage(); } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/api/ResultCode.java ================================================ package com.macro.mall.common.api; /** * API返回码封装类 * Created by macro on 2019/4/19. */ public enum ResultCode implements IErrorCode { SUCCESS(200, "操作成功"), FAILED(500, "操作失败"), VALIDATE_FAILED(404, "参数检验失败"), UNAUTHORIZED(401, "暂未登录或token已经过期"), FORBIDDEN(403, "没有相关权限"); private long code; private String message; private ResultCode(long code, String message) { this.code = code; this.message = message; } public long getCode() { return code; } public String getMessage() { return message; } } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/config/BaseRedisConfig.java ================================================ package com.macro.mall.common.config; import com.fasterxml.jackson.annotation.JsonAutoDetect; import com.fasterxml.jackson.annotation.PropertyAccessor; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jackson.databind.jsontype.impl.LaissezFaireSubTypeValidator; import com.macro.mall.common.service.RedisService; import com.macro.mall.common.service.impl.RedisServiceImpl; import org.springframework.context.annotation.Bean; import org.springframework.data.redis.cache.RedisCacheConfiguration; import org.springframework.data.redis.cache.RedisCacheManager; import org.springframework.data.redis.cache.RedisCacheWriter; import org.springframework.data.redis.connection.RedisConnectionFactory; import org.springframework.data.redis.core.RedisTemplate; import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer; import org.springframework.data.redis.serializer.RedisSerializationContext; import org.springframework.data.redis.serializer.RedisSerializer; import org.springframework.data.redis.serializer.StringRedisSerializer; import java.time.Duration; /** * Redis基础配置 * Created by macro on 2020/6/19. */ public class BaseRedisConfig { @Bean public RedisTemplate redisTemplate(RedisConnectionFactory redisConnectionFactory,RedisSerializer redisSerializer) { RedisTemplate redisTemplate = new RedisTemplate<>(); redisTemplate.setConnectionFactory(redisConnectionFactory); redisTemplate.setKeySerializer(new StringRedisSerializer()); redisTemplate.setValueSerializer(redisSerializer); redisTemplate.setHashKeySerializer(new StringRedisSerializer()); redisTemplate.setHashValueSerializer(redisSerializer); redisTemplate.afterPropertiesSet(); return redisTemplate; } @Bean public RedisSerializer redisSerializer() { //创建JSON序列化器 Jackson2JsonRedisSerializer serializer = new Jackson2JsonRedisSerializer<>(Object.class); ObjectMapper objectMapper = new ObjectMapper(); objectMapper.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY); //必须设置,否则无法将JSON转化为对象,会转化成Map类型 objectMapper.activateDefaultTyping(LaissezFaireSubTypeValidator.instance,ObjectMapper.DefaultTyping.NON_FINAL); serializer.setObjectMapper(objectMapper); return serializer; } @Bean public RedisCacheManager redisCacheManager(RedisConnectionFactory redisConnectionFactory) { RedisCacheWriter redisCacheWriter = RedisCacheWriter.nonLockingRedisCacheWriter(redisConnectionFactory); //设置Redis缓存有效期为1天 RedisCacheConfiguration redisCacheConfiguration = RedisCacheConfiguration.defaultCacheConfig() .serializeValuesWith(RedisSerializationContext.SerializationPair.fromSerializer(redisSerializer())).entryTtl(Duration.ofDays(1)); return new RedisCacheManager(redisCacheWriter, redisCacheConfiguration); } @Bean public RedisService redisService(){ return new RedisServiceImpl(); } } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/config/BaseSwaggerConfig.java ================================================ package com.macro.mall.common.config; import com.macro.mall.common.domain.SwaggerProperties; import org.springframework.beans.BeansException; import org.springframework.beans.factory.config.BeanPostProcessor; import org.springframework.context.annotation.Bean; import org.springframework.util.ReflectionUtils; import org.springframework.web.servlet.mvc.method.RequestMappingInfoHandlerMapping; import springfox.documentation.builders.ApiInfoBuilder; import springfox.documentation.builders.PathSelectors; import springfox.documentation.builders.RequestHandlerSelectors; import springfox.documentation.service.*; import springfox.documentation.spi.DocumentationType; import springfox.documentation.spi.service.contexts.SecurityContext; import springfox.documentation.spring.web.plugins.Docket; import springfox.documentation.spring.web.plugins.WebFluxRequestHandlerProvider; import springfox.documentation.spring.web.plugins.WebMvcRequestHandlerProvider; import java.lang.reflect.Field; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; /** * Swagger基础配置 * Created by macro on 2020/7/16. */ public abstract class BaseSwaggerConfig { @Bean public Docket createRestApi() { SwaggerProperties swaggerProperties = swaggerProperties(); Docket docket = new Docket(DocumentationType.SWAGGER_2) .apiInfo(apiInfo(swaggerProperties)) .select() .apis(RequestHandlerSelectors.basePackage(swaggerProperties.getApiBasePackage())) .paths(PathSelectors.any()) .build(); if (swaggerProperties.isEnableSecurity()) { docket.securitySchemes(securitySchemes()).securityContexts(securityContexts()); } return docket; } private ApiInfo apiInfo(SwaggerProperties swaggerProperties) { return new ApiInfoBuilder() .title(swaggerProperties.getTitle()) .description(swaggerProperties.getDescription()) .contact(new Contact(swaggerProperties.getContactName(), swaggerProperties.getContactUrl(), swaggerProperties.getContactEmail())) .version(swaggerProperties.getVersion()) .build(); } private List securitySchemes() { //设置请求头信息 List result = new ArrayList<>(); ApiKey apiKey = new ApiKey("Authorization", "Authorization", "header"); result.add(apiKey); return result; } private List securityContexts() { //设置需要登录认证的路径 List result = new ArrayList<>(); result.add(getContextByPath("/*/.*")); return result; } private SecurityContext getContextByPath(String pathRegex) { return SecurityContext.builder() .securityReferences(defaultAuth()) .operationSelector(oc -> oc.requestMappingPattern().matches(pathRegex)) .build(); } private List defaultAuth() { List result = new ArrayList<>(); AuthorizationScope authorizationScope = new AuthorizationScope("global", "accessEverything"); AuthorizationScope[] authorizationScopes = new AuthorizationScope[1]; authorizationScopes[0] = authorizationScope; result.add(new SecurityReference("Authorization", authorizationScopes)); return result; } public BeanPostProcessor generateBeanPostProcessor(){ return new BeanPostProcessor() { @Override public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException { if (bean instanceof WebMvcRequestHandlerProvider || bean instanceof WebFluxRequestHandlerProvider) { customizeSpringfoxHandlerMappings(getHandlerMappings(bean)); } return bean; } private void customizeSpringfoxHandlerMappings(List mappings) { List copy = mappings.stream() .filter(mapping -> mapping.getPatternParser() == null) .collect(Collectors.toList()); mappings.clear(); mappings.addAll(copy); } @SuppressWarnings("unchecked") private List getHandlerMappings(Object bean) { try { Field field = ReflectionUtils.findField(bean.getClass(), "handlerMappings"); field.setAccessible(true); return (List) field.get(bean); } catch (IllegalArgumentException | IllegalAccessException e) { throw new IllegalStateException(e); } } }; } /** * 自定义Swagger配置 */ public abstract SwaggerProperties swaggerProperties(); } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/domain/SwaggerProperties.java ================================================ package com.macro.mall.common.domain; import lombok.Builder; import lombok.Data; import lombok.EqualsAndHashCode; /** * Swagger自定义配置 * Created by macro on 2020/7/16. */ @Data @EqualsAndHashCode @Builder public class SwaggerProperties { /** * API文档生成基础路径 */ private String apiBasePackage; /** * 是否要启用登录认证 */ private boolean enableSecurity; /** * 文档标题 */ private String title; /** * 文档描述 */ private String description; /** * 文档版本 */ private String version; /** * 文档联系人姓名 */ private String contactName; /** * 文档联系人网址 */ private String contactUrl; /** * 文档联系人邮箱 */ private String contactEmail; } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/domain/WebLog.java ================================================ package com.macro.mall.common.domain; import lombok.Data; import lombok.EqualsAndHashCode; /** * Controller层的日志封装类 * Created by macro on 2018/4/26. */ @Data @EqualsAndHashCode public class WebLog { /** * 操作描述 */ private String description; /** * 操作用户 */ private String username; /** * 操作时间 */ private Long startTime; /** * 消耗时间 */ private Integer spendTime; /** * 根路径 */ private String basePath; /** * URI */ private String uri; /** * URL */ private String url; /** * 请求类型 */ private String method; /** * IP地址 */ private String ip; /** * 请求参数 */ private Object parameter; /** * 返回结果 */ private Object result; } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/exception/ApiException.java ================================================ package com.macro.mall.common.exception; import com.macro.mall.common.api.IErrorCode; /** * 自定义API异常 * Created by macro on 2020/2/27. */ public class ApiException extends RuntimeException { private IErrorCode errorCode; public ApiException(IErrorCode errorCode) { super(errorCode.getMessage()); this.errorCode = errorCode; } public ApiException(String message) { super(message); } public ApiException(Throwable cause) { super(cause); } public ApiException(String message, Throwable cause) { super(message, cause); } public IErrorCode getErrorCode() { return errorCode; } } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/exception/Asserts.java ================================================ package com.macro.mall.common.exception; import com.macro.mall.common.api.IErrorCode; /** * 断言处理类,用于抛出各种API异常 * Created by macro on 2020/2/27. */ public class Asserts { public static void fail(String message) { throw new ApiException(message); } public static void fail(IErrorCode errorCode) { throw new ApiException(errorCode); } } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/exception/GlobalExceptionHandler.java ================================================ package com.macro.mall.common.exception; import cn.hutool.core.util.StrUtil; import com.macro.mall.common.api.CommonResult; import org.springframework.validation.BindException; import org.springframework.validation.BindingResult; import org.springframework.validation.FieldError; import org.springframework.web.bind.MethodArgumentNotValidException; import org.springframework.web.bind.annotation.ControllerAdvice; import org.springframework.web.bind.annotation.ExceptionHandler; import org.springframework.web.bind.annotation.ResponseBody; import java.sql.SQLSyntaxErrorException; /** * 全局异常处理类 * Created by macro on 2020/2/27. */ @ControllerAdvice public class GlobalExceptionHandler { @ResponseBody @ExceptionHandler(value = ApiException.class) public CommonResult handle(ApiException e) { if (e.getErrorCode() != null) { return CommonResult.failed(e.getErrorCode()); } return CommonResult.failed(e.getMessage()); } @ResponseBody @ExceptionHandler(value = MethodArgumentNotValidException.class) public CommonResult handleValidException(MethodArgumentNotValidException e) { BindingResult bindingResult = e.getBindingResult(); String message = null; if (bindingResult.hasErrors()) { FieldError fieldError = bindingResult.getFieldError(); if (fieldError != null) { message = fieldError.getField()+fieldError.getDefaultMessage(); } } return CommonResult.validateFailed(message); } @ResponseBody @ExceptionHandler(value = BindException.class) public CommonResult handleValidException(BindException e) { BindingResult bindingResult = e.getBindingResult(); String message = null; if (bindingResult.hasErrors()) { FieldError fieldError = bindingResult.getFieldError(); if (fieldError != null) { message = fieldError.getField()+fieldError.getDefaultMessage(); } } return CommonResult.validateFailed(message); } @ResponseBody @ExceptionHandler(value = SQLSyntaxErrorException.class) public CommonResult handleSQLSyntaxErrorException(SQLSyntaxErrorException e) { String message = e.getMessage(); if (StrUtil.isNotEmpty(message) && message.contains("denied")) { message = "演示环境暂无修改权限,如需修改数据可本地搭建后台服务!"; } return CommonResult.failed(message); } } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/log/WebLogAspect.java ================================================ package com.macro.mall.common.log; import cn.hutool.core.util.StrUtil; import cn.hutool.core.util.URLUtil; import cn.hutool.json.JSONUtil; import com.macro.mall.common.domain.WebLog; import com.macro.mall.common.util.RequestUtil; import io.swagger.annotations.ApiOperation; import net.logstash.logback.marker.Markers; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.Signature; import org.aspectj.lang.annotation.*; import org.aspectj.lang.reflect.MethodSignature; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.context.request.RequestContextHolder; import org.springframework.web.context.request.ServletRequestAttributes; import javax.servlet.http.HttpServletRequest; import java.lang.reflect.Method; import java.lang.reflect.Parameter; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; /** * 统一日志处理切面 * Created by macro on 2018/4/26. */ @Aspect @Component @Order(1) public class WebLogAspect { private static final Logger LOGGER = LoggerFactory.getLogger(WebLogAspect.class); @Pointcut("execution(public * com.macro.mall.controller.*.*(..))||execution(public * com.macro.mall.*.controller.*.*(..))") public void webLog() { } @Before("webLog()") public void doBefore(JoinPoint joinPoint) throws Throwable { } @AfterReturning(value = "webLog()", returning = "ret") public void doAfterReturning(Object ret) throws Throwable { } @Around("webLog()") public Object doAround(ProceedingJoinPoint joinPoint) throws Throwable { long startTime = System.currentTimeMillis(); //获取当前请求对象 ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes(); HttpServletRequest request = attributes.getRequest(); //记录请求信息(通过Logstash传入Elasticsearch) WebLog webLog = new WebLog(); Object result = joinPoint.proceed(); Signature signature = joinPoint.getSignature(); MethodSignature methodSignature = (MethodSignature) signature; Method method = methodSignature.getMethod(); if (method.isAnnotationPresent(ApiOperation.class)) { ApiOperation log = method.getAnnotation(ApiOperation.class); webLog.setDescription(log.value()); } long endTime = System.currentTimeMillis(); String urlStr = request.getRequestURL().toString(); webLog.setBasePath(StrUtil.removeSuffix(urlStr, URLUtil.url(urlStr).getPath())); webLog.setUsername(request.getRemoteUser()); webLog.setIp(RequestUtil.getRequestIp(request)); webLog.setMethod(request.getMethod()); webLog.setParameter(getParameter(method, joinPoint.getArgs())); webLog.setResult(result); webLog.setSpendTime((int) (endTime - startTime)); webLog.setStartTime(startTime); webLog.setUri(request.getRequestURI()); webLog.setUrl(request.getRequestURL().toString()); Map logMap = new HashMap<>(); logMap.put("url",webLog.getUrl()); logMap.put("method",webLog.getMethod()); logMap.put("parameter",webLog.getParameter()); logMap.put("spendTime",webLog.getSpendTime()); logMap.put("description",webLog.getDescription()); // LOGGER.info("{}", JSONUtil.parse(webLog)); LOGGER.info(Markers.appendEntries(logMap), JSONUtil.parse(webLog).toString()); return result; } /** * 根据方法和传入的参数获取请求参数 */ private Object getParameter(Method method, Object[] args) { List argList = new ArrayList<>(); Parameter[] parameters = method.getParameters(); for (int i = 0; i < parameters.length; i++) { //将RequestBody注解修饰的参数作为请求参数 RequestBody requestBody = parameters[i].getAnnotation(RequestBody.class); if (requestBody != null) { argList.add(args[i]); } //将RequestParam注解修饰的参数作为请求参数 RequestParam requestParam = parameters[i].getAnnotation(RequestParam.class); if (requestParam != null) { Map map = new HashMap<>(); String key = parameters[i].getName(); if (!StrUtil.isEmpty(requestParam.value())) { key = requestParam.value(); } if(args[i]!=null){ map.put(key, args[i]); argList.add(map); } } } if (argList.size() == 0) { return null; } else if (argList.size() == 1) { return argList.get(0); } else { return argList; } } } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/service/RedisService.java ================================================ package com.macro.mall.common.service; import java.util.List; import java.util.Map; import java.util.Set; /** * Redis操作Service * Created by macro on 2020/3/3. */ public interface RedisService { /** * 保存属性 */ void set(String key, Object value, long time); /** * 保存属性 */ void set(String key, Object value); /** * 获取属性 */ Object get(String key); /** * 删除属性 */ Boolean del(String key); /** * 批量删除属性 */ Long del(List keys); /** * 设置过期时间 */ Boolean expire(String key, long time); /** * 获取过期时间 */ Long getExpire(String key); /** * 判断是否有该属性 */ Boolean hasKey(String key); /** * 按delta递增 */ Long incr(String key, long delta); /** * 按delta递减 */ Long decr(String key, long delta); /** * 获取Hash结构中的属性 */ Object hGet(String key, String hashKey); /** * 向Hash结构中放入一个属性 */ Boolean hSet(String key, String hashKey, Object value, long time); /** * 向Hash结构中放入一个属性 */ void hSet(String key, String hashKey, Object value); /** * 直接获取整个Hash结构 */ Map hGetAll(String key); /** * 直接设置整个Hash结构 */ Boolean hSetAll(String key, Map map, long time); /** * 直接设置整个Hash结构 */ void hSetAll(String key, Map map); /** * 删除Hash结构中的属性 */ void hDel(String key, Object... hashKey); /** * 判断Hash结构中是否有该属性 */ Boolean hHasKey(String key, String hashKey); /** * Hash结构中属性递增 */ Long hIncr(String key, String hashKey, Long delta); /** * Hash结构中属性递减 */ Long hDecr(String key, String hashKey, Long delta); /** * 获取Set结构 */ Set sMembers(String key); /** * 向Set结构中添加属性 */ Long sAdd(String key, Object... values); /** * 向Set结构中添加属性 */ Long sAdd(String key, long time, Object... values); /** * 是否为Set中的属性 */ Boolean sIsMember(String key, Object value); /** * 获取Set结构的长度 */ Long sSize(String key); /** * 删除Set结构中的属性 */ Long sRemove(String key, Object... values); /** * 获取List结构中的属性 */ List lRange(String key, long start, long end); /** * 获取List结构的长度 */ Long lSize(String key); /** * 根据索引获取List中的属性 */ Object lIndex(String key, long index); /** * 向List结构中添加属性 */ Long lPush(String key, Object value); /** * 向List结构中添加属性 */ Long lPush(String key, Object value, long time); /** * 向List结构中批量添加属性 */ Long lPushAll(String key, Object... values); /** * 向List结构中批量添加属性 */ Long lPushAll(String key, Long time, Object... values); /** * 从List结构中移除属性 */ Long lRemove(String key, long count, Object value); } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/service/impl/RedisServiceImpl.java ================================================ package com.macro.mall.common.service.impl; import com.macro.mall.common.service.RedisService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.redis.core.RedisTemplate; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.TimeUnit; /** * Redis操作Service实现类 * Created by macro on 2020/3/3. */ public class RedisServiceImpl implements RedisService { @Autowired private RedisTemplate redisTemplate; @Override public void set(String key, Object value, long time) { redisTemplate.opsForValue().set(key, value, time, TimeUnit.SECONDS); } @Override public void set(String key, Object value) { redisTemplate.opsForValue().set(key, value); } @Override public Object get(String key) { return redisTemplate.opsForValue().get(key); } @Override public Boolean del(String key) { return redisTemplate.delete(key); } @Override public Long del(List keys) { return redisTemplate.delete(keys); } @Override public Boolean expire(String key, long time) { return redisTemplate.expire(key, time, TimeUnit.SECONDS); } @Override public Long getExpire(String key) { return redisTemplate.getExpire(key, TimeUnit.SECONDS); } @Override public Boolean hasKey(String key) { return redisTemplate.hasKey(key); } @Override public Long incr(String key, long delta) { return redisTemplate.opsForValue().increment(key, delta); } @Override public Long decr(String key, long delta) { return redisTemplate.opsForValue().increment(key, -delta); } @Override public Object hGet(String key, String hashKey) { return redisTemplate.opsForHash().get(key, hashKey); } @Override public Boolean hSet(String key, String hashKey, Object value, long time) { redisTemplate.opsForHash().put(key, hashKey, value); return expire(key, time); } @Override public void hSet(String key, String hashKey, Object value) { redisTemplate.opsForHash().put(key, hashKey, value); } @Override public Map hGetAll(String key) { return redisTemplate.opsForHash().entries(key); } @Override public Boolean hSetAll(String key, Map map, long time) { redisTemplate.opsForHash().putAll(key, map); return expire(key, time); } @Override public void hSetAll(String key, Map map) { redisTemplate.opsForHash().putAll(key, map); } @Override public void hDel(String key, Object... hashKey) { redisTemplate.opsForHash().delete(key, hashKey); } @Override public Boolean hHasKey(String key, String hashKey) { return redisTemplate.opsForHash().hasKey(key, hashKey); } @Override public Long hIncr(String key, String hashKey, Long delta) { return redisTemplate.opsForHash().increment(key, hashKey, delta); } @Override public Long hDecr(String key, String hashKey, Long delta) { return redisTemplate.opsForHash().increment(key, hashKey, -delta); } @Override public Set sMembers(String key) { return redisTemplate.opsForSet().members(key); } @Override public Long sAdd(String key, Object... values) { return redisTemplate.opsForSet().add(key, values); } @Override public Long sAdd(String key, long time, Object... values) { Long count = redisTemplate.opsForSet().add(key, values); expire(key, time); return count; } @Override public Boolean sIsMember(String key, Object value) { return redisTemplate.opsForSet().isMember(key, value); } @Override public Long sSize(String key) { return redisTemplate.opsForSet().size(key); } @Override public Long sRemove(String key, Object... values) { return redisTemplate.opsForSet().remove(key, values); } @Override public List lRange(String key, long start, long end) { return redisTemplate.opsForList().range(key, start, end); } @Override public Long lSize(String key) { return redisTemplate.opsForList().size(key); } @Override public Object lIndex(String key, long index) { return redisTemplate.opsForList().index(key, index); } @Override public Long lPush(String key, Object value) { return redisTemplate.opsForList().rightPush(key, value); } @Override public Long lPush(String key, Object value, long time) { Long index = redisTemplate.opsForList().rightPush(key, value); expire(key, time); return index; } @Override public Long lPushAll(String key, Object... values) { return redisTemplate.opsForList().rightPushAll(key, values); } @Override public Long lPushAll(String key, Long time, Object... values) { Long count = redisTemplate.opsForList().rightPushAll(key, values); expire(key, time); return count; } @Override public Long lRemove(String key, long count, Object value) { return redisTemplate.opsForList().remove(key, count, value); } } ================================================ FILE: mall-common/src/main/java/com/macro/mall/common/util/RequestUtil.java ================================================ package com.macro.mall.common.util; import javax.servlet.http.HttpServletRequest; import java.net.InetAddress; import java.net.UnknownHostException; /** * 请求工具类 * Created by macro on 2020/10/8. */ public class RequestUtil { /** * 获取请求真实IP地址 */ public static String getRequestIp(HttpServletRequest request) { //通过HTTP代理服务器转发时添加 String ipAddress = request.getHeader("x-forwarded-for"); if (ipAddress == null || ipAddress.length() == 0 || "unknown".equalsIgnoreCase(ipAddress)) { ipAddress = request.getHeader("Proxy-Client-IP"); } if (ipAddress == null || ipAddress.length() == 0 || "unknown".equalsIgnoreCase(ipAddress)) { ipAddress = request.getHeader("WL-Proxy-Client-IP"); } if (ipAddress == null || ipAddress.length() == 0 || "unknown".equalsIgnoreCase(ipAddress)) { ipAddress = request.getRemoteAddr(); // 从本地访问时根据网卡取本机配置的IP if (ipAddress.equals("127.0.0.1") || ipAddress.equals("0:0:0:0:0:0:0:1")) { InetAddress inetAddress = null; try { inetAddress = InetAddress.getLocalHost(); } catch (UnknownHostException e) { e.printStackTrace(); } ipAddress = inetAddress.getHostAddress(); } } // 通过多个代理转发的情况,第一个IP为客户端真实IP,多个IP会按照','分割 if (ipAddress != null && ipAddress.length() > 15) { if (ipAddress.indexOf(",") > 0) { ipAddress = ipAddress.substring(0, ipAddress.indexOf(",")); } } return ipAddress; } } ================================================ FILE: mall-common/src/main/resources/logback-spring.xml ================================================ DEBUG ${FILE_LOG_PATTERN} UTF-8 ${LOG_FILE_PATH}/debug/${APP_NAME}-%d{yyyy-MM-dd}-%i.log ${LOG_FILE_MAX_SIZE:-10MB} ${LOG_FILE_MAX_HISTORY:-30} ERROR ACCEPT DENY ${FILE_LOG_PATTERN} UTF-8 ${LOG_FILE_PATH}/error/${APP_NAME}-%d{yyyy-MM-dd}-%i.log ${LOG_FILE_MAX_SIZE:-10MB} ${LOG_FILE_MAX_HISTORY:-30} DEBUG ${LOG_STASH_HOST}:4560 ${ENABLE_INNER_LOG} Asia/Shanghai { "project": "mall", "level": "%level", "service": "${APP_NAME:-}", "pid": "${PID:-}", "thread": "%thread", "class": "%logger", "message": "%message", "stack_trace": "%exception{20}" } ERROR ACCEPT DENY ${LOG_STASH_HOST}:4561 ${ENABLE_INNER_LOG} Asia/Shanghai { "project": "mall", "level": "%level", "service": "${APP_NAME:-}", "pid": "${PID:-}", "thread": "%thread", "class": "%logger", "message": "%message", "stack_trace": "%exception{20}" } ${LOG_STASH_HOST}:4562 ${ENABLE_INNER_LOG} Asia/Shanghai { "project": "mall", "level": "%level", "service": "${APP_NAME:-}", "pid": "${PID:-}", "thread": "%thread", "class": "%logger", "message": "%message", "stack_trace": "%exception{20}" } ${LOG_STASH_HOST}:4563 ${ENABLE_INNER_LOG} Asia/Shanghai { "project": "mall", "level": "%level", "service": "${APP_NAME:-}", "class": "%logger", "message": "%message" } ================================================ FILE: mall-demo/.gitignore ================================================ /target/ !.mvn/wrapper/maven-wrapper.jar ### STS ### .apt_generated .classpath .factorypath .project .settings .springBeans .sts4-cache ### IntelliJ IDEA ### .idea *.iws *.iml *.ipr ### NetBeans ### /nbproject/private/ /build/ /nbbuild/ /dist/ /nbdist/ /.nb-gradle/ ================================================ FILE: mall-demo/pom.xml ================================================ 4.0.0 com.macro.mall mall-demo 1.0-SNAPSHOT jar mall-demo mall-demo for mall com.macro.mall mall 1.0-SNAPSHOT com.macro.mall mall-mbg org.springframework.boot spring-boot-starter-thymeleaf org.springframework.boot spring-boot-starter-security net.logstash.logback logstash-logback-encoder org.springframework.boot spring-boot-maven-plugin ================================================ FILE: mall-demo/src/main/java/com/macro/mall/demo/MallDemoApplication.java ================================================ package com.macro.mall.demo; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class MallDemoApplication{ public static void main(String[] args) { SpringApplication.run(MallDemoApplication.class, args); } } ================================================ FILE: mall-demo/src/main/java/com/macro/mall/demo/bo/AdminUserDetails.java ================================================ package com.macro.mall.demo.bo; import com.macro.mall.model.UmsAdmin; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; import java.util.Arrays; import java.util.Collection; /** * SpringSecurity需要的用户详情 * Created by macro on 2018/4/26. */ public class AdminUserDetails implements UserDetails { private UmsAdmin umsAdmin; public AdminUserDetails(UmsAdmin umsAdmin) { this.umsAdmin = umsAdmin; } @Override public Collection getAuthorities() { //返回当前用户的权限 return Arrays.asList(new SimpleGrantedAuthority("TEST")); } @Override public String getPassword() { return umsAdmin.getPassword(); } @Override public String getUsername() { return umsAdmin.getUsername(); } @Override public boolean isAccountNonExpired() { return true; } @Override public boolean isAccountNonLocked() { return true; } @Override public boolean isCredentialsNonExpired() { return true; } @Override public boolean isEnabled() { return true; } } ================================================ FILE: mall-demo/src/main/java/com/macro/mall/demo/config/MyBatisConfig.java ================================================ package com.macro.mall.demo.config; import org.mybatis.spring.annotation.MapperScan; import org.springframework.context.annotation.Configuration; /** * MyBatis相关配置 * Created by macro on 2018/4/26. */ @Configuration @MapperScan("com.macro.mall.mapper") public class MyBatisConfig { } ================================================ FILE: mall-demo/src/main/java/com/macro/mall/demo/config/RestTemplateConfig.java ================================================ package com.macro.mall.demo.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.client.RestTemplate; /** * RestTemplate相关配置 * Created by macro on 2018/4/26. */ @Configuration public class RestTemplateConfig { @Bean public RestTemplate restTemplate(){ return new RestTemplate(); } } ================================================ FILE: mall-demo/src/main/java/com/macro/mall/demo/config/SecurityConfig.java ================================================ package com.macro.mall.demo.config; import com.macro.mall.demo.bo.AdminUserDetails; import com.macro.mall.mapper.UmsAdminMapper; import com.macro.mall.model.UmsAdmin; import com.macro.mall.model.UmsAdminExample; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.core.userdetails.UsernameNotFoundException; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import java.util.List; /** * SpringSecurity相关配置 * Created by macro on 2018/4/26. */ @Configuration @EnableWebSecurity public class SecurityConfig extends WebSecurityConfigurerAdapter { @Autowired private UmsAdminMapper umsAdminMapper; @Override protected void configure(HttpSecurity http) throws Exception { http.authorizeRequests()//配置权限 // .antMatchers("/").access("hasRole('TEST')")//该路径需要TEST角色 // .antMatchers("/brand/list").hasAuthority("TEST")//该路径需要TEST权限 .antMatchers("/**").permitAll() .and()//启用基于http的认证 .httpBasic() .realmName("/") .and()//配置登录页面 .formLogin() .loginPage("/login") .failureUrl("/login?error=true") .and()//配置退出路径 .logout() .logoutSuccessUrl("/") // .and()//记住密码功能 // .rememberMe() // .tokenValiditySeconds(60*60*24) // .key("rememberMeKey") .and()//关闭跨域伪造 .csrf() .disable() .headers()//去除X-Frame-Options .frameOptions() .disable(); } @Override protected void configure(AuthenticationManagerBuilder auth) throws Exception { auth.userDetailsService(userDetailsService()).passwordEncoder(new BCryptPasswordEncoder()); } @Bean public UserDetailsService userDetailsService() { //获取登录用户信息 return new UserDetailsService() { @Override public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException { UmsAdminExample example = new UmsAdminExample(); example.createCriteria().andUsernameEqualTo(username); List umsAdminList = umsAdminMapper.selectByExample(example); if (umsAdminList != null && umsAdminList.size() > 0) { return new AdminUserDetails(umsAdminList.get(0)); } throw new UsernameNotFoundException("用户名或密码错误"); } }; } } ================================================ FILE: mall-demo/src/main/java/com/macro/mall/demo/config/SwaggerConfig.java ================================================ package com.macro.mall.demo.config; import com.macro.mall.common.config.BaseSwaggerConfig; import com.macro.mall.common.domain.SwaggerProperties; import org.springframework.beans.factory.config.BeanPostProcessor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.swagger2.annotations.EnableSwagger2; /** * Swagger API文档相关配置 * Created by macro on 2018/4/26. */ @Configuration @EnableSwagger2 public class SwaggerConfig extends BaseSwaggerConfig { @Override public SwaggerProperties swaggerProperties() { return SwaggerProperties.builder() .apiBasePackage("com.macro.mall.demo.controller") .title("mall-demo系统") .description("SpringBoot版本中的一些示例") .contactName("macro") .version("1.0") .enableSecurity(true) .build(); } @Bean public BeanPostProcessor springfoxHandlerProviderBeanPostProcessor() { return generateBeanPostProcessor(); } } ================================================ FILE: mall-demo/src/main/java/com/macro/mall/demo/controller/DemoController.java ================================================ package com.macro.mall.demo.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.demo.dto.PmsBrandDto; import com.macro.mall.demo.service.DemoService; import com.macro.mall.model.PmsBrand; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 品牌管理示例controller * Created by macro on 2019/4/8. */ @Api(tags = "DemoController") @Tag(name = "DemoController",description = "品牌管理示例接口") @Controller public class DemoController { @Autowired private DemoService demoService; private static final Logger LOGGER = LoggerFactory.getLogger(DemoController.class); @ApiOperation(value = "获取全部品牌列表") @RequestMapping(value = "/brand/listAll", method = RequestMethod.GET) @ResponseBody public CommonResult> getBrandList() { return CommonResult.success(demoService.listAllBrand()); } @ApiOperation(value = "添加品牌") @RequestMapping(value = "/brand/create", method = RequestMethod.POST) @ResponseBody public CommonResult createBrand(@Validated @RequestBody PmsBrandDto pmsBrand) { CommonResult commonResult; int count = demoService.createBrand(pmsBrand); if (count == 1) { commonResult = CommonResult.success(pmsBrand); LOGGER.debug("createBrand success:{}", pmsBrand); } else { commonResult = CommonResult.failed("操作失败"); LOGGER.debug("createBrand failed:{}", pmsBrand); } return commonResult; } @ApiOperation(value = "更新品牌") @RequestMapping(value = "/brand/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult updateBrand(@PathVariable("id") Long id, @Validated @RequestBody PmsBrandDto pmsBrandDto) { CommonResult commonResult; int count = demoService.updateBrand(id, pmsBrandDto); if (count == 1) { commonResult = CommonResult.success(pmsBrandDto); LOGGER.debug("updateBrand success:{}", pmsBrandDto); } else { commonResult = CommonResult.failed("操作失败"); LOGGER.debug("updateBrand failed:{}", pmsBrandDto); } return commonResult; } @ApiOperation(value = "删除品牌") @RequestMapping(value = "/brand/delete/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult deleteBrand(@PathVariable("id") Long id) { int count = demoService.deleteBrand(id); if (count == 1) { LOGGER.debug("deleteBrand success :id={}", id); return CommonResult.success(null); } else { LOGGER.debug("deleteBrand failed :id={}", id); return CommonResult.failed("操作失败"); } } @ApiOperation(value = "分页获取品牌列表") @RequestMapping(value = "/brand/list", method = RequestMethod.GET) @ResponseBody public CommonResult> listBrand(@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum, @RequestParam(value = "pageSize", defaultValue = "3") Integer pageSize) { List brandList = demoService.listBrand(pageNum, pageSize); return CommonResult.success(CommonPage.restPage(brandList)); } @ApiOperation(value = "根据编号查询品牌信息") @RequestMapping(value = "/brand/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult brand(@PathVariable("id") Long id) { return CommonResult.success(demoService.getBrand(id)); } } ================================================ FILE: mall-demo/src/main/java/com/macro/mall/demo/controller/RestTemplateDemoController.java ================================================ package com.macro.mall.demo.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.PmsBrand; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.HttpEntity; import org.springframework.http.HttpHeaders; import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; import org.springframework.stereotype.Controller; import org.springframework.util.LinkedMultiValueMap; import org.springframework.util.MultiValueMap; import org.springframework.web.bind.annotation.*; import org.springframework.web.client.RestTemplate; import org.springframework.web.util.UriComponents; import org.springframework.web.util.UriComponentsBuilder; import java.util.HashMap; import java.util.Map; /** * RestTemplate示例Controller * Created by macro on 2018/9/17. */ @Api(tags = "RestTemplateDemoController", description = "RestTemplate示例") @Controller @RequestMapping("/template") public class RestTemplateDemoController { @Autowired private RestTemplate restTemplate; @Value("${host.mall.admin}") private String HOST_MALL_ADMIN; @ApiOperation("getForEntity url") @RequestMapping(value = "/get/{id}", method = RequestMethod.GET) @ResponseBody public Object getForEntity(@PathVariable Long id) { String url = HOST_MALL_ADMIN + "/brand/{id}"; ResponseEntity responseEntity = restTemplate.getForEntity(url, CommonResult.class, id); return responseEntity.getBody(); } @ApiOperation("getForEntity params") @RequestMapping(value = "/get2/{id}", method = RequestMethod.GET) @ResponseBody public Object getForEntity2(@PathVariable Long id) { String url = HOST_MALL_ADMIN + "/brand/{id}"; Map params = new HashMap<>(); params.put("id", String.valueOf(id)); ResponseEntity responseEntity = restTemplate.getForEntity(url, CommonResult.class, params); return responseEntity.getBody(); } @ApiOperation("getForEntity Uri") @RequestMapping(value = "/get3/{id}", method = RequestMethod.GET) @ResponseBody public Object getForEntity3(@PathVariable Long id) { String url = HOST_MALL_ADMIN + "/brand/{id}"; UriComponents uriComponents = UriComponentsBuilder.fromUriString(url).build().expand(id).encode(); ResponseEntity responseEntity = restTemplate.getForEntity(uriComponents.toUri(), CommonResult.class); return responseEntity.getBody(); } @ApiOperation("getForObject url") @RequestMapping(value = "/get4/{id}", method = RequestMethod.GET) @ResponseBody public Object getForObject(@PathVariable Long id) { String url = HOST_MALL_ADMIN + "/brand/{id}"; CommonResult commonResult = restTemplate.getForObject(url, CommonResult.class, id); return commonResult; } @ApiOperation("postForEntity jsonBody") @RequestMapping(value = "/post", method = RequestMethod.POST) @ResponseBody public Object postForEntity(@RequestBody PmsBrand brand) { String url = HOST_MALL_ADMIN + "/brand/create"; ResponseEntity responseEntity = restTemplate.postForEntity(url, brand, CommonResult.class); return responseEntity.getBody(); } @ApiOperation("postForEntity jsonBody") @RequestMapping(value = "/post2", method = RequestMethod.POST) @ResponseBody public Object postForObject(@RequestBody PmsBrand brand) { String url = HOST_MALL_ADMIN + "/brand/create"; CommonResult commonResult = restTemplate.postForObject(url, brand, CommonResult.class); return commonResult; } @ApiOperation("postForEntity form") @RequestMapping(value = "/post3", method = RequestMethod.POST) @ResponseBody public Object postForEntity3(@RequestParam String name) { String url = HOST_MALL_ADMIN + "/productAttribute/category/create"; //设置头信息 HttpHeaders headers = new HttpHeaders(); headers.setContentType(MediaType.APPLICATION_FORM_URLENCODED); //构造表单参数 MultiValueMap params= new LinkedMultiValueMap<>(); params.add("name", name); HttpEntity> requestEntity = new HttpEntity<>(params, headers); ResponseEntity responseEntity = restTemplate.postForEntity(url, requestEntity, CommonResult.class); return responseEntity.getBody(); } } ================================================ FILE: mall-demo/src/main/java/com/macro/mall/demo/dto/PmsBrandDto.java ================================================ package com.macro.mall.demo.dto; import com.macro.mall.demo.validator.FlagValidator; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import javax.validation.constraints.Min; import javax.validation.constraints.NotNull; /** * 品牌传递参数 * Created by macro on 2019/4/8. */ @ApiModel(value = "PmsBrandDto") public class PmsBrandDto { @ApiModelProperty(value = "品牌名称",required = true) @NotNull(message = "名称不能为空") private String name; @ApiModelProperty(value = "品牌首字母",required = true) @NotNull(message = "首字母不能为空") private String firstLetter; @ApiModelProperty(value = "排序字段") @Min(value = 0, message = "排序最小为0") private Integer sort; @ApiModelProperty(value = "是否为厂家制造商") @FlagValidator(value = {"0","1"}, message = "厂家状态不正确") private Integer factoryStatus; @ApiModelProperty(value = "是否进行显示") @FlagValidator(value = {"0","1"}, message = "显示状态不正确") private Integer showStatus; @ApiModelProperty(value = "品牌logo") private String logo; @ApiModelProperty(value = "品牌大图") private String bigPic; @ApiModelProperty(value = "品牌故事") private String brandStory; 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 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; } } ================================================ FILE: mall-demo/src/main/java/com/macro/mall/demo/service/DemoService.java ================================================ package com.macro.mall.demo.service; import com.macro.mall.demo.dto.PmsBrandDto; import com.macro.mall.model.PmsBrand; import java.util.List; /** * DemoService接口 * Created by macro on 2019/4/8. */ public interface DemoService { List listAllBrand(); int createBrand(PmsBrandDto pmsBrandDto); int updateBrand(Long id, PmsBrandDto pmsBrandDto); int deleteBrand(Long id); List listBrand(int pageNum, int pageSize); PmsBrand getBrand(Long id); } ================================================ FILE: mall-demo/src/main/java/com/macro/mall/demo/service/impl/DemoServiceImpl.java ================================================ package com.macro.mall.demo.service.impl; import com.github.pagehelper.PageHelper; import com.macro.mall.demo.dto.PmsBrandDto; import com.macro.mall.demo.service.DemoService; import com.macro.mall.mapper.PmsBrandMapper; import com.macro.mall.model.PmsBrand; import com.macro.mall.model.PmsBrandExample; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * DemoService实现类 * Created by macro on 2019/4/8. */ @Service public class DemoServiceImpl implements DemoService { @Autowired private PmsBrandMapper brandMapper; @Override public List listAllBrand() { return brandMapper.selectByExample(new PmsBrandExample()); } @Override public int createBrand(PmsBrandDto pmsBrandDto) { PmsBrand pmsBrand = new PmsBrand(); BeanUtils.copyProperties(pmsBrandDto,pmsBrand); return brandMapper.insertSelective(pmsBrand); } @Override public int updateBrand(Long id, PmsBrandDto pmsBrandDto) { PmsBrand pmsBrand = new PmsBrand(); BeanUtils.copyProperties(pmsBrandDto,pmsBrand); pmsBrand.setId(id); return brandMapper.updateByPrimaryKeySelective(pmsBrand); } @Override public int deleteBrand(Long id) { return brandMapper.deleteByPrimaryKey(id); } @Override public List listBrand(int pageNum, int pageSize) { PageHelper.startPage(pageNum, pageSize); return brandMapper.selectByExample(new PmsBrandExample()); } @Override public PmsBrand getBrand(Long id) { return brandMapper.selectByPrimaryKey(id); } } ================================================ FILE: mall-demo/src/main/java/com/macro/mall/demo/validator/FlagValidator.java ================================================ package com.macro.mall.demo.validator; import javax.validation.Constraint; import javax.validation.Payload; import java.lang.annotation.*; /** * 用户验证状态是否在指定范围内的注解 */ @Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD,ElementType.PARAMETER}) @Constraint(validatedBy = FlagValidatorClass.class) public @interface FlagValidator { String[] value() default {}; String message() default "flag is not found"; Class[] groups() default {}; Class[] payload() default {}; } ================================================ FILE: mall-demo/src/main/java/com/macro/mall/demo/validator/FlagValidatorClass.java ================================================ package com.macro.mall.demo.validator; import javax.validation.ConstraintValidator; import javax.validation.ConstraintValidatorContext; /** * 状态标记校验器 */ public class FlagValidatorClass implements ConstraintValidator { private String[] values; @Override public void initialize(FlagValidator flagValidator) { this.values = flagValidator.value(); } @Override public boolean isValid(Integer value, ConstraintValidatorContext constraintValidatorContext) { boolean isValid = false; for(int i=0;i 4.0.0 com.macro.mall mall-mbg 1.0-SNAPSHOT jar mall-mbg mall-mbg project for mall com.macro.mall mall 1.0-SNAPSHOT com.macro.mall mall-common com.github.pagehelper pagehelper-spring-boot-starter com.alibaba druid-spring-boot-starter org.mybatis.generator mybatis-generator-core mysql mysql-connector-java ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/CommentGenerator.java ================================================ 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.annotations.ApiModelProperty"; /** * 设置用户配置的参数 */ @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("@ApiModelProperty(value = \""+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)); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/Generator.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpCategoryMapper.java ================================================ 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 record); int insertSelective(CmsHelpCategory record); List selectByExample(CmsHelpCategoryExample example); CmsHelpCategory selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") CmsHelpCategory record, @Param("example") CmsHelpCategoryExample example); int updateByExample(@Param("record") CmsHelpCategory record, @Param("example") CmsHelpCategoryExample example); int updateByPrimaryKeySelective(CmsHelpCategory record); int updateByPrimaryKey(CmsHelpCategory record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpMapper.java ================================================ 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 record); int insertSelective(CmsHelp record); List selectByExampleWithBLOBs(CmsHelpExample example); List selectByExample(CmsHelpExample example); CmsHelp selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example); int updateByExampleWithBLOBs(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example); int updateByExample(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example); int updateByPrimaryKeySelective(CmsHelp record); int updateByPrimaryKeyWithBLOBs(CmsHelp record); int updateByPrimaryKey(CmsHelp record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/CmsMemberReportMapper.java ================================================ 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 record); int insertSelective(CmsMemberReport record); List selectByExample(CmsMemberReportExample example); int updateByExampleSelective(@Param("record") CmsMemberReport record, @Param("example") CmsMemberReportExample example); int updateByExample(@Param("record") CmsMemberReport record, @Param("example") CmsMemberReportExample example); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaMapper.java ================================================ 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 record); int insertSelective(CmsPrefrenceArea record); List selectByExampleWithBLOBs(CmsPrefrenceAreaExample example); List selectByExample(CmsPrefrenceAreaExample example); CmsPrefrenceArea selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example); int updateByExampleWithBLOBs(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example); int updateByExample(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example); int updateByPrimaryKeySelective(CmsPrefrenceArea record); int updateByPrimaryKeyWithBLOBs(CmsPrefrenceArea record); int updateByPrimaryKey(CmsPrefrenceArea record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java ================================================ 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 record); int insertSelective(CmsPrefrenceAreaProductRelation record); List selectByExample(CmsPrefrenceAreaProductRelationExample example); CmsPrefrenceAreaProductRelation selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") CmsPrefrenceAreaProductRelation record, @Param("example") CmsPrefrenceAreaProductRelationExample example); int updateByExample(@Param("record") CmsPrefrenceAreaProductRelation record, @Param("example") CmsPrefrenceAreaProductRelationExample example); int updateByPrimaryKeySelective(CmsPrefrenceAreaProductRelation record); int updateByPrimaryKey(CmsPrefrenceAreaProductRelation record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCategoryMapper.java ================================================ 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 record); int insertSelective(CmsSubjectCategory record); List selectByExample(CmsSubjectCategoryExample example); CmsSubjectCategory selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") CmsSubjectCategory record, @Param("example") CmsSubjectCategoryExample example); int updateByExample(@Param("record") CmsSubjectCategory record, @Param("example") CmsSubjectCategoryExample example); int updateByPrimaryKeySelective(CmsSubjectCategory record); int updateByPrimaryKey(CmsSubjectCategory record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCommentMapper.java ================================================ 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 record); int insertSelective(CmsSubjectComment record); List selectByExample(CmsSubjectCommentExample example); CmsSubjectComment selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") CmsSubjectComment record, @Param("example") CmsSubjectCommentExample example); int updateByExample(@Param("record") CmsSubjectComment record, @Param("example") CmsSubjectCommentExample example); int updateByPrimaryKeySelective(CmsSubjectComment record); int updateByPrimaryKey(CmsSubjectComment record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectMapper.java ================================================ 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 record); int insertSelective(CmsSubject record); List selectByExampleWithBLOBs(CmsSubjectExample example); List selectByExample(CmsSubjectExample example); CmsSubject selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); int updateByExampleWithBLOBs(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); int updateByExample(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); int updateByPrimaryKeySelective(CmsSubject record); int updateByPrimaryKeyWithBLOBs(CmsSubject record); int updateByPrimaryKey(CmsSubject record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectProductRelationMapper.java ================================================ 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 record); int insertSelective(CmsSubjectProductRelation record); List selectByExample(CmsSubjectProductRelationExample example); CmsSubjectProductRelation selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") CmsSubjectProductRelation record, @Param("example") CmsSubjectProductRelationExample example); int updateByExample(@Param("record") CmsSubjectProductRelation record, @Param("example") CmsSubjectProductRelationExample example); int updateByPrimaryKeySelective(CmsSubjectProductRelation record); int updateByPrimaryKey(CmsSubjectProductRelation record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCategoryMapper.java ================================================ 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 record); int insertSelective(CmsTopicCategory record); List selectByExample(CmsTopicCategoryExample example); CmsTopicCategory selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") CmsTopicCategory record, @Param("example") CmsTopicCategoryExample example); int updateByExample(@Param("record") CmsTopicCategory record, @Param("example") CmsTopicCategoryExample example); int updateByPrimaryKeySelective(CmsTopicCategory record); int updateByPrimaryKey(CmsTopicCategory record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCommentMapper.java ================================================ 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 record); int insertSelective(CmsTopicComment record); List selectByExample(CmsTopicCommentExample example); CmsTopicComment selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") CmsTopicComment record, @Param("example") CmsTopicCommentExample example); int updateByExample(@Param("record") CmsTopicComment record, @Param("example") CmsTopicCommentExample example); int updateByPrimaryKeySelective(CmsTopicComment record); int updateByPrimaryKey(CmsTopicComment record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicMapper.java ================================================ 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 record); int insertSelective(CmsTopic record); List selectByExampleWithBLOBs(CmsTopicExample example); List selectByExample(CmsTopicExample example); CmsTopic selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example); int updateByExampleWithBLOBs(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example); int updateByExample(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example); int updateByPrimaryKeySelective(CmsTopic record); int updateByPrimaryKeyWithBLOBs(CmsTopic record); int updateByPrimaryKey(CmsTopic record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/OmsCartItemMapper.java ================================================ 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 record); int insertSelective(OmsCartItem record); List selectByExample(OmsCartItemExample example); OmsCartItem selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") OmsCartItem record, @Param("example") OmsCartItemExample example); int updateByExample(@Param("record") OmsCartItem record, @Param("example") OmsCartItemExample example); int updateByPrimaryKeySelective(OmsCartItem record); int updateByPrimaryKey(OmsCartItem record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/OmsCompanyAddressMapper.java ================================================ 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 record); int insertSelective(OmsCompanyAddress record); List selectByExample(OmsCompanyAddressExample example); OmsCompanyAddress selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") OmsCompanyAddress record, @Param("example") OmsCompanyAddressExample example); int updateByExample(@Param("record") OmsCompanyAddress record, @Param("example") OmsCompanyAddressExample example); int updateByPrimaryKeySelective(OmsCompanyAddress record); int updateByPrimaryKey(OmsCompanyAddress record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderItemMapper.java ================================================ 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 record); int insertSelective(OmsOrderItem record); List selectByExample(OmsOrderItemExample example); OmsOrderItem selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") OmsOrderItem record, @Param("example") OmsOrderItemExample example); int updateByExample(@Param("record") OmsOrderItem record, @Param("example") OmsOrderItemExample example); int updateByPrimaryKeySelective(OmsOrderItem record); int updateByPrimaryKey(OmsOrderItem record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderMapper.java ================================================ 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 record); int insertSelective(OmsOrder record); List selectByExample(OmsOrderExample example); OmsOrder selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") OmsOrder record, @Param("example") OmsOrderExample example); int updateByExample(@Param("record") OmsOrder record, @Param("example") OmsOrderExample example); int updateByPrimaryKeySelective(OmsOrder record); int updateByPrimaryKey(OmsOrder record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.java ================================================ 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 record); int insertSelective(OmsOrderOperateHistory record); List selectByExample(OmsOrderOperateHistoryExample example); OmsOrderOperateHistory selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") OmsOrderOperateHistory record, @Param("example") OmsOrderOperateHistoryExample example); int updateByExample(@Param("record") OmsOrderOperateHistory record, @Param("example") OmsOrderOperateHistoryExample example); int updateByPrimaryKeySelective(OmsOrderOperateHistory record); int updateByPrimaryKey(OmsOrderOperateHistory record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnApplyMapper.java ================================================ 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 record); int insertSelective(OmsOrderReturnApply record); List selectByExample(OmsOrderReturnApplyExample example); OmsOrderReturnApply selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") OmsOrderReturnApply record, @Param("example") OmsOrderReturnApplyExample example); int updateByExample(@Param("record") OmsOrderReturnApply record, @Param("example") OmsOrderReturnApplyExample example); int updateByPrimaryKeySelective(OmsOrderReturnApply record); int updateByPrimaryKey(OmsOrderReturnApply record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnReasonMapper.java ================================================ 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 record); int insertSelective(OmsOrderReturnReason record); List selectByExample(OmsOrderReturnReasonExample example); OmsOrderReturnReason selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); int updateByExample(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); int updateByPrimaryKeySelective(OmsOrderReturnReason record); int updateByPrimaryKey(OmsOrderReturnReason record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderSettingMapper.java ================================================ 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 record); int insertSelective(OmsOrderSetting record); List selectByExample(OmsOrderSettingExample example); OmsOrderSetting selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") OmsOrderSetting record, @Param("example") OmsOrderSettingExample example); int updateByExample(@Param("record") OmsOrderSetting record, @Param("example") OmsOrderSettingExample example); int updateByPrimaryKeySelective(OmsOrderSetting record); int updateByPrimaryKey(OmsOrderSetting record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumMapper.java ================================================ 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 record); int insertSelective(PmsAlbum record); List selectByExample(PmsAlbumExample example); PmsAlbum selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsAlbum record, @Param("example") PmsAlbumExample example); int updateByExample(@Param("record") PmsAlbum record, @Param("example") PmsAlbumExample example); int updateByPrimaryKeySelective(PmsAlbum record); int updateByPrimaryKey(PmsAlbum record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumPicMapper.java ================================================ 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 record); int insertSelective(PmsAlbumPic record); List selectByExample(PmsAlbumPicExample example); PmsAlbumPic selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsAlbumPic record, @Param("example") PmsAlbumPicExample example); int updateByExample(@Param("record") PmsAlbumPic record, @Param("example") PmsAlbumPicExample example); int updateByPrimaryKeySelective(PmsAlbumPic record); int updateByPrimaryKey(PmsAlbumPic record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsBrandMapper.java ================================================ 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 record); int insertSelective(PmsBrand record); List selectByExampleWithBLOBs(PmsBrandExample example); List selectByExample(PmsBrandExample example); PmsBrand selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example); int updateByExampleWithBLOBs(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example); int updateByExample(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example); int updateByPrimaryKeySelective(PmsBrand record); int updateByPrimaryKeyWithBLOBs(PmsBrand record); int updateByPrimaryKey(PmsBrand record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentMapper.java ================================================ 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 record); int insertSelective(PmsComment record); List selectByExampleWithBLOBs(PmsCommentExample example); List selectByExample(PmsCommentExample example); PmsComment selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsComment record, @Param("example") PmsCommentExample example); int updateByExampleWithBLOBs(@Param("record") PmsComment record, @Param("example") PmsCommentExample example); int updateByExample(@Param("record") PmsComment record, @Param("example") PmsCommentExample example); int updateByPrimaryKeySelective(PmsComment record); int updateByPrimaryKeyWithBLOBs(PmsComment record); int updateByPrimaryKey(PmsComment record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentReplayMapper.java ================================================ 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 record); int insertSelective(PmsCommentReplay record); List selectByExample(PmsCommentReplayExample example); PmsCommentReplay selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsCommentReplay record, @Param("example") PmsCommentReplayExample example); int updateByExample(@Param("record") PmsCommentReplay record, @Param("example") PmsCommentReplayExample example); int updateByPrimaryKeySelective(PmsCommentReplay record); int updateByPrimaryKey(PmsCommentReplay record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsFeightTemplateMapper.java ================================================ 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 record); int insertSelective(PmsFeightTemplate record); List selectByExample(PmsFeightTemplateExample example); PmsFeightTemplate selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsFeightTemplate record, @Param("example") PmsFeightTemplateExample example); int updateByExample(@Param("record") PmsFeightTemplate record, @Param("example") PmsFeightTemplateExample example); int updateByPrimaryKeySelective(PmsFeightTemplate record); int updateByPrimaryKey(PmsFeightTemplate record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsMemberPriceMapper.java ================================================ 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 record); int insertSelective(PmsMemberPrice record); List selectByExample(PmsMemberPriceExample example); PmsMemberPrice selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); int updateByExample(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); int updateByPrimaryKeySelective(PmsMemberPrice record); int updateByPrimaryKey(PmsMemberPrice record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.java ================================================ 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 record); int insertSelective(PmsProductAttributeCategory record); List selectByExample(PmsProductAttributeCategoryExample example); PmsProductAttributeCategory selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsProductAttributeCategory record, @Param("example") PmsProductAttributeCategoryExample example); int updateByExample(@Param("record") PmsProductAttributeCategory record, @Param("example") PmsProductAttributeCategoryExample example); int updateByPrimaryKeySelective(PmsProductAttributeCategory record); int updateByPrimaryKey(PmsProductAttributeCategory record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeMapper.java ================================================ 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 record); int insertSelective(PmsProductAttribute record); List selectByExample(PmsProductAttributeExample example); PmsProductAttribute selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsProductAttribute record, @Param("example") PmsProductAttributeExample example); int updateByExample(@Param("record") PmsProductAttribute record, @Param("example") PmsProductAttributeExample example); int updateByPrimaryKeySelective(PmsProductAttribute record); int updateByPrimaryKey(PmsProductAttribute record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeValueMapper.java ================================================ 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 record); int insertSelective(PmsProductAttributeValue record); List selectByExample(PmsProductAttributeValueExample example); PmsProductAttributeValue selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsProductAttributeValue record, @Param("example") PmsProductAttributeValueExample example); int updateByExample(@Param("record") PmsProductAttributeValue record, @Param("example") PmsProductAttributeValueExample example); int updateByPrimaryKeySelective(PmsProductAttributeValue record); int updateByPrimaryKey(PmsProductAttributeValue record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.java ================================================ 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 record); int insertSelective(PmsProductCategoryAttributeRelation record); List selectByExample(PmsProductCategoryAttributeRelationExample example); PmsProductCategoryAttributeRelation selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsProductCategoryAttributeRelation record, @Param("example") PmsProductCategoryAttributeRelationExample example); int updateByExample(@Param("record") PmsProductCategoryAttributeRelation record, @Param("example") PmsProductCategoryAttributeRelationExample example); int updateByPrimaryKeySelective(PmsProductCategoryAttributeRelation record); int updateByPrimaryKey(PmsProductCategoryAttributeRelation record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryMapper.java ================================================ 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 record); int insertSelective(PmsProductCategory record); List selectByExampleWithBLOBs(PmsProductCategoryExample example); List selectByExample(PmsProductCategoryExample example); PmsProductCategory selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example); int updateByExampleWithBLOBs(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example); int updateByExample(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example); int updateByPrimaryKeySelective(PmsProductCategory record); int updateByPrimaryKeyWithBLOBs(PmsProductCategory record); int updateByPrimaryKey(PmsProductCategory record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java ================================================ 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 record); int insertSelective(PmsProductFullReduction record); List selectByExample(PmsProductFullReductionExample example); PmsProductFullReduction selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example); int updateByExample(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example); int updateByPrimaryKeySelective(PmsProductFullReduction record); int updateByPrimaryKey(PmsProductFullReduction record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductLadderMapper.java ================================================ 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 record); int insertSelective(PmsProductLadder record); List selectByExample(PmsProductLadderExample example); PmsProductLadder selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example); int updateByExample(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example); int updateByPrimaryKeySelective(PmsProductLadder record); int updateByPrimaryKey(PmsProductLadder record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductMapper.java ================================================ 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 record); int insertSelective(PmsProduct record); List selectByExampleWithBLOBs(PmsProductExample example); List selectByExample(PmsProductExample example); PmsProduct selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); int updateByExampleWithBLOBs(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); int updateByExample(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); int updateByPrimaryKeySelective(PmsProduct record); int updateByPrimaryKeyWithBLOBs(PmsProduct record); int updateByPrimaryKey(PmsProduct record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductOperateLogMapper.java ================================================ 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 record); int insertSelective(PmsProductOperateLog record); List selectByExample(PmsProductOperateLogExample example); PmsProductOperateLog selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example); int updateByExample(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example); int updateByPrimaryKeySelective(PmsProductOperateLog record); int updateByPrimaryKey(PmsProductOperateLog record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductVertifyRecordMapper.java ================================================ 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 record); int insertSelective(PmsProductVertifyRecord record); List selectByExample(PmsProductVertifyRecordExample example); PmsProductVertifyRecord selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example); int updateByExample(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example); int updateByPrimaryKeySelective(PmsProductVertifyRecord record); int updateByPrimaryKey(PmsProductVertifyRecord record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/PmsSkuStockMapper.java ================================================ 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 record); int insertSelective(PmsSkuStock record); List selectByExample(PmsSkuStockExample example); PmsSkuStock selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); int updateByExample(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); int updateByPrimaryKeySelective(PmsSkuStock record); int updateByPrimaryKey(PmsSkuStock record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponHistoryMapper.java ================================================ 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 record); int insertSelective(SmsCouponHistory record); List selectByExample(SmsCouponHistoryExample example); SmsCouponHistory selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") SmsCouponHistory record, @Param("example") SmsCouponHistoryExample example); int updateByExample(@Param("record") SmsCouponHistory record, @Param("example") SmsCouponHistoryExample example); int updateByPrimaryKeySelective(SmsCouponHistory record); int updateByPrimaryKey(SmsCouponHistory record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponMapper.java ================================================ 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 record); int insertSelective(SmsCoupon record); List selectByExample(SmsCouponExample example); SmsCoupon selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") SmsCoupon record, @Param("example") SmsCouponExample example); int updateByExample(@Param("record") SmsCoupon record, @Param("example") SmsCouponExample example); int updateByPrimaryKeySelective(SmsCoupon record); int updateByPrimaryKey(SmsCoupon record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.java ================================================ 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 record); int insertSelective(SmsCouponProductCategoryRelation record); List selectByExample(SmsCouponProductCategoryRelationExample example); SmsCouponProductCategoryRelation selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") SmsCouponProductCategoryRelation record, @Param("example") SmsCouponProductCategoryRelationExample example); int updateByExample(@Param("record") SmsCouponProductCategoryRelation record, @Param("example") SmsCouponProductCategoryRelationExample example); int updateByPrimaryKeySelective(SmsCouponProductCategoryRelation record); int updateByPrimaryKey(SmsCouponProductCategoryRelation record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductRelationMapper.java ================================================ 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 record); int insertSelective(SmsCouponProductRelation record); List selectByExample(SmsCouponProductRelationExample example); SmsCouponProductRelation selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") SmsCouponProductRelation record, @Param("example") SmsCouponProductRelationExample example); int updateByExample(@Param("record") SmsCouponProductRelation record, @Param("example") SmsCouponProductRelationExample example); int updateByPrimaryKeySelective(SmsCouponProductRelation record); int updateByPrimaryKey(SmsCouponProductRelation record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionLogMapper.java ================================================ 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 record); int insertSelective(SmsFlashPromotionLog record); List selectByExample(SmsFlashPromotionLogExample example); SmsFlashPromotionLog selectByPrimaryKey(Integer id); int updateByExampleSelective(@Param("record") SmsFlashPromotionLog record, @Param("example") SmsFlashPromotionLogExample example); int updateByExample(@Param("record") SmsFlashPromotionLog record, @Param("example") SmsFlashPromotionLogExample example); int updateByPrimaryKeySelective(SmsFlashPromotionLog record); int updateByPrimaryKey(SmsFlashPromotionLog record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionMapper.java ================================================ 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 record); int insertSelective(SmsFlashPromotion record); List selectByExample(SmsFlashPromotionExample example); SmsFlashPromotion selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); int updateByExample(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); int updateByPrimaryKeySelective(SmsFlashPromotion record); int updateByPrimaryKey(SmsFlashPromotion record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.java ================================================ 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 record); int insertSelective(SmsFlashPromotionProductRelation record); List selectByExample(SmsFlashPromotionProductRelationExample example); SmsFlashPromotionProductRelation selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") SmsFlashPromotionProductRelation record, @Param("example") SmsFlashPromotionProductRelationExample example); int updateByExample(@Param("record") SmsFlashPromotionProductRelation record, @Param("example") SmsFlashPromotionProductRelationExample example); int updateByPrimaryKeySelective(SmsFlashPromotionProductRelation record); int updateByPrimaryKey(SmsFlashPromotionProductRelation record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.java ================================================ 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 record); int insertSelective(SmsFlashPromotionSession record); List selectByExample(SmsFlashPromotionSessionExample example); SmsFlashPromotionSession selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example); int updateByExample(@Param("record") SmsFlashPromotionSession record, @Param("example") SmsFlashPromotionSessionExample example); int updateByPrimaryKeySelective(SmsFlashPromotionSession record); int updateByPrimaryKey(SmsFlashPromotionSession record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeAdvertiseMapper.java ================================================ 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 record); int insertSelective(SmsHomeAdvertise record); List selectByExample(SmsHomeAdvertiseExample example); SmsHomeAdvertise selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") SmsHomeAdvertise record, @Param("example") SmsHomeAdvertiseExample example); int updateByExample(@Param("record") SmsHomeAdvertise record, @Param("example") SmsHomeAdvertiseExample example); int updateByPrimaryKeySelective(SmsHomeAdvertise record); int updateByPrimaryKey(SmsHomeAdvertise record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeBrandMapper.java ================================================ 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 record); int insertSelective(SmsHomeBrand record); List selectByExample(SmsHomeBrandExample example); SmsHomeBrand selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") SmsHomeBrand record, @Param("example") SmsHomeBrandExample example); int updateByExample(@Param("record") SmsHomeBrand record, @Param("example") SmsHomeBrandExample example); int updateByPrimaryKeySelective(SmsHomeBrand record); int updateByPrimaryKey(SmsHomeBrand record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeNewProductMapper.java ================================================ 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 record); int insertSelective(SmsHomeNewProduct record); List selectByExample(SmsHomeNewProductExample example); SmsHomeNewProduct selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") SmsHomeNewProduct record, @Param("example") SmsHomeNewProductExample example); int updateByExample(@Param("record") SmsHomeNewProduct record, @Param("example") SmsHomeNewProductExample example); int updateByPrimaryKeySelective(SmsHomeNewProduct record); int updateByPrimaryKey(SmsHomeNewProduct record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendProductMapper.java ================================================ 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 record); int insertSelective(SmsHomeRecommendProduct record); List selectByExample(SmsHomeRecommendProductExample example); SmsHomeRecommendProduct selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") SmsHomeRecommendProduct record, @Param("example") SmsHomeRecommendProductExample example); int updateByExample(@Param("record") SmsHomeRecommendProduct record, @Param("example") SmsHomeRecommendProductExample example); int updateByPrimaryKeySelective(SmsHomeRecommendProduct record); int updateByPrimaryKey(SmsHomeRecommendProduct record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.java ================================================ 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 record); int insertSelective(SmsHomeRecommendSubject record); List selectByExample(SmsHomeRecommendSubjectExample example); SmsHomeRecommendSubject selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") SmsHomeRecommendSubject record, @Param("example") SmsHomeRecommendSubjectExample example); int updateByExample(@Param("record") SmsHomeRecommendSubject record, @Param("example") SmsHomeRecommendSubjectExample example); int updateByPrimaryKeySelective(SmsHomeRecommendSubject record); int updateByPrimaryKey(SmsHomeRecommendSubject record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminLoginLogMapper.java ================================================ 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 record); int insertSelective(UmsAdminLoginLog record); List selectByExample(UmsAdminLoginLogExample example); UmsAdminLoginLog selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsAdminLoginLog record, @Param("example") UmsAdminLoginLogExample example); int updateByExample(@Param("record") UmsAdminLoginLog record, @Param("example") UmsAdminLoginLogExample example); int updateByPrimaryKeySelective(UmsAdminLoginLog record); int updateByPrimaryKey(UmsAdminLoginLog record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminMapper.java ================================================ 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 record); int insertSelective(UmsAdmin record); List selectByExample(UmsAdminExample example); UmsAdmin selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsAdmin record, @Param("example") UmsAdminExample example); int updateByExample(@Param("record") UmsAdmin record, @Param("example") UmsAdminExample example); int updateByPrimaryKeySelective(UmsAdmin record); int updateByPrimaryKey(UmsAdmin record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.java ================================================ 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 record); int insertSelective(UmsAdminPermissionRelation record); List selectByExample(UmsAdminPermissionRelationExample example); UmsAdminPermissionRelation selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsAdminPermissionRelation record, @Param("example") UmsAdminPermissionRelationExample example); int updateByExample(@Param("record") UmsAdminPermissionRelation record, @Param("example") UmsAdminPermissionRelationExample example); int updateByPrimaryKeySelective(UmsAdminPermissionRelation record); int updateByPrimaryKey(UmsAdminPermissionRelation record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminRoleRelationMapper.java ================================================ 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 record); int insertSelective(UmsAdminRoleRelation record); List selectByExample(UmsAdminRoleRelationExample example); UmsAdminRoleRelation selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example); int updateByExample(@Param("record") UmsAdminRoleRelation record, @Param("example") UmsAdminRoleRelationExample example); int updateByPrimaryKeySelective(UmsAdminRoleRelation record); int updateByPrimaryKey(UmsAdminRoleRelation record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.java ================================================ 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 record); int insertSelective(UmsGrowthChangeHistory record); List selectByExample(UmsGrowthChangeHistoryExample example); UmsGrowthChangeHistory selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsGrowthChangeHistory record, @Param("example") UmsGrowthChangeHistoryExample example); int updateByExample(@Param("record") UmsGrowthChangeHistory record, @Param("example") UmsGrowthChangeHistoryExample example); int updateByPrimaryKeySelective(UmsGrowthChangeHistory record); int updateByPrimaryKey(UmsGrowthChangeHistory record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.java ================================================ 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 record); int insertSelective(UmsIntegrationChangeHistory record); List selectByExample(UmsIntegrationChangeHistoryExample example); UmsIntegrationChangeHistory selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsIntegrationChangeHistory record, @Param("example") UmsIntegrationChangeHistoryExample example); int updateByExample(@Param("record") UmsIntegrationChangeHistory record, @Param("example") UmsIntegrationChangeHistoryExample example); int updateByPrimaryKeySelective(UmsIntegrationChangeHistory record); int updateByPrimaryKey(UmsIntegrationChangeHistory record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.java ================================================ 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 record); int insertSelective(UmsIntegrationConsumeSetting record); List selectByExample(UmsIntegrationConsumeSettingExample example); UmsIntegrationConsumeSetting selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsIntegrationConsumeSetting record, @Param("example") UmsIntegrationConsumeSettingExample example); int updateByExample(@Param("record") UmsIntegrationConsumeSetting record, @Param("example") UmsIntegrationConsumeSettingExample example); int updateByPrimaryKeySelective(UmsIntegrationConsumeSetting record); int updateByPrimaryKey(UmsIntegrationConsumeSetting record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLevelMapper.java ================================================ 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 record); int insertSelective(UmsMemberLevel record); List selectByExample(UmsMemberLevelExample example); UmsMemberLevel selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsMemberLevel record, @Param("example") UmsMemberLevelExample example); int updateByExample(@Param("record") UmsMemberLevel record, @Param("example") UmsMemberLevelExample example); int updateByPrimaryKeySelective(UmsMemberLevel record); int updateByPrimaryKey(UmsMemberLevel record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLoginLogMapper.java ================================================ 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 record); int insertSelective(UmsMemberLoginLog record); List selectByExample(UmsMemberLoginLogExample example); UmsMemberLoginLog selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsMemberLoginLog record, @Param("example") UmsMemberLoginLogExample example); int updateByExample(@Param("record") UmsMemberLoginLog record, @Param("example") UmsMemberLoginLogExample example); int updateByPrimaryKeySelective(UmsMemberLoginLog record); int updateByPrimaryKey(UmsMemberLoginLog record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMapper.java ================================================ 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 record); int insertSelective(UmsMember record); List selectByExample(UmsMemberExample example); UmsMember selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsMember record, @Param("example") UmsMemberExample example); int updateByExample(@Param("record") UmsMember record, @Param("example") UmsMemberExample example); int updateByPrimaryKeySelective(UmsMember record); int updateByPrimaryKey(UmsMember record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.java ================================================ 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 record); int insertSelective(UmsMemberMemberTagRelation record); List selectByExample(UmsMemberMemberTagRelationExample example); UmsMemberMemberTagRelation selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsMemberMemberTagRelation record, @Param("example") UmsMemberMemberTagRelationExample example); int updateByExample(@Param("record") UmsMemberMemberTagRelation record, @Param("example") UmsMemberMemberTagRelationExample example); int updateByPrimaryKeySelective(UmsMemberMemberTagRelation record); int updateByPrimaryKey(UmsMemberMemberTagRelation record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.java ================================================ 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 record); int insertSelective(UmsMemberProductCategoryRelation record); List selectByExample(UmsMemberProductCategoryRelationExample example); UmsMemberProductCategoryRelation selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsMemberProductCategoryRelation record, @Param("example") UmsMemberProductCategoryRelationExample example); int updateByExample(@Param("record") UmsMemberProductCategoryRelation record, @Param("example") UmsMemberProductCategoryRelationExample example); int updateByPrimaryKeySelective(UmsMemberProductCategoryRelation record); int updateByPrimaryKey(UmsMemberProductCategoryRelation record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.java ================================================ 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 record); int insertSelective(UmsMemberReceiveAddress record); List selectByExample(UmsMemberReceiveAddressExample example); UmsMemberReceiveAddress selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsMemberReceiveAddress record, @Param("example") UmsMemberReceiveAddressExample example); int updateByExample(@Param("record") UmsMemberReceiveAddress record, @Param("example") UmsMemberReceiveAddressExample example); int updateByPrimaryKeySelective(UmsMemberReceiveAddress record); int updateByPrimaryKey(UmsMemberReceiveAddress record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberRuleSettingMapper.java ================================================ 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 record); int insertSelective(UmsMemberRuleSetting record); List selectByExample(UmsMemberRuleSettingExample example); UmsMemberRuleSetting selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsMemberRuleSetting record, @Param("example") UmsMemberRuleSettingExample example); int updateByExample(@Param("record") UmsMemberRuleSetting record, @Param("example") UmsMemberRuleSettingExample example); int updateByPrimaryKeySelective(UmsMemberRuleSetting record); int updateByPrimaryKey(UmsMemberRuleSetting record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.java ================================================ 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 record); int insertSelective(UmsMemberStatisticsInfo record); List selectByExample(UmsMemberStatisticsInfoExample example); UmsMemberStatisticsInfo selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsMemberStatisticsInfo record, @Param("example") UmsMemberStatisticsInfoExample example); int updateByExample(@Param("record") UmsMemberStatisticsInfo record, @Param("example") UmsMemberStatisticsInfoExample example); int updateByPrimaryKeySelective(UmsMemberStatisticsInfo record); int updateByPrimaryKey(UmsMemberStatisticsInfo record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTagMapper.java ================================================ 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 record); int insertSelective(UmsMemberTag record); List selectByExample(UmsMemberTagExample example); UmsMemberTag selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsMemberTag record, @Param("example") UmsMemberTagExample example); int updateByExample(@Param("record") UmsMemberTag record, @Param("example") UmsMemberTagExample example); int updateByPrimaryKeySelective(UmsMemberTag record); int updateByPrimaryKey(UmsMemberTag record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTaskMapper.java ================================================ 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 record); int insertSelective(UmsMemberTask record); List selectByExample(UmsMemberTaskExample example); UmsMemberTask selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsMemberTask record, @Param("example") UmsMemberTaskExample example); int updateByExample(@Param("record") UmsMemberTask record, @Param("example") UmsMemberTaskExample example); int updateByPrimaryKeySelective(UmsMemberTask record); int updateByPrimaryKey(UmsMemberTask record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsMenuMapper.java ================================================ 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 record); int insertSelective(UmsMenu record); List selectByExample(UmsMenuExample example); UmsMenu selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsMenu record, @Param("example") UmsMenuExample example); int updateByExample(@Param("record") UmsMenu record, @Param("example") UmsMenuExample example); int updateByPrimaryKeySelective(UmsMenu record); int updateByPrimaryKey(UmsMenu record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsPermissionMapper.java ================================================ 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 record); int insertSelective(UmsPermission record); List selectByExample(UmsPermissionExample example); UmsPermission selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsPermission record, @Param("example") UmsPermissionExample example); int updateByExample(@Param("record") UmsPermission record, @Param("example") UmsPermissionExample example); int updateByPrimaryKeySelective(UmsPermission record); int updateByPrimaryKey(UmsPermission record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceCategoryMapper.java ================================================ 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 record); int insertSelective(UmsResourceCategory record); List selectByExample(UmsResourceCategoryExample example); UmsResourceCategory selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsResourceCategory record, @Param("example") UmsResourceCategoryExample example); int updateByExample(@Param("record") UmsResourceCategory record, @Param("example") UmsResourceCategoryExample example); int updateByPrimaryKeySelective(UmsResourceCategory record); int updateByPrimaryKey(UmsResourceCategory record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsResourceMapper.java ================================================ 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 record); int insertSelective(UmsResource record); List selectByExample(UmsResourceExample example); UmsResource selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsResource record, @Param("example") UmsResourceExample example); int updateByExample(@Param("record") UmsResource record, @Param("example") UmsResourceExample example); int updateByPrimaryKeySelective(UmsResource record); int updateByPrimaryKey(UmsResource record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMapper.java ================================================ 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 record); int insertSelective(UmsRole record); List selectByExample(UmsRoleExample example); UmsRole selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsRole record, @Param("example") UmsRoleExample example); int updateByExample(@Param("record") UmsRole record, @Param("example") UmsRoleExample example); int updateByPrimaryKeySelective(UmsRole record); int updateByPrimaryKey(UmsRole record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleMenuRelationMapper.java ================================================ 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 record); int insertSelective(UmsRoleMenuRelation record); List selectByExample(UmsRoleMenuRelationExample example); UmsRoleMenuRelation selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsRoleMenuRelation record, @Param("example") UmsRoleMenuRelationExample example); int updateByExample(@Param("record") UmsRoleMenuRelation record, @Param("example") UmsRoleMenuRelationExample example); int updateByPrimaryKeySelective(UmsRoleMenuRelation record); int updateByPrimaryKey(UmsRoleMenuRelation record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsRolePermissionRelationMapper.java ================================================ 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 record); int insertSelective(UmsRolePermissionRelation record); List selectByExample(UmsRolePermissionRelationExample example); UmsRolePermissionRelation selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsRolePermissionRelation record, @Param("example") UmsRolePermissionRelationExample example); int updateByExample(@Param("record") UmsRolePermissionRelation record, @Param("example") UmsRolePermissionRelationExample example); int updateByPrimaryKeySelective(UmsRolePermissionRelation record); int updateByPrimaryKey(UmsRolePermissionRelation record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/mapper/UmsRoleResourceRelationMapper.java ================================================ 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 record); int insertSelective(UmsRoleResourceRelation record); List selectByExample(UmsRoleResourceRelationExample example); UmsRoleResourceRelation selectByPrimaryKey(Long id); int updateByExampleSelective(@Param("record") UmsRoleResourceRelation record, @Param("example") UmsRoleResourceRelationExample example); int updateByExample(@Param("record") UmsRoleResourceRelation record, @Param("example") UmsRoleResourceRelationExample example); int updateByPrimaryKeySelective(UmsRoleResourceRelation record); int updateByPrimaryKey(UmsRoleResourceRelation record); } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategory.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class CmsHelpCategory implements Serializable { private Long id; private String name; @ApiModelProperty(value = "分类图标") private String icon; @ApiModelProperty(value = "专题数量") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategoryExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class CmsMemberReport implements Serializable { private Long id; @ApiModelProperty(value = "举报类型:0->商品评价;1->话题内容;2->用户评论") private Integer reportType; @ApiModelProperty(value = "举报人") private String reportMemberName; private Date createTime; private String reportObject; @ApiModelProperty(value = "举报状态:0->未处理;1->已处理") private Integer reportStatus; @ApiModelProperty(value = "处理结果: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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReportExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceArea.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class CmsPrefrenceArea implements Serializable { private Long id; private String name; private String subTitle; private Integer sort; private Integer showStatus; @ApiModelProperty(value = "展示图片") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelation.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelationExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class CmsSubject implements Serializable { private Long id; private Long categoryId; private String title; @ApiModelProperty(value = "专题主图") private String pic; @ApiModelProperty(value = "关联产品数量") private Integer productCount; private Integer recommendStatus; private Date createTime; private Integer collectCount; private Integer readCount; private Integer commentCount; @ApiModelProperty(value = "画册图片用逗号分割") private String albumPics; private String description; @ApiModelProperty(value = "显示状态:0->不显示;1->显示") private Integer showStatus; @ApiModelProperty(value = "转发数") private Integer forwardCount; @ApiModelProperty(value = "专题分类名称") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategory.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class CmsSubjectCategory implements Serializable { private Long id; private String name; @ApiModelProperty(value = "分类图标") private String icon; @ApiModelProperty(value = "专题数量") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategoryExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectComment.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCommentExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelation.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelationExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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; @ApiModelProperty(value = "参与人数") private Integer attendCount; @ApiModelProperty(value = "关注人数") private Integer attentionCount; private Integer readCount; @ApiModelProperty(value = "奖品名称") private String awardName; @ApiModelProperty(value = "参与方式") private String attendType; @ApiModelProperty(value = "话题内容") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategory.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class CmsTopicCategory implements Serializable { private Long id; private String name; @ApiModelProperty(value = "分类图标") private String icon; @ApiModelProperty(value = "专题数量") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategoryExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsTopicComment.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCommentExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsCartItem.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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; @ApiModelProperty(value = "购买数量") private Integer quantity; @ApiModelProperty(value = "添加到购物车的价格") private BigDecimal price; @ApiModelProperty(value = "商品主图") private String productPic; @ApiModelProperty(value = "商品名称") private String productName; @ApiModelProperty(value = "商品副标题(卖点)") private String productSubTitle; @ApiModelProperty(value = "商品sku条码") private String productSkuCode; @ApiModelProperty(value = "会员昵称") private String memberNickname; @ApiModelProperty(value = "创建时间") private Date createDate; @ApiModelProperty(value = "修改时间") private Date modifyDate; @ApiModelProperty(value = "是否删除") private Integer deleteStatus; @ApiModelProperty(value = "商品分类") private Long productCategoryId; private String productBrand; private String productSn; @ApiModelProperty(value = "商品销售属性:[{'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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsCartItemExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddress.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class OmsCompanyAddress implements Serializable { private Long id; @ApiModelProperty(value = "地址名称") private String addressName; @ApiModelProperty(value = "默认发货地址:0->否;1->是") private Integer sendStatus; @ApiModelProperty(value = "是否默认收货地址:0->否;1->是") private Integer receiveStatus; @ApiModelProperty(value = "收发货人姓名") private String name; @ApiModelProperty(value = "收货人电话") private String phone; @ApiModelProperty(value = "省/直辖市") private String province; @ApiModelProperty(value = "市") private String city; @ApiModelProperty(value = "区") private String region; @ApiModelProperty(value = "详细地址") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddressExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsOrder.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; public class OmsOrder implements Serializable { @ApiModelProperty(value = "订单id") private Long id; private Long memberId; private Long couponId; @ApiModelProperty(value = "订单编号") private String orderSn; @ApiModelProperty(value = "提交时间") private Date createTime; @ApiModelProperty(value = "用户帐号") private String memberUsername; @ApiModelProperty(value = "订单总金额") private BigDecimal totalAmount; @ApiModelProperty(value = "应付金额(实际支付金额)") private BigDecimal payAmount; @ApiModelProperty(value = "运费金额") private BigDecimal freightAmount; @ApiModelProperty(value = "促销优化金额(促销价、满减、阶梯价)") private BigDecimal promotionAmount; @ApiModelProperty(value = "积分抵扣金额") private BigDecimal integrationAmount; @ApiModelProperty(value = "优惠券抵扣金额") private BigDecimal couponAmount; @ApiModelProperty(value = "管理员后台调整订单使用的折扣金额") private BigDecimal discountAmount; @ApiModelProperty(value = "支付方式:0->未支付;1->支付宝;2->微信") private Integer payType; @ApiModelProperty(value = "订单来源:0->PC订单;1->app订单") private Integer sourceType; @ApiModelProperty(value = "订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单") private Integer status; @ApiModelProperty(value = "订单类型:0->正常订单;1->秒杀订单") private Integer orderType; @ApiModelProperty(value = "物流公司(配送方式)") private String deliveryCompany; @ApiModelProperty(value = "物流单号") private String deliverySn; @ApiModelProperty(value = "自动确认时间(天)") private Integer autoConfirmDay; @ApiModelProperty(value = "可以获得的积分") private Integer integration; @ApiModelProperty(value = "可以活动的成长值") private Integer growth; @ApiModelProperty(value = "活动信息") private String promotionInfo; @ApiModelProperty(value = "发票类型:0->不开发票;1->电子发票;2->纸质发票") private Integer billType; @ApiModelProperty(value = "发票抬头") private String billHeader; @ApiModelProperty(value = "发票内容") private String billContent; @ApiModelProperty(value = "收票人电话") private String billReceiverPhone; @ApiModelProperty(value = "收票人邮箱") private String billReceiverEmail; @ApiModelProperty(value = "收货人姓名") private String receiverName; @ApiModelProperty(value = "收货人电话") private String receiverPhone; @ApiModelProperty(value = "收货人邮编") private String receiverPostCode; @ApiModelProperty(value = "省份/直辖市") private String receiverProvince; @ApiModelProperty(value = "城市") private String receiverCity; @ApiModelProperty(value = "区") private String receiverRegion; @ApiModelProperty(value = "详细地址") private String receiverDetailAddress; @ApiModelProperty(value = "订单备注") private String note; @ApiModelProperty(value = "确认收货状态:0->未确认;1->已确认") private Integer confirmStatus; @ApiModelProperty(value = "删除状态:0->未删除;1->已删除") private Integer deleteStatus; @ApiModelProperty(value = "下单时使用的积分") private Integer useIntegration; @ApiModelProperty(value = "支付时间") private Date paymentTime; @ApiModelProperty(value = "发货时间") private Date deliveryTime; @ApiModelProperty(value = "确认收货时间") private Date receiveTime; @ApiModelProperty(value = "评价时间") private Date commentTime; @ApiModelProperty(value = "修改时间") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; public class OmsOrderItem implements Serializable { private Long id; @ApiModelProperty(value = "订单id") private Long orderId; @ApiModelProperty(value = "订单编号") private String orderSn; private Long productId; private String productPic; private String productName; private String productBrand; private String productSn; @ApiModelProperty(value = "销售价格") private BigDecimal productPrice; @ApiModelProperty(value = "购买数量") private Integer productQuantity; @ApiModelProperty(value = "商品sku编号") private Long productSkuId; @ApiModelProperty(value = "商品sku条码") private String productSkuCode; @ApiModelProperty(value = "商品分类id") private Long productCategoryId; @ApiModelProperty(value = "商品促销名称") private String promotionName; @ApiModelProperty(value = "商品促销分解金额") private BigDecimal promotionAmount; @ApiModelProperty(value = "优惠券优惠分解金额") private BigDecimal couponAmount; @ApiModelProperty(value = "积分优惠分解金额") private BigDecimal integrationAmount; @ApiModelProperty(value = "该商品经过优惠后的分解金额") private BigDecimal realAmount; private Integer giftIntegration; private Integer giftGrowth; @ApiModelProperty(value = "商品销售属性:[{'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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistory.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class OmsOrderOperateHistory implements Serializable { private Long id; @ApiModelProperty(value = "订单id") private Long orderId; @ApiModelProperty(value = "操作人:用户;系统;后台管理员") private String operateMan; @ApiModelProperty(value = "操作时间") private Date createTime; @ApiModelProperty(value = "订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单") private Integer orderStatus; @ApiModelProperty(value = "备注") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistoryExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApply.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; public class OmsOrderReturnApply implements Serializable { private Long id; @ApiModelProperty(value = "订单id") private Long orderId; @ApiModelProperty(value = "收货地址表id") private Long companyAddressId; @ApiModelProperty(value = "退货商品id") private Long productId; @ApiModelProperty(value = "订单编号") private String orderSn; @ApiModelProperty(value = "申请时间") private Date createTime; @ApiModelProperty(value = "会员用户名") private String memberUsername; @ApiModelProperty(value = "退款金额") private BigDecimal returnAmount; @ApiModelProperty(value = "退货人姓名") private String returnName; @ApiModelProperty(value = "退货人电话") private String returnPhone; @ApiModelProperty(value = "申请状态:0->待处理;1->退货中;2->已完成;3->已拒绝") private Integer status; @ApiModelProperty(value = "处理时间") private Date handleTime; @ApiModelProperty(value = "商品图片") private String productPic; @ApiModelProperty(value = "商品名称") private String productName; @ApiModelProperty(value = "商品品牌") private String productBrand; @ApiModelProperty(value = "商品销售属性:颜色:红色;尺码:xl;") private String productAttr; @ApiModelProperty(value = "退货数量") private Integer productCount; @ApiModelProperty(value = "商品单价") private BigDecimal productPrice; @ApiModelProperty(value = "商品实际支付单价") private BigDecimal productRealPrice; @ApiModelProperty(value = "原因") private String reason; @ApiModelProperty(value = "描述") private String description; @ApiModelProperty(value = "凭证图片,以逗号隔开") private String proofPics; @ApiModelProperty(value = "处理备注") private String handleNote; @ApiModelProperty(value = "处理人员") private String handleMan; @ApiModelProperty(value = "收货人") private String receiveMan; @ApiModelProperty(value = "收货时间") private Date receiveTime; @ApiModelProperty(value = "收货备注") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApplyExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReason.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class OmsOrderReturnReason implements Serializable { private Long id; @ApiModelProperty(value = "退货类型") private String name; private Integer sort; @ApiModelProperty(value = "状态:0->不启用;1->启用") private Integer status; @ApiModelProperty(value = "添加时间") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReasonExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSetting.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class OmsOrderSetting implements Serializable { private Long id; @ApiModelProperty(value = "秒杀订单超时关闭时间(分)") private Integer flashOrderOvertime; @ApiModelProperty(value = "正常订单超时时间(分)") private Integer normalOrderOvertime; @ApiModelProperty(value = "发货后自动确认收货时间(天)") private Integer confirmOvertime; @ApiModelProperty(value = "自动完成交易时间,不能申请售后(天)") private Integer finishOvertime; @ApiModelProperty(value = "订单完成后自动好评时间(天)") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSettingExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsAlbum.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPic.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPicExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsBrand.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class PmsBrand implements Serializable { private Long id; private String name; @ApiModelProperty(value = "首字母") private String firstLetter; private Integer sort; @ApiModelProperty(value = "是否为品牌制造商:0->不是;1->是") private Integer factoryStatus; private Integer showStatus; @ApiModelProperty(value = "产品数量") private Integer productCount; @ApiModelProperty(value = "产品评论数量") private Integer productCommentCount; @ApiModelProperty(value = "品牌logo") private String logo; @ApiModelProperty(value = "专区大图") private String bigPic; @ApiModelProperty(value = "品牌故事") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsBrandExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsComment.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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; @ApiModelProperty(value = "评价星数:0->5") private Integer star; @ApiModelProperty(value = "评价的ip") private String memberIp; private Date createTime; private Integer showStatus; @ApiModelProperty(value = "购买时的商品属性") private String productAttribute; private Integer collectCouont; private Integer readCount; @ApiModelProperty(value = "上传图片地址,以逗号隔开") private String pics; @ApiModelProperty(value = "评论用户头像") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsCommentExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplay.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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; @ApiModelProperty(value = "评论人员类型;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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplayExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplate.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; public class PmsFeightTemplate implements Serializable { private Long id; private String name; @ApiModelProperty(value = "计费类型:0->按重量;1->按件数") private Integer chargeType; @ApiModelProperty(value = "首重kg") private BigDecimal firstWeight; @ApiModelProperty(value = "首费(元)") private BigDecimal firstFee; private BigDecimal continueWeight; private BigDecimal continmeFee; @ApiModelProperty(value = "目的地(省、市)") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplateExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPrice.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; public class PmsMemberPrice implements Serializable { private Long id; private Long productId; private Long memberLevelId; @ApiModelProperty(value = "会员价格") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPriceExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProduct.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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; @ApiModelProperty(value = "货号") private String productSn; @ApiModelProperty(value = "删除状态:0->未删除;1->已删除") private Integer deleteStatus; @ApiModelProperty(value = "上架状态:0->下架;1->上架") private Integer publishStatus; @ApiModelProperty(value = "新品状态:0->不是新品;1->新品") private Integer newStatus; @ApiModelProperty(value = "推荐状态;0->不推荐;1->推荐") private Integer recommandStatus; @ApiModelProperty(value = "审核状态:0->未审核;1->审核通过") private Integer verifyStatus; @ApiModelProperty(value = "排序") private Integer sort; @ApiModelProperty(value = "销量") private Integer sale; private BigDecimal price; @ApiModelProperty(value = "促销价格") private BigDecimal promotionPrice; @ApiModelProperty(value = "赠送的成长值") private Integer giftGrowth; @ApiModelProperty(value = "赠送的积分") private Integer giftPoint; @ApiModelProperty(value = "限制使用的积分数") private Integer usePointLimit; @ApiModelProperty(value = "副标题") private String subTitle; @ApiModelProperty(value = "市场价") private BigDecimal originalPrice; @ApiModelProperty(value = "库存") private Integer stock; @ApiModelProperty(value = "库存预警值") private Integer lowStock; @ApiModelProperty(value = "单位") private String unit; @ApiModelProperty(value = "商品重量,默认为克") private BigDecimal weight; @ApiModelProperty(value = "是否为预告商品:0->不是;1->是") private Integer previewStatus; @ApiModelProperty(value = "以逗号分割的产品服务:1->无忧退货;2->快速退款;3->免费包邮") private String serviceIds; private String keywords; private String note; @ApiModelProperty(value = "画册图片,连产品图片限制为5张,以逗号分割") private String albumPics; private String detailTitle; @ApiModelProperty(value = "促销开始时间") private Date promotionStartTime; @ApiModelProperty(value = "促销结束时间") private Date promotionEndTime; @ApiModelProperty(value = "活动限购数量") private Integer promotionPerLimit; @ApiModelProperty(value = "促销类型:0->没有促销使用原价;1->使用促销价;2->使用会员价;3->使用阶梯价格;4->使用满减价格;5->限时购") private Integer promotionType; @ApiModelProperty(value = "品牌名称") private String brandName; @ApiModelProperty(value = "商品分类名称") private String productCategoryName; @ApiModelProperty(value = "商品描述") private String description; private String detailDesc; @ApiModelProperty(value = "产品详情网页内容") private String detailHtml; @ApiModelProperty(value = "移动端网页详情") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttribute.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class PmsProductAttribute implements Serializable { private Long id; private Long productAttributeCategoryId; private String name; @ApiModelProperty(value = "属性选择类型:0->唯一;1->单选;2->多选") private Integer selectType; @ApiModelProperty(value = "属性录入方式:0->手工录入;1->从列表中选取") private Integer inputType; @ApiModelProperty(value = "可选值列表,以逗号隔开") private String inputList; @ApiModelProperty(value = "排序字段:最高的可以单独上传图片") private Integer sort; @ApiModelProperty(value = "分类筛选样式:1->普通;1->颜色") private Integer filterType; @ApiModelProperty(value = "检索类型;0->不需要进行检索;1->关键字检索;2->范围检索") private Integer searchType; @ApiModelProperty(value = "相同属性产品是否关联;0->不关联;1->关联") private Integer relatedStatus; @ApiModelProperty(value = "是否支持手动新增;0->不支持;1->支持") private Integer handAddStatus; @ApiModelProperty(value = "属性的类型;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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategory.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class PmsProductAttributeCategory implements Serializable { private Long id; private String name; @ApiModelProperty(value = "属性数量") private Integer attributeCount; @ApiModelProperty(value = "参数数量") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategoryExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class PmsProductAttributeValue implements Serializable { private Long id; private Long productId; private Long productAttributeId; @ApiModelProperty(value = "手动添加规格或参数的值,参数单值,规格有多个时以逗号隔开") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategory.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class PmsProductCategory implements Serializable { private Long id; @ApiModelProperty(value = "上机分类的编号:0表示一级分类") private Long parentId; private String name; @ApiModelProperty(value = "分类级别:0->1级;1->2级") private Integer level; private Integer productCount; private String productUnit; @ApiModelProperty(value = "是否显示在导航栏:0->不显示;1->显示") private Integer navStatus; @ApiModelProperty(value = "显示状态:0->不显示;1->显示") private Integer showStatus; private Integer sort; @ApiModelProperty(value = "图标") private String icon; private String keywords; @ApiModelProperty(value = "描述") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelation.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelationExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadder.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; public class PmsProductLadder implements Serializable { private Long id; private Long productId; @ApiModelProperty(value = "满足的商品数量") private Integer count; @ApiModelProperty(value = "折扣") private BigDecimal discount; @ApiModelProperty(value = "折后价格") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadderExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLog.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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; @ApiModelProperty(value = "赠送的积分") private Integer giftPointOld; private Integer giftPointNew; private Integer usePointLimitOld; private Integer usePointLimitNew; @ApiModelProperty(value = "操作人") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLogExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecord.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class PmsProductVertifyRecord implements Serializable { private Long id; private Long productId; private Date createTime; @ApiModelProperty(value = "审核人") private String vertifyMan; private Integer status; @ApiModelProperty(value = "反馈详情") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecordExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStock.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; public class PmsSkuStock implements Serializable { private Long id; private Long productId; @ApiModelProperty(value = "sku编码") private String skuCode; private BigDecimal price; @ApiModelProperty(value = "库存") private Integer stock; @ApiModelProperty(value = "预警库存") private Integer lowStock; @ApiModelProperty(value = "展示图片") private String pic; @ApiModelProperty(value = "销量") private Integer sale; @ApiModelProperty(value = "单品促销价格") private BigDecimal promotionPrice; @ApiModelProperty(value = "锁定库存") private Integer lockStock; @ApiModelProperty(value = "商品销售属性,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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStockExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsCoupon.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; public class SmsCoupon implements Serializable { private Long id; @ApiModelProperty(value = "优惠券类型;0->全场赠券;1->会员赠券;2->购物赠券;3->注册赠券") private Integer type; private String name; @ApiModelProperty(value = "使用平台:0->全部;1->移动;2->PC") private Integer platform; @ApiModelProperty(value = "数量") private Integer count; @ApiModelProperty(value = "金额") private BigDecimal amount; @ApiModelProperty(value = "每人限领张数") private Integer perLimit; @ApiModelProperty(value = "使用门槛;0表示无门槛") private BigDecimal minPoint; private Date startTime; private Date endTime; @ApiModelProperty(value = "使用类型:0->全场通用;1->指定分类;2->指定商品") private Integer useType; @ApiModelProperty(value = "备注") private String note; @ApiModelProperty(value = "发行数量") private Integer publishCount; @ApiModelProperty(value = "已使用数量") private Integer useCount; @ApiModelProperty(value = "领取数量") private Integer receiveCount; @ApiModelProperty(value = "可以领取的日期") private Date enableTime; @ApiModelProperty(value = "优惠码") private String code; @ApiModelProperty(value = "可领取的会员类型: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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistory.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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; @ApiModelProperty(value = "领取人昵称") private String memberNickname; @ApiModelProperty(value = "获取类型:0->后台赠送;1->主动获取") private Integer getType; private Date createTime; @ApiModelProperty(value = "使用状态:0->未使用;1->已使用;2->已过期") private Integer useStatus; @ApiModelProperty(value = "使用时间") private Date useTime; @ApiModelProperty(value = "订单编号") private Long orderId; @ApiModelProperty(value = "订单号码") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistoryExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelation.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class SmsCouponProductCategoryRelation implements Serializable { private Long id; private Long couponId; private Long productCategoryId; @ApiModelProperty(value = "产品分类名称") private String productCategoryName; @ApiModelProperty(value = "父分类名称") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelationExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class SmsCouponProductRelation implements Serializable { private Long id; private Long couponId; private Long productId; @ApiModelProperty(value = "商品名称") private String productName; @ApiModelProperty(value = "商品编码") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotion.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class SmsFlashPromotion implements Serializable { private Long id; @ApiModelProperty(value = "秒杀时间段名称") private String title; @ApiModelProperty(value = "开始日期") private Date startDate; @ApiModelProperty(value = "结束日期") private Date endDate; @ApiModelProperty(value = "上下线状态") private Integer status; @ApiModelProperty(value = "创建时间") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLog.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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; @ApiModelProperty(value = "会员订阅时间") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLogExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelation.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; public class SmsFlashPromotionProductRelation implements Serializable { @ApiModelProperty(value = "编号") private Long id; private Long flashPromotionId; @ApiModelProperty(value = "编号") private Long flashPromotionSessionId; private Long productId; @ApiModelProperty(value = "限时购价格") private BigDecimal flashPromotionPrice; @ApiModelProperty(value = "限时购数量") private Integer flashPromotionCount; @ApiModelProperty(value = "每人限购数量") private Integer flashPromotionLimit; @ApiModelProperty(value = "排序") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionProductRelationExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSession.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class SmsFlashPromotionSession implements Serializable { @ApiModelProperty(value = "编号") private Long id; @ApiModelProperty(value = "场次名称") private String name; @ApiModelProperty(value = "每日开始时间") private Date startTime; @ApiModelProperty(value = "每日结束时间") private Date endTime; @ApiModelProperty(value = "启用状态:0->不启用;1->启用") private Integer status; @ApiModelProperty(value = "创建时间") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionSessionExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertise.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class SmsHomeAdvertise implements Serializable { private Long id; private String name; @ApiModelProperty(value = "轮播位置:0->PC首页轮播;1->app首页轮播") private Integer type; private String pic; private Date startTime; private Date endTime; @ApiModelProperty(value = "上下线状态:0->下线;1->上线") private Integer status; @ApiModelProperty(value = "点击数") private Integer clickCount; @ApiModelProperty(value = "下单数") private Integer orderCount; @ApiModelProperty(value = "链接地址") private String url; @ApiModelProperty(value = "备注") private String note; @ApiModelProperty(value = "排序") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertiseExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrand.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrandExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProduct.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProductExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProduct.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProductExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubject.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubjectExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsAdmin.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class UmsAdmin implements Serializable { private Long id; private String username; private String password; @ApiModelProperty(value = "头像") private String icon; @ApiModelProperty(value = "邮箱") private String email; @ApiModelProperty(value = "昵称") private String nickName; @ApiModelProperty(value = "备注信息") private String note; @ApiModelProperty(value = "创建时间") private Date createTime; @ApiModelProperty(value = "最后登录时间") private Date loginTime; @ApiModelProperty(value = "帐号启用状态: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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsAdminExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLog.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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; @ApiModelProperty(value = "浏览器登录类型") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLogExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelation.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsAdminPermissionRelationExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelation.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsAdminRoleRelationExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistory.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class UmsGrowthChangeHistory implements Serializable { private Long id; private Long memberId; private Date createTime; @ApiModelProperty(value = "改变类型:0->增加;1->减少") private Integer changeType; @ApiModelProperty(value = "积分改变数量") private Integer changeCount; @ApiModelProperty(value = "操作人员") private String operateMan; @ApiModelProperty(value = "操作备注") private String operateNote; @ApiModelProperty(value = "积分来源: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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistoryExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistory.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class UmsIntegrationChangeHistory implements Serializable { private Long id; private Long memberId; private Date createTime; @ApiModelProperty(value = "改变类型:0->增加;1->减少") private Integer changeType; @ApiModelProperty(value = "积分改变数量") private Integer changeCount; @ApiModelProperty(value = "操作人员") private String operateMan; @ApiModelProperty(value = "操作备注") private String operateNote; @ApiModelProperty(value = "积分来源: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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistoryExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSetting.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class UmsIntegrationConsumeSetting implements Serializable { private Long id; @ApiModelProperty(value = "每一元需要抵扣的积分数量") private Integer deductionPerAmount; @ApiModelProperty(value = "每笔订单最高抵用百分比") private Integer maxPercentPerOrder; @ApiModelProperty(value = "每次使用积分最小单位100") private Integer useUnit; @ApiModelProperty(value = "是否可以和优惠券同用;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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationConsumeSettingExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMember.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class UmsMember implements Serializable { private Long id; private Long memberLevelId; @ApiModelProperty(value = "用户名") private String username; @ApiModelProperty(value = "密码") private String password; @ApiModelProperty(value = "昵称") private String nickname; @ApiModelProperty(value = "手机号码") private String phone; @ApiModelProperty(value = "帐号启用状态:0->禁用;1->启用") private Integer status; @ApiModelProperty(value = "注册时间") private Date createTime; @ApiModelProperty(value = "头像") private String icon; @ApiModelProperty(value = "性别:0->未知;1->男;2->女") private Integer gender; @ApiModelProperty(value = "生日") private Date birthday; @ApiModelProperty(value = "所做城市") private String city; @ApiModelProperty(value = "职业") private String job; @ApiModelProperty(value = "个性签名") private String personalizedSignature; @ApiModelProperty(value = "用户来源") private Integer sourceType; @ApiModelProperty(value = "积分") private Integer integration; @ApiModelProperty(value = "成长值") private Integer growth; @ApiModelProperty(value = "剩余抽奖次数") private Integer luckeyCount; @ApiModelProperty(value = "历史积分数量") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevel.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; public class UmsMemberLevel implements Serializable { private Long id; private String name; private Integer growthPoint; @ApiModelProperty(value = "是否为默认等级:0->不是;1->是") private Integer defaultStatus; @ApiModelProperty(value = "免运费标准") private BigDecimal freeFreightPoint; @ApiModelProperty(value = "每次评价获取的成长值") private Integer commentGrowthPoint; @ApiModelProperty(value = "是否有免邮特权") private Integer priviledgeFreeFreight; @ApiModelProperty(value = "是否有签到特权") private Integer priviledgeSignIn; @ApiModelProperty(value = "是否有评论获奖励特权") private Integer priviledgeComment; @ApiModelProperty(value = "是否有专享活动特权") private Integer priviledgePromotion; @ApiModelProperty(value = "是否有会员价格特权") private Integer priviledgeMemberPrice; @ApiModelProperty(value = "是否有生日特权") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevelExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLog.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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; @ApiModelProperty(value = "登录类型: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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLogExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelation.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelationExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelation.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelationExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddress.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class UmsMemberReceiveAddress implements Serializable { private Long id; private Long memberId; @ApiModelProperty(value = "收货人名称") private String name; private String phoneNumber; @ApiModelProperty(value = "是否为默认") private Integer defaultStatus; @ApiModelProperty(value = "邮政编码") private String postCode; @ApiModelProperty(value = "省份/直辖市") private String province; @ApiModelProperty(value = "城市") private String city; @ApiModelProperty(value = "区") private String region; @ApiModelProperty(value = "详细地址(街道)") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddressExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSetting.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; public class UmsMemberRuleSetting implements Serializable { private Long id; @ApiModelProperty(value = "连续签到天数") private Integer continueSignDay; @ApiModelProperty(value = "连续签到赠送数量") private Integer continueSignPoint; @ApiModelProperty(value = "每消费多少元获取1个点") private BigDecimal consumePerPoint; @ApiModelProperty(value = "最低获取点数的订单金额") private BigDecimal lowOrderAmount; @ApiModelProperty(value = "每笔订单最高获取点数") private Integer maxPointPerOrder; @ApiModelProperty(value = "类型: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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSettingExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfo.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; public class UmsMemberStatisticsInfo implements Serializable { private Long id; private Long memberId; @ApiModelProperty(value = "累计消费金额") private BigDecimal consumeAmount; @ApiModelProperty(value = "订单数量") private Integer orderCount; @ApiModelProperty(value = "优惠券数量") private Integer couponCount; @ApiModelProperty(value = "评价数") private Integer commentCount; @ApiModelProperty(value = "退货数量") private Integer returnOrderCount; @ApiModelProperty(value = "登录次数") private Integer loginCount; @ApiModelProperty(value = "关注数量") private Integer attendCount; @ApiModelProperty(value = "粉丝数量") private Integer fansCount; private Integer collectProductCount; private Integer collectSubjectCount; private Integer collectTopicCount; private Integer collectCommentCount; private Integer inviteFriendCount; @ApiModelProperty(value = "最后一次下订单时间") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfoExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTag.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; public class UmsMemberTag implements Serializable { private Long id; private String name; @ApiModelProperty(value = "自动打标签完成订单数量") private Integer finishOrderCount; @ApiModelProperty(value = "自动打标签完成订单金额") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTagExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTask.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class UmsMemberTask implements Serializable { private Long id; private String name; @ApiModelProperty(value = "赠送成长值") private Integer growth; @ApiModelProperty(value = "赠送积分") private Integer intergration; @ApiModelProperty(value = "任务类型: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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTaskExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMenu.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class UmsMenu implements Serializable { private Long id; @ApiModelProperty(value = "父级ID") private Long parentId; @ApiModelProperty(value = "创建时间") private Date createTime; @ApiModelProperty(value = "菜单名称") private String title; @ApiModelProperty(value = "菜单级数") private Integer level; @ApiModelProperty(value = "菜单排序") private Integer sort; @ApiModelProperty(value = "前端名称") private String name; @ApiModelProperty(value = "前端图标") private String icon; @ApiModelProperty(value = "前端隐藏") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsMenuExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsPermission.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class UmsPermission implements Serializable { private Long id; @ApiModelProperty(value = "父级权限id") private Long pid; @ApiModelProperty(value = "名称") private String name; @ApiModelProperty(value = "权限值") private String value; @ApiModelProperty(value = "图标") private String icon; @ApiModelProperty(value = "权限类型:0->目录;1->菜单;2->按钮(接口绑定权限)") private Integer type; @ApiModelProperty(value = "前端资源路径") private String uri; @ApiModelProperty(value = "启用状态;0->禁用;1->启用") private Integer status; @ApiModelProperty(value = "创建时间") private Date createTime; @ApiModelProperty(value = "排序") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsPermissionExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsResource.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class UmsResource implements Serializable { private Long id; @ApiModelProperty(value = "创建时间") private Date createTime; @ApiModelProperty(value = "资源名称") private String name; @ApiModelProperty(value = "资源URL") private String url; @ApiModelProperty(value = "描述") private String description; @ApiModelProperty(value = "资源分类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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategory.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class UmsResourceCategory implements Serializable { private Long id; @ApiModelProperty(value = "创建时间") private Date createTime; @ApiModelProperty(value = "分类名称") private String name; @ApiModelProperty(value = "排序") 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsResourceCategoryExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsResourceExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsRole.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class UmsRole implements Serializable { private Long id; @ApiModelProperty(value = "名称") private String name; @ApiModelProperty(value = "描述") private String description; @ApiModelProperty(value = "后台用户数量") private Integer adminCount; @ApiModelProperty(value = "创建时间") private Date createTime; @ApiModelProperty(value = "启用状态: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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsRoleExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelation.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class UmsRoleMenuRelation implements Serializable { private Long id; @ApiModelProperty(value = "角色ID") private Long roleId; @ApiModelProperty(value = "菜单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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsRoleMenuRelationExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelation.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; 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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsRolePermissionRelationExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelation.java ================================================ package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class UmsRoleResourceRelation implements Serializable { private Long id; @ApiModelProperty(value = "角色ID") private Long roleId; @ApiModelProperty(value = "资源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(); } } ================================================ FILE: mall-mbg/src/main/java/com/macro/mall/model/UmsRoleResourceRelationExample.java ================================================ 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); } } } ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, icon, help_count, show_status, sort delete from cms_help_category where id = #{id,jdbcType=BIGINT} delete from cms_help_category SELECT LAST_INSERT_ID() insert into cms_help_category (name, icon, help_count, show_status, sort) values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{helpCount,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into cms_help_category name, icon, help_count, show_status, sort, #{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{helpCount,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, update cms_help_category id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, icon = #{record.icon,jdbcType=VARCHAR}, help_count = #{record.helpCount,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, update cms_help_category set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, icon = #{record.icon,jdbcType=VARCHAR}, help_count = #{record.helpCount,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER} update cms_help_category name = #{name,jdbcType=VARCHAR}, icon = #{icon,jdbcType=VARCHAR}, help_count = #{helpCount,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update cms_help_category set name = #{name,jdbcType=VARCHAR}, icon = #{icon,jdbcType=VARCHAR}, help_count = #{helpCount,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, category_id, icon, title, show_status, create_time, read_count content delete from cms_help where id = #{id,jdbcType=BIGINT} delete from cms_help SELECT LAST_INSERT_ID() insert into cms_help (category_id, icon, title, show_status, create_time, read_count, content) values (#{categoryId,jdbcType=BIGINT}, #{icon,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{readCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}) SELECT LAST_INSERT_ID() insert into cms_help category_id, icon, title, show_status, create_time, read_count, content, #{categoryId,jdbcType=BIGINT}, #{icon,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{readCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}, update cms_help id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, icon = #{record.icon,jdbcType=VARCHAR}, title = #{record.title,jdbcType=VARCHAR}, show_status = #{record.showStatus,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, read_count = #{record.readCount,jdbcType=INTEGER}, content = #{record.content,jdbcType=LONGVARCHAR}, update cms_help set id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, icon = #{record.icon,jdbcType=VARCHAR}, title = #{record.title,jdbcType=VARCHAR}, show_status = #{record.showStatus,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, read_count = #{record.readCount,jdbcType=INTEGER}, content = #{record.content,jdbcType=LONGVARCHAR} update cms_help set id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, icon = #{record.icon,jdbcType=VARCHAR}, title = #{record.title,jdbcType=VARCHAR}, show_status = #{record.showStatus,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, read_count = #{record.readCount,jdbcType=INTEGER} update cms_help category_id = #{categoryId,jdbcType=BIGINT}, icon = #{icon,jdbcType=VARCHAR}, title = #{title,jdbcType=VARCHAR}, show_status = #{showStatus,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, read_count = #{readCount,jdbcType=INTEGER}, content = #{content,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update cms_help set category_id = #{categoryId,jdbcType=BIGINT}, icon = #{icon,jdbcType=VARCHAR}, title = #{title,jdbcType=VARCHAR}, show_status = #{showStatus,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, read_count = #{readCount,jdbcType=INTEGER}, content = #{content,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update cms_help set category_id = #{categoryId,jdbcType=BIGINT}, icon = #{icon,jdbcType=VARCHAR}, title = #{title,jdbcType=VARCHAR}, show_status = #{showStatus,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, read_count = #{readCount,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${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 = #{record.id,jdbcType=BIGINT}, report_type = #{record.reportType,jdbcType=INTEGER}, report_member_name = #{record.reportMemberName,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, report_object = #{record.reportObject,jdbcType=VARCHAR}, report_status = #{record.reportStatus,jdbcType=INTEGER}, handle_status = #{record.handleStatus,jdbcType=INTEGER}, note = #{record.note,jdbcType=VARCHAR}, update cms_member_report set id = #{record.id,jdbcType=BIGINT}, report_type = #{record.reportType,jdbcType=INTEGER}, report_member_name = #{record.reportMemberName,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, report_object = #{record.reportObject,jdbcType=VARCHAR}, report_status = #{record.reportStatus,jdbcType=INTEGER}, handle_status = #{record.handleStatus,jdbcType=INTEGER}, note = #{record.note,jdbcType=VARCHAR} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, sub_title, sort, show_status pic delete from cms_prefrence_area where id = #{id,jdbcType=BIGINT} delete from cms_prefrence_area SELECT LAST_INSERT_ID() insert into cms_prefrence_area (name, sub_title, sort, show_status, pic) values (#{name,jdbcType=VARCHAR}, #{subTitle,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{pic,jdbcType=VARBINARY}) SELECT LAST_INSERT_ID() insert into cms_prefrence_area name, sub_title, sort, show_status, pic, #{name,jdbcType=VARCHAR}, #{subTitle,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{pic,jdbcType=VARBINARY}, update cms_prefrence_area id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, sub_title = #{record.subTitle,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, pic = #{record.pic,jdbcType=VARBINARY}, update cms_prefrence_area set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, sub_title = #{record.subTitle,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, pic = #{record.pic,jdbcType=VARBINARY} update cms_prefrence_area set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, sub_title = #{record.subTitle,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER} update cms_prefrence_area name = #{name,jdbcType=VARCHAR}, sub_title = #{subTitle,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, pic = #{pic,jdbcType=VARBINARY}, where id = #{id,jdbcType=BIGINT} update cms_prefrence_area set name = #{name,jdbcType=VARCHAR}, sub_title = #{subTitle,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, pic = #{pic,jdbcType=VARBINARY} where id = #{id,jdbcType=BIGINT} update cms_prefrence_area set name = #{name,jdbcType=VARCHAR}, sub_title = #{subTitle,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, prefrence_area_id, product_id delete from cms_prefrence_area_product_relation where id = #{id,jdbcType=BIGINT} delete from cms_prefrence_area_product_relation SELECT LAST_INSERT_ID() insert into cms_prefrence_area_product_relation (prefrence_area_id, product_id) values (#{prefrenceAreaId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) SELECT LAST_INSERT_ID() insert into cms_prefrence_area_product_relation prefrence_area_id, product_id, #{prefrenceAreaId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, update cms_prefrence_area_product_relation id = #{record.id,jdbcType=BIGINT}, prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, update cms_prefrence_area_product_relation set id = #{record.id,jdbcType=BIGINT}, prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT} update cms_prefrence_area_product_relation prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, product_id = #{productId,jdbcType=BIGINT}, where id = #{id,jdbcType=BIGINT} update cms_prefrence_area_product_relation set prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, product_id = #{productId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, icon, subject_count, show_status, sort delete from cms_subject_category where id = #{id,jdbcType=BIGINT} delete from cms_subject_category SELECT LAST_INSERT_ID() insert into cms_subject_category (name, icon, subject_count, show_status, sort) values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into cms_subject_category name, icon, subject_count, show_status, sort, #{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, update cms_subject_category id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, icon = #{record.icon,jdbcType=VARCHAR}, subject_count = #{record.subjectCount,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, update cms_subject_category set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, icon = #{record.icon,jdbcType=VARCHAR}, subject_count = #{record.subjectCount,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER} update cms_subject_category name = #{name,jdbcType=VARCHAR}, icon = #{icon,jdbcType=VARCHAR}, subject_count = #{subjectCount,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update cms_subject_category set name = #{name,jdbcType=VARCHAR}, icon = #{icon,jdbcType=VARCHAR}, subject_count = #{subjectCount,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, subject_id, member_nick_name, member_icon, content, create_time, show_status delete from cms_subject_comment where id = #{id,jdbcType=BIGINT} delete from cms_subject_comment SELECT LAST_INSERT_ID() insert into cms_subject_comment (subject_id, member_nick_name, member_icon, content, create_time, show_status ) values (#{subjectId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} ) SELECT LAST_INSERT_ID() insert into cms_subject_comment subject_id, member_nick_name, member_icon, content, create_time, show_status, #{subjectId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER}, update cms_subject_comment id = #{record.id,jdbcType=BIGINT}, subject_id = #{record.subjectId,jdbcType=BIGINT}, member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, member_icon = #{record.memberIcon,jdbcType=VARCHAR}, content = #{record.content,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, show_status = #{record.showStatus,jdbcType=INTEGER}, update cms_subject_comment set id = #{record.id,jdbcType=BIGINT}, subject_id = #{record.subjectId,jdbcType=BIGINT}, member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, member_icon = #{record.memberIcon,jdbcType=VARCHAR}, content = #{record.content,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, show_status = #{record.showStatus,jdbcType=INTEGER} update cms_subject_comment subject_id = #{subjectId,jdbcType=BIGINT}, member_nick_name = #{memberNickName,jdbcType=VARCHAR}, member_icon = #{memberIcon,jdbcType=VARCHAR}, content = #{content,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, show_status = #{showStatus,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update cms_subject_comment set subject_id = #{subjectId,jdbcType=BIGINT}, member_nick_name = #{memberNickName,jdbcType=VARCHAR}, member_icon = #{memberIcon,jdbcType=VARCHAR}, content = #{content,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, show_status = #{showStatus,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, category_id, title, pic, product_count, recommend_status, create_time, collect_count, read_count, comment_count, album_pics, description, show_status, forward_count, category_name content delete from cms_subject where id = #{id,jdbcType=BIGINT} delete from cms_subject SELECT LAST_INSERT_ID() insert into cms_subject (category_id, title, pic, product_count, recommend_status, create_time, collect_count, read_count, comment_count, album_pics, description, show_status, forward_count, category_name, content ) values (#{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{productCount,jdbcType=INTEGER}, #{recommendStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{collectCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{albumPics,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER}, #{forwardCount,jdbcType=INTEGER}, #{categoryName,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR} ) SELECT LAST_INSERT_ID() insert into cms_subject category_id, title, pic, product_count, recommend_status, create_time, collect_count, read_count, comment_count, album_pics, description, show_status, forward_count, category_name, content, #{categoryId,jdbcType=BIGINT}, #{title,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{productCount,jdbcType=INTEGER}, #{recommendStatus,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{collectCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{albumPics,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{showStatus,jdbcType=INTEGER}, #{forwardCount,jdbcType=INTEGER}, #{categoryName,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR}, update cms_subject id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, product_count = #{record.productCount,jdbcType=INTEGER}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, collect_count = #{record.collectCount,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, comment_count = #{record.commentCount,jdbcType=INTEGER}, album_pics = #{record.albumPics,jdbcType=VARCHAR}, description = #{record.description,jdbcType=VARCHAR}, show_status = #{record.showStatus,jdbcType=INTEGER}, forward_count = #{record.forwardCount,jdbcType=INTEGER}, category_name = #{record.categoryName,jdbcType=VARCHAR}, content = #{record.content,jdbcType=LONGVARCHAR}, update cms_subject set id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, product_count = #{record.productCount,jdbcType=INTEGER}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, collect_count = #{record.collectCount,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, comment_count = #{record.commentCount,jdbcType=INTEGER}, album_pics = #{record.albumPics,jdbcType=VARCHAR}, description = #{record.description,jdbcType=VARCHAR}, show_status = #{record.showStatus,jdbcType=INTEGER}, forward_count = #{record.forwardCount,jdbcType=INTEGER}, category_name = #{record.categoryName,jdbcType=VARCHAR}, content = #{record.content,jdbcType=LONGVARCHAR} update cms_subject set id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, product_count = #{record.productCount,jdbcType=INTEGER}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, collect_count = #{record.collectCount,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, comment_count = #{record.commentCount,jdbcType=INTEGER}, album_pics = #{record.albumPics,jdbcType=VARCHAR}, description = #{record.description,jdbcType=VARCHAR}, show_status = #{record.showStatus,jdbcType=INTEGER}, forward_count = #{record.forwardCount,jdbcType=INTEGER}, category_name = #{record.categoryName,jdbcType=VARCHAR} update cms_subject category_id = #{categoryId,jdbcType=BIGINT}, title = #{title,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, product_count = #{productCount,jdbcType=INTEGER}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, collect_count = #{collectCount,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, comment_count = #{commentCount,jdbcType=INTEGER}, album_pics = #{albumPics,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, show_status = #{showStatus,jdbcType=INTEGER}, forward_count = #{forwardCount,jdbcType=INTEGER}, category_name = #{categoryName,jdbcType=VARCHAR}, content = #{content,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update cms_subject set category_id = #{categoryId,jdbcType=BIGINT}, title = #{title,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, product_count = #{productCount,jdbcType=INTEGER}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, collect_count = #{collectCount,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, comment_count = #{commentCount,jdbcType=INTEGER}, album_pics = #{albumPics,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, show_status = #{showStatus,jdbcType=INTEGER}, forward_count = #{forwardCount,jdbcType=INTEGER}, category_name = #{categoryName,jdbcType=VARCHAR}, content = #{content,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update cms_subject set category_id = #{categoryId,jdbcType=BIGINT}, title = #{title,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, product_count = #{productCount,jdbcType=INTEGER}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, collect_count = #{collectCount,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, comment_count = #{commentCount,jdbcType=INTEGER}, album_pics = #{albumPics,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, show_status = #{showStatus,jdbcType=INTEGER}, forward_count = #{forwardCount,jdbcType=INTEGER}, category_name = #{categoryName,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, subject_id, product_id delete from cms_subject_product_relation where id = #{id,jdbcType=BIGINT} delete from cms_subject_product_relation SELECT LAST_INSERT_ID() insert into cms_subject_product_relation (subject_id, product_id) values (#{subjectId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}) SELECT LAST_INSERT_ID() insert into cms_subject_product_relation subject_id, product_id, #{subjectId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, update cms_subject_product_relation id = #{record.id,jdbcType=BIGINT}, subject_id = #{record.subjectId,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, update cms_subject_product_relation set id = #{record.id,jdbcType=BIGINT}, subject_id = #{record.subjectId,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT} update cms_subject_product_relation subject_id = #{subjectId,jdbcType=BIGINT}, product_id = #{productId,jdbcType=BIGINT}, where id = #{id,jdbcType=BIGINT} update cms_subject_product_relation set subject_id = #{subjectId,jdbcType=BIGINT}, product_id = #{productId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, icon, subject_count, show_status, sort delete from cms_topic_category where id = #{id,jdbcType=BIGINT} delete from cms_topic_category SELECT LAST_INSERT_ID() insert into cms_topic_category (name, icon, subject_count, show_status, sort) values (#{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into cms_topic_category name, icon, subject_count, show_status, sort, #{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{subjectCount,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, update cms_topic_category id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, icon = #{record.icon,jdbcType=VARCHAR}, subject_count = #{record.subjectCount,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, update cms_topic_category set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, icon = #{record.icon,jdbcType=VARCHAR}, subject_count = #{record.subjectCount,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER} update cms_topic_category name = #{name,jdbcType=VARCHAR}, icon = #{icon,jdbcType=VARCHAR}, subject_count = #{subjectCount,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update cms_topic_category set name = #{name,jdbcType=VARCHAR}, icon = #{icon,jdbcType=VARCHAR}, subject_count = #{subjectCount,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, member_nick_name, topic_id, member_icon, content, create_time, show_status delete from cms_topic_comment where id = #{id,jdbcType=BIGINT} delete from cms_topic_comment SELECT LAST_INSERT_ID() insert into cms_topic_comment (member_nick_name, topic_id, member_icon, content, create_time, show_status ) values (#{memberNickName,jdbcType=VARCHAR}, #{topicId,jdbcType=BIGINT}, #{memberIcon,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER} ) SELECT LAST_INSERT_ID() insert into cms_topic_comment member_nick_name, topic_id, member_icon, content, create_time, show_status, #{memberNickName,jdbcType=VARCHAR}, #{topicId,jdbcType=BIGINT}, #{memberIcon,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER}, update cms_topic_comment id = #{record.id,jdbcType=BIGINT}, member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, topic_id = #{record.topicId,jdbcType=BIGINT}, member_icon = #{record.memberIcon,jdbcType=VARCHAR}, content = #{record.content,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, show_status = #{record.showStatus,jdbcType=INTEGER}, update cms_topic_comment set id = #{record.id,jdbcType=BIGINT}, member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, topic_id = #{record.topicId,jdbcType=BIGINT}, member_icon = #{record.memberIcon,jdbcType=VARCHAR}, content = #{record.content,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, show_status = #{record.showStatus,jdbcType=INTEGER} update cms_topic_comment member_nick_name = #{memberNickName,jdbcType=VARCHAR}, topic_id = #{topicId,jdbcType=BIGINT}, member_icon = #{memberIcon,jdbcType=VARCHAR}, content = #{content,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, show_status = #{showStatus,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update cms_topic_comment set member_nick_name = #{memberNickName,jdbcType=VARCHAR}, topic_id = #{topicId,jdbcType=BIGINT}, member_icon = #{memberIcon,jdbcType=VARCHAR}, content = #{content,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, show_status = #{showStatus,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, category_id, name, create_time, start_time, end_time, attend_count, attention_count, read_count, award_name, attend_type content delete from cms_topic where id = #{id,jdbcType=BIGINT} delete from cms_topic SELECT LAST_INSERT_ID() insert into cms_topic (category_id, name, create_time, start_time, end_time, attend_count, attention_count, read_count, award_name, attend_type, content) values (#{categoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{attendCount,jdbcType=INTEGER}, #{attentionCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{awardName,jdbcType=VARCHAR}, #{attendType,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR}) SELECT LAST_INSERT_ID() insert into cms_topic category_id, name, create_time, start_time, end_time, attend_count, attention_count, read_count, award_name, attend_type, content, #{categoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{attendCount,jdbcType=INTEGER}, #{attentionCount,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{awardName,jdbcType=VARCHAR}, #{attendType,jdbcType=VARCHAR}, #{content,jdbcType=LONGVARCHAR}, update cms_topic id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, start_time = #{record.startTime,jdbcType=TIMESTAMP}, end_time = #{record.endTime,jdbcType=TIMESTAMP}, attend_count = #{record.attendCount,jdbcType=INTEGER}, attention_count = #{record.attentionCount,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, award_name = #{record.awardName,jdbcType=VARCHAR}, attend_type = #{record.attendType,jdbcType=VARCHAR}, content = #{record.content,jdbcType=LONGVARCHAR}, update cms_topic set id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, start_time = #{record.startTime,jdbcType=TIMESTAMP}, end_time = #{record.endTime,jdbcType=TIMESTAMP}, attend_count = #{record.attendCount,jdbcType=INTEGER}, attention_count = #{record.attentionCount,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, award_name = #{record.awardName,jdbcType=VARCHAR}, attend_type = #{record.attendType,jdbcType=VARCHAR}, content = #{record.content,jdbcType=LONGVARCHAR} update cms_topic set id = #{record.id,jdbcType=BIGINT}, category_id = #{record.categoryId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, start_time = #{record.startTime,jdbcType=TIMESTAMP}, end_time = #{record.endTime,jdbcType=TIMESTAMP}, attend_count = #{record.attendCount,jdbcType=INTEGER}, attention_count = #{record.attentionCount,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, award_name = #{record.awardName,jdbcType=VARCHAR}, attend_type = #{record.attendType,jdbcType=VARCHAR} update cms_topic category_id = #{categoryId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, start_time = #{startTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, attend_count = #{attendCount,jdbcType=INTEGER}, attention_count = #{attentionCount,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, award_name = #{awardName,jdbcType=VARCHAR}, attend_type = #{attendType,jdbcType=VARCHAR}, content = #{content,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update cms_topic set category_id = #{categoryId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, start_time = #{startTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, attend_count = #{attendCount,jdbcType=INTEGER}, attention_count = #{attentionCount,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, award_name = #{awardName,jdbcType=VARCHAR}, attend_type = #{attendType,jdbcType=VARCHAR}, content = #{content,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update cms_topic set category_id = #{categoryId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, start_time = #{startTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, attend_count = #{attendCount,jdbcType=INTEGER}, attention_count = #{attentionCount,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, award_name = #{awardName,jdbcType=VARCHAR}, attend_type = #{attendType,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCartItemMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${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 = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, quantity = #{record.quantity,jdbcType=INTEGER}, price = #{record.price,jdbcType=DECIMAL}, product_pic = #{record.productPic,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, product_sub_title = #{record.productSubTitle,jdbcType=VARCHAR}, product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, modify_date = #{record.modifyDate,jdbcType=TIMESTAMP}, delete_status = #{record.deleteStatus,jdbcType=INTEGER}, product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, product_brand = #{record.productBrand,jdbcType=VARCHAR}, product_sn = #{record.productSn,jdbcType=VARCHAR}, product_attr = #{record.productAttr,jdbcType=VARCHAR}, update oms_cart_item set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, quantity = #{record.quantity,jdbcType=INTEGER}, price = #{record.price,jdbcType=DECIMAL}, product_pic = #{record.productPic,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, product_sub_title = #{record.productSubTitle,jdbcType=VARCHAR}, product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, modify_date = #{record.modifyDate,jdbcType=TIMESTAMP}, delete_status = #{record.deleteStatus,jdbcType=INTEGER}, product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, product_brand = #{record.productBrand,jdbcType=VARCHAR}, product_sn = #{record.productSn,jdbcType=VARCHAR}, product_attr = #{record.productAttr,jdbcType=VARCHAR} update oms_cart_item product_id = #{productId,jdbcType=BIGINT}, product_sku_id = #{productSkuId,jdbcType=BIGINT}, member_id = #{memberId,jdbcType=BIGINT}, quantity = #{quantity,jdbcType=INTEGER}, price = #{price,jdbcType=DECIMAL}, 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} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, address_name, send_status, receive_status, name, phone, province, city, region, detail_address delete from oms_company_address where id = #{id,jdbcType=BIGINT} delete from oms_company_address SELECT LAST_INSERT_ID() insert into oms_company_address (address_name, send_status, receive_status, name, phone, province, city, region, detail_address ) values (#{addressName,jdbcType=VARCHAR}, #{sendStatus,jdbcType=INTEGER}, #{receiveStatus,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR} ) SELECT LAST_INSERT_ID() insert into oms_company_address address_name, send_status, receive_status, name, phone, province, city, region, detail_address, #{addressName,jdbcType=VARCHAR}, #{sendStatus,jdbcType=INTEGER}, #{receiveStatus,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR}, update oms_company_address id = #{record.id,jdbcType=BIGINT}, address_name = #{record.addressName,jdbcType=VARCHAR}, send_status = #{record.sendStatus,jdbcType=INTEGER}, receive_status = #{record.receiveStatus,jdbcType=INTEGER}, name = #{record.name,jdbcType=VARCHAR}, phone = #{record.phone,jdbcType=VARCHAR}, province = #{record.province,jdbcType=VARCHAR}, city = #{record.city,jdbcType=VARCHAR}, region = #{record.region,jdbcType=VARCHAR}, detail_address = #{record.detailAddress,jdbcType=VARCHAR}, update oms_company_address set id = #{record.id,jdbcType=BIGINT}, address_name = #{record.addressName,jdbcType=VARCHAR}, send_status = #{record.sendStatus,jdbcType=INTEGER}, receive_status = #{record.receiveStatus,jdbcType=INTEGER}, name = #{record.name,jdbcType=VARCHAR}, phone = #{record.phone,jdbcType=VARCHAR}, province = #{record.province,jdbcType=VARCHAR}, city = #{record.city,jdbcType=VARCHAR}, region = #{record.region,jdbcType=VARCHAR}, detail_address = #{record.detailAddress,jdbcType=VARCHAR} update oms_company_address address_name = #{addressName,jdbcType=VARCHAR}, send_status = #{sendStatus,jdbcType=INTEGER}, receive_status = #{receiveStatus,jdbcType=INTEGER}, name = #{name,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, province = #{province,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, region = #{region,jdbcType=VARCHAR}, detail_address = #{detailAddress,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update oms_company_address set address_name = #{addressName,jdbcType=VARCHAR}, send_status = #{sendStatus,jdbcType=INTEGER}, receive_status = #{receiveStatus,jdbcType=INTEGER}, name = #{name,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, province = #{province,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, region = #{region,jdbcType=VARCHAR}, detail_address = #{detailAddress,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${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 = #{record.id,jdbcType=BIGINT}, order_id = #{record.orderId,jdbcType=BIGINT}, order_sn = #{record.orderSn,jdbcType=VARCHAR}, product_id = #{record.productId,jdbcType=BIGINT}, product_pic = #{record.productPic,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, product_brand = #{record.productBrand,jdbcType=VARCHAR}, product_sn = #{record.productSn,jdbcType=VARCHAR}, product_price = #{record.productPrice,jdbcType=DECIMAL}, product_quantity = #{record.productQuantity,jdbcType=INTEGER}, product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, promotion_name = #{record.promotionName,jdbcType=VARCHAR}, promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, real_amount = #{record.realAmount,jdbcType=DECIMAL}, gift_integration = #{record.giftIntegration,jdbcType=INTEGER}, gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, product_attr = #{record.productAttr,jdbcType=VARCHAR}, update oms_order_item set id = #{record.id,jdbcType=BIGINT}, order_id = #{record.orderId,jdbcType=BIGINT}, order_sn = #{record.orderSn,jdbcType=VARCHAR}, product_id = #{record.productId,jdbcType=BIGINT}, product_pic = #{record.productPic,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, product_brand = #{record.productBrand,jdbcType=VARCHAR}, product_sn = #{record.productSn,jdbcType=VARCHAR}, product_price = #{record.productPrice,jdbcType=DECIMAL}, product_quantity = #{record.productQuantity,jdbcType=INTEGER}, product_sku_id = #{record.productSkuId,jdbcType=BIGINT}, product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR}, product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, promotion_name = #{record.promotionName,jdbcType=VARCHAR}, promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, real_amount = #{record.realAmount,jdbcType=DECIMAL}, gift_integration = #{record.giftIntegration,jdbcType=INTEGER}, gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, product_attr = #{record.productAttr,jdbcType=VARCHAR} update oms_order_item order_id = #{orderId,jdbcType=BIGINT}, order_sn = #{orderSn,jdbcType=VARCHAR}, product_id = #{productId,jdbcType=BIGINT}, product_pic = #{productPic,jdbcType=VARCHAR}, product_name = #{productName,jdbcType=VARCHAR}, product_brand = #{productBrand,jdbcType=VARCHAR}, product_sn = #{productSn,jdbcType=VARCHAR}, product_price = #{productPrice,jdbcType=DECIMAL}, product_quantity = #{productQuantity,jdbcType=INTEGER}, product_sku_id = #{productSkuId,jdbcType=BIGINT}, product_sku_code = #{productSkuCode,jdbcType=VARCHAR}, product_category_id = #{productCategoryId,jdbcType=BIGINT}, 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} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, member_id, coupon_id, order_sn, create_time, member_username, total_amount, pay_amount, freight_amount, promotion_amount, integration_amount, coupon_amount, discount_amount, pay_type, source_type, status, order_type, delivery_company, delivery_sn, auto_confirm_day, integration, growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone, bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province, receiver_city, receiver_region, receiver_detail_address, note, confirm_status, delete_status, use_integration, payment_time, delivery_time, receive_time, comment_time, modify_time delete from oms_order where id = #{id,jdbcType=BIGINT} delete from oms_order SELECT LAST_INSERT_ID() insert into oms_order (member_id, coupon_id, order_sn, create_time, member_username, total_amount, pay_amount, freight_amount, promotion_amount, integration_amount, coupon_amount, discount_amount, pay_type, source_type, status, order_type, delivery_company, delivery_sn, auto_confirm_day, integration, growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone, bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province, receiver_city, receiver_region, receiver_detail_address, note, confirm_status, delete_status, use_integration, payment_time, delivery_time, receive_time, comment_time, modify_time) values (#{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL}, #{payAmount,jdbcType=DECIMAL}, #{freightAmount,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL}, #{integrationAmount,jdbcType=DECIMAL}, #{couponAmount,jdbcType=DECIMAL}, #{discountAmount,jdbcType=DECIMAL}, #{payType,jdbcType=INTEGER}, #{sourceType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{orderType,jdbcType=INTEGER}, #{deliveryCompany,jdbcType=VARCHAR}, #{deliverySn,jdbcType=VARCHAR}, #{autoConfirmDay,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, #{promotionInfo,jdbcType=VARCHAR}, #{billType,jdbcType=INTEGER}, #{billHeader,jdbcType=VARCHAR}, #{billContent,jdbcType=VARCHAR}, #{billReceiverPhone,jdbcType=VARCHAR}, #{billReceiverEmail,jdbcType=VARCHAR}, #{receiverName,jdbcType=VARCHAR}, #{receiverPhone,jdbcType=VARCHAR}, #{receiverPostCode,jdbcType=VARCHAR}, #{receiverProvince,jdbcType=VARCHAR}, #{receiverCity,jdbcType=VARCHAR}, #{receiverRegion,jdbcType=VARCHAR}, #{receiverDetailAddress,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{confirmStatus,jdbcType=INTEGER}, #{deleteStatus,jdbcType=INTEGER}, #{useIntegration,jdbcType=INTEGER}, #{paymentTime,jdbcType=TIMESTAMP}, #{deliveryTime,jdbcType=TIMESTAMP}, #{receiveTime,jdbcType=TIMESTAMP}, #{commentTime,jdbcType=TIMESTAMP}, #{modifyTime,jdbcType=TIMESTAMP}) SELECT LAST_INSERT_ID() insert into oms_order member_id, coupon_id, order_sn, create_time, member_username, total_amount, pay_amount, freight_amount, promotion_amount, integration_amount, coupon_amount, discount_amount, pay_type, source_type, status, order_type, delivery_company, delivery_sn, auto_confirm_day, integration, growth, promotion_info, bill_type, bill_header, bill_content, bill_receiver_phone, bill_receiver_email, receiver_name, receiver_phone, receiver_post_code, receiver_province, receiver_city, receiver_region, receiver_detail_address, note, confirm_status, delete_status, use_integration, payment_time, delivery_time, receive_time, comment_time, modify_time, #{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{totalAmount,jdbcType=DECIMAL}, #{payAmount,jdbcType=DECIMAL}, #{freightAmount,jdbcType=DECIMAL}, #{promotionAmount,jdbcType=DECIMAL}, #{integrationAmount,jdbcType=DECIMAL}, #{couponAmount,jdbcType=DECIMAL}, #{discountAmount,jdbcType=DECIMAL}, #{payType,jdbcType=INTEGER}, #{sourceType,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{orderType,jdbcType=INTEGER}, #{deliveryCompany,jdbcType=VARCHAR}, #{deliverySn,jdbcType=VARCHAR}, #{autoConfirmDay,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, #{promotionInfo,jdbcType=VARCHAR}, #{billType,jdbcType=INTEGER}, #{billHeader,jdbcType=VARCHAR}, #{billContent,jdbcType=VARCHAR}, #{billReceiverPhone,jdbcType=VARCHAR}, #{billReceiverEmail,jdbcType=VARCHAR}, #{receiverName,jdbcType=VARCHAR}, #{receiverPhone,jdbcType=VARCHAR}, #{receiverPostCode,jdbcType=VARCHAR}, #{receiverProvince,jdbcType=VARCHAR}, #{receiverCity,jdbcType=VARCHAR}, #{receiverRegion,jdbcType=VARCHAR}, #{receiverDetailAddress,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{confirmStatus,jdbcType=INTEGER}, #{deleteStatus,jdbcType=INTEGER}, #{useIntegration,jdbcType=INTEGER}, #{paymentTime,jdbcType=TIMESTAMP}, #{deliveryTime,jdbcType=TIMESTAMP}, #{receiveTime,jdbcType=TIMESTAMP}, #{commentTime,jdbcType=TIMESTAMP}, #{modifyTime,jdbcType=TIMESTAMP}, update oms_order id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, coupon_id = #{record.couponId,jdbcType=BIGINT}, order_sn = #{record.orderSn,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, member_username = #{record.memberUsername,jdbcType=VARCHAR}, total_amount = #{record.totalAmount,jdbcType=DECIMAL}, pay_amount = #{record.payAmount,jdbcType=DECIMAL}, freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, pay_type = #{record.payType,jdbcType=INTEGER}, source_type = #{record.sourceType,jdbcType=INTEGER}, status = #{record.status,jdbcType=INTEGER}, order_type = #{record.orderType,jdbcType=INTEGER}, delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, integration = #{record.integration,jdbcType=INTEGER}, growth = #{record.growth,jdbcType=INTEGER}, promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, bill_type = #{record.billType,jdbcType=INTEGER}, bill_header = #{record.billHeader,jdbcType=VARCHAR}, bill_content = #{record.billContent,jdbcType=VARCHAR}, bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, receiver_name = #{record.receiverName,jdbcType=VARCHAR}, receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, note = #{record.note,jdbcType=VARCHAR}, confirm_status = #{record.confirmStatus,jdbcType=INTEGER}, delete_status = #{record.deleteStatus,jdbcType=INTEGER}, use_integration = #{record.useIntegration,jdbcType=INTEGER}, payment_time = #{record.paymentTime,jdbcType=TIMESTAMP}, delivery_time = #{record.deliveryTime,jdbcType=TIMESTAMP}, receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, comment_time = #{record.commentTime,jdbcType=TIMESTAMP}, modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, update oms_order set id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, coupon_id = #{record.couponId,jdbcType=BIGINT}, order_sn = #{record.orderSn,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, member_username = #{record.memberUsername,jdbcType=VARCHAR}, total_amount = #{record.totalAmount,jdbcType=DECIMAL}, pay_amount = #{record.payAmount,jdbcType=DECIMAL}, freight_amount = #{record.freightAmount,jdbcType=DECIMAL}, promotion_amount = #{record.promotionAmount,jdbcType=DECIMAL}, integration_amount = #{record.integrationAmount,jdbcType=DECIMAL}, coupon_amount = #{record.couponAmount,jdbcType=DECIMAL}, discount_amount = #{record.discountAmount,jdbcType=DECIMAL}, pay_type = #{record.payType,jdbcType=INTEGER}, source_type = #{record.sourceType,jdbcType=INTEGER}, status = #{record.status,jdbcType=INTEGER}, order_type = #{record.orderType,jdbcType=INTEGER}, delivery_company = #{record.deliveryCompany,jdbcType=VARCHAR}, delivery_sn = #{record.deliverySn,jdbcType=VARCHAR}, auto_confirm_day = #{record.autoConfirmDay,jdbcType=INTEGER}, integration = #{record.integration,jdbcType=INTEGER}, growth = #{record.growth,jdbcType=INTEGER}, promotion_info = #{record.promotionInfo,jdbcType=VARCHAR}, bill_type = #{record.billType,jdbcType=INTEGER}, bill_header = #{record.billHeader,jdbcType=VARCHAR}, bill_content = #{record.billContent,jdbcType=VARCHAR}, bill_receiver_phone = #{record.billReceiverPhone,jdbcType=VARCHAR}, bill_receiver_email = #{record.billReceiverEmail,jdbcType=VARCHAR}, receiver_name = #{record.receiverName,jdbcType=VARCHAR}, receiver_phone = #{record.receiverPhone,jdbcType=VARCHAR}, receiver_post_code = #{record.receiverPostCode,jdbcType=VARCHAR}, receiver_province = #{record.receiverProvince,jdbcType=VARCHAR}, receiver_city = #{record.receiverCity,jdbcType=VARCHAR}, receiver_region = #{record.receiverRegion,jdbcType=VARCHAR}, receiver_detail_address = #{record.receiverDetailAddress,jdbcType=VARCHAR}, note = #{record.note,jdbcType=VARCHAR}, confirm_status = #{record.confirmStatus,jdbcType=INTEGER}, delete_status = #{record.deleteStatus,jdbcType=INTEGER}, use_integration = #{record.useIntegration,jdbcType=INTEGER}, payment_time = #{record.paymentTime,jdbcType=TIMESTAMP}, delivery_time = #{record.deliveryTime,jdbcType=TIMESTAMP}, receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, comment_time = #{record.commentTime,jdbcType=TIMESTAMP}, modify_time = #{record.modifyTime,jdbcType=TIMESTAMP} update oms_order member_id = #{memberId,jdbcType=BIGINT}, coupon_id = #{couponId,jdbcType=BIGINT}, order_sn = #{orderSn,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, member_username = #{memberUsername,jdbcType=VARCHAR}, total_amount = #{totalAmount,jdbcType=DECIMAL}, pay_amount = #{payAmount,jdbcType=DECIMAL}, freight_amount = #{freightAmount,jdbcType=DECIMAL}, promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, integration_amount = #{integrationAmount,jdbcType=DECIMAL}, coupon_amount = #{couponAmount,jdbcType=DECIMAL}, discount_amount = #{discountAmount,jdbcType=DECIMAL}, pay_type = #{payType,jdbcType=INTEGER}, source_type = #{sourceType,jdbcType=INTEGER}, status = #{status,jdbcType=INTEGER}, order_type = #{orderType,jdbcType=INTEGER}, delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, delivery_sn = #{deliverySn,jdbcType=VARCHAR}, auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, integration = #{integration,jdbcType=INTEGER}, growth = #{growth,jdbcType=INTEGER}, promotion_info = #{promotionInfo,jdbcType=VARCHAR}, bill_type = #{billType,jdbcType=INTEGER}, bill_header = #{billHeader,jdbcType=VARCHAR}, bill_content = #{billContent,jdbcType=VARCHAR}, bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, receiver_name = #{receiverName,jdbcType=VARCHAR}, receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, receiver_province = #{receiverProvince,jdbcType=VARCHAR}, receiver_city = #{receiverCity,jdbcType=VARCHAR}, receiver_region = #{receiverRegion,jdbcType=VARCHAR}, receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, note = #{note,jdbcType=VARCHAR}, confirm_status = #{confirmStatus,jdbcType=INTEGER}, delete_status = #{deleteStatus,jdbcType=INTEGER}, use_integration = #{useIntegration,jdbcType=INTEGER}, payment_time = #{paymentTime,jdbcType=TIMESTAMP}, delivery_time = #{deliveryTime,jdbcType=TIMESTAMP}, receive_time = #{receiveTime,jdbcType=TIMESTAMP}, comment_time = #{commentTime,jdbcType=TIMESTAMP}, modify_time = #{modifyTime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update oms_order set member_id = #{memberId,jdbcType=BIGINT}, coupon_id = #{couponId,jdbcType=BIGINT}, order_sn = #{orderSn,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, member_username = #{memberUsername,jdbcType=VARCHAR}, total_amount = #{totalAmount,jdbcType=DECIMAL}, pay_amount = #{payAmount,jdbcType=DECIMAL}, freight_amount = #{freightAmount,jdbcType=DECIMAL}, promotion_amount = #{promotionAmount,jdbcType=DECIMAL}, integration_amount = #{integrationAmount,jdbcType=DECIMAL}, coupon_amount = #{couponAmount,jdbcType=DECIMAL}, discount_amount = #{discountAmount,jdbcType=DECIMAL}, pay_type = #{payType,jdbcType=INTEGER}, source_type = #{sourceType,jdbcType=INTEGER}, status = #{status,jdbcType=INTEGER}, order_type = #{orderType,jdbcType=INTEGER}, delivery_company = #{deliveryCompany,jdbcType=VARCHAR}, delivery_sn = #{deliverySn,jdbcType=VARCHAR}, auto_confirm_day = #{autoConfirmDay,jdbcType=INTEGER}, integration = #{integration,jdbcType=INTEGER}, growth = #{growth,jdbcType=INTEGER}, promotion_info = #{promotionInfo,jdbcType=VARCHAR}, bill_type = #{billType,jdbcType=INTEGER}, bill_header = #{billHeader,jdbcType=VARCHAR}, bill_content = #{billContent,jdbcType=VARCHAR}, bill_receiver_phone = #{billReceiverPhone,jdbcType=VARCHAR}, bill_receiver_email = #{billReceiverEmail,jdbcType=VARCHAR}, receiver_name = #{receiverName,jdbcType=VARCHAR}, receiver_phone = #{receiverPhone,jdbcType=VARCHAR}, receiver_post_code = #{receiverPostCode,jdbcType=VARCHAR}, receiver_province = #{receiverProvince,jdbcType=VARCHAR}, receiver_city = #{receiverCity,jdbcType=VARCHAR}, receiver_region = #{receiverRegion,jdbcType=VARCHAR}, receiver_detail_address = #{receiverDetailAddress,jdbcType=VARCHAR}, note = #{note,jdbcType=VARCHAR}, confirm_status = #{confirmStatus,jdbcType=INTEGER}, delete_status = #{deleteStatus,jdbcType=INTEGER}, use_integration = #{useIntegration,jdbcType=INTEGER}, payment_time = #{paymentTime,jdbcType=TIMESTAMP}, delivery_time = #{deliveryTime,jdbcType=TIMESTAMP}, receive_time = #{receiveTime,jdbcType=TIMESTAMP}, comment_time = #{commentTime,jdbcType=TIMESTAMP}, modify_time = #{modifyTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, order_id, operate_man, create_time, order_status, note delete from oms_order_operate_history where id = #{id,jdbcType=BIGINT} delete from oms_order_operate_history SELECT LAST_INSERT_ID() insert into oms_order_operate_history (order_id, operate_man, create_time, order_status, note) values (#{orderId,jdbcType=BIGINT}, #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{orderStatus,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into oms_order_operate_history order_id, operate_man, create_time, order_status, note, #{orderId,jdbcType=BIGINT}, #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{orderStatus,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}, update oms_order_operate_history id = #{record.id,jdbcType=BIGINT}, order_id = #{record.orderId,jdbcType=BIGINT}, operate_man = #{record.operateMan,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, order_status = #{record.orderStatus,jdbcType=INTEGER}, note = #{record.note,jdbcType=VARCHAR}, update oms_order_operate_history set id = #{record.id,jdbcType=BIGINT}, order_id = #{record.orderId,jdbcType=BIGINT}, operate_man = #{record.operateMan,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, order_status = #{record.orderStatus,jdbcType=INTEGER}, note = #{record.note,jdbcType=VARCHAR} update oms_order_operate_history order_id = #{orderId,jdbcType=BIGINT}, operate_man = #{operateMan,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, order_status = #{orderStatus,jdbcType=INTEGER}, note = #{note,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update oms_order_operate_history set order_id = #{orderId,jdbcType=BIGINT}, operate_man = #{operateMan,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, order_status = #{orderStatus,jdbcType=INTEGER}, note = #{note,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, order_id, company_address_id, product_id, order_sn, create_time, member_username, return_amount, return_name, return_phone, status, handle_time, product_pic, product_name, product_brand, product_attr, product_count, product_price, product_real_price, reason, description, proof_pics, handle_note, handle_man, receive_man, receive_time, receive_note delete from oms_order_return_apply where id = #{id,jdbcType=BIGINT} delete from oms_order_return_apply SELECT LAST_INSERT_ID() insert into oms_order_return_apply (order_id, company_address_id, product_id, order_sn, create_time, member_username, return_amount, return_name, return_phone, status, handle_time, product_pic, product_name, product_brand, product_attr, product_count, product_price, product_real_price, reason, description, proof_pics, handle_note, handle_man, receive_man, receive_time, receive_note) values (#{orderId,jdbcType=BIGINT}, #{companyAddressId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{returnAmount,jdbcType=DECIMAL}, #{returnName,jdbcType=VARCHAR}, #{returnPhone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{handleTime,jdbcType=TIMESTAMP}, #{productPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}, #{productCount,jdbcType=INTEGER}, #{productPrice,jdbcType=DECIMAL}, #{productRealPrice,jdbcType=DECIMAL}, #{reason,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{proofPics,jdbcType=VARCHAR}, #{handleNote,jdbcType=VARCHAR}, #{handleMan,jdbcType=VARCHAR}, #{receiveMan,jdbcType=VARCHAR}, #{receiveTime,jdbcType=TIMESTAMP}, #{receiveNote,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into oms_order_return_apply order_id, company_address_id, product_id, order_sn, create_time, member_username, return_amount, return_name, return_phone, status, handle_time, product_pic, product_name, product_brand, product_attr, product_count, product_price, product_real_price, reason, description, proof_pics, handle_note, handle_man, receive_man, receive_time, receive_note, #{orderId,jdbcType=BIGINT}, #{companyAddressId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, #{returnAmount,jdbcType=DECIMAL}, #{returnName,jdbcType=VARCHAR}, #{returnPhone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{handleTime,jdbcType=TIMESTAMP}, #{productPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{productBrand,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}, #{productCount,jdbcType=INTEGER}, #{productPrice,jdbcType=DECIMAL}, #{productRealPrice,jdbcType=DECIMAL}, #{reason,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{proofPics,jdbcType=VARCHAR}, #{handleNote,jdbcType=VARCHAR}, #{handleMan,jdbcType=VARCHAR}, #{receiveMan,jdbcType=VARCHAR}, #{receiveTime,jdbcType=TIMESTAMP}, #{receiveNote,jdbcType=VARCHAR}, update oms_order_return_apply id = #{record.id,jdbcType=BIGINT}, order_id = #{record.orderId,jdbcType=BIGINT}, company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, order_sn = #{record.orderSn,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, member_username = #{record.memberUsername,jdbcType=VARCHAR}, return_amount = #{record.returnAmount,jdbcType=DECIMAL}, return_name = #{record.returnName,jdbcType=VARCHAR}, return_phone = #{record.returnPhone,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, product_pic = #{record.productPic,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, product_brand = #{record.productBrand,jdbcType=VARCHAR}, product_attr = #{record.productAttr,jdbcType=VARCHAR}, product_count = #{record.productCount,jdbcType=INTEGER}, product_price = #{record.productPrice,jdbcType=DECIMAL}, product_real_price = #{record.productRealPrice,jdbcType=DECIMAL}, reason = #{record.reason,jdbcType=VARCHAR}, description = #{record.description,jdbcType=VARCHAR}, proof_pics = #{record.proofPics,jdbcType=VARCHAR}, handle_note = #{record.handleNote,jdbcType=VARCHAR}, handle_man = #{record.handleMan,jdbcType=VARCHAR}, receive_man = #{record.receiveMan,jdbcType=VARCHAR}, receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, receive_note = #{record.receiveNote,jdbcType=VARCHAR}, update oms_order_return_apply set id = #{record.id,jdbcType=BIGINT}, order_id = #{record.orderId,jdbcType=BIGINT}, company_address_id = #{record.companyAddressId,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, order_sn = #{record.orderSn,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, member_username = #{record.memberUsername,jdbcType=VARCHAR}, return_amount = #{record.returnAmount,jdbcType=DECIMAL}, return_name = #{record.returnName,jdbcType=VARCHAR}, return_phone = #{record.returnPhone,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, handle_time = #{record.handleTime,jdbcType=TIMESTAMP}, product_pic = #{record.productPic,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, product_brand = #{record.productBrand,jdbcType=VARCHAR}, product_attr = #{record.productAttr,jdbcType=VARCHAR}, product_count = #{record.productCount,jdbcType=INTEGER}, product_price = #{record.productPrice,jdbcType=DECIMAL}, product_real_price = #{record.productRealPrice,jdbcType=DECIMAL}, reason = #{record.reason,jdbcType=VARCHAR}, description = #{record.description,jdbcType=VARCHAR}, proof_pics = #{record.proofPics,jdbcType=VARCHAR}, handle_note = #{record.handleNote,jdbcType=VARCHAR}, handle_man = #{record.handleMan,jdbcType=VARCHAR}, receive_man = #{record.receiveMan,jdbcType=VARCHAR}, receive_time = #{record.receiveTime,jdbcType=TIMESTAMP}, receive_note = #{record.receiveNote,jdbcType=VARCHAR} update oms_order_return_apply order_id = #{orderId,jdbcType=BIGINT}, company_address_id = #{companyAddressId,jdbcType=BIGINT}, product_id = #{productId,jdbcType=BIGINT}, order_sn = #{orderSn,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, member_username = #{memberUsername,jdbcType=VARCHAR}, return_amount = #{returnAmount,jdbcType=DECIMAL}, return_name = #{returnName,jdbcType=VARCHAR}, return_phone = #{returnPhone,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, handle_time = #{handleTime,jdbcType=TIMESTAMP}, product_pic = #{productPic,jdbcType=VARCHAR}, product_name = #{productName,jdbcType=VARCHAR}, product_brand = #{productBrand,jdbcType=VARCHAR}, product_attr = #{productAttr,jdbcType=VARCHAR}, product_count = #{productCount,jdbcType=INTEGER}, product_price = #{productPrice,jdbcType=DECIMAL}, product_real_price = #{productRealPrice,jdbcType=DECIMAL}, reason = #{reason,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, proof_pics = #{proofPics,jdbcType=VARCHAR}, handle_note = #{handleNote,jdbcType=VARCHAR}, handle_man = #{handleMan,jdbcType=VARCHAR}, receive_man = #{receiveMan,jdbcType=VARCHAR}, receive_time = #{receiveTime,jdbcType=TIMESTAMP}, receive_note = #{receiveNote,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update oms_order_return_apply set order_id = #{orderId,jdbcType=BIGINT}, company_address_id = #{companyAddressId,jdbcType=BIGINT}, product_id = #{productId,jdbcType=BIGINT}, order_sn = #{orderSn,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, member_username = #{memberUsername,jdbcType=VARCHAR}, return_amount = #{returnAmount,jdbcType=DECIMAL}, return_name = #{returnName,jdbcType=VARCHAR}, return_phone = #{returnPhone,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, handle_time = #{handleTime,jdbcType=TIMESTAMP}, product_pic = #{productPic,jdbcType=VARCHAR}, product_name = #{productName,jdbcType=VARCHAR}, product_brand = #{productBrand,jdbcType=VARCHAR}, product_attr = #{productAttr,jdbcType=VARCHAR}, product_count = #{productCount,jdbcType=INTEGER}, product_price = #{productPrice,jdbcType=DECIMAL}, product_real_price = #{productRealPrice,jdbcType=DECIMAL}, reason = #{reason,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, proof_pics = #{proofPics,jdbcType=VARCHAR}, handle_note = #{handleNote,jdbcType=VARCHAR}, handle_man = #{handleMan,jdbcType=VARCHAR}, receive_man = #{receiveMan,jdbcType=VARCHAR}, receive_time = #{receiveTime,jdbcType=TIMESTAMP}, receive_note = #{receiveNote,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, sort, status, create_time delete from oms_order_return_reason where id = #{id,jdbcType=BIGINT} delete from oms_order_return_reason SELECT LAST_INSERT_ID() insert into oms_order_return_reason (name, sort, status, create_time) values (#{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}) SELECT LAST_INSERT_ID() insert into oms_order_return_reason name, sort, status, create_time, #{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, update oms_order_return_reason id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER}, status = #{record.status,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update oms_order_return_reason set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER}, status = #{record.status,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP} update oms_order_return_reason name = #{name,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, status = #{status,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update oms_order_return_reason set name = #{name,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, status = #{status,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, flash_order_overtime, normal_order_overtime, confirm_overtime, finish_overtime, comment_overtime delete from oms_order_setting where id = #{id,jdbcType=BIGINT} delete from oms_order_setting SELECT LAST_INSERT_ID() insert into oms_order_setting (flash_order_overtime, normal_order_overtime, confirm_overtime, finish_overtime, comment_overtime ) values (#{flashOrderOvertime,jdbcType=INTEGER}, #{normalOrderOvertime,jdbcType=INTEGER}, #{confirmOvertime,jdbcType=INTEGER}, #{finishOvertime,jdbcType=INTEGER}, #{commentOvertime,jdbcType=INTEGER} ) SELECT LAST_INSERT_ID() insert into oms_order_setting flash_order_overtime, normal_order_overtime, confirm_overtime, finish_overtime, comment_overtime, #{flashOrderOvertime,jdbcType=INTEGER}, #{normalOrderOvertime,jdbcType=INTEGER}, #{confirmOvertime,jdbcType=INTEGER}, #{finishOvertime,jdbcType=INTEGER}, #{commentOvertime,jdbcType=INTEGER}, update oms_order_setting id = #{record.id,jdbcType=BIGINT}, flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, comment_overtime = #{record.commentOvertime,jdbcType=INTEGER}, update oms_order_setting set id = #{record.id,jdbcType=BIGINT}, flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, comment_overtime = #{record.commentOvertime,jdbcType=INTEGER} update oms_order_setting flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, finish_overtime = #{finishOvertime,jdbcType=INTEGER}, comment_overtime = #{commentOvertime,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update oms_order_setting set flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, finish_overtime = #{finishOvertime,jdbcType=INTEGER}, comment_overtime = #{commentOvertime,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, cover_pic, pic_count, sort, description delete from pms_album where id = #{id,jdbcType=BIGINT} delete from pms_album SELECT LAST_INSERT_ID() insert into pms_album (name, cover_pic, pic_count, sort, description) values (#{name,jdbcType=VARCHAR}, #{coverPic,jdbcType=VARCHAR}, #{picCount,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into pms_album name, cover_pic, pic_count, sort, description, #{name,jdbcType=VARCHAR}, #{coverPic,jdbcType=VARCHAR}, #{picCount,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR}, update pms_album id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, cover_pic = #{record.coverPic,jdbcType=VARCHAR}, pic_count = #{record.picCount,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, description = #{record.description,jdbcType=VARCHAR}, update pms_album set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, cover_pic = #{record.coverPic,jdbcType=VARCHAR}, pic_count = #{record.picCount,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, description = #{record.description,jdbcType=VARCHAR} update pms_album name = #{name,jdbcType=VARCHAR}, cover_pic = #{coverPic,jdbcType=VARCHAR}, pic_count = #{picCount,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, description = #{description,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update pms_album set name = #{name,jdbcType=VARCHAR}, cover_pic = #{coverPic,jdbcType=VARCHAR}, pic_count = #{picCount,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, description = #{description,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, album_id, pic delete from pms_album_pic where id = #{id,jdbcType=BIGINT} delete from pms_album_pic SELECT LAST_INSERT_ID() insert into pms_album_pic (album_id, pic) values (#{albumId,jdbcType=BIGINT}, #{pic,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into pms_album_pic album_id, pic, #{albumId,jdbcType=BIGINT}, #{pic,jdbcType=VARCHAR}, update pms_album_pic id = #{record.id,jdbcType=BIGINT}, album_id = #{record.albumId,jdbcType=BIGINT}, pic = #{record.pic,jdbcType=VARCHAR}, update pms_album_pic set id = #{record.id,jdbcType=BIGINT}, album_id = #{record.albumId,jdbcType=BIGINT}, pic = #{record.pic,jdbcType=VARCHAR} update pms_album_pic album_id = #{albumId,jdbcType=BIGINT}, pic = #{pic,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update pms_album_pic set album_id = #{albumId,jdbcType=BIGINT}, pic = #{pic,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, first_letter, sort, factory_status, show_status, product_count, product_comment_count, logo, big_pic brand_story delete from pms_brand where id = #{id,jdbcType=BIGINT} delete from pms_brand SELECT LAST_INSERT_ID() insert into pms_brand (name, first_letter, sort, factory_status, show_status, product_count, product_comment_count, logo, big_pic, brand_story) values (#{name,jdbcType=VARCHAR}, #{firstLetter,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{factoryStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER}, #{productCommentCount,jdbcType=INTEGER}, #{logo,jdbcType=VARCHAR}, #{bigPic,jdbcType=VARCHAR}, #{brandStory,jdbcType=LONGVARCHAR}) SELECT LAST_INSERT_ID() insert into pms_brand name, first_letter, sort, factory_status, show_status, product_count, product_comment_count, logo, big_pic, brand_story, #{name,jdbcType=VARCHAR}, #{firstLetter,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{factoryStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER}, #{productCommentCount,jdbcType=INTEGER}, #{logo,jdbcType=VARCHAR}, #{bigPic,jdbcType=VARCHAR}, #{brandStory,jdbcType=LONGVARCHAR}, update pms_brand id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, first_letter = #{record.firstLetter,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER}, factory_status = #{record.factoryStatus,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, product_count = #{record.productCount,jdbcType=INTEGER}, product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, logo = #{record.logo,jdbcType=VARCHAR}, big_pic = #{record.bigPic,jdbcType=VARCHAR}, brand_story = #{record.brandStory,jdbcType=LONGVARCHAR}, update pms_brand set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, first_letter = #{record.firstLetter,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER}, factory_status = #{record.factoryStatus,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, product_count = #{record.productCount,jdbcType=INTEGER}, product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, logo = #{record.logo,jdbcType=VARCHAR}, big_pic = #{record.bigPic,jdbcType=VARCHAR}, brand_story = #{record.brandStory,jdbcType=LONGVARCHAR} update pms_brand set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, first_letter = #{record.firstLetter,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER}, factory_status = #{record.factoryStatus,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, product_count = #{record.productCount,jdbcType=INTEGER}, product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, logo = #{record.logo,jdbcType=VARCHAR}, big_pic = #{record.bigPic,jdbcType=VARCHAR} update pms_brand name = #{name,jdbcType=VARCHAR}, first_letter = #{firstLetter,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, factory_status = #{factoryStatus,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, product_count = #{productCount,jdbcType=INTEGER}, product_comment_count = #{productCommentCount,jdbcType=INTEGER}, logo = #{logo,jdbcType=VARCHAR}, big_pic = #{bigPic,jdbcType=VARCHAR}, brand_story = #{brandStory,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update pms_brand set name = #{name,jdbcType=VARCHAR}, first_letter = #{firstLetter,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, factory_status = #{factoryStatus,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, product_count = #{productCount,jdbcType=INTEGER}, product_comment_count = #{productCommentCount,jdbcType=INTEGER}, logo = #{logo,jdbcType=VARCHAR}, big_pic = #{bigPic,jdbcType=VARCHAR}, brand_story = #{brandStory,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update pms_brand set name = #{name,jdbcType=VARCHAR}, first_letter = #{firstLetter,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, factory_status = #{factoryStatus,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, product_count = #{productCount,jdbcType=INTEGER}, product_comment_count = #{productCommentCount,jdbcType=INTEGER}, logo = #{logo,jdbcType=VARCHAR}, big_pic = #{bigPic,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, product_id, member_nick_name, product_name, star, member_ip, create_time, show_status, product_attribute, collect_couont, read_count, pics, member_icon, replay_count content delete from pms_comment where id = #{id,jdbcType=BIGINT} delete from pms_comment SELECT LAST_INSERT_ID() insert into pms_comment (product_id, member_nick_name, product_name, star, member_ip, create_time, show_status, product_attribute, collect_couont, read_count, pics, member_icon, replay_count, content) values (#{productId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{star,jdbcType=INTEGER}, #{memberIp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER}, #{productAttribute,jdbcType=VARCHAR}, #{collectCouont,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{pics,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, #{replayCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}) SELECT LAST_INSERT_ID() insert into pms_comment product_id, member_nick_name, product_name, star, member_ip, create_time, show_status, product_attribute, collect_couont, read_count, pics, member_icon, replay_count, content, #{productId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{star,jdbcType=INTEGER}, #{memberIp,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{showStatus,jdbcType=INTEGER}, #{productAttribute,jdbcType=VARCHAR}, #{collectCouont,jdbcType=INTEGER}, #{readCount,jdbcType=INTEGER}, #{pics,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, #{replayCount,jdbcType=INTEGER}, #{content,jdbcType=LONGVARCHAR}, update pms_comment id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, star = #{record.star,jdbcType=INTEGER}, member_ip = #{record.memberIp,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, show_status = #{record.showStatus,jdbcType=INTEGER}, product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, collect_couont = #{record.collectCouont,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, pics = #{record.pics,jdbcType=VARCHAR}, member_icon = #{record.memberIcon,jdbcType=VARCHAR}, replay_count = #{record.replayCount,jdbcType=INTEGER}, content = #{record.content,jdbcType=LONGVARCHAR}, update pms_comment set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, star = #{record.star,jdbcType=INTEGER}, member_ip = #{record.memberIp,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, show_status = #{record.showStatus,jdbcType=INTEGER}, product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, collect_couont = #{record.collectCouont,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, pics = #{record.pics,jdbcType=VARCHAR}, member_icon = #{record.memberIcon,jdbcType=VARCHAR}, replay_count = #{record.replayCount,jdbcType=INTEGER}, content = #{record.content,jdbcType=LONGVARCHAR} update pms_comment set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, star = #{record.star,jdbcType=INTEGER}, member_ip = #{record.memberIp,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, show_status = #{record.showStatus,jdbcType=INTEGER}, product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, collect_couont = #{record.collectCouont,jdbcType=INTEGER}, read_count = #{record.readCount,jdbcType=INTEGER}, pics = #{record.pics,jdbcType=VARCHAR}, member_icon = #{record.memberIcon,jdbcType=VARCHAR}, replay_count = #{record.replayCount,jdbcType=INTEGER} update pms_comment product_id = #{productId,jdbcType=BIGINT}, member_nick_name = #{memberNickName,jdbcType=VARCHAR}, product_name = #{productName,jdbcType=VARCHAR}, star = #{star,jdbcType=INTEGER}, member_ip = #{memberIp,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, show_status = #{showStatus,jdbcType=INTEGER}, product_attribute = #{productAttribute,jdbcType=VARCHAR}, collect_couont = #{collectCouont,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, pics = #{pics,jdbcType=VARCHAR}, member_icon = #{memberIcon,jdbcType=VARCHAR}, replay_count = #{replayCount,jdbcType=INTEGER}, content = #{content,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update pms_comment set product_id = #{productId,jdbcType=BIGINT}, member_nick_name = #{memberNickName,jdbcType=VARCHAR}, product_name = #{productName,jdbcType=VARCHAR}, star = #{star,jdbcType=INTEGER}, member_ip = #{memberIp,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, show_status = #{showStatus,jdbcType=INTEGER}, product_attribute = #{productAttribute,jdbcType=VARCHAR}, collect_couont = #{collectCouont,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, pics = #{pics,jdbcType=VARCHAR}, member_icon = #{memberIcon,jdbcType=VARCHAR}, replay_count = #{replayCount,jdbcType=INTEGER}, content = #{content,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update pms_comment set product_id = #{productId,jdbcType=BIGINT}, member_nick_name = #{memberNickName,jdbcType=VARCHAR}, product_name = #{productName,jdbcType=VARCHAR}, star = #{star,jdbcType=INTEGER}, member_ip = #{memberIp,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, show_status = #{showStatus,jdbcType=INTEGER}, product_attribute = #{productAttribute,jdbcType=VARCHAR}, collect_couont = #{collectCouont,jdbcType=INTEGER}, read_count = #{readCount,jdbcType=INTEGER}, pics = #{pics,jdbcType=VARCHAR}, member_icon = #{memberIcon,jdbcType=VARCHAR}, replay_count = #{replayCount,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, comment_id, member_nick_name, member_icon, content, create_time, type delete from pms_comment_replay where id = #{id,jdbcType=BIGINT} delete from pms_comment_replay SELECT LAST_INSERT_ID() insert into pms_comment_replay (comment_id, member_nick_name, member_icon, content, create_time, type ) values (#{commentId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER} ) SELECT LAST_INSERT_ID() insert into pms_comment_replay comment_id, member_nick_name, member_icon, content, create_time, type, #{commentId,jdbcType=BIGINT}, #{memberNickName,jdbcType=VARCHAR}, #{memberIcon,jdbcType=VARCHAR}, #{content,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{type,jdbcType=INTEGER}, update pms_comment_replay id = #{record.id,jdbcType=BIGINT}, comment_id = #{record.commentId,jdbcType=BIGINT}, member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, member_icon = #{record.memberIcon,jdbcType=VARCHAR}, content = #{record.content,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, type = #{record.type,jdbcType=INTEGER}, update pms_comment_replay set id = #{record.id,jdbcType=BIGINT}, comment_id = #{record.commentId,jdbcType=BIGINT}, member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, member_icon = #{record.memberIcon,jdbcType=VARCHAR}, content = #{record.content,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, type = #{record.type,jdbcType=INTEGER} update pms_comment_replay comment_id = #{commentId,jdbcType=BIGINT}, member_nick_name = #{memberNickName,jdbcType=VARCHAR}, member_icon = #{memberIcon,jdbcType=VARCHAR}, content = #{content,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, type = #{type,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update pms_comment_replay set comment_id = #{commentId,jdbcType=BIGINT}, member_nick_name = #{memberNickName,jdbcType=VARCHAR}, member_icon = #{memberIcon,jdbcType=VARCHAR}, content = #{content,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, type = #{type,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, charge_type, first_weight, first_fee, continue_weight, continme_fee, dest delete from pms_feight_template where id = #{id,jdbcType=BIGINT} delete from pms_feight_template SELECT LAST_INSERT_ID() insert into pms_feight_template (name, charge_type, first_weight, first_fee, continue_weight, continme_fee, dest) values (#{name,jdbcType=VARCHAR}, #{chargeType,jdbcType=INTEGER}, #{firstWeight,jdbcType=DECIMAL}, #{firstFee,jdbcType=DECIMAL}, #{continueWeight,jdbcType=DECIMAL}, #{continmeFee,jdbcType=DECIMAL}, #{dest,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into pms_feight_template name, charge_type, first_weight, first_fee, continue_weight, continme_fee, dest, #{name,jdbcType=VARCHAR}, #{chargeType,jdbcType=INTEGER}, #{firstWeight,jdbcType=DECIMAL}, #{firstFee,jdbcType=DECIMAL}, #{continueWeight,jdbcType=DECIMAL}, #{continmeFee,jdbcType=DECIMAL}, #{dest,jdbcType=VARCHAR}, update pms_feight_template id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, charge_type = #{record.chargeType,jdbcType=INTEGER}, first_weight = #{record.firstWeight,jdbcType=DECIMAL}, first_fee = #{record.firstFee,jdbcType=DECIMAL}, continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, dest = #{record.dest,jdbcType=VARCHAR}, update pms_feight_template set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, charge_type = #{record.chargeType,jdbcType=INTEGER}, first_weight = #{record.firstWeight,jdbcType=DECIMAL}, first_fee = #{record.firstFee,jdbcType=DECIMAL}, continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, dest = #{record.dest,jdbcType=VARCHAR} update pms_feight_template name = #{name,jdbcType=VARCHAR}, charge_type = #{chargeType,jdbcType=INTEGER}, first_weight = #{firstWeight,jdbcType=DECIMAL}, first_fee = #{firstFee,jdbcType=DECIMAL}, continue_weight = #{continueWeight,jdbcType=DECIMAL}, continme_fee = #{continmeFee,jdbcType=DECIMAL}, dest = #{dest,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update pms_feight_template set name = #{name,jdbcType=VARCHAR}, charge_type = #{chargeType,jdbcType=INTEGER}, first_weight = #{firstWeight,jdbcType=DECIMAL}, first_fee = #{firstFee,jdbcType=DECIMAL}, continue_weight = #{continueWeight,jdbcType=DECIMAL}, continme_fee = #{continmeFee,jdbcType=DECIMAL}, dest = #{dest,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, product_id, member_level_id, member_price, member_level_name delete from pms_member_price where id = #{id,jdbcType=BIGINT} delete from pms_member_price SELECT LAST_INSERT_ID() insert into pms_member_price (product_id, member_level_id, member_price, member_level_name) values (#{productId,jdbcType=BIGINT}, #{memberLevelId,jdbcType=BIGINT}, #{memberPrice,jdbcType=DECIMAL}, #{memberLevelName,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into pms_member_price product_id, member_level_id, member_price, member_level_name, #{productId,jdbcType=BIGINT}, #{memberLevelId,jdbcType=BIGINT}, #{memberPrice,jdbcType=DECIMAL}, #{memberLevelName,jdbcType=VARCHAR}, update pms_member_price id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, member_price = #{record.memberPrice,jdbcType=DECIMAL}, member_level_name = #{record.memberLevelName,jdbcType=VARCHAR}, update pms_member_price set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, member_price = #{record.memberPrice,jdbcType=DECIMAL}, member_level_name = #{record.memberLevelName,jdbcType=VARCHAR} update pms_member_price product_id = #{productId,jdbcType=BIGINT}, member_level_id = #{memberLevelId,jdbcType=BIGINT}, member_price = #{memberPrice,jdbcType=DECIMAL}, member_level_name = #{memberLevelName,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update pms_member_price set product_id = #{productId,jdbcType=BIGINT}, member_level_id = #{memberLevelId,jdbcType=BIGINT}, member_price = #{memberPrice,jdbcType=DECIMAL}, member_level_name = #{memberLevelName,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, attribute_count, param_count delete from pms_product_attribute_category where id = #{id,jdbcType=BIGINT} delete from pms_product_attribute_category SELECT LAST_INSERT_ID() insert into pms_product_attribute_category (name, attribute_count, param_count ) values (#{name,jdbcType=VARCHAR}, #{attributeCount,jdbcType=INTEGER}, #{paramCount,jdbcType=INTEGER} ) SELECT LAST_INSERT_ID() insert into pms_product_attribute_category name, attribute_count, param_count, #{name,jdbcType=VARCHAR}, #{attributeCount,jdbcType=INTEGER}, #{paramCount,jdbcType=INTEGER}, update pms_product_attribute_category id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, attribute_count = #{record.attributeCount,jdbcType=INTEGER}, param_count = #{record.paramCount,jdbcType=INTEGER}, update pms_product_attribute_category set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, attribute_count = #{record.attributeCount,jdbcType=INTEGER}, param_count = #{record.paramCount,jdbcType=INTEGER} update pms_product_attribute_category name = #{name,jdbcType=VARCHAR}, attribute_count = #{attributeCount,jdbcType=INTEGER}, param_count = #{paramCount,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update pms_product_attribute_category set name = #{name,jdbcType=VARCHAR}, attribute_count = #{attributeCount,jdbcType=INTEGER}, param_count = #{paramCount,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, product_attribute_category_id, name, select_type, input_type, input_list, sort, filter_type, search_type, related_status, hand_add_status, type delete from pms_product_attribute where id = #{id,jdbcType=BIGINT} delete from pms_product_attribute SELECT LAST_INSERT_ID() insert into pms_product_attribute (product_attribute_category_id, name, select_type, input_type, input_list, sort, filter_type, search_type, related_status, hand_add_status, type ) values (#{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{selectType,jdbcType=INTEGER}, #{inputType,jdbcType=INTEGER}, #{inputList,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{filterType,jdbcType=INTEGER}, #{searchType,jdbcType=INTEGER}, #{relatedStatus,jdbcType=INTEGER}, #{handAddStatus,jdbcType=INTEGER}, #{type,jdbcType=INTEGER} ) SELECT LAST_INSERT_ID() insert into pms_product_attribute product_attribute_category_id, name, select_type, input_type, input_list, sort, filter_type, search_type, related_status, hand_add_status, type, #{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{selectType,jdbcType=INTEGER}, #{inputType,jdbcType=INTEGER}, #{inputList,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{filterType,jdbcType=INTEGER}, #{searchType,jdbcType=INTEGER}, #{relatedStatus,jdbcType=INTEGER}, #{handAddStatus,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, update pms_product_attribute id = #{record.id,jdbcType=BIGINT}, product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, select_type = #{record.selectType,jdbcType=INTEGER}, input_type = #{record.inputType,jdbcType=INTEGER}, input_list = #{record.inputList,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER}, filter_type = #{record.filterType,jdbcType=INTEGER}, search_type = #{record.searchType,jdbcType=INTEGER}, related_status = #{record.relatedStatus,jdbcType=INTEGER}, hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, type = #{record.type,jdbcType=INTEGER}, update pms_product_attribute set id = #{record.id,jdbcType=BIGINT}, product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, select_type = #{record.selectType,jdbcType=INTEGER}, input_type = #{record.inputType,jdbcType=INTEGER}, input_list = #{record.inputList,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER}, filter_type = #{record.filterType,jdbcType=INTEGER}, search_type = #{record.searchType,jdbcType=INTEGER}, related_status = #{record.relatedStatus,jdbcType=INTEGER}, hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, type = #{record.type,jdbcType=INTEGER} update pms_product_attribute product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, select_type = #{selectType,jdbcType=INTEGER}, input_type = #{inputType,jdbcType=INTEGER}, input_list = #{inputList,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, filter_type = #{filterType,jdbcType=INTEGER}, search_type = #{searchType,jdbcType=INTEGER}, related_status = #{relatedStatus,jdbcType=INTEGER}, hand_add_status = #{handAddStatus,jdbcType=INTEGER}, type = #{type,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update pms_product_attribute set product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, select_type = #{selectType,jdbcType=INTEGER}, input_type = #{inputType,jdbcType=INTEGER}, input_list = #{inputList,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, filter_type = #{filterType,jdbcType=INTEGER}, search_type = #{searchType,jdbcType=INTEGER}, related_status = #{relatedStatus,jdbcType=INTEGER}, hand_add_status = #{handAddStatus,jdbcType=INTEGER}, type = #{type,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, product_id, product_attribute_id, value delete from pms_product_attribute_value where id = #{id,jdbcType=BIGINT} delete from pms_product_attribute_value SELECT LAST_INSERT_ID() insert into pms_product_attribute_value (product_id, product_attribute_id, value ) values (#{productId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT}, #{value,jdbcType=VARCHAR} ) SELECT LAST_INSERT_ID() insert into pms_product_attribute_value product_id, product_attribute_id, value, #{productId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT}, #{value,jdbcType=VARCHAR}, update pms_product_attribute_value id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, value = #{record.value,jdbcType=VARCHAR}, update pms_product_attribute_value set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, value = #{record.value,jdbcType=VARCHAR} update pms_product_attribute_value product_id = #{productId,jdbcType=BIGINT}, product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, value = #{value,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update pms_product_attribute_value set product_id = #{productId,jdbcType=BIGINT}, product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, value = #{value,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, product_category_id, product_attribute_id delete from pms_product_category_attribute_relation where id = #{id,jdbcType=BIGINT} delete from pms_product_category_attribute_relation SELECT LAST_INSERT_ID() insert into pms_product_category_attribute_relation (product_category_id, product_attribute_id ) values (#{productCategoryId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT} ) SELECT LAST_INSERT_ID() insert into pms_product_category_attribute_relation product_category_id, product_attribute_id, #{productCategoryId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT}, update pms_product_category_attribute_relation id = #{record.id,jdbcType=BIGINT}, product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, update pms_product_category_attribute_relation set id = #{record.id,jdbcType=BIGINT}, product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT} update pms_product_category_attribute_relation product_category_id = #{productCategoryId,jdbcType=BIGINT}, product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, where id = #{id,jdbcType=BIGINT} update pms_product_category_attribute_relation set product_category_id = #{productCategoryId,jdbcType=BIGINT}, product_attribute_id = #{productAttributeId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, parent_id, name, level, product_count, product_unit, nav_status, show_status, sort, icon, keywords description delete from pms_product_category where id = #{id,jdbcType=BIGINT} delete from pms_product_category SELECT LAST_INSERT_ID() insert into pms_product_category (parent_id, name, level, product_count, product_unit, nav_status, show_status, sort, icon, keywords, description) values (#{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER}, #{productUnit,jdbcType=VARCHAR}, #{navStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR}, #{keywords,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}) SELECT LAST_INSERT_ID() insert into pms_product_category parent_id, name, level, product_count, product_unit, nav_status, show_status, sort, icon, keywords, description, #{parentId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{level,jdbcType=INTEGER}, #{productCount,jdbcType=INTEGER}, #{productUnit,jdbcType=VARCHAR}, #{navStatus,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR}, #{keywords,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}, update pms_product_category id = #{record.id,jdbcType=BIGINT}, parent_id = #{record.parentId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, level = #{record.level,jdbcType=INTEGER}, product_count = #{record.productCount,jdbcType=INTEGER}, product_unit = #{record.productUnit,jdbcType=VARCHAR}, nav_status = #{record.navStatus,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, icon = #{record.icon,jdbcType=VARCHAR}, keywords = #{record.keywords,jdbcType=VARCHAR}, description = #{record.description,jdbcType=LONGVARCHAR}, update pms_product_category set id = #{record.id,jdbcType=BIGINT}, parent_id = #{record.parentId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, level = #{record.level,jdbcType=INTEGER}, product_count = #{record.productCount,jdbcType=INTEGER}, product_unit = #{record.productUnit,jdbcType=VARCHAR}, nav_status = #{record.navStatus,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, icon = #{record.icon,jdbcType=VARCHAR}, keywords = #{record.keywords,jdbcType=VARCHAR}, description = #{record.description,jdbcType=LONGVARCHAR} update pms_product_category set id = #{record.id,jdbcType=BIGINT}, parent_id = #{record.parentId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, level = #{record.level,jdbcType=INTEGER}, product_count = #{record.productCount,jdbcType=INTEGER}, product_unit = #{record.productUnit,jdbcType=VARCHAR}, nav_status = #{record.navStatus,jdbcType=INTEGER}, show_status = #{record.showStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, icon = #{record.icon,jdbcType=VARCHAR}, keywords = #{record.keywords,jdbcType=VARCHAR} update pms_product_category parent_id = #{parentId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, level = #{level,jdbcType=INTEGER}, product_count = #{productCount,jdbcType=INTEGER}, product_unit = #{productUnit,jdbcType=VARCHAR}, nav_status = #{navStatus,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, icon = #{icon,jdbcType=VARCHAR}, keywords = #{keywords,jdbcType=VARCHAR}, description = #{description,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update pms_product_category set parent_id = #{parentId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, level = #{level,jdbcType=INTEGER}, product_count = #{productCount,jdbcType=INTEGER}, product_unit = #{productUnit,jdbcType=VARCHAR}, nav_status = #{navStatus,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, icon = #{icon,jdbcType=VARCHAR}, keywords = #{keywords,jdbcType=VARCHAR}, description = #{description,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update pms_product_category set parent_id = #{parentId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, level = #{level,jdbcType=INTEGER}, product_count = #{productCount,jdbcType=INTEGER}, product_unit = #{productUnit,jdbcType=VARCHAR}, nav_status = #{navStatus,jdbcType=INTEGER}, show_status = #{showStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, icon = #{icon,jdbcType=VARCHAR}, keywords = #{keywords,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, product_id, full_price, reduce_price delete from pms_product_full_reduction where id = #{id,jdbcType=BIGINT} delete from pms_product_full_reduction SELECT LAST_INSERT_ID() insert into pms_product_full_reduction (product_id, full_price, reduce_price ) values (#{productId,jdbcType=BIGINT}, #{fullPrice,jdbcType=DECIMAL}, #{reducePrice,jdbcType=DECIMAL} ) SELECT LAST_INSERT_ID() insert into pms_product_full_reduction product_id, full_price, reduce_price, #{productId,jdbcType=BIGINT}, #{fullPrice,jdbcType=DECIMAL}, #{reducePrice,jdbcType=DECIMAL}, update pms_product_full_reduction id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, full_price = #{record.fullPrice,jdbcType=DECIMAL}, reduce_price = #{record.reducePrice,jdbcType=DECIMAL}, update pms_product_full_reduction set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, full_price = #{record.fullPrice,jdbcType=DECIMAL}, reduce_price = #{record.reducePrice,jdbcType=DECIMAL} update pms_product_full_reduction product_id = #{productId,jdbcType=BIGINT}, full_price = #{fullPrice,jdbcType=DECIMAL}, reduce_price = #{reducePrice,jdbcType=DECIMAL}, where id = #{id,jdbcType=BIGINT} update pms_product_full_reduction set product_id = #{productId,jdbcType=BIGINT}, full_price = #{fullPrice,jdbcType=DECIMAL}, reduce_price = #{reducePrice,jdbcType=DECIMAL} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, product_id, count, discount, price delete from pms_product_ladder where id = #{id,jdbcType=BIGINT} delete from pms_product_ladder SELECT LAST_INSERT_ID() insert into pms_product_ladder (product_id, count, discount, price) values (#{productId,jdbcType=BIGINT}, #{count,jdbcType=INTEGER}, #{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}) SELECT LAST_INSERT_ID() insert into pms_product_ladder product_id, count, discount, price, #{productId,jdbcType=BIGINT}, #{count,jdbcType=INTEGER}, #{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}, update pms_product_ladder id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, count = #{record.count,jdbcType=INTEGER}, discount = #{record.discount,jdbcType=DECIMAL}, price = #{record.price,jdbcType=DECIMAL}, update pms_product_ladder set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, count = #{record.count,jdbcType=INTEGER}, discount = #{record.discount,jdbcType=DECIMAL}, price = #{record.price,jdbcType=DECIMAL} update pms_product_ladder product_id = #{productId,jdbcType=BIGINT}, count = #{count,jdbcType=INTEGER}, discount = #{discount,jdbcType=DECIMAL}, price = #{price,jdbcType=DECIMAL}, where id = #{id,jdbcType=BIGINT} update pms_product_ladder set product_id = #{productId,jdbcType=BIGINT}, count = #{count,jdbcType=INTEGER}, discount = #{discount,jdbcType=DECIMAL}, price = #{price,jdbcType=DECIMAL} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, brand_id, product_category_id, feight_template_id, product_attribute_category_id, name, pic, product_sn, delete_status, publish_status, new_status, recommand_status, verify_status, sort, sale, price, promotion_price, gift_growth, gift_point, use_point_limit, sub_title, original_price, stock, low_stock, unit, weight, preview_status, service_ids, keywords, note, album_pics, detail_title, promotion_start_time, promotion_end_time, promotion_per_limit, promotion_type, brand_name, product_category_name description, detail_desc, detail_html, detail_mobile_html delete from pms_product where id = #{id,jdbcType=BIGINT} delete from pms_product SELECT LAST_INSERT_ID() insert into pms_product (brand_id, product_category_id, feight_template_id, product_attribute_category_id, name, pic, product_sn, delete_status, publish_status, new_status, recommand_status, verify_status, sort, sale, price, promotion_price, gift_growth, gift_point, use_point_limit, sub_title, original_price, stock, low_stock, unit, weight, preview_status, service_ids, keywords, note, album_pics, detail_title, promotion_start_time, promotion_end_time, promotion_per_limit, promotion_type, brand_name, product_category_name, description, detail_desc, detail_html, detail_mobile_html) values (#{brandId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{feightTemplateId,jdbcType=BIGINT}, #{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{productSn,jdbcType=VARCHAR}, #{deleteStatus,jdbcType=INTEGER}, #{publishStatus,jdbcType=INTEGER}, #{newStatus,jdbcType=INTEGER}, #{recommandStatus,jdbcType=INTEGER}, #{verifyStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{sale,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, #{promotionPrice,jdbcType=DECIMAL}, #{giftGrowth,jdbcType=INTEGER}, #{giftPoint,jdbcType=INTEGER}, #{usePointLimit,jdbcType=INTEGER}, #{subTitle,jdbcType=VARCHAR}, #{originalPrice,jdbcType=DECIMAL}, #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{unit,jdbcType=VARCHAR}, #{weight,jdbcType=DECIMAL}, #{previewStatus,jdbcType=INTEGER}, #{serviceIds,jdbcType=VARCHAR}, #{keywords,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{albumPics,jdbcType=VARCHAR}, #{detailTitle,jdbcType=VARCHAR}, #{promotionStartTime,jdbcType=TIMESTAMP}, #{promotionEndTime,jdbcType=TIMESTAMP}, #{promotionPerLimit,jdbcType=INTEGER}, #{promotionType,jdbcType=INTEGER}, #{brandName,jdbcType=VARCHAR}, #{productCategoryName,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}, #{detailDesc,jdbcType=LONGVARCHAR}, #{detailHtml,jdbcType=LONGVARCHAR}, #{detailMobileHtml,jdbcType=LONGVARCHAR}) SELECT LAST_INSERT_ID() insert into pms_product brand_id, product_category_id, feight_template_id, product_attribute_category_id, name, pic, product_sn, delete_status, publish_status, new_status, recommand_status, verify_status, sort, sale, price, promotion_price, gift_growth, gift_point, use_point_limit, sub_title, original_price, stock, low_stock, unit, weight, preview_status, service_ids, keywords, note, album_pics, detail_title, promotion_start_time, promotion_end_time, promotion_per_limit, promotion_type, brand_name, product_category_name, description, detail_desc, detail_html, detail_mobile_html, #{brandId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{feightTemplateId,jdbcType=BIGINT}, #{productAttributeCategoryId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, #{productSn,jdbcType=VARCHAR}, #{deleteStatus,jdbcType=INTEGER}, #{publishStatus,jdbcType=INTEGER}, #{newStatus,jdbcType=INTEGER}, #{recommandStatus,jdbcType=INTEGER}, #{verifyStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{sale,jdbcType=INTEGER}, #{price,jdbcType=DECIMAL}, #{promotionPrice,jdbcType=DECIMAL}, #{giftGrowth,jdbcType=INTEGER}, #{giftPoint,jdbcType=INTEGER}, #{usePointLimit,jdbcType=INTEGER}, #{subTitle,jdbcType=VARCHAR}, #{originalPrice,jdbcType=DECIMAL}, #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, #{unit,jdbcType=VARCHAR}, #{weight,jdbcType=DECIMAL}, #{previewStatus,jdbcType=INTEGER}, #{serviceIds,jdbcType=VARCHAR}, #{keywords,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{albumPics,jdbcType=VARCHAR}, #{detailTitle,jdbcType=VARCHAR}, #{promotionStartTime,jdbcType=TIMESTAMP}, #{promotionEndTime,jdbcType=TIMESTAMP}, #{promotionPerLimit,jdbcType=INTEGER}, #{promotionType,jdbcType=INTEGER}, #{brandName,jdbcType=VARCHAR}, #{productCategoryName,jdbcType=VARCHAR}, #{description,jdbcType=LONGVARCHAR}, #{detailDesc,jdbcType=LONGVARCHAR}, #{detailHtml,jdbcType=LONGVARCHAR}, #{detailMobileHtml,jdbcType=LONGVARCHAR}, update pms_product id = #{record.id,jdbcType=BIGINT}, brand_id = #{record.brandId,jdbcType=BIGINT}, product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, product_sn = #{record.productSn,jdbcType=VARCHAR}, delete_status = #{record.deleteStatus,jdbcType=INTEGER}, publish_status = #{record.publishStatus,jdbcType=INTEGER}, new_status = #{record.newStatus,jdbcType=INTEGER}, recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, verify_status = #{record.verifyStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, sale = #{record.sale,jdbcType=INTEGER}, price = #{record.price,jdbcType=DECIMAL}, promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, gift_point = #{record.giftPoint,jdbcType=INTEGER}, use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, sub_title = #{record.subTitle,jdbcType=VARCHAR}, original_price = #{record.originalPrice,jdbcType=DECIMAL}, stock = #{record.stock,jdbcType=INTEGER}, low_stock = #{record.lowStock,jdbcType=INTEGER}, unit = #{record.unit,jdbcType=VARCHAR}, weight = #{record.weight,jdbcType=DECIMAL}, preview_status = #{record.previewStatus,jdbcType=INTEGER}, service_ids = #{record.serviceIds,jdbcType=VARCHAR}, keywords = #{record.keywords,jdbcType=VARCHAR}, note = #{record.note,jdbcType=VARCHAR}, album_pics = #{record.albumPics,jdbcType=VARCHAR}, detail_title = #{record.detailTitle,jdbcType=VARCHAR}, promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, promotion_type = #{record.promotionType,jdbcType=INTEGER}, brand_name = #{record.brandName,jdbcType=VARCHAR}, product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, description = #{record.description,jdbcType=LONGVARCHAR}, detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR}, update pms_product set id = #{record.id,jdbcType=BIGINT}, brand_id = #{record.brandId,jdbcType=BIGINT}, product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, product_sn = #{record.productSn,jdbcType=VARCHAR}, delete_status = #{record.deleteStatus,jdbcType=INTEGER}, publish_status = #{record.publishStatus,jdbcType=INTEGER}, new_status = #{record.newStatus,jdbcType=INTEGER}, recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, verify_status = #{record.verifyStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, sale = #{record.sale,jdbcType=INTEGER}, price = #{record.price,jdbcType=DECIMAL}, promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, gift_point = #{record.giftPoint,jdbcType=INTEGER}, use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, sub_title = #{record.subTitle,jdbcType=VARCHAR}, original_price = #{record.originalPrice,jdbcType=DECIMAL}, stock = #{record.stock,jdbcType=INTEGER}, low_stock = #{record.lowStock,jdbcType=INTEGER}, unit = #{record.unit,jdbcType=VARCHAR}, weight = #{record.weight,jdbcType=DECIMAL}, preview_status = #{record.previewStatus,jdbcType=INTEGER}, service_ids = #{record.serviceIds,jdbcType=VARCHAR}, keywords = #{record.keywords,jdbcType=VARCHAR}, note = #{record.note,jdbcType=VARCHAR}, album_pics = #{record.albumPics,jdbcType=VARCHAR}, detail_title = #{record.detailTitle,jdbcType=VARCHAR}, promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, promotion_type = #{record.promotionType,jdbcType=INTEGER}, brand_name = #{record.brandName,jdbcType=VARCHAR}, product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, description = #{record.description,jdbcType=LONGVARCHAR}, detail_desc = #{record.detailDesc,jdbcType=LONGVARCHAR}, detail_html = #{record.detailHtml,jdbcType=LONGVARCHAR}, detail_mobile_html = #{record.detailMobileHtml,jdbcType=LONGVARCHAR} update pms_product set id = #{record.id,jdbcType=BIGINT}, brand_id = #{record.brandId,jdbcType=BIGINT}, product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, feight_template_id = #{record.feightTemplateId,jdbcType=BIGINT}, product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, pic = #{record.pic,jdbcType=VARCHAR}, product_sn = #{record.productSn,jdbcType=VARCHAR}, delete_status = #{record.deleteStatus,jdbcType=INTEGER}, publish_status = #{record.publishStatus,jdbcType=INTEGER}, new_status = #{record.newStatus,jdbcType=INTEGER}, recommand_status = #{record.recommandStatus,jdbcType=INTEGER}, verify_status = #{record.verifyStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, sale = #{record.sale,jdbcType=INTEGER}, price = #{record.price,jdbcType=DECIMAL}, promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, gift_growth = #{record.giftGrowth,jdbcType=INTEGER}, gift_point = #{record.giftPoint,jdbcType=INTEGER}, use_point_limit = #{record.usePointLimit,jdbcType=INTEGER}, sub_title = #{record.subTitle,jdbcType=VARCHAR}, original_price = #{record.originalPrice,jdbcType=DECIMAL}, stock = #{record.stock,jdbcType=INTEGER}, low_stock = #{record.lowStock,jdbcType=INTEGER}, unit = #{record.unit,jdbcType=VARCHAR}, weight = #{record.weight,jdbcType=DECIMAL}, preview_status = #{record.previewStatus,jdbcType=INTEGER}, service_ids = #{record.serviceIds,jdbcType=VARCHAR}, keywords = #{record.keywords,jdbcType=VARCHAR}, note = #{record.note,jdbcType=VARCHAR}, album_pics = #{record.albumPics,jdbcType=VARCHAR}, detail_title = #{record.detailTitle,jdbcType=VARCHAR}, promotion_start_time = #{record.promotionStartTime,jdbcType=TIMESTAMP}, promotion_end_time = #{record.promotionEndTime,jdbcType=TIMESTAMP}, promotion_per_limit = #{record.promotionPerLimit,jdbcType=INTEGER}, promotion_type = #{record.promotionType,jdbcType=INTEGER}, brand_name = #{record.brandName,jdbcType=VARCHAR}, product_category_name = #{record.productCategoryName,jdbcType=VARCHAR} update pms_product brand_id = #{brandId,jdbcType=BIGINT}, product_category_id = #{productCategoryId,jdbcType=BIGINT}, feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, product_sn = #{productSn,jdbcType=VARCHAR}, delete_status = #{deleteStatus,jdbcType=INTEGER}, publish_status = #{publishStatus,jdbcType=INTEGER}, new_status = #{newStatus,jdbcType=INTEGER}, recommand_status = #{recommandStatus,jdbcType=INTEGER}, verify_status = #{verifyStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, sale = #{sale,jdbcType=INTEGER}, price = #{price,jdbcType=DECIMAL}, promotion_price = #{promotionPrice,jdbcType=DECIMAL}, gift_growth = #{giftGrowth,jdbcType=INTEGER}, gift_point = #{giftPoint,jdbcType=INTEGER}, use_point_limit = #{usePointLimit,jdbcType=INTEGER}, sub_title = #{subTitle,jdbcType=VARCHAR}, original_price = #{originalPrice,jdbcType=DECIMAL}, stock = #{stock,jdbcType=INTEGER}, low_stock = #{lowStock,jdbcType=INTEGER}, unit = #{unit,jdbcType=VARCHAR}, weight = #{weight,jdbcType=DECIMAL}, preview_status = #{previewStatus,jdbcType=INTEGER}, service_ids = #{serviceIds,jdbcType=VARCHAR}, keywords = #{keywords,jdbcType=VARCHAR}, note = #{note,jdbcType=VARCHAR}, album_pics = #{albumPics,jdbcType=VARCHAR}, detail_title = #{detailTitle,jdbcType=VARCHAR}, promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, promotion_type = #{promotionType,jdbcType=INTEGER}, brand_name = #{brandName,jdbcType=VARCHAR}, product_category_name = #{productCategoryName,jdbcType=VARCHAR}, description = #{description,jdbcType=LONGVARCHAR}, detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR}, where id = #{id,jdbcType=BIGINT} update pms_product set brand_id = #{brandId,jdbcType=BIGINT}, product_category_id = #{productCategoryId,jdbcType=BIGINT}, feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, product_sn = #{productSn,jdbcType=VARCHAR}, delete_status = #{deleteStatus,jdbcType=INTEGER}, publish_status = #{publishStatus,jdbcType=INTEGER}, new_status = #{newStatus,jdbcType=INTEGER}, recommand_status = #{recommandStatus,jdbcType=INTEGER}, verify_status = #{verifyStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, sale = #{sale,jdbcType=INTEGER}, price = #{price,jdbcType=DECIMAL}, promotion_price = #{promotionPrice,jdbcType=DECIMAL}, gift_growth = #{giftGrowth,jdbcType=INTEGER}, gift_point = #{giftPoint,jdbcType=INTEGER}, use_point_limit = #{usePointLimit,jdbcType=INTEGER}, sub_title = #{subTitle,jdbcType=VARCHAR}, original_price = #{originalPrice,jdbcType=DECIMAL}, stock = #{stock,jdbcType=INTEGER}, low_stock = #{lowStock,jdbcType=INTEGER}, unit = #{unit,jdbcType=VARCHAR}, weight = #{weight,jdbcType=DECIMAL}, preview_status = #{previewStatus,jdbcType=INTEGER}, service_ids = #{serviceIds,jdbcType=VARCHAR}, keywords = #{keywords,jdbcType=VARCHAR}, note = #{note,jdbcType=VARCHAR}, album_pics = #{albumPics,jdbcType=VARCHAR}, detail_title = #{detailTitle,jdbcType=VARCHAR}, promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, promotion_type = #{promotionType,jdbcType=INTEGER}, brand_name = #{brandName,jdbcType=VARCHAR}, product_category_name = #{productCategoryName,jdbcType=VARCHAR}, description = #{description,jdbcType=LONGVARCHAR}, detail_desc = #{detailDesc,jdbcType=LONGVARCHAR}, detail_html = #{detailHtml,jdbcType=LONGVARCHAR}, detail_mobile_html = #{detailMobileHtml,jdbcType=LONGVARCHAR} where id = #{id,jdbcType=BIGINT} update pms_product set brand_id = #{brandId,jdbcType=BIGINT}, product_category_id = #{productCategoryId,jdbcType=BIGINT}, feight_template_id = #{feightTemplateId,jdbcType=BIGINT}, product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, pic = #{pic,jdbcType=VARCHAR}, product_sn = #{productSn,jdbcType=VARCHAR}, delete_status = #{deleteStatus,jdbcType=INTEGER}, publish_status = #{publishStatus,jdbcType=INTEGER}, new_status = #{newStatus,jdbcType=INTEGER}, recommand_status = #{recommandStatus,jdbcType=INTEGER}, verify_status = #{verifyStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, sale = #{sale,jdbcType=INTEGER}, price = #{price,jdbcType=DECIMAL}, promotion_price = #{promotionPrice,jdbcType=DECIMAL}, gift_growth = #{giftGrowth,jdbcType=INTEGER}, gift_point = #{giftPoint,jdbcType=INTEGER}, use_point_limit = #{usePointLimit,jdbcType=INTEGER}, sub_title = #{subTitle,jdbcType=VARCHAR}, original_price = #{originalPrice,jdbcType=DECIMAL}, stock = #{stock,jdbcType=INTEGER}, low_stock = #{lowStock,jdbcType=INTEGER}, unit = #{unit,jdbcType=VARCHAR}, weight = #{weight,jdbcType=DECIMAL}, preview_status = #{previewStatus,jdbcType=INTEGER}, service_ids = #{serviceIds,jdbcType=VARCHAR}, keywords = #{keywords,jdbcType=VARCHAR}, note = #{note,jdbcType=VARCHAR}, album_pics = #{albumPics,jdbcType=VARCHAR}, detail_title = #{detailTitle,jdbcType=VARCHAR}, promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, promotion_type = #{promotionType,jdbcType=INTEGER}, brand_name = #{brandName,jdbcType=VARCHAR}, product_category_name = #{productCategoryName,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, product_id, price_old, price_new, sale_price_old, sale_price_new, gift_point_old, gift_point_new, use_point_limit_old, use_point_limit_new, operate_man, create_time delete from pms_product_operate_log where id = #{id,jdbcType=BIGINT} delete from pms_product_operate_log SELECT LAST_INSERT_ID() insert into pms_product_operate_log (product_id, price_old, price_new, sale_price_old, sale_price_new, gift_point_old, gift_point_new, use_point_limit_old, use_point_limit_new, operate_man, create_time) values (#{productId,jdbcType=BIGINT}, #{priceOld,jdbcType=DECIMAL}, #{priceNew,jdbcType=DECIMAL}, #{salePriceOld,jdbcType=DECIMAL}, #{salePriceNew,jdbcType=DECIMAL}, #{giftPointOld,jdbcType=INTEGER}, #{giftPointNew,jdbcType=INTEGER}, #{usePointLimitOld,jdbcType=INTEGER}, #{usePointLimitNew,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}) SELECT LAST_INSERT_ID() insert into pms_product_operate_log product_id, price_old, price_new, sale_price_old, sale_price_new, gift_point_old, gift_point_new, use_point_limit_old, use_point_limit_new, operate_man, create_time, #{productId,jdbcType=BIGINT}, #{priceOld,jdbcType=DECIMAL}, #{priceNew,jdbcType=DECIMAL}, #{salePriceOld,jdbcType=DECIMAL}, #{salePriceNew,jdbcType=DECIMAL}, #{giftPointOld,jdbcType=INTEGER}, #{giftPointNew,jdbcType=INTEGER}, #{usePointLimitOld,jdbcType=INTEGER}, #{usePointLimitNew,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, update pms_product_operate_log id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, price_old = #{record.priceOld,jdbcType=DECIMAL}, price_new = #{record.priceNew,jdbcType=DECIMAL}, sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, operate_man = #{record.operateMan,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update pms_product_operate_log set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, price_old = #{record.priceOld,jdbcType=DECIMAL}, price_new = #{record.priceNew,jdbcType=DECIMAL}, sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, operate_man = #{record.operateMan,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP} update pms_product_operate_log product_id = #{productId,jdbcType=BIGINT}, price_old = #{priceOld,jdbcType=DECIMAL}, price_new = #{priceNew,jdbcType=DECIMAL}, sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, gift_point_old = #{giftPointOld,jdbcType=INTEGER}, gift_point_new = #{giftPointNew,jdbcType=INTEGER}, use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, operate_man = #{operateMan,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update pms_product_operate_log set product_id = #{productId,jdbcType=BIGINT}, price_old = #{priceOld,jdbcType=DECIMAL}, price_new = #{priceNew,jdbcType=DECIMAL}, sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, gift_point_old = #{giftPointOld,jdbcType=INTEGER}, gift_point_new = #{giftPointNew,jdbcType=INTEGER}, use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, operate_man = #{operateMan,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, product_id, create_time, vertify_man, status, detail delete from pms_product_vertify_record where id = #{id,jdbcType=BIGINT} delete from pms_product_vertify_record SELECT LAST_INSERT_ID() insert into pms_product_vertify_record (product_id, create_time, vertify_man, status, detail) values (#{productId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{vertifyMan,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{detail,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into pms_product_vertify_record product_id, create_time, vertify_man, status, detail, #{productId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{vertifyMan,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{detail,jdbcType=VARCHAR}, update pms_product_vertify_record id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, detail = #{record.detail,jdbcType=VARCHAR}, update pms_product_vertify_record set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, detail = #{record.detail,jdbcType=VARCHAR} update pms_product_vertify_record product_id = #{productId,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, vertify_man = #{vertifyMan,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, detail = #{detail,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update pms_product_vertify_record set product_id = #{productId,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, vertify_man = #{vertifyMan,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, detail = #{detail,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${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 = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, sku_code = #{record.skuCode,jdbcType=VARCHAR}, price = #{record.price,jdbcType=DECIMAL}, stock = #{record.stock,jdbcType=INTEGER}, low_stock = #{record.lowStock,jdbcType=INTEGER}, pic = #{record.pic,jdbcType=VARCHAR}, sale = #{record.sale,jdbcType=INTEGER}, promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, lock_stock = #{record.lockStock,jdbcType=INTEGER}, sp_data = #{record.spData,jdbcType=VARCHAR}, update pms_sku_stock set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, sku_code = #{record.skuCode,jdbcType=VARCHAR}, price = #{record.price,jdbcType=DECIMAL}, stock = #{record.stock,jdbcType=INTEGER}, low_stock = #{record.lowStock,jdbcType=INTEGER}, pic = #{record.pic,jdbcType=VARCHAR}, sale = #{record.sale,jdbcType=INTEGER}, promotion_price = #{record.promotionPrice,jdbcType=DECIMAL}, lock_stock = #{record.lockStock,jdbcType=INTEGER}, sp_data = #{record.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} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, coupon_id, member_id, coupon_code, member_nickname, get_type, create_time, use_status, use_time, order_id, order_sn delete from sms_coupon_history where id = #{id,jdbcType=BIGINT} delete from sms_coupon_history SELECT LAST_INSERT_ID() insert into sms_coupon_history (coupon_id, member_id, coupon_code, member_nickname, get_type, create_time, use_status, use_time, order_id, order_sn) values (#{couponId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{couponCode,jdbcType=VARCHAR}, #{memberNickname,jdbcType=VARCHAR}, #{getType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{useStatus,jdbcType=INTEGER}, #{useTime,jdbcType=TIMESTAMP}, #{orderId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into sms_coupon_history coupon_id, member_id, coupon_code, member_nickname, get_type, create_time, use_status, use_time, order_id, order_sn, #{couponId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{couponCode,jdbcType=VARCHAR}, #{memberNickname,jdbcType=VARCHAR}, #{getType,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{useStatus,jdbcType=INTEGER}, #{useTime,jdbcType=TIMESTAMP}, #{orderId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, update sms_coupon_history id = #{record.id,jdbcType=BIGINT}, coupon_id = #{record.couponId,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, coupon_code = #{record.couponCode,jdbcType=VARCHAR}, member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, get_type = #{record.getType,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, use_status = #{record.useStatus,jdbcType=INTEGER}, use_time = #{record.useTime,jdbcType=TIMESTAMP}, order_id = #{record.orderId,jdbcType=BIGINT}, order_sn = #{record.orderSn,jdbcType=VARCHAR}, update sms_coupon_history set id = #{record.id,jdbcType=BIGINT}, coupon_id = #{record.couponId,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, coupon_code = #{record.couponCode,jdbcType=VARCHAR}, member_nickname = #{record.memberNickname,jdbcType=VARCHAR}, get_type = #{record.getType,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, use_status = #{record.useStatus,jdbcType=INTEGER}, use_time = #{record.useTime,jdbcType=TIMESTAMP}, order_id = #{record.orderId,jdbcType=BIGINT}, order_sn = #{record.orderSn,jdbcType=VARCHAR} update sms_coupon_history coupon_id = #{couponId,jdbcType=BIGINT}, member_id = #{memberId,jdbcType=BIGINT}, coupon_code = #{couponCode,jdbcType=VARCHAR}, member_nickname = #{memberNickname,jdbcType=VARCHAR}, get_type = #{getType,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, use_status = #{useStatus,jdbcType=INTEGER}, use_time = #{useTime,jdbcType=TIMESTAMP}, order_id = #{orderId,jdbcType=BIGINT}, order_sn = #{orderSn,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update sms_coupon_history set coupon_id = #{couponId,jdbcType=BIGINT}, member_id = #{memberId,jdbcType=BIGINT}, coupon_code = #{couponCode,jdbcType=VARCHAR}, member_nickname = #{memberNickname,jdbcType=VARCHAR}, get_type = #{getType,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, use_status = #{useStatus,jdbcType=INTEGER}, use_time = #{useTime,jdbcType=TIMESTAMP}, order_id = #{orderId,jdbcType=BIGINT}, order_sn = #{orderSn,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, type, name, platform, count, amount, per_limit, min_point, start_time, end_time, use_type, note, publish_count, use_count, receive_count, enable_time, code, member_level delete from sms_coupon where id = #{id,jdbcType=BIGINT} delete from sms_coupon SELECT LAST_INSERT_ID() insert into sms_coupon (type, name, platform, count, amount, per_limit, min_point, start_time, end_time, use_type, note, publish_count, use_count, receive_count, enable_time, code, member_level) values (#{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{platform,jdbcType=INTEGER}, #{count,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL}, #{perLimit,jdbcType=INTEGER}, #{minPoint,jdbcType=DECIMAL}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{useType,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}, #{publishCount,jdbcType=INTEGER}, #{useCount,jdbcType=INTEGER}, #{receiveCount,jdbcType=INTEGER}, #{enableTime,jdbcType=TIMESTAMP}, #{code,jdbcType=VARCHAR}, #{memberLevel,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into sms_coupon type, name, platform, count, amount, per_limit, min_point, start_time, end_time, use_type, note, publish_count, use_count, receive_count, enable_time, code, member_level, #{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{platform,jdbcType=INTEGER}, #{count,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL}, #{perLimit,jdbcType=INTEGER}, #{minPoint,jdbcType=DECIMAL}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{useType,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}, #{publishCount,jdbcType=INTEGER}, #{useCount,jdbcType=INTEGER}, #{receiveCount,jdbcType=INTEGER}, #{enableTime,jdbcType=TIMESTAMP}, #{code,jdbcType=VARCHAR}, #{memberLevel,jdbcType=INTEGER}, update sms_coupon id = #{record.id,jdbcType=BIGINT}, type = #{record.type,jdbcType=INTEGER}, name = #{record.name,jdbcType=VARCHAR}, platform = #{record.platform,jdbcType=INTEGER}, count = #{record.count,jdbcType=INTEGER}, amount = #{record.amount,jdbcType=DECIMAL}, per_limit = #{record.perLimit,jdbcType=INTEGER}, min_point = #{record.minPoint,jdbcType=DECIMAL}, start_time = #{record.startTime,jdbcType=TIMESTAMP}, end_time = #{record.endTime,jdbcType=TIMESTAMP}, use_type = #{record.useType,jdbcType=INTEGER}, note = #{record.note,jdbcType=VARCHAR}, publish_count = #{record.publishCount,jdbcType=INTEGER}, use_count = #{record.useCount,jdbcType=INTEGER}, receive_count = #{record.receiveCount,jdbcType=INTEGER}, enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, code = #{record.code,jdbcType=VARCHAR}, member_level = #{record.memberLevel,jdbcType=INTEGER}, update sms_coupon set id = #{record.id,jdbcType=BIGINT}, type = #{record.type,jdbcType=INTEGER}, name = #{record.name,jdbcType=VARCHAR}, platform = #{record.platform,jdbcType=INTEGER}, count = #{record.count,jdbcType=INTEGER}, amount = #{record.amount,jdbcType=DECIMAL}, per_limit = #{record.perLimit,jdbcType=INTEGER}, min_point = #{record.minPoint,jdbcType=DECIMAL}, start_time = #{record.startTime,jdbcType=TIMESTAMP}, end_time = #{record.endTime,jdbcType=TIMESTAMP}, use_type = #{record.useType,jdbcType=INTEGER}, note = #{record.note,jdbcType=VARCHAR}, publish_count = #{record.publishCount,jdbcType=INTEGER}, use_count = #{record.useCount,jdbcType=INTEGER}, receive_count = #{record.receiveCount,jdbcType=INTEGER}, enable_time = #{record.enableTime,jdbcType=TIMESTAMP}, code = #{record.code,jdbcType=VARCHAR}, member_level = #{record.memberLevel,jdbcType=INTEGER} update sms_coupon type = #{type,jdbcType=INTEGER}, name = #{name,jdbcType=VARCHAR}, platform = #{platform,jdbcType=INTEGER}, count = #{count,jdbcType=INTEGER}, amount = #{amount,jdbcType=DECIMAL}, per_limit = #{perLimit,jdbcType=INTEGER}, min_point = #{minPoint,jdbcType=DECIMAL}, start_time = #{startTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, use_type = #{useType,jdbcType=INTEGER}, note = #{note,jdbcType=VARCHAR}, publish_count = #{publishCount,jdbcType=INTEGER}, use_count = #{useCount,jdbcType=INTEGER}, receive_count = #{receiveCount,jdbcType=INTEGER}, enable_time = #{enableTime,jdbcType=TIMESTAMP}, code = #{code,jdbcType=VARCHAR}, member_level = #{memberLevel,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update sms_coupon set type = #{type,jdbcType=INTEGER}, name = #{name,jdbcType=VARCHAR}, platform = #{platform,jdbcType=INTEGER}, count = #{count,jdbcType=INTEGER}, amount = #{amount,jdbcType=DECIMAL}, per_limit = #{perLimit,jdbcType=INTEGER}, min_point = #{minPoint,jdbcType=DECIMAL}, start_time = #{startTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, use_type = #{useType,jdbcType=INTEGER}, note = #{note,jdbcType=VARCHAR}, publish_count = #{publishCount,jdbcType=INTEGER}, use_count = #{useCount,jdbcType=INTEGER}, receive_count = #{receiveCount,jdbcType=INTEGER}, enable_time = #{enableTime,jdbcType=TIMESTAMP}, code = #{code,jdbcType=VARCHAR}, member_level = #{memberLevel,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, coupon_id, product_category_id, product_category_name, parent_category_name delete from sms_coupon_product_category_relation where id = #{id,jdbcType=BIGINT} delete from sms_coupon_product_category_relation SELECT LAST_INSERT_ID() insert into sms_coupon_product_category_relation (coupon_id, product_category_id, product_category_name, parent_category_name) values (#{couponId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{productCategoryName,jdbcType=VARCHAR}, #{parentCategoryName,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into sms_coupon_product_category_relation coupon_id, product_category_id, product_category_name, parent_category_name, #{couponId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{productCategoryName,jdbcType=VARCHAR}, #{parentCategoryName,jdbcType=VARCHAR}, update sms_coupon_product_category_relation id = #{record.id,jdbcType=BIGINT}, coupon_id = #{record.couponId,jdbcType=BIGINT}, product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, parent_category_name = #{record.parentCategoryName,jdbcType=VARCHAR}, update sms_coupon_product_category_relation set id = #{record.id,jdbcType=BIGINT}, coupon_id = #{record.couponId,jdbcType=BIGINT}, product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, product_category_name = #{record.productCategoryName,jdbcType=VARCHAR}, parent_category_name = #{record.parentCategoryName,jdbcType=VARCHAR} update sms_coupon_product_category_relation coupon_id = #{couponId,jdbcType=BIGINT}, product_category_id = #{productCategoryId,jdbcType=BIGINT}, product_category_name = #{productCategoryName,jdbcType=VARCHAR}, parent_category_name = #{parentCategoryName,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update sms_coupon_product_category_relation set coupon_id = #{couponId,jdbcType=BIGINT}, product_category_id = #{productCategoryId,jdbcType=BIGINT}, product_category_name = #{productCategoryName,jdbcType=VARCHAR}, parent_category_name = #{parentCategoryName,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, coupon_id, product_id, product_name, product_sn delete from sms_coupon_product_relation where id = #{id,jdbcType=BIGINT} delete from sms_coupon_product_relation SELECT LAST_INSERT_ID() insert into sms_coupon_product_relation (coupon_id, product_id, product_name, product_sn) values (#{couponId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{productSn,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into sms_coupon_product_relation coupon_id, product_id, product_name, product_sn, #{couponId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{productSn,jdbcType=VARCHAR}, update sms_coupon_product_relation id = #{record.id,jdbcType=BIGINT}, coupon_id = #{record.couponId,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, product_name = #{record.productName,jdbcType=VARCHAR}, product_sn = #{record.productSn,jdbcType=VARCHAR}, update sms_coupon_product_relation set id = #{record.id,jdbcType=BIGINT}, coupon_id = #{record.couponId,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, product_name = #{record.productName,jdbcType=VARCHAR}, product_sn = #{record.productSn,jdbcType=VARCHAR} update sms_coupon_product_relation coupon_id = #{couponId,jdbcType=BIGINT}, product_id = #{productId,jdbcType=BIGINT}, product_name = #{productName,jdbcType=VARCHAR}, product_sn = #{productSn,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update sms_coupon_product_relation set coupon_id = #{couponId,jdbcType=BIGINT}, product_id = #{productId,jdbcType=BIGINT}, product_name = #{productName,jdbcType=VARCHAR}, product_sn = #{productSn,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, member_id, product_id, member_phone, product_name, subscribe_time, send_time delete from sms_flash_promotion_log where id = #{id,jdbcType=INTEGER} delete from sms_flash_promotion_log SELECT LAST_INSERT_ID() insert into sms_flash_promotion_log (member_id, product_id, member_phone, product_name, subscribe_time, send_time ) values (#{memberId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}, #{memberPhone,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{subscribeTime,jdbcType=TIMESTAMP}, #{sendTime,jdbcType=TIMESTAMP} ) SELECT LAST_INSERT_ID() insert into sms_flash_promotion_log member_id, product_id, member_phone, product_name, subscribe_time, send_time, #{memberId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}, #{memberPhone,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, #{subscribeTime,jdbcType=TIMESTAMP}, #{sendTime,jdbcType=TIMESTAMP}, update sms_flash_promotion_log id = #{record.id,jdbcType=INTEGER}, member_id = #{record.memberId,jdbcType=INTEGER}, product_id = #{record.productId,jdbcType=BIGINT}, member_phone = #{record.memberPhone,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, send_time = #{record.sendTime,jdbcType=TIMESTAMP}, update sms_flash_promotion_log set id = #{record.id,jdbcType=INTEGER}, member_id = #{record.memberId,jdbcType=INTEGER}, product_id = #{record.productId,jdbcType=BIGINT}, member_phone = #{record.memberPhone,jdbcType=VARCHAR}, product_name = #{record.productName,jdbcType=VARCHAR}, subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, send_time = #{record.sendTime,jdbcType=TIMESTAMP} update sms_flash_promotion_log member_id = #{memberId,jdbcType=INTEGER}, product_id = #{productId,jdbcType=BIGINT}, member_phone = #{memberPhone,jdbcType=VARCHAR}, product_name = #{productName,jdbcType=VARCHAR}, subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, send_time = #{sendTime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=INTEGER} update sms_flash_promotion_log set member_id = #{memberId,jdbcType=INTEGER}, product_id = #{productId,jdbcType=BIGINT}, member_phone = #{memberPhone,jdbcType=VARCHAR}, product_name = #{productName,jdbcType=VARCHAR}, subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, send_time = #{sendTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=INTEGER} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, title, start_date, end_date, status, create_time delete from sms_flash_promotion where id = #{id,jdbcType=BIGINT} delete from sms_flash_promotion SELECT LAST_INSERT_ID() insert into sms_flash_promotion (title, start_date, end_date, status, create_time) values (#{title,jdbcType=VARCHAR}, #{startDate,jdbcType=DATE}, #{endDate,jdbcType=DATE}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}) SELECT LAST_INSERT_ID() insert into sms_flash_promotion title, start_date, end_date, status, create_time, #{title,jdbcType=VARCHAR}, #{startDate,jdbcType=DATE}, #{endDate,jdbcType=DATE}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, update sms_flash_promotion id = #{record.id,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR}, start_date = #{record.startDate,jdbcType=DATE}, end_date = #{record.endDate,jdbcType=DATE}, status = #{record.status,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update sms_flash_promotion set id = #{record.id,jdbcType=BIGINT}, title = #{record.title,jdbcType=VARCHAR}, start_date = #{record.startDate,jdbcType=DATE}, end_date = #{record.endDate,jdbcType=DATE}, status = #{record.status,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP} update sms_flash_promotion title = #{title,jdbcType=VARCHAR}, start_date = #{startDate,jdbcType=DATE}, end_date = #{endDate,jdbcType=DATE}, status = #{status,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update sms_flash_promotion set title = #{title,jdbcType=VARCHAR}, start_date = #{startDate,jdbcType=DATE}, end_date = #{endDate,jdbcType=DATE}, status = #{status,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionProductRelationMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, flash_promotion_id, flash_promotion_session_id, product_id, flash_promotion_price, flash_promotion_count, flash_promotion_limit, sort delete from sms_flash_promotion_product_relation where id = #{id,jdbcType=BIGINT} delete from sms_flash_promotion_product_relation SELECT LAST_INSERT_ID() insert into sms_flash_promotion_product_relation (flash_promotion_id, flash_promotion_session_id, product_id, flash_promotion_price, flash_promotion_count, flash_promotion_limit, sort) values (#{flashPromotionId,jdbcType=BIGINT}, #{flashPromotionSessionId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{flashPromotionPrice,jdbcType=DECIMAL}, #{flashPromotionCount,jdbcType=INTEGER}, #{flashPromotionLimit,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into sms_flash_promotion_product_relation flash_promotion_id, flash_promotion_session_id, product_id, flash_promotion_price, flash_promotion_count, flash_promotion_limit, sort, #{flashPromotionId,jdbcType=BIGINT}, #{flashPromotionSessionId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{flashPromotionPrice,jdbcType=DECIMAL}, #{flashPromotionCount,jdbcType=INTEGER}, #{flashPromotionLimit,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, update sms_flash_promotion_product_relation id = #{record.id,jdbcType=BIGINT}, flash_promotion_id = #{record.flashPromotionId,jdbcType=BIGINT}, flash_promotion_session_id = #{record.flashPromotionSessionId,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, flash_promotion_limit = #{record.flashPromotionLimit,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, update sms_flash_promotion_product_relation set id = #{record.id,jdbcType=BIGINT}, flash_promotion_id = #{record.flashPromotionId,jdbcType=BIGINT}, flash_promotion_session_id = #{record.flashPromotionSessionId,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, flash_promotion_limit = #{record.flashPromotionLimit,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER} update sms_flash_promotion_product_relation flash_promotion_id = #{flashPromotionId,jdbcType=BIGINT}, flash_promotion_session_id = #{flashPromotionSessionId,jdbcType=BIGINT}, product_id = #{productId,jdbcType=BIGINT}, flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, flash_promotion_limit = #{flashPromotionLimit,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update sms_flash_promotion_product_relation set flash_promotion_id = #{flashPromotionId,jdbcType=BIGINT}, flash_promotion_session_id = #{flashPromotionSessionId,jdbcType=BIGINT}, product_id = #{productId,jdbcType=BIGINT}, flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, flash_promotion_limit = #{flashPromotionLimit,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionSessionMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, start_time, end_time, status, create_time delete from sms_flash_promotion_session where id = #{id,jdbcType=BIGINT} delete from sms_flash_promotion_session SELECT LAST_INSERT_ID() insert into sms_flash_promotion_session (name, start_time, end_time, status, create_time) values (#{name,jdbcType=VARCHAR}, #{startTime,jdbcType=TIME}, #{endTime,jdbcType=TIME}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}) SELECT LAST_INSERT_ID() insert into sms_flash_promotion_session name, start_time, end_time, status, create_time, #{name,jdbcType=VARCHAR}, #{startTime,jdbcType=TIME}, #{endTime,jdbcType=TIME}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, update sms_flash_promotion_session id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, start_time = #{record.startTime,jdbcType=TIME}, end_time = #{record.endTime,jdbcType=TIME}, status = #{record.status,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update sms_flash_promotion_session set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, start_time = #{record.startTime,jdbcType=TIME}, end_time = #{record.endTime,jdbcType=TIME}, status = #{record.status,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP} update sms_flash_promotion_session name = #{name,jdbcType=VARCHAR}, start_time = #{startTime,jdbcType=TIME}, end_time = #{endTime,jdbcType=TIME}, status = #{status,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update sms_flash_promotion_session set name = #{name,jdbcType=VARCHAR}, start_time = #{startTime,jdbcType=TIME}, end_time = #{endTime,jdbcType=TIME}, status = #{status,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, type, pic, start_time, end_time, status, click_count, order_count, url, note, sort delete from sms_home_advertise where id = #{id,jdbcType=BIGINT} delete from sms_home_advertise SELECT LAST_INSERT_ID() insert into sms_home_advertise (name, type, pic, start_time, end_time, status, click_count, order_count, url, note, sort) values (#{name,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{pic,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{clickCount,jdbcType=INTEGER}, #{orderCount,jdbcType=INTEGER}, #{url,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into sms_home_advertise name, type, pic, start_time, end_time, status, click_count, order_count, url, note, sort, #{name,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{pic,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{clickCount,jdbcType=INTEGER}, #{orderCount,jdbcType=INTEGER}, #{url,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, update sms_home_advertise id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, type = #{record.type,jdbcType=INTEGER}, pic = #{record.pic,jdbcType=VARCHAR}, start_time = #{record.startTime,jdbcType=TIMESTAMP}, end_time = #{record.endTime,jdbcType=TIMESTAMP}, status = #{record.status,jdbcType=INTEGER}, click_count = #{record.clickCount,jdbcType=INTEGER}, order_count = #{record.orderCount,jdbcType=INTEGER}, url = #{record.url,jdbcType=VARCHAR}, note = #{record.note,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER}, update sms_home_advertise set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, type = #{record.type,jdbcType=INTEGER}, pic = #{record.pic,jdbcType=VARCHAR}, start_time = #{record.startTime,jdbcType=TIMESTAMP}, end_time = #{record.endTime,jdbcType=TIMESTAMP}, status = #{record.status,jdbcType=INTEGER}, click_count = #{record.clickCount,jdbcType=INTEGER}, order_count = #{record.orderCount,jdbcType=INTEGER}, url = #{record.url,jdbcType=VARCHAR}, note = #{record.note,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER} update sms_home_advertise name = #{name,jdbcType=VARCHAR}, type = #{type,jdbcType=INTEGER}, pic = #{pic,jdbcType=VARCHAR}, start_time = #{startTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, status = #{status,jdbcType=INTEGER}, click_count = #{clickCount,jdbcType=INTEGER}, order_count = #{orderCount,jdbcType=INTEGER}, url = #{url,jdbcType=VARCHAR}, note = #{note,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update sms_home_advertise set name = #{name,jdbcType=VARCHAR}, type = #{type,jdbcType=INTEGER}, pic = #{pic,jdbcType=VARCHAR}, start_time = #{startTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, status = #{status,jdbcType=INTEGER}, click_count = #{clickCount,jdbcType=INTEGER}, order_count = #{orderCount,jdbcType=INTEGER}, url = #{url,jdbcType=VARCHAR}, note = #{note,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, brand_id, brand_name, recommend_status, sort delete from sms_home_brand where id = #{id,jdbcType=BIGINT} delete from sms_home_brand SELECT LAST_INSERT_ID() insert into sms_home_brand (brand_id, brand_name, recommend_status, sort) values (#{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into sms_home_brand brand_id, brand_name, recommend_status, sort, #{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, update sms_home_brand id = #{record.id,jdbcType=BIGINT}, brand_id = #{record.brandId,jdbcType=BIGINT}, brand_name = #{record.brandName,jdbcType=VARCHAR}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, update sms_home_brand set id = #{record.id,jdbcType=BIGINT}, brand_id = #{record.brandId,jdbcType=BIGINT}, brand_name = #{record.brandName,jdbcType=VARCHAR}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER} update sms_home_brand brand_id = #{brandId,jdbcType=BIGINT}, brand_name = #{brandName,jdbcType=VARCHAR}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update sms_home_brand set brand_id = #{brandId,jdbcType=BIGINT}, brand_name = #{brandName,jdbcType=VARCHAR}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, product_id, product_name, recommend_status, sort delete from sms_home_new_product where id = #{id,jdbcType=BIGINT} delete from sms_home_new_product SELECT LAST_INSERT_ID() insert into sms_home_new_product (product_id, product_name, recommend_status, sort) values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into sms_home_new_product product_id, product_name, recommend_status, sort, #{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, update sms_home_new_product id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, product_name = #{record.productName,jdbcType=VARCHAR}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, update sms_home_new_product set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, product_name = #{record.productName,jdbcType=VARCHAR}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER} update sms_home_new_product product_id = #{productId,jdbcType=BIGINT}, product_name = #{productName,jdbcType=VARCHAR}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update sms_home_new_product set product_id = #{productId,jdbcType=BIGINT}, product_name = #{productName,jdbcType=VARCHAR}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, product_id, product_name, recommend_status, sort delete from sms_home_recommend_product where id = #{id,jdbcType=BIGINT} delete from sms_home_recommend_product SELECT LAST_INSERT_ID() insert into sms_home_recommend_product (product_id, product_name, recommend_status, sort) values (#{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into sms_home_recommend_product product_id, product_name, recommend_status, sort, #{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, update sms_home_recommend_product id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, product_name = #{record.productName,jdbcType=VARCHAR}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, update sms_home_recommend_product set id = #{record.id,jdbcType=BIGINT}, product_id = #{record.productId,jdbcType=BIGINT}, product_name = #{record.productName,jdbcType=VARCHAR}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER} update sms_home_recommend_product product_id = #{productId,jdbcType=BIGINT}, product_name = #{productName,jdbcType=VARCHAR}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update sms_home_recommend_product set product_id = #{productId,jdbcType=BIGINT}, product_name = #{productName,jdbcType=VARCHAR}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, subject_id, subject_name, recommend_status, sort delete from sms_home_recommend_subject where id = #{id,jdbcType=BIGINT} delete from sms_home_recommend_subject SELECT LAST_INSERT_ID() insert into sms_home_recommend_subject (subject_id, subject_name, recommend_status, sort) values (#{subjectId,jdbcType=BIGINT}, #{subjectName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into sms_home_recommend_subject subject_id, subject_name, recommend_status, sort, #{subjectId,jdbcType=BIGINT}, #{subjectName,jdbcType=VARCHAR}, #{recommendStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, update sms_home_recommend_subject id = #{record.id,jdbcType=BIGINT}, subject_id = #{record.subjectId,jdbcType=BIGINT}, subject_name = #{record.subjectName,jdbcType=VARCHAR}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, update sms_home_recommend_subject set id = #{record.id,jdbcType=BIGINT}, subject_id = #{record.subjectId,jdbcType=BIGINT}, subject_name = #{record.subjectName,jdbcType=VARCHAR}, recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER} update sms_home_recommend_subject subject_id = #{subjectId,jdbcType=BIGINT}, subject_name = #{subjectName,jdbcType=VARCHAR}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update sms_home_recommend_subject set subject_id = #{subjectId,jdbcType=BIGINT}, subject_name = #{subjectName,jdbcType=VARCHAR}, recommend_status = #{recommendStatus,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, admin_id, create_time, ip, address, user_agent delete from ums_admin_login_log where id = #{id,jdbcType=BIGINT} delete from ums_admin_login_log SELECT LAST_INSERT_ID() insert into ums_admin_login_log (admin_id, create_time, ip, address, user_agent) values (#{adminId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{userAgent,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into ums_admin_login_log admin_id, create_time, ip, address, user_agent, #{adminId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{userAgent,jdbcType=VARCHAR}, update ums_admin_login_log id = #{record.id,jdbcType=BIGINT}, admin_id = #{record.adminId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, ip = #{record.ip,jdbcType=VARCHAR}, address = #{record.address,jdbcType=VARCHAR}, user_agent = #{record.userAgent,jdbcType=VARCHAR}, update ums_admin_login_log set id = #{record.id,jdbcType=BIGINT}, admin_id = #{record.adminId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, ip = #{record.ip,jdbcType=VARCHAR}, address = #{record.address,jdbcType=VARCHAR}, user_agent = #{record.userAgent,jdbcType=VARCHAR} update ums_admin_login_log admin_id = #{adminId,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, ip = #{ip,jdbcType=VARCHAR}, address = #{address,jdbcType=VARCHAR}, user_agent = #{userAgent,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update ums_admin_login_log set admin_id = #{adminId,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, ip = #{ip,jdbcType=VARCHAR}, address = #{address,jdbcType=VARCHAR}, user_agent = #{userAgent,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, username, password, icon, email, nick_name, note, create_time, login_time, status delete from ums_admin where id = #{id,jdbcType=BIGINT} delete from ums_admin SELECT LAST_INSERT_ID() insert into ums_admin (username, password, icon, email, nick_name, note, create_time, login_time, status ) values (#{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{loginTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER} ) SELECT LAST_INSERT_ID() insert into ums_admin username, password, icon, email, nick_name, note, create_time, login_time, status, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{nickName,jdbcType=VARCHAR}, #{note,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{loginTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, update ums_admin id = #{record.id,jdbcType=BIGINT}, username = #{record.username,jdbcType=VARCHAR}, password = #{record.password,jdbcType=VARCHAR}, icon = #{record.icon,jdbcType=VARCHAR}, email = #{record.email,jdbcType=VARCHAR}, nick_name = #{record.nickName,jdbcType=VARCHAR}, note = #{record.note,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, login_time = #{record.loginTime,jdbcType=TIMESTAMP}, status = #{record.status,jdbcType=INTEGER}, update ums_admin set id = #{record.id,jdbcType=BIGINT}, username = #{record.username,jdbcType=VARCHAR}, password = #{record.password,jdbcType=VARCHAR}, icon = #{record.icon,jdbcType=VARCHAR}, email = #{record.email,jdbcType=VARCHAR}, nick_name = #{record.nickName,jdbcType=VARCHAR}, note = #{record.note,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, login_time = #{record.loginTime,jdbcType=TIMESTAMP}, status = #{record.status,jdbcType=INTEGER} update ums_admin username = #{username,jdbcType=VARCHAR}, password = #{password,jdbcType=VARCHAR}, icon = #{icon,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, nick_name = #{nickName,jdbcType=VARCHAR}, note = #{note,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, login_time = #{loginTime,jdbcType=TIMESTAMP}, status = #{status,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update ums_admin set username = #{username,jdbcType=VARCHAR}, password = #{password,jdbcType=VARCHAR}, icon = #{icon,jdbcType=VARCHAR}, email = #{email,jdbcType=VARCHAR}, nick_name = #{nickName,jdbcType=VARCHAR}, note = #{note,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, login_time = #{loginTime,jdbcType=TIMESTAMP}, status = #{status,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminPermissionRelationMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, admin_id, permission_id, type delete from ums_admin_permission_relation where id = #{id,jdbcType=BIGINT} delete from ums_admin_permission_relation SELECT LAST_INSERT_ID() insert into ums_admin_permission_relation (admin_id, permission_id, type ) values (#{adminId,jdbcType=BIGINT}, #{permissionId,jdbcType=BIGINT}, #{type,jdbcType=INTEGER} ) SELECT LAST_INSERT_ID() insert into ums_admin_permission_relation admin_id, permission_id, type, #{adminId,jdbcType=BIGINT}, #{permissionId,jdbcType=BIGINT}, #{type,jdbcType=INTEGER}, update ums_admin_permission_relation id = #{record.id,jdbcType=BIGINT}, admin_id = #{record.adminId,jdbcType=BIGINT}, permission_id = #{record.permissionId,jdbcType=BIGINT}, type = #{record.type,jdbcType=INTEGER}, update ums_admin_permission_relation set id = #{record.id,jdbcType=BIGINT}, admin_id = #{record.adminId,jdbcType=BIGINT}, permission_id = #{record.permissionId,jdbcType=BIGINT}, type = #{record.type,jdbcType=INTEGER} update ums_admin_permission_relation admin_id = #{adminId,jdbcType=BIGINT}, permission_id = #{permissionId,jdbcType=BIGINT}, type = #{type,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update ums_admin_permission_relation set admin_id = #{adminId,jdbcType=BIGINT}, permission_id = #{permissionId,jdbcType=BIGINT}, type = #{type,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminRoleRelationMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, admin_id, role_id delete from ums_admin_role_relation where id = #{id,jdbcType=BIGINT} delete from ums_admin_role_relation SELECT LAST_INSERT_ID() insert into ums_admin_role_relation (admin_id, role_id) values (#{adminId,jdbcType=BIGINT}, #{roleId,jdbcType=BIGINT}) SELECT LAST_INSERT_ID() insert into ums_admin_role_relation admin_id, role_id, #{adminId,jdbcType=BIGINT}, #{roleId,jdbcType=BIGINT}, update ums_admin_role_relation id = #{record.id,jdbcType=BIGINT}, admin_id = #{record.adminId,jdbcType=BIGINT}, role_id = #{record.roleId,jdbcType=BIGINT}, update ums_admin_role_relation set id = #{record.id,jdbcType=BIGINT}, admin_id = #{record.adminId,jdbcType=BIGINT}, role_id = #{record.roleId,jdbcType=BIGINT} update ums_admin_role_relation admin_id = #{adminId,jdbcType=BIGINT}, role_id = #{roleId,jdbcType=BIGINT}, where id = #{id,jdbcType=BIGINT} update ums_admin_role_relation set admin_id = #{adminId,jdbcType=BIGINT}, role_id = #{roleId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, member_id, create_time, change_type, change_count, operate_man, operate_note, source_type delete from ums_growth_change_history where id = #{id,jdbcType=BIGINT} delete from ums_growth_change_history SELECT LAST_INSERT_ID() insert into ums_growth_change_history (member_id, create_time, change_type, change_count, operate_man, operate_note, source_type) values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, #{sourceType,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into ums_growth_change_history member_id, create_time, change_type, change_count, operate_man, operate_note, source_type, #{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, #{sourceType,jdbcType=INTEGER}, update ums_growth_change_history id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, change_type = #{record.changeType,jdbcType=INTEGER}, change_count = #{record.changeCount,jdbcType=INTEGER}, operate_man = #{record.operateMan,jdbcType=VARCHAR}, operate_note = #{record.operateNote,jdbcType=VARCHAR}, source_type = #{record.sourceType,jdbcType=INTEGER}, update ums_growth_change_history set id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, change_type = #{record.changeType,jdbcType=INTEGER}, change_count = #{record.changeCount,jdbcType=INTEGER}, operate_man = #{record.operateMan,jdbcType=VARCHAR}, operate_note = #{record.operateNote,jdbcType=VARCHAR}, source_type = #{record.sourceType,jdbcType=INTEGER} update ums_growth_change_history member_id = #{memberId,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, change_type = #{changeType,jdbcType=INTEGER}, change_count = #{changeCount,jdbcType=INTEGER}, operate_man = #{operateMan,jdbcType=VARCHAR}, operate_note = #{operateNote,jdbcType=VARCHAR}, source_type = #{sourceType,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update ums_growth_change_history set member_id = #{memberId,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, change_type = #{changeType,jdbcType=INTEGER}, change_count = #{changeCount,jdbcType=INTEGER}, operate_man = #{operateMan,jdbcType=VARCHAR}, operate_note = #{operateNote,jdbcType=VARCHAR}, source_type = #{sourceType,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, member_id, create_time, change_type, change_count, operate_man, operate_note, source_type delete from ums_integration_change_history where id = #{id,jdbcType=BIGINT} delete from ums_integration_change_history SELECT LAST_INSERT_ID() insert into ums_integration_change_history (member_id, create_time, change_type, change_count, operate_man, operate_note, source_type) values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, #{sourceType,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into ums_integration_change_history member_id, create_time, change_type, change_count, operate_man, operate_note, source_type, #{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{changeType,jdbcType=INTEGER}, #{changeCount,jdbcType=INTEGER}, #{operateMan,jdbcType=VARCHAR}, #{operateNote,jdbcType=VARCHAR}, #{sourceType,jdbcType=INTEGER}, update ums_integration_change_history id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, change_type = #{record.changeType,jdbcType=INTEGER}, change_count = #{record.changeCount,jdbcType=INTEGER}, operate_man = #{record.operateMan,jdbcType=VARCHAR}, operate_note = #{record.operateNote,jdbcType=VARCHAR}, source_type = #{record.sourceType,jdbcType=INTEGER}, update ums_integration_change_history set id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, change_type = #{record.changeType,jdbcType=INTEGER}, change_count = #{record.changeCount,jdbcType=INTEGER}, operate_man = #{record.operateMan,jdbcType=VARCHAR}, operate_note = #{record.operateNote,jdbcType=VARCHAR}, source_type = #{record.sourceType,jdbcType=INTEGER} update ums_integration_change_history member_id = #{memberId,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, change_type = #{changeType,jdbcType=INTEGER}, change_count = #{changeCount,jdbcType=INTEGER}, operate_man = #{operateMan,jdbcType=VARCHAR}, operate_note = #{operateNote,jdbcType=VARCHAR}, source_type = #{sourceType,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update ums_integration_change_history set member_id = #{memberId,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, change_type = #{changeType,jdbcType=INTEGER}, change_count = #{changeCount,jdbcType=INTEGER}, operate_man = #{operateMan,jdbcType=VARCHAR}, operate_note = #{operateNote,jdbcType=VARCHAR}, source_type = #{sourceType,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationConsumeSettingMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, deduction_per_amount, max_percent_per_order, use_unit, coupon_status delete from ums_integration_consume_setting where id = #{id,jdbcType=BIGINT} delete from ums_integration_consume_setting SELECT LAST_INSERT_ID() insert into ums_integration_consume_setting (deduction_per_amount, max_percent_per_order, use_unit, coupon_status) values (#{deductionPerAmount,jdbcType=INTEGER}, #{maxPercentPerOrder,jdbcType=INTEGER}, #{useUnit,jdbcType=INTEGER}, #{couponStatus,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into ums_integration_consume_setting deduction_per_amount, max_percent_per_order, use_unit, coupon_status, #{deductionPerAmount,jdbcType=INTEGER}, #{maxPercentPerOrder,jdbcType=INTEGER}, #{useUnit,jdbcType=INTEGER}, #{couponStatus,jdbcType=INTEGER}, update ums_integration_consume_setting id = #{record.id,jdbcType=BIGINT}, deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, use_unit = #{record.useUnit,jdbcType=INTEGER}, coupon_status = #{record.couponStatus,jdbcType=INTEGER}, update ums_integration_consume_setting set id = #{record.id,jdbcType=BIGINT}, deduction_per_amount = #{record.deductionPerAmount,jdbcType=INTEGER}, max_percent_per_order = #{record.maxPercentPerOrder,jdbcType=INTEGER}, use_unit = #{record.useUnit,jdbcType=INTEGER}, coupon_status = #{record.couponStatus,jdbcType=INTEGER} update ums_integration_consume_setting deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, use_unit = #{useUnit,jdbcType=INTEGER}, coupon_status = #{couponStatus,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update ums_integration_consume_setting set deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, use_unit = #{useUnit,jdbcType=INTEGER}, coupon_status = #{couponStatus,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, growth_point, default_status, free_freight_point, comment_growth_point, priviledge_free_freight, priviledge_sign_in, priviledge_comment, priviledge_promotion, priviledge_member_price, priviledge_birthday, note delete from ums_member_level where id = #{id,jdbcType=BIGINT} delete from ums_member_level SELECT LAST_INSERT_ID() insert into ums_member_level (name, growth_point, default_status, free_freight_point, comment_growth_point, priviledge_free_freight, priviledge_sign_in, priviledge_comment, priviledge_promotion, priviledge_member_price, priviledge_birthday, note) values (#{name,jdbcType=VARCHAR}, #{growthPoint,jdbcType=INTEGER}, #{defaultStatus,jdbcType=INTEGER}, #{freeFreightPoint,jdbcType=DECIMAL}, #{commentGrowthPoint,jdbcType=INTEGER}, #{priviledgeFreeFreight,jdbcType=INTEGER}, #{priviledgeSignIn,jdbcType=INTEGER}, #{priviledgeComment,jdbcType=INTEGER}, #{priviledgePromotion,jdbcType=INTEGER}, #{priviledgeMemberPrice,jdbcType=INTEGER}, #{priviledgeBirthday,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into ums_member_level name, growth_point, default_status, free_freight_point, comment_growth_point, priviledge_free_freight, priviledge_sign_in, priviledge_comment, priviledge_promotion, priviledge_member_price, priviledge_birthday, note, #{name,jdbcType=VARCHAR}, #{growthPoint,jdbcType=INTEGER}, #{defaultStatus,jdbcType=INTEGER}, #{freeFreightPoint,jdbcType=DECIMAL}, #{commentGrowthPoint,jdbcType=INTEGER}, #{priviledgeFreeFreight,jdbcType=INTEGER}, #{priviledgeSignIn,jdbcType=INTEGER}, #{priviledgeComment,jdbcType=INTEGER}, #{priviledgePromotion,jdbcType=INTEGER}, #{priviledgeMemberPrice,jdbcType=INTEGER}, #{priviledgeBirthday,jdbcType=INTEGER}, #{note,jdbcType=VARCHAR}, update ums_member_level id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, growth_point = #{record.growthPoint,jdbcType=INTEGER}, default_status = #{record.defaultStatus,jdbcType=INTEGER}, free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, note = #{record.note,jdbcType=VARCHAR}, update ums_member_level set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, growth_point = #{record.growthPoint,jdbcType=INTEGER}, default_status = #{record.defaultStatus,jdbcType=INTEGER}, free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, note = #{record.note,jdbcType=VARCHAR} update ums_member_level name = #{name,jdbcType=VARCHAR}, growth_point = #{growthPoint,jdbcType=INTEGER}, default_status = #{defaultStatus,jdbcType=INTEGER}, free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, note = #{note,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update ums_member_level set name = #{name,jdbcType=VARCHAR}, growth_point = #{growthPoint,jdbcType=INTEGER}, default_status = #{defaultStatus,jdbcType=INTEGER}, free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, note = #{note,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, member_id, create_time, ip, city, login_type, province delete from ums_member_login_log where id = #{id,jdbcType=BIGINT} delete from ums_member_login_log SELECT LAST_INSERT_ID() insert into ums_member_login_log (member_id, create_time, ip, city, login_type, province ) values (#{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{loginType,jdbcType=INTEGER}, #{province,jdbcType=VARCHAR} ) SELECT LAST_INSERT_ID() insert into ums_member_login_log member_id, create_time, ip, city, login_type, province, #{memberId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}, #{ip,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{loginType,jdbcType=INTEGER}, #{province,jdbcType=VARCHAR}, update ums_member_login_log id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, ip = #{record.ip,jdbcType=VARCHAR}, city = #{record.city,jdbcType=VARCHAR}, login_type = #{record.loginType,jdbcType=INTEGER}, province = #{record.province,jdbcType=VARCHAR}, update ums_member_login_log set id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, ip = #{record.ip,jdbcType=VARCHAR}, city = #{record.city,jdbcType=VARCHAR}, login_type = #{record.loginType,jdbcType=INTEGER}, province = #{record.province,jdbcType=VARCHAR} update ums_member_login_log member_id = #{memberId,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, ip = #{ip,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, login_type = #{loginType,jdbcType=INTEGER}, province = #{province,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update ums_member_login_log set member_id = #{memberId,jdbcType=BIGINT}, create_time = #{createTime,jdbcType=TIMESTAMP}, ip = #{ip,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, login_type = #{loginType,jdbcType=INTEGER}, province = #{province,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, member_level_id, username, password, nickname, phone, status, create_time, icon, gender, birthday, city, job, personalized_signature, source_type, integration, growth, luckey_count, history_integration delete from ums_member where id = #{id,jdbcType=BIGINT} delete from ums_member SELECT LAST_INSERT_ID() insert into ums_member (member_level_id, username, password, nickname, phone, status, create_time, icon, gender, birthday, city, job, personalized_signature, source_type, integration, growth, luckey_count, history_integration) values (#{memberLevelId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{nickname,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{icon,jdbcType=VARCHAR}, #{gender,jdbcType=INTEGER}, #{birthday,jdbcType=DATE}, #{city,jdbcType=VARCHAR}, #{job,jdbcType=VARCHAR}, #{personalizedSignature,jdbcType=VARCHAR}, #{sourceType,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, #{luckeyCount,jdbcType=INTEGER}, #{historyIntegration,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into ums_member member_level_id, username, password, nickname, phone, status, create_time, icon, gender, birthday, city, job, personalized_signature, source_type, integration, growth, luckey_count, history_integration, #{memberLevelId,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, #{nickname,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{icon,jdbcType=VARCHAR}, #{gender,jdbcType=INTEGER}, #{birthday,jdbcType=DATE}, #{city,jdbcType=VARCHAR}, #{job,jdbcType=VARCHAR}, #{personalizedSignature,jdbcType=VARCHAR}, #{sourceType,jdbcType=INTEGER}, #{integration,jdbcType=INTEGER}, #{growth,jdbcType=INTEGER}, #{luckeyCount,jdbcType=INTEGER}, #{historyIntegration,jdbcType=INTEGER}, update ums_member id = #{record.id,jdbcType=BIGINT}, member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, username = #{record.username,jdbcType=VARCHAR}, password = #{record.password,jdbcType=VARCHAR}, nickname = #{record.nickname,jdbcType=VARCHAR}, phone = #{record.phone,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, icon = #{record.icon,jdbcType=VARCHAR}, gender = #{record.gender,jdbcType=INTEGER}, birthday = #{record.birthday,jdbcType=DATE}, city = #{record.city,jdbcType=VARCHAR}, job = #{record.job,jdbcType=VARCHAR}, personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, source_type = #{record.sourceType,jdbcType=INTEGER}, integration = #{record.integration,jdbcType=INTEGER}, growth = #{record.growth,jdbcType=INTEGER}, luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, history_integration = #{record.historyIntegration,jdbcType=INTEGER}, update ums_member set id = #{record.id,jdbcType=BIGINT}, member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, username = #{record.username,jdbcType=VARCHAR}, password = #{record.password,jdbcType=VARCHAR}, nickname = #{record.nickname,jdbcType=VARCHAR}, phone = #{record.phone,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, icon = #{record.icon,jdbcType=VARCHAR}, gender = #{record.gender,jdbcType=INTEGER}, birthday = #{record.birthday,jdbcType=DATE}, city = #{record.city,jdbcType=VARCHAR}, job = #{record.job,jdbcType=VARCHAR}, personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, source_type = #{record.sourceType,jdbcType=INTEGER}, integration = #{record.integration,jdbcType=INTEGER}, growth = #{record.growth,jdbcType=INTEGER}, luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, history_integration = #{record.historyIntegration,jdbcType=INTEGER} update ums_member member_level_id = #{memberLevelId,jdbcType=BIGINT}, username = #{username,jdbcType=VARCHAR}, password = #{password,jdbcType=VARCHAR}, nickname = #{nickname,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, icon = #{icon,jdbcType=VARCHAR}, gender = #{gender,jdbcType=INTEGER}, birthday = #{birthday,jdbcType=DATE}, city = #{city,jdbcType=VARCHAR}, job = #{job,jdbcType=VARCHAR}, personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, source_type = #{sourceType,jdbcType=INTEGER}, integration = #{integration,jdbcType=INTEGER}, growth = #{growth,jdbcType=INTEGER}, luckey_count = #{luckeyCount,jdbcType=INTEGER}, history_integration = #{historyIntegration,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update ums_member set member_level_id = #{memberLevelId,jdbcType=BIGINT}, username = #{username,jdbcType=VARCHAR}, password = #{password,jdbcType=VARCHAR}, nickname = #{nickname,jdbcType=VARCHAR}, phone = #{phone,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, icon = #{icon,jdbcType=VARCHAR}, gender = #{gender,jdbcType=INTEGER}, birthday = #{birthday,jdbcType=DATE}, city = #{city,jdbcType=VARCHAR}, job = #{job,jdbcType=VARCHAR}, personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, source_type = #{sourceType,jdbcType=INTEGER}, integration = #{integration,jdbcType=INTEGER}, growth = #{growth,jdbcType=INTEGER}, luckey_count = #{luckeyCount,jdbcType=INTEGER}, history_integration = #{historyIntegration,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, member_id, tag_id delete from ums_member_member_tag_relation where id = #{id,jdbcType=BIGINT} delete from ums_member_member_tag_relation SELECT LAST_INSERT_ID() insert into ums_member_member_tag_relation (member_id, tag_id) values (#{memberId,jdbcType=BIGINT}, #{tagId,jdbcType=BIGINT}) SELECT LAST_INSERT_ID() insert into ums_member_member_tag_relation member_id, tag_id, #{memberId,jdbcType=BIGINT}, #{tagId,jdbcType=BIGINT}, update ums_member_member_tag_relation id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, tag_id = #{record.tagId,jdbcType=BIGINT}, update ums_member_member_tag_relation set id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, tag_id = #{record.tagId,jdbcType=BIGINT} update ums_member_member_tag_relation member_id = #{memberId,jdbcType=BIGINT}, tag_id = #{tagId,jdbcType=BIGINT}, where id = #{id,jdbcType=BIGINT} update ums_member_member_tag_relation set member_id = #{memberId,jdbcType=BIGINT}, tag_id = #{tagId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, member_id, product_category_id delete from ums_member_product_category_relation where id = #{id,jdbcType=BIGINT} delete from ums_member_product_category_relation SELECT LAST_INSERT_ID() insert into ums_member_product_category_relation (member_id, product_category_id) values (#{memberId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}) SELECT LAST_INSERT_ID() insert into ums_member_product_category_relation member_id, product_category_id, #{memberId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, update ums_member_product_category_relation id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, update ums_member_product_category_relation set id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, product_category_id = #{record.productCategoryId,jdbcType=BIGINT} update ums_member_product_category_relation member_id = #{memberId,jdbcType=BIGINT}, product_category_id = #{productCategoryId,jdbcType=BIGINT}, where id = #{id,jdbcType=BIGINT} update ums_member_product_category_relation set member_id = #{memberId,jdbcType=BIGINT}, product_category_id = #{productCategoryId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, member_id, name, phone_number, default_status, post_code, province, city, region, detail_address delete from ums_member_receive_address where id = #{id,jdbcType=BIGINT} delete from ums_member_receive_address SELECT LAST_INSERT_ID() insert into ums_member_receive_address (member_id, name, phone_number, default_status, post_code, province, city, region, detail_address ) values (#{memberId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR}, #{defaultStatus,jdbcType=INTEGER}, #{postCode,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR} ) SELECT LAST_INSERT_ID() insert into ums_member_receive_address member_id, name, phone_number, default_status, post_code, province, city, region, detail_address, #{memberId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{phoneNumber,jdbcType=VARCHAR}, #{defaultStatus,jdbcType=INTEGER}, #{postCode,jdbcType=VARCHAR}, #{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR}, #{detailAddress,jdbcType=VARCHAR}, update ums_member_receive_address id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, default_status = #{record.defaultStatus,jdbcType=INTEGER}, post_code = #{record.postCode,jdbcType=VARCHAR}, province = #{record.province,jdbcType=VARCHAR}, city = #{record.city,jdbcType=VARCHAR}, region = #{record.region,jdbcType=VARCHAR}, detail_address = #{record.detailAddress,jdbcType=VARCHAR}, update ums_member_receive_address set id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, phone_number = #{record.phoneNumber,jdbcType=VARCHAR}, default_status = #{record.defaultStatus,jdbcType=INTEGER}, post_code = #{record.postCode,jdbcType=VARCHAR}, province = #{record.province,jdbcType=VARCHAR}, city = #{record.city,jdbcType=VARCHAR}, region = #{record.region,jdbcType=VARCHAR}, detail_address = #{record.detailAddress,jdbcType=VARCHAR} update ums_member_receive_address member_id = #{memberId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, phone_number = #{phoneNumber,jdbcType=VARCHAR}, default_status = #{defaultStatus,jdbcType=INTEGER}, post_code = #{postCode,jdbcType=VARCHAR}, province = #{province,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, region = #{region,jdbcType=VARCHAR}, detail_address = #{detailAddress,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update ums_member_receive_address set member_id = #{memberId,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, phone_number = #{phoneNumber,jdbcType=VARCHAR}, default_status = #{defaultStatus,jdbcType=INTEGER}, post_code = #{postCode,jdbcType=VARCHAR}, province = #{province,jdbcType=VARCHAR}, city = #{city,jdbcType=VARCHAR}, region = #{region,jdbcType=VARCHAR}, detail_address = #{detailAddress,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, continue_sign_day, continue_sign_point, consume_per_point, low_order_amount, max_point_per_order, type delete from ums_member_rule_setting where id = #{id,jdbcType=BIGINT} delete from ums_member_rule_setting SELECT LAST_INSERT_ID() insert into ums_member_rule_setting (continue_sign_day, continue_sign_point, consume_per_point, low_order_amount, max_point_per_order, type) values (#{continueSignDay,jdbcType=INTEGER}, #{continueSignPoint,jdbcType=INTEGER}, #{consumePerPoint,jdbcType=DECIMAL}, #{lowOrderAmount,jdbcType=DECIMAL}, #{maxPointPerOrder,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into ums_member_rule_setting continue_sign_day, continue_sign_point, consume_per_point, low_order_amount, max_point_per_order, type, #{continueSignDay,jdbcType=INTEGER}, #{continueSignPoint,jdbcType=INTEGER}, #{consumePerPoint,jdbcType=DECIMAL}, #{lowOrderAmount,jdbcType=DECIMAL}, #{maxPointPerOrder,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, update ums_member_rule_setting id = #{record.id,jdbcType=BIGINT}, continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, type = #{record.type,jdbcType=INTEGER}, update ums_member_rule_setting set id = #{record.id,jdbcType=BIGINT}, continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, type = #{record.type,jdbcType=INTEGER} update ums_member_rule_setting continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, type = #{type,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update ums_member_rule_setting set continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, type = #{type,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, member_id, consume_amount, order_count, coupon_count, comment_count, return_order_count, login_count, attend_count, fans_count, collect_product_count, collect_subject_count, collect_topic_count, collect_comment_count, invite_friend_count, recent_order_time delete from ums_member_statistics_info where id = #{id,jdbcType=BIGINT} delete from ums_member_statistics_info SELECT LAST_INSERT_ID() insert into ums_member_statistics_info (member_id, consume_amount, order_count, coupon_count, comment_count, return_order_count, login_count, attend_count, fans_count, collect_product_count, collect_subject_count, collect_topic_count, collect_comment_count, invite_friend_count, recent_order_time) values (#{memberId,jdbcType=BIGINT}, #{consumeAmount,jdbcType=DECIMAL}, #{orderCount,jdbcType=INTEGER}, #{couponCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{returnOrderCount,jdbcType=INTEGER}, #{loginCount,jdbcType=INTEGER}, #{attendCount,jdbcType=INTEGER}, #{fansCount,jdbcType=INTEGER}, #{collectProductCount,jdbcType=INTEGER}, #{collectSubjectCount,jdbcType=INTEGER}, #{collectTopicCount,jdbcType=INTEGER}, #{collectCommentCount,jdbcType=INTEGER}, #{inviteFriendCount,jdbcType=INTEGER}, #{recentOrderTime,jdbcType=TIMESTAMP}) SELECT LAST_INSERT_ID() insert into ums_member_statistics_info member_id, consume_amount, order_count, coupon_count, comment_count, return_order_count, login_count, attend_count, fans_count, collect_product_count, collect_subject_count, collect_topic_count, collect_comment_count, invite_friend_count, recent_order_time, #{memberId,jdbcType=BIGINT}, #{consumeAmount,jdbcType=DECIMAL}, #{orderCount,jdbcType=INTEGER}, #{couponCount,jdbcType=INTEGER}, #{commentCount,jdbcType=INTEGER}, #{returnOrderCount,jdbcType=INTEGER}, #{loginCount,jdbcType=INTEGER}, #{attendCount,jdbcType=INTEGER}, #{fansCount,jdbcType=INTEGER}, #{collectProductCount,jdbcType=INTEGER}, #{collectSubjectCount,jdbcType=INTEGER}, #{collectTopicCount,jdbcType=INTEGER}, #{collectCommentCount,jdbcType=INTEGER}, #{inviteFriendCount,jdbcType=INTEGER}, #{recentOrderTime,jdbcType=TIMESTAMP}, update ums_member_statistics_info id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, order_count = #{record.orderCount,jdbcType=INTEGER}, coupon_count = #{record.couponCount,jdbcType=INTEGER}, comment_count = #{record.commentCount,jdbcType=INTEGER}, return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, login_count = #{record.loginCount,jdbcType=INTEGER}, attend_count = #{record.attendCount,jdbcType=INTEGER}, fans_count = #{record.fansCount,jdbcType=INTEGER}, collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP}, update ums_member_statistics_info set id = #{record.id,jdbcType=BIGINT}, member_id = #{record.memberId,jdbcType=BIGINT}, consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, order_count = #{record.orderCount,jdbcType=INTEGER}, coupon_count = #{record.couponCount,jdbcType=INTEGER}, comment_count = #{record.commentCount,jdbcType=INTEGER}, return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, login_count = #{record.loginCount,jdbcType=INTEGER}, attend_count = #{record.attendCount,jdbcType=INTEGER}, fans_count = #{record.fansCount,jdbcType=INTEGER}, collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP} update ums_member_statistics_info member_id = #{memberId,jdbcType=BIGINT}, consume_amount = #{consumeAmount,jdbcType=DECIMAL}, order_count = #{orderCount,jdbcType=INTEGER}, coupon_count = #{couponCount,jdbcType=INTEGER}, comment_count = #{commentCount,jdbcType=INTEGER}, return_order_count = #{returnOrderCount,jdbcType=INTEGER}, login_count = #{loginCount,jdbcType=INTEGER}, attend_count = #{attendCount,jdbcType=INTEGER}, fans_count = #{fansCount,jdbcType=INTEGER}, collect_product_count = #{collectProductCount,jdbcType=INTEGER}, collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update ums_member_statistics_info set member_id = #{memberId,jdbcType=BIGINT}, consume_amount = #{consumeAmount,jdbcType=DECIMAL}, order_count = #{orderCount,jdbcType=INTEGER}, coupon_count = #{couponCount,jdbcType=INTEGER}, comment_count = #{commentCount,jdbcType=INTEGER}, return_order_count = #{returnOrderCount,jdbcType=INTEGER}, login_count = #{loginCount,jdbcType=INTEGER}, attend_count = #{attendCount,jdbcType=INTEGER}, fans_count = #{fansCount,jdbcType=INTEGER}, collect_product_count = #{collectProductCount,jdbcType=INTEGER}, collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, finish_order_count, finish_order_amount delete from ums_member_tag where id = #{id,jdbcType=BIGINT} delete from ums_member_tag SELECT LAST_INSERT_ID() insert into ums_member_tag (name, finish_order_count, finish_order_amount ) values (#{name,jdbcType=VARCHAR}, #{finishOrderCount,jdbcType=INTEGER}, #{finishOrderAmount,jdbcType=DECIMAL} ) SELECT LAST_INSERT_ID() insert into ums_member_tag name, finish_order_count, finish_order_amount, #{name,jdbcType=VARCHAR}, #{finishOrderCount,jdbcType=INTEGER}, #{finishOrderAmount,jdbcType=DECIMAL}, update ums_member_tag id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL}, update ums_member_tag set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL} update ums_member_tag name = #{name,jdbcType=VARCHAR}, finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL}, where id = #{id,jdbcType=BIGINT} update ums_member_tag set name = #{name,jdbcType=VARCHAR}, finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, growth, intergration, type delete from ums_member_task where id = #{id,jdbcType=BIGINT} delete from ums_member_task SELECT LAST_INSERT_ID() insert into ums_member_task (name, growth, intergration, type) values (#{name,jdbcType=VARCHAR}, #{growth,jdbcType=INTEGER}, #{intergration,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into ums_member_task name, growth, intergration, type, #{name,jdbcType=VARCHAR}, #{growth,jdbcType=INTEGER}, #{intergration,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}, update ums_member_task id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, growth = #{record.growth,jdbcType=INTEGER}, intergration = #{record.intergration,jdbcType=INTEGER}, type = #{record.type,jdbcType=INTEGER}, update ums_member_task set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, growth = #{record.growth,jdbcType=INTEGER}, intergration = #{record.intergration,jdbcType=INTEGER}, type = #{record.type,jdbcType=INTEGER} update ums_member_task name = #{name,jdbcType=VARCHAR}, growth = #{growth,jdbcType=INTEGER}, intergration = #{intergration,jdbcType=INTEGER}, type = #{type,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update ums_member_task set name = #{name,jdbcType=VARCHAR}, growth = #{growth,jdbcType=INTEGER}, intergration = #{intergration,jdbcType=INTEGER}, type = #{type,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMenuMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${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 = #{record.id,jdbcType=BIGINT}, parent_id = #{record.parentId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, title = #{record.title,jdbcType=VARCHAR}, level = #{record.level,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, name = #{record.name,jdbcType=VARCHAR}, icon = #{record.icon,jdbcType=VARCHAR}, hidden = #{record.hidden,jdbcType=INTEGER}, update ums_menu set id = #{record.id,jdbcType=BIGINT}, parent_id = #{record.parentId,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, title = #{record.title,jdbcType=VARCHAR}, level = #{record.level,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, name = #{record.name,jdbcType=VARCHAR}, icon = #{record.icon,jdbcType=VARCHAR}, hidden = #{record.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} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsPermissionMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, pid, name, value, icon, type, uri, status, create_time, sort delete from ums_permission where id = #{id,jdbcType=BIGINT} delete from ums_permission SELECT LAST_INSERT_ID() insert into ums_permission (pid, name, value, icon, type, uri, status, create_time, sort) values (#{pid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{value,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{uri,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{sort,jdbcType=INTEGER}) SELECT LAST_INSERT_ID() insert into ums_permission pid, name, value, icon, type, uri, status, create_time, sort, #{pid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{value,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{uri,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{sort,jdbcType=INTEGER}, update ums_permission id = #{record.id,jdbcType=BIGINT}, pid = #{record.pid,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, value = #{record.value,jdbcType=VARCHAR}, icon = #{record.icon,jdbcType=VARCHAR}, type = #{record.type,jdbcType=INTEGER}, uri = #{record.uri,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, sort = #{record.sort,jdbcType=INTEGER}, update ums_permission set id = #{record.id,jdbcType=BIGINT}, pid = #{record.pid,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, value = #{record.value,jdbcType=VARCHAR}, icon = #{record.icon,jdbcType=VARCHAR}, type = #{record.type,jdbcType=INTEGER}, uri = #{record.uri,jdbcType=VARCHAR}, status = #{record.status,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, sort = #{record.sort,jdbcType=INTEGER} update ums_permission pid = #{pid,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, value = #{value,jdbcType=VARCHAR}, icon = #{icon,jdbcType=VARCHAR}, type = #{type,jdbcType=INTEGER}, uri = #{uri,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, sort = #{sort,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update ums_permission set pid = #{pid,jdbcType=BIGINT}, name = #{name,jdbcType=VARCHAR}, value = #{value,jdbcType=VARCHAR}, icon = #{icon,jdbcType=VARCHAR}, type = #{type,jdbcType=INTEGER}, uri = #{uri,jdbcType=VARCHAR}, status = #{status,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceCategoryMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${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 = #{record.id,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, name = #{record.name,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER}, update ums_resource_category set id = #{record.id,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, name = #{record.name,jdbcType=VARCHAR}, sort = #{record.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} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsResourceMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${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 = #{record.id,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, name = #{record.name,jdbcType=VARCHAR}, url = #{record.url,jdbcType=VARCHAR}, description = #{record.description,jdbcType=VARCHAR}, category_id = #{record.categoryId,jdbcType=BIGINT}, update ums_resource set id = #{record.id,jdbcType=BIGINT}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, name = #{record.name,jdbcType=VARCHAR}, url = #{record.url,jdbcType=VARCHAR}, description = #{record.description,jdbcType=VARCHAR}, category_id = #{record.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} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, name, description, admin_count, create_time, status, sort delete from ums_role where id = #{id,jdbcType=BIGINT} delete from ums_role SELECT LAST_INSERT_ID() insert into ums_role (name, description, admin_count, create_time, status, sort ) values (#{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{adminCount,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER} ) SELECT LAST_INSERT_ID() insert into ums_role name, description, admin_count, create_time, status, sort, #{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{adminCount,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, update ums_role id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, description = #{record.description,jdbcType=VARCHAR}, admin_count = #{record.adminCount,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, status = #{record.status,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER}, update ums_role set id = #{record.id,jdbcType=BIGINT}, name = #{record.name,jdbcType=VARCHAR}, description = #{record.description,jdbcType=VARCHAR}, admin_count = #{record.adminCount,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, status = #{record.status,jdbcType=INTEGER}, sort = #{record.sort,jdbcType=INTEGER} update ums_role name = #{name,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, admin_count = #{adminCount,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, status = #{status,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER}, where id = #{id,jdbcType=BIGINT} update ums_role set name = #{name,jdbcType=VARCHAR}, description = #{description,jdbcType=VARCHAR}, admin_count = #{adminCount,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, status = #{status,jdbcType=INTEGER}, sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleMenuRelationMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${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 = #{record.id,jdbcType=BIGINT}, role_id = #{record.roleId,jdbcType=BIGINT}, menu_id = #{record.menuId,jdbcType=BIGINT}, update ums_role_menu_relation set id = #{record.id,jdbcType=BIGINT}, role_id = #{record.roleId,jdbcType=BIGINT}, menu_id = #{record.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} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRolePermissionRelationMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, role_id, permission_id delete from ums_role_permission_relation where id = #{id,jdbcType=BIGINT} delete from ums_role_permission_relation SELECT LAST_INSERT_ID() insert into ums_role_permission_relation (role_id, permission_id) values (#{roleId,jdbcType=BIGINT}, #{permissionId,jdbcType=BIGINT}) SELECT LAST_INSERT_ID() insert into ums_role_permission_relation role_id, permission_id, #{roleId,jdbcType=BIGINT}, #{permissionId,jdbcType=BIGINT}, update ums_role_permission_relation id = #{record.id,jdbcType=BIGINT}, role_id = #{record.roleId,jdbcType=BIGINT}, permission_id = #{record.permissionId,jdbcType=BIGINT}, update ums_role_permission_relation set id = #{record.id,jdbcType=BIGINT}, role_id = #{record.roleId,jdbcType=BIGINT}, permission_id = #{record.permissionId,jdbcType=BIGINT} update ums_role_permission_relation role_id = #{roleId,jdbcType=BIGINT}, permission_id = #{permissionId,jdbcType=BIGINT}, where id = #{id,jdbcType=BIGINT} update ums_role_permission_relation set role_id = #{roleId,jdbcType=BIGINT}, permission_id = #{permissionId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT} ================================================ FILE: mall-mbg/src/main/resources/com/macro/mall/mapper/UmsRoleResourceRelationMapper.xml ================================================ and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${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 = #{record.id,jdbcType=BIGINT}, role_id = #{record.roleId,jdbcType=BIGINT}, resource_id = #{record.resourceId,jdbcType=BIGINT}, update ums_role_resource_relation set id = #{record.id,jdbcType=BIGINT}, role_id = #{record.roleId,jdbcType=BIGINT}, resource_id = #{record.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} ================================================ FILE: mall-mbg/src/main/resources/generator.properties ================================================ 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 ================================================ FILE: mall-mbg/src/main/resources/generatorConfig.xml ================================================
================================================ FILE: mall-portal/.gitignore ================================================ /target/ !.mvn/wrapper/maven-wrapper.jar ### STS ### .apt_generated .classpath .factorypath .project .settings .springBeans .sts4-cache ### IntelliJ IDEA ### .idea *.iws *.iml *.ipr ### NetBeans ### /nbproject/private/ /build/ /nbbuild/ /dist/ /nbdist/ /.nb-gradle/ ================================================ FILE: mall-portal/pom.xml ================================================ 4.0.0 com.macro.mall mall-portal 1.0-SNAPSHOT jar mall-portal mall-portal project for mall com.macro.mall mall 1.0-SNAPSHOT com.macro.mall mall-mbg com.macro.mall mall-security org.springframework.boot spring-boot-starter-data-mongodb org.springframework.boot spring-boot-starter-data-redis org.springframework.boot spring-boot-starter-amqp com.alipay.sdk alipay-sdk-java ${alipay-sdk.version} org.springframework.boot spring-boot-maven-plugin io.fabric8 docker-maven-plugin ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/MallPortalApplication.java ================================================ package com.macro.mall.portal; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication(scanBasePackages = "com.macro.mall") public class MallPortalApplication { public static void main(String[] args) { SpringApplication.run(MallPortalApplication.class, args); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/component/CancelOrderReceiver.java ================================================ package com.macro.mall.portal.component; import com.macro.mall.portal.service.OmsPortalOrderService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.amqp.rabbit.annotation.RabbitHandler; import org.springframework.amqp.rabbit.annotation.RabbitListener; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; /** * 取消订单消息的接收者 * Created by macro on 2018/9/14. */ @Component @RabbitListener(queues = "mall.order.cancel") public class CancelOrderReceiver { private static final Logger LOGGER = LoggerFactory.getLogger(CancelOrderReceiver.class); @Autowired private OmsPortalOrderService portalOrderService; @RabbitHandler public void handle(Long orderId){ portalOrderService.cancelOrder(orderId); LOGGER.info("process orderId:{}",orderId); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/component/CancelOrderSender.java ================================================ package com.macro.mall.portal.component; import com.macro.mall.portal.domain.QueueEnum; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.amqp.AmqpException; import org.springframework.amqp.core.AmqpTemplate; import org.springframework.amqp.core.Message; import org.springframework.amqp.core.MessagePostProcessor; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; /** * 取消订单消息的发送者 * Created by macro on 2018/9/14. */ @Component public class CancelOrderSender { private static final Logger LOGGER = LoggerFactory.getLogger(CancelOrderSender.class); @Autowired private AmqpTemplate amqpTemplate; public void sendMessage(Long orderId,final long delayTimes){ //给延迟队列发送消息 amqpTemplate.convertAndSend(QueueEnum.QUEUE_TTL_ORDER_CANCEL.getExchange(), QueueEnum.QUEUE_TTL_ORDER_CANCEL.getRouteKey(), orderId, new MessagePostProcessor() { @Override public Message postProcessMessage(Message message) throws AmqpException { //给消息设置延迟毫秒值 message.getMessageProperties().setExpiration(String.valueOf(delayTimes)); return message; } }); LOGGER.info("send orderId:{}",orderId); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/component/OrderTimeOutCancelTask.java ================================================ package com.macro.mall.portal.component; import com.macro.mall.portal.service.OmsPortalOrderService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; /** * 取消超时订单并解锁库存的定时器 * Created by macro on 2018/8/24. */ //@Component public class OrderTimeOutCancelTask { private final Logger LOGGER = LoggerFactory.getLogger(OrderTimeOutCancelTask.class); @Autowired private OmsPortalOrderService portalOrderService; /** * cron表达式:Seconds Minutes Hours DayOfMonth Month DayOfWeek [Year] * 每10分钟扫描一次,扫描超时未支付订单,进行取消操作 */ @Scheduled(cron = "0 0/10 * ? * ?") private void cancelTimeOutOrder(){ Integer count = portalOrderService.cancelTimeOutOrder(); LOGGER.info("取消订单,并根据sku编号释放锁定库存,取消订单数量:{}",count); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/config/AlipayClientConfig.java ================================================ package com.macro.mall.portal.config; import com.alipay.api.AlipayClient; import com.alipay.api.DefaultAlipayClient; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; /** * @auther macrozheng * @description 支付宝请求客户端配置 * @date 2023/9/8 * @github https://github.com/macrozheng */ @Configuration public class AlipayClientConfig { @Bean public AlipayClient alipayClient(AlipayConfig config){ return new DefaultAlipayClient(config.getGatewayUrl(),config.getAppId(),config.getAppPrivateKey(), config.getFormat(),config.getCharset(),config.getAlipayPublicKey(),config.getSignType()); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/config/AlipayConfig.java ================================================ package com.macro.mall.portal.config; import lombok.Getter; import lombok.Setter; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.stereotype.Component; /** * @auther macrozheng * @description 支付宝支付相关配置 * @date 2023/9/8 * @github https://github.com/macrozheng */ @Getter @Setter @Component @ConfigurationProperties(prefix = "alipay") public class AlipayConfig { /** * 支付宝网关 */ private String gatewayUrl; /** * 应用ID */ private String appId; /** * 应用私钥 */ private String appPrivateKey; /** * 支付宝公钥 */ private String alipayPublicKey; /** * 用户确认支付后,支付宝调用的页面返回路径 * 开发环境为:http://localhost:8060/#/pages/money/paySuccess */ private String returnUrl; /** * 支付成功后,支付宝服务器主动通知商户服务器里的异步通知回调(需要公网能访问) * 开发环境为:http://localhost:8085/alipay/notify */ private String notifyUrl; /** * 参数返回格式,只支持JSON */ private String format = "JSON"; /** * 请求使用的编码格式 */ private String charset = "UTF-8"; /** * 生成签名字符串所使用的签名算法类型 */ private String signType = "RSA2"; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/config/GlobalCorsConfig.java ================================================ package com.macro.mall.portal.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.web.cors.CorsConfiguration; import org.springframework.web.cors.UrlBasedCorsConfigurationSource; import org.springframework.web.filter.CorsFilter; /** * 全局跨域相关配置 * Created by macro on 2019/7/27. */ @Configuration public class GlobalCorsConfig { /** * 允许跨域调用的过滤器 */ @Bean public CorsFilter corsFilter() { CorsConfiguration config = new CorsConfiguration(); //允许所有域名进行跨域调用 config.addAllowedOriginPattern("*"); //允许跨域发送cookie config.setAllowCredentials(true); //放行全部原始头信息 config.addAllowedHeader("*"); //允许所有请求方法跨域调用 config.addAllowedMethod("*"); UrlBasedCorsConfigurationSource source = new UrlBasedCorsConfigurationSource(); source.registerCorsConfiguration("/**", config); return new CorsFilter(source); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/config/JacksonConfig.java ================================================ package com.macro.mall.portal.config; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.databind.ObjectMapper; import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Primary; import org.springframework.http.converter.json.Jackson2ObjectMapperBuilder; /** * Jackson相关配置 * 配置json不返回null的字段 * Created by macro on 2018/8/2. */ @Configuration public class JacksonConfig { @Bean @Primary @ConditionalOnMissingBean(ObjectMapper.class) public ObjectMapper jacksonObjectMapper(Jackson2ObjectMapperBuilder builder) { ObjectMapper objectMapper = builder.createXmlMapper(false).build(); // 通过该方法对mapper对象进行设置,所有序列化的对象都将按该规则进行序列化 // Include.ALWAYS 所有属性都序列化(默认) // Include.NON_DEFAULT 属性为默认值不序列化 // Include.NON_EMPTY 属性为空("")或者为NULL都不序列化 // Include.NON_NULL 属性为NULL的字段不序列化 objectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL); return objectMapper; } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/config/MallSecurityConfig.java ================================================ package com.macro.mall.portal.config; import com.macro.mall.portal.service.UmsMemberService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.core.userdetails.UserDetailsService; /** * mall-security模块相关配置 * Created by macro on 2019/11/5. */ @Configuration public class MallSecurityConfig { @Autowired private UmsMemberService memberService; @Bean public UserDetailsService userDetailsService() { //获取登录用户信息 return username -> memberService.loadUserByUsername(username); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/config/MyBatisConfig.java ================================================ package com.macro.mall.portal.config; import org.mybatis.spring.annotation.MapperScan; import org.springframework.context.annotation.Configuration; import org.springframework.transaction.annotation.EnableTransactionManagement; /** * MyBatis相关配置 * Created by macro on 2019/4/8. */ @Configuration @EnableTransactionManagement @MapperScan({"com.macro.mall.mapper","com.macro.mall.portal.dao"}) public class MyBatisConfig { } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/config/RabbitMqConfig.java ================================================ package com.macro.mall.portal.config; import com.macro.mall.portal.domain.QueueEnum; import org.springframework.amqp.core.*; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; /** * 消息队列相关配置 * Created by macro on 2018/9/14. */ @Configuration public class RabbitMqConfig { /** * 订单消息实际消费队列所绑定的交换机 */ @Bean DirectExchange orderDirect() { return ExchangeBuilder .directExchange(QueueEnum.QUEUE_ORDER_CANCEL.getExchange()) .durable(true) .build(); } /** * 订单延迟队列所绑定的交换机 */ @Bean DirectExchange orderTtlDirect() { return ExchangeBuilder .directExchange(QueueEnum.QUEUE_TTL_ORDER_CANCEL.getExchange()) .durable(true) .build(); } /** * 订单实际消费队列 */ @Bean public Queue orderQueue() { return new Queue(QueueEnum.QUEUE_ORDER_CANCEL.getName()); } /** * 订单延迟队列(死信队列) */ @Bean public Queue orderTtlQueue() { return QueueBuilder .durable(QueueEnum.QUEUE_TTL_ORDER_CANCEL.getName()) .withArgument("x-dead-letter-exchange", QueueEnum.QUEUE_ORDER_CANCEL.getExchange())//到期后转发的交换机 .withArgument("x-dead-letter-routing-key", QueueEnum.QUEUE_ORDER_CANCEL.getRouteKey())//到期后转发的路由键 .build(); } /** * 将订单队列绑定到交换机 */ @Bean Binding orderBinding(DirectExchange orderDirect,Queue orderQueue){ return BindingBuilder .bind(orderQueue) .to(orderDirect) .with(QueueEnum.QUEUE_ORDER_CANCEL.getRouteKey()); } /** * 将订单延迟队列绑定到交换机 */ @Bean Binding orderTtlBinding(DirectExchange orderTtlDirect,Queue orderTtlQueue){ return BindingBuilder .bind(orderTtlQueue) .to(orderTtlDirect) .with(QueueEnum.QUEUE_TTL_ORDER_CANCEL.getRouteKey()); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/config/SpringTaskConfig.java ================================================ package com.macro.mall.portal.config; import org.springframework.context.annotation.Configuration; import org.springframework.scheduling.annotation.EnableScheduling; /** * 定时任务相关配置 * Created by macro on 2019/4/8. */ @Configuration @EnableScheduling public class SpringTaskConfig { } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/config/SwaggerConfig.java ================================================ package com.macro.mall.portal.config; import com.macro.mall.common.config.BaseSwaggerConfig; import com.macro.mall.common.domain.SwaggerProperties; import org.springframework.beans.factory.config.BeanPostProcessor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.swagger2.annotations.EnableSwagger2; /** * Swagger相关配置 * Created by macro on 2018/4/26. */ @Configuration @EnableSwagger2 public class SwaggerConfig extends BaseSwaggerConfig { @Override public SwaggerProperties swaggerProperties() { return SwaggerProperties.builder() .apiBasePackage("com.macro.mall.portal.controller") .title("mall前台系统") .description("mall前台相关接口文档") .contactName("macro") .version("1.0") .enableSecurity(true) .build(); } @Bean public BeanPostProcessor springfoxHandlerProviderBeanPostProcessor() { return generateBeanPostProcessor(); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/controller/AlipayController.java ================================================ package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.portal.config.AlipayConfig; import com.macro.mall.portal.domain.AliPayParam; import com.macro.mall.portal.service.AlipayService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.ResponseBody; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.util.HashMap; import java.util.Map; /** * @auther macrozheng * @description 支付宝支付Controller * @date 2023/9/8 * @github https://github.com/macrozheng */ @Controller @Api(tags = "AlipayController") @Tag(name = "AlipayController", description = "支付宝支付相关接口") @RequestMapping("/alipay") public class AlipayController { @Autowired private AlipayConfig alipayConfig; @Autowired private AlipayService alipayService; @ApiOperation("支付宝电脑网站支付") @RequestMapping(value = "/pay", method = RequestMethod.GET) public void pay(AliPayParam aliPayParam, HttpServletResponse response) throws IOException { response.setContentType("text/html;charset=" + alipayConfig.getCharset()); response.getWriter().write(alipayService.pay(aliPayParam)); response.getWriter().flush(); response.getWriter().close(); } @ApiOperation("支付宝手机网站支付") @RequestMapping(value = "/webPay", method = RequestMethod.GET) public void webPay(AliPayParam aliPayParam, HttpServletResponse response) throws IOException { response.setContentType("text/html;charset=" + alipayConfig.getCharset()); response.getWriter().write(alipayService.webPay(aliPayParam)); response.getWriter().flush(); response.getWriter().close(); } @ApiOperation(value = "支付宝异步回调",notes = "必须为POST请求,执行成功返回success,执行失败返回failure") @RequestMapping(value = "/notify", method = RequestMethod.POST) public String notify(HttpServletRequest request){ Map params = new HashMap<>(); Map requestParams = request.getParameterMap(); for (String name : requestParams.keySet()) { params.put(name, request.getParameter(name)); } return alipayService.notify(params); } @ApiOperation(value = "支付宝统一收单线下交易查询",notes = "订单支付成功返回交易状态:TRADE_SUCCESS") @RequestMapping(value = "/query", method = RequestMethod.GET) @ResponseBody public CommonResult query(String outTradeNo, String tradeNo){ return CommonResult.success(alipayService.query(outTradeNo,tradeNo)); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/controller/HomeController.java ================================================ package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.CmsSubject; import com.macro.mall.model.PmsProduct; import com.macro.mall.model.PmsProductCategory; import com.macro.mall.portal.domain.HomeContentResult; import com.macro.mall.portal.service.HomeService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 首页内容管理Controller * Created by macro on 2019/1/28. */ @Controller @Api(tags = "HomeController") @Tag(name = "HomeController", description = "首页内容管理") @RequestMapping("/home") public class HomeController { @Autowired private HomeService homeService; @ApiOperation("首页内容信息展示") @RequestMapping(value = "/content", method = RequestMethod.GET) @ResponseBody public CommonResult content() { HomeContentResult contentResult = homeService.content(); return CommonResult.success(contentResult); } @ApiOperation("分页获取推荐商品") @RequestMapping(value = "/recommendProductList", method = RequestMethod.GET) @ResponseBody public CommonResult> recommendProductList(@RequestParam(value = "pageSize", defaultValue = "4") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List productList = homeService.recommendProductList(pageSize, pageNum); return CommonResult.success(productList); } @ApiOperation("获取首页商品分类") @RequestMapping(value = "/productCateList/{parentId}", method = RequestMethod.GET) @ResponseBody public CommonResult> getProductCateList(@PathVariable Long parentId) { List productCategoryList = homeService.getProductCateList(parentId); return CommonResult.success(productCategoryList); } @ApiOperation("根据分类分页获取专题") @RequestMapping(value = "/subjectList", method = RequestMethod.GET) @ResponseBody public CommonResult> getSubjectList(@RequestParam(required = false) Long cateId, @RequestParam(value = "pageSize", defaultValue = "4") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List subjectList = homeService.getSubjectList(cateId,pageSize,pageNum); return CommonResult.success(subjectList); } @ApiOperation("分页获取人气推荐商品") @RequestMapping(value = "/hotProductList", method = RequestMethod.GET) @ResponseBody public CommonResult> hotProductList(@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum, @RequestParam(value = "pageSize", defaultValue = "6") Integer pageSize) { List productList = homeService.hotProductList(pageNum,pageSize); return CommonResult.success(productList); } @ApiOperation("分页获取新品推荐商品") @RequestMapping(value = "/newProductList", method = RequestMethod.GET) @ResponseBody public CommonResult> newProductList(@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum, @RequestParam(value = "pageSize", defaultValue = "6") Integer pageSize) { List productList = homeService.newProductList(pageNum,pageSize); return CommonResult.success(productList); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/controller/MemberAttentionController.java ================================================ package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.portal.domain.MemberBrandAttention; import com.macro.mall.portal.service.MemberAttentionService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; /** * 会员品牌关注管理Controller * Created by macro on 2018/8/2. */ @Controller @Api(tags = "MemberAttentionController") @Tag(name = "MemberAttentionController",description = "会员关注品牌管理") @RequestMapping("/member/attention") public class MemberAttentionController { @Autowired private MemberAttentionService memberAttentionService; @ApiOperation("添加品牌关注") @RequestMapping(value = "/add", method = RequestMethod.POST) @ResponseBody public CommonResult add(@RequestBody MemberBrandAttention memberBrandAttention) { int count = memberAttentionService.add(memberBrandAttention); if(count>0){ return CommonResult.success(count); }else{ return CommonResult.failed(); } } @ApiOperation("取消品牌关注") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(Long brandId) { int count = memberAttentionService.delete(brandId); if(count>0){ return CommonResult.success(count); }else{ return CommonResult.failed(); } } @ApiOperation("分页查询当前用户品牌关注列表") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize) { Page page = memberAttentionService.list(pageNum,pageSize); return CommonResult.success(CommonPage.restPage(page)); } @ApiOperation("根据品牌ID获取品牌关注详情") @RequestMapping(value = "/detail", method = RequestMethod.GET) @ResponseBody public CommonResult detail(@RequestParam Long brandId) { MemberBrandAttention memberBrandAttention = memberAttentionService.detail(brandId); return CommonResult.success(memberBrandAttention); } @ApiOperation("清空当前用户品牌关注列表") @RequestMapping(value = "/clear", method = RequestMethod.POST) @ResponseBody public CommonResult clear() { memberAttentionService.clear(); return CommonResult.success(null); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/controller/MemberProductCollectionController.java ================================================ package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.portal.domain.MemberProductCollection; import com.macro.mall.portal.service.MemberCollectionService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; /** * 会员商品收藏管理Controller * Created by macro on 2018/8/2. */ @Controller @Api(tags = "MemberCollectionController") @Tag(name = "MemberCollectionController",description = "会员收藏管理") @RequestMapping("/member/productCollection") public class MemberProductCollectionController { @Autowired private MemberCollectionService memberCollectionService; @ApiOperation("添加商品收藏") @RequestMapping(value = "/add", method = RequestMethod.POST) @ResponseBody public CommonResult add(@RequestBody MemberProductCollection productCollection) { int count = memberCollectionService.add(productCollection); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("删除商品收藏") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(Long productId) { int count = memberCollectionService.delete(productId); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("显示当前用户商品收藏列表") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize) { Page page = memberCollectionService.list(pageNum,pageSize); return CommonResult.success(CommonPage.restPage(page)); } @ApiOperation("显示商品收藏详情") @RequestMapping(value = "/detail", method = RequestMethod.GET) @ResponseBody public CommonResult detail(@RequestParam Long productId) { MemberProductCollection memberProductCollection = memberCollectionService.detail(productId); return CommonResult.success(memberProductCollection); } @ApiOperation("清空当前用户商品收藏列表") @RequestMapping(value = "/clear", method = RequestMethod.POST) @ResponseBody public CommonResult clear() { memberCollectionService.clear(); return CommonResult.success(null); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/controller/MemberReadHistoryController.java ================================================ package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.portal.domain.MemberReadHistory; import com.macro.mall.portal.service.MemberReadHistoryService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 会员商品浏览记录管理Controller * Created by macro on 2018/8/3. */ @Controller @Api(tags = "MemberReadHistoryController") @Tag(name = "MemberReadHistoryController", description = "会员商品浏览记录管理") @RequestMapping("/member/readHistory") public class MemberReadHistoryController { @Autowired private MemberReadHistoryService memberReadHistoryService; @ApiOperation("创建浏览记录") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody MemberReadHistory memberReadHistory) { int count = memberReadHistoryService.create(memberReadHistory); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("删除浏览记录") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("ids") List ids) { int count = memberReadHistoryService.delete(ids); if (count > 0) { return CommonResult.success(count); } else { return CommonResult.failed(); } } @ApiOperation("清空浏览记录") @RequestMapping(value = "/clear", method = RequestMethod.POST) @ResponseBody public CommonResult clear() { memberReadHistoryService.clear(); return CommonResult.success(null); } @ApiOperation("分页获取浏览记录") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum, @RequestParam(value = "pageSize", defaultValue = "5") Integer pageSize) { Page page = memberReadHistoryService.list(pageNum, pageSize); return CommonResult.success(CommonPage.restPage(page)); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/controller/OmsCartItemController.java ================================================ package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.OmsCartItem; import com.macro.mall.portal.domain.CartProduct; import com.macro.mall.portal.domain.CartPromotionItem; import com.macro.mall.portal.service.OmsCartItemService; import com.macro.mall.portal.service.UmsMemberService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 购物车管理Controller * Created by macro on 2018/8/2. */ @Controller @Api(tags = "OmsCartItemController") @Tag(name = "OmsCartItemController", description = "购物车管理") @RequestMapping("/cart") public class OmsCartItemController { @Autowired private OmsCartItemService cartItemService; @Autowired private UmsMemberService memberService; @ApiOperation("添加商品到购物车") @RequestMapping(value = "/add", method = RequestMethod.POST) @ResponseBody public CommonResult add(@RequestBody OmsCartItem cartItem) { int count = cartItemService.add(cartItem); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("获取当前会员的购物车列表") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list() { List cartItemList = cartItemService.list(memberService.getCurrentMember().getId()); return CommonResult.success(cartItemList); } @ApiOperation("获取当前会员的购物车列表,包括促销信息") @RequestMapping(value = "/list/promotion", method = RequestMethod.GET) @ResponseBody public CommonResult> listPromotion(@RequestParam(required = false) List cartIds) { List cartPromotionItemList = cartItemService.listPromotion(memberService.getCurrentMember().getId(), cartIds); return CommonResult.success(cartPromotionItemList); } @ApiOperation("修改购物车中指定商品的数量") @RequestMapping(value = "/update/quantity", method = RequestMethod.GET) @ResponseBody public CommonResult updateQuantity(@RequestParam Long id, @RequestParam Integer quantity) { int count = cartItemService.updateQuantity(id, memberService.getCurrentMember().getId(), quantity); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("获取购物车中指定商品的规格,用于重选规格") @RequestMapping(value = "/getProduct/{productId}", method = RequestMethod.GET) @ResponseBody public CommonResult getCartProduct(@PathVariable Long productId) { CartProduct cartProduct = cartItemService.getCartProduct(productId); return CommonResult.success(cartProduct); } @ApiOperation("修改购物车中商品的规格") @RequestMapping(value = "/update/attr", method = RequestMethod.POST) @ResponseBody public CommonResult updateAttr(@RequestBody OmsCartItem cartItem) { int count = cartItemService.updateAttr(cartItem); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("删除购物车中的指定商品") @RequestMapping(value = "/delete", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("ids") List ids) { int count = cartItemService.delete(memberService.getCurrentMember().getId(), ids); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("清空当前会员的购物车") @RequestMapping(value = "/clear", method = RequestMethod.POST) @ResponseBody public CommonResult clear() { int count = cartItemService.clear(memberService.getCurrentMember().getId()); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/controller/OmsPortalOrderController.java ================================================ package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.portal.domain.ConfirmOrderResult; import com.macro.mall.portal.domain.OmsOrderDetail; import com.macro.mall.portal.domain.OrderParam; import com.macro.mall.portal.service.OmsPortalOrderService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; import java.util.Map; /** * 订单管理Controller * Created by macro on 2018/8/30. */ @Controller @Api(tags = "OmsPortalOrderController") @Tag(name = "OmsPortalOrderController", description = "订单管理") @RequestMapping("/order") public class OmsPortalOrderController { @Autowired private OmsPortalOrderService portalOrderService; @ApiOperation("根据购物车信息生成确认单") @RequestMapping(value = "/generateConfirmOrder", method = RequestMethod.POST) @ResponseBody public CommonResult generateConfirmOrder(@RequestBody List cartIds) { ConfirmOrderResult confirmOrderResult = portalOrderService.generateConfirmOrder(cartIds); return CommonResult.success(confirmOrderResult); } @ApiOperation("根据购物车信息生成订单") @RequestMapping(value = "/generateOrder", method = RequestMethod.POST) @ResponseBody public CommonResult generateOrder(@RequestBody OrderParam orderParam) { Map result = portalOrderService.generateOrder(orderParam); return CommonResult.success(result, "下单成功"); } @ApiOperation("用户支付成功的回调") @RequestMapping(value = "/paySuccess", method = RequestMethod.POST) @ResponseBody public CommonResult paySuccess(@RequestParam Long orderId,@RequestParam Integer payType) { Integer count = portalOrderService.paySuccess(orderId,payType); return CommonResult.success(count, "支付成功"); } @ApiOperation("自动取消超时订单") @RequestMapping(value = "/cancelTimeOutOrder", method = RequestMethod.POST) @ResponseBody public CommonResult cancelTimeOutOrder() { portalOrderService.cancelTimeOutOrder(); return CommonResult.success(null); } @ApiOperation("取消单个超时订单") @RequestMapping(value = "/cancelOrder", method = RequestMethod.POST) @ResponseBody public CommonResult cancelOrder(Long orderId) { portalOrderService.sendDelayMessageCancelOrder(orderId); return CommonResult.success(null); } @ApiOperation("按状态分页获取用户订单列表") @ApiImplicitParam(name = "status", value = "订单状态:-1->全部;0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭", defaultValue = "-1", allowableValues = "-1,0,1,2,3,4", paramType = "query", dataType = "int") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam Integer status, @RequestParam(required = false, defaultValue = "1") Integer pageNum, @RequestParam(required = false, defaultValue = "5") Integer pageSize) { CommonPage orderPage = portalOrderService.list(status,pageNum,pageSize); return CommonResult.success(orderPage); } @ApiOperation("根据ID获取订单详情") @RequestMapping(value = "/detail/{orderId}", method = RequestMethod.GET) @ResponseBody public CommonResult detail(@PathVariable Long orderId) { OmsOrderDetail orderDetail = portalOrderService.detail(orderId); return CommonResult.success(orderDetail); } @ApiOperation("用户取消订单") @RequestMapping(value = "/cancelUserOrder", method = RequestMethod.POST) @ResponseBody public CommonResult cancelUserOrder(Long orderId) { portalOrderService.cancelOrder(orderId); return CommonResult.success(null); } @ApiOperation("用户确认收货") @RequestMapping(value = "/confirmReceiveOrder", method = RequestMethod.POST) @ResponseBody public CommonResult confirmReceiveOrder(Long orderId) { portalOrderService.confirmReceiveOrder(orderId); return CommonResult.success(null); } @ApiOperation("用户删除订单") @RequestMapping(value = "/deleteOrder", method = RequestMethod.POST) @ResponseBody public CommonResult deleteOrder(Long orderId) { portalOrderService.deleteOrder(orderId); return CommonResult.success(null); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/controller/OmsPortalOrderReturnApplyController.java ================================================ package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.portal.domain.OmsOrderReturnApplyParam; import com.macro.mall.portal.service.OmsPortalOrderReturnApplyService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.ResponseBody; /** * 退货申请管理Controller * Created by macro on 2018/10/17. */ @Controller @Api(tags = "OmsPortalOrderReturnApplyController") @Tag(name = "OmsPortalOrderReturnApplyController",description = "退货申请管理") @RequestMapping("/returnApply") public class OmsPortalOrderReturnApplyController { @Autowired private OmsPortalOrderReturnApplyService returnApplyService; @ApiOperation("申请退货") @RequestMapping(value = "/create", method = RequestMethod.POST) @ResponseBody public CommonResult create(@RequestBody OmsOrderReturnApplyParam returnApply) { int count = returnApplyService.create(returnApply); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/controller/PmsPortalBrandController.java ================================================ package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.PmsBrand; import com.macro.mall.model.PmsProduct; import com.macro.mall.portal.service.PmsPortalBrandService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 首页品牌推荐管理Controller * Created by macro on 2020/5/15. */ @Controller @Api(tags = "PmsPortalBrandController") @Tag(name = "PmsPortalBrandController", description = "前台品牌管理") @RequestMapping("/brand") public class PmsPortalBrandController { @Autowired private PmsPortalBrandService portalBrandService; @ApiOperation("分页获取推荐品牌") @RequestMapping(value = "/recommendList", method = RequestMethod.GET) @ResponseBody public CommonResult> recommendList(@RequestParam(value = "pageSize", defaultValue = "6") Integer pageSize, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum) { List brandList = portalBrandService.recommendList(pageNum, pageSize); return CommonResult.success(brandList); } @ApiOperation("获取品牌详情") @RequestMapping(value = "/detail/{brandId}", method = RequestMethod.GET) @ResponseBody public CommonResult detail(@PathVariable Long brandId) { PmsBrand brand = portalBrandService.detail(brandId); return CommonResult.success(brand); } @ApiOperation("分页获取品牌相关商品") @RequestMapping(value = "/productList", method = RequestMethod.GET) @ResponseBody public CommonResult> productList(@RequestParam Long brandId, @RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum, @RequestParam(value = "pageSize", defaultValue = "6") Integer pageSize) { CommonPage result = portalBrandService.productList(brandId,pageNum, pageSize); return CommonResult.success(result); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/controller/PmsPortalProductController.java ================================================ package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.PmsProduct; import com.macro.mall.portal.domain.PmsPortalProductDetail; import com.macro.mall.portal.domain.PmsProductCategoryNode; import com.macro.mall.portal.service.PmsPortalProductService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 前台商品管理Controller * Created by macro on 2020/4/6. */ @Controller @Api(tags = "PmsPortalProductController") @Tag(name = "PmsPortalProductController", description = "前台商品管理") @RequestMapping("/product") public class PmsPortalProductController { @Autowired private PmsPortalProductService portalProductService; @ApiOperation(value = "综合搜索、筛选、排序") @ApiImplicitParam(name = "sort", value = "排序字段:0->按相关度;1->按新品;2->按销量;3->价格从低到高;4->价格从高到低", defaultValue = "0", allowableValues = "0,1,2,3,4", paramType = "query", dataType = "integer") @RequestMapping(value = "/search", method = RequestMethod.GET) @ResponseBody public CommonResult> search(@RequestParam(required = false) String keyword, @RequestParam(required = false) Long brandId, @RequestParam(required = false) Long productCategoryId, @RequestParam(required = false, defaultValue = "0") Integer pageNum, @RequestParam(required = false, defaultValue = "5") Integer pageSize, @RequestParam(required = false, defaultValue = "0") Integer sort) { List productList = portalProductService.search(keyword, brandId, productCategoryId, pageNum, pageSize, sort); return CommonResult.success(CommonPage.restPage(productList)); } @ApiOperation("以树形结构获取所有商品分类") @RequestMapping(value = "/categoryTreeList", method = RequestMethod.GET) @ResponseBody public CommonResult> categoryTreeList() { List list = portalProductService.categoryTreeList(); return CommonResult.success(list); } @ApiOperation("获取前台商品详情") @RequestMapping(value = "/detail/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult detail(@PathVariable Long id) { PmsPortalProductDetail productDetail = portalProductService.detail(id); return CommonResult.success(productDetail); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/controller/UmsMemberController.java ================================================ package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.UmsMember; import com.macro.mall.portal.service.UmsMemberService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import javax.servlet.http.HttpServletRequest; import java.security.Principal; import java.util.HashMap; import java.util.Map; /** * 会员管理Controller * Created by macro on 2018/8/3. */ @Controller @Api(tags = "UmsMemberController") @Tag(name = "UmsMemberController", description = "会员登录注册管理") @RequestMapping("/sso") public class UmsMemberController { @Value("${jwt.tokenHeader}") private String tokenHeader; @Value("${jwt.tokenHead}") private String tokenHead; @Autowired private UmsMemberService memberService; @ApiOperation("会员注册") @RequestMapping(value = "/register", method = RequestMethod.POST) @ResponseBody public CommonResult register(@RequestParam String username, @RequestParam String password, @RequestParam String telephone, @RequestParam String authCode) { memberService.register(username, password, telephone, authCode); return CommonResult.success(null,"注册成功"); } @ApiOperation("会员登录") @RequestMapping(value = "/login", method = RequestMethod.POST) @ResponseBody public CommonResult login(@RequestParam String username, @RequestParam String password) { String token = memberService.login(username, password); if (token == null) { return CommonResult.validateFailed("用户名或密码错误"); } Map tokenMap = new HashMap<>(); tokenMap.put("token", token); tokenMap.put("tokenHead", tokenHead); return CommonResult.success(tokenMap); } @ApiOperation("获取会员信息") @RequestMapping(value = "/info", method = RequestMethod.GET) @ResponseBody public CommonResult info(Principal principal) { if(principal==null){ return CommonResult.unauthorized(null); } UmsMember member = memberService.getCurrentMember(); return CommonResult.success(member); } @ApiOperation("获取验证码") @RequestMapping(value = "/getAuthCode", method = RequestMethod.GET) @ResponseBody public CommonResult getAuthCode(@RequestParam String telephone) { String authCode = memberService.generateAuthCode(telephone); return CommonResult.success(authCode,"获取验证码成功"); } @ApiOperation("会员修改密码") @RequestMapping(value = "/updatePassword", method = RequestMethod.POST) @ResponseBody public CommonResult updatePassword(@RequestParam String telephone, @RequestParam String password, @RequestParam String authCode) { memberService.updatePassword(telephone,password,authCode); return CommonResult.success(null,"密码修改成功"); } @ApiOperation(value = "刷新token") @RequestMapping(value = "/refreshToken", method = RequestMethod.GET) @ResponseBody public CommonResult refreshToken(HttpServletRequest request) { String token = request.getHeader(tokenHeader); String refreshToken = memberService.refreshToken(token); if (refreshToken == null) { return CommonResult.failed("token已经过期!"); } Map tokenMap = new HashMap<>(); tokenMap.put("token", refreshToken); tokenMap.put("tokenHead", tokenHead); return CommonResult.success(tokenMap); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/controller/UmsMemberCouponController.java ================================================ package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.SmsCoupon; import com.macro.mall.model.SmsCouponHistory; import com.macro.mall.portal.domain.CartPromotionItem; import com.macro.mall.portal.domain.SmsCouponHistoryDetail; import com.macro.mall.portal.service.OmsCartItemService; import com.macro.mall.portal.service.UmsMemberCouponService; import com.macro.mall.portal.service.UmsMemberService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 会员优惠券管理Controller * Created by macro on 2018/8/29. */ @Controller @Api(tags = "UmsMemberCouponController") @Tag(name = "UmsMemberCouponController", description = "用户优惠券管理") @RequestMapping("/member/coupon") public class UmsMemberCouponController { @Autowired private UmsMemberCouponService memberCouponService; @Autowired private OmsCartItemService cartItemService; @Autowired private UmsMemberService memberService; @ApiOperation("领取指定优惠券") @RequestMapping(value = "/add/{couponId}", method = RequestMethod.POST) @ResponseBody public CommonResult add(@PathVariable Long couponId) { memberCouponService.add(couponId); return CommonResult.success(null,"领取成功"); } @ApiOperation("获取会员优惠券历史列表") @ApiImplicitParam(name = "useStatus", value = "优惠券筛选类型:0->未使用;1->已使用;2->已过期", allowableValues = "0,1,2", paramType = "query", dataType = "integer") @RequestMapping(value = "/listHistory", method = RequestMethod.GET) @ResponseBody public CommonResult> listHistory(@RequestParam(value = "useStatus", required = false) Integer useStatus) { List couponHistoryList = memberCouponService.listHistory(useStatus); return CommonResult.success(couponHistoryList); } @ApiOperation("获取会员优惠券列表") @ApiImplicitParam(name = "useStatus", value = "优惠券筛选类型:0->未使用;1->已使用;2->已过期", allowableValues = "0,1,2", paramType = "query", dataType = "integer") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list(@RequestParam(value = "useStatus", required = false) Integer useStatus) { List couponList = memberCouponService.list(useStatus); return CommonResult.success(couponList); } @ApiOperation("获取登录会员购物车的相关优惠券") @ApiImplicitParam(name = "type", value = "使用可用:0->不可用;1->可用", defaultValue = "1", allowableValues = "0,1", paramType = "path", dataType = "integer") @RequestMapping(value = "/list/cart/{type}", method = RequestMethod.GET) @ResponseBody public CommonResult> listCart(@PathVariable Integer type) { List cartPromotionItemList = cartItemService.listPromotion(memberService.getCurrentMember().getId(), null); List couponHistoryList = memberCouponService.listCart(cartPromotionItemList, type); return CommonResult.success(couponHistoryList); } @ApiOperation("获取当前商品相关优惠券") @RequestMapping(value = "/listByProduct/{productId}", method = RequestMethod.GET) @ResponseBody public CommonResult> listByProduct(@PathVariable Long productId) { List couponHistoryList = memberCouponService.listByProduct(productId); return CommonResult.success(couponHistoryList); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/controller/UmsMemberReceiveAddressController.java ================================================ package com.macro.mall.portal.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.UmsMemberReceiveAddress; import com.macro.mall.portal.service.UmsMemberReceiveAddressService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 会员收货地址管理Controller * Created by macro on 2018/8/28. */ @Controller @Api(tags = "UmsMemberReceiveAddressController") @Tag(name = "UmsMemberReceiveAddressController", description = "会员收货地址管理") @RequestMapping("/member/address") public class UmsMemberReceiveAddressController { @Autowired private UmsMemberReceiveAddressService memberReceiveAddressService; @ApiOperation("添加收货地址") @RequestMapping(value = "/add", method = RequestMethod.POST) @ResponseBody public CommonResult add(@RequestBody UmsMemberReceiveAddress address) { int count = memberReceiveAddressService.add(address); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("删除收货地址") @RequestMapping(value = "/delete/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@PathVariable Long id) { int count = memberReceiveAddressService.delete(id); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("修改收货地址") @RequestMapping(value = "/update/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult update(@PathVariable Long id, @RequestBody UmsMemberReceiveAddress address) { int count = memberReceiveAddressService.update(id, address); if (count > 0) { return CommonResult.success(count); } return CommonResult.failed(); } @ApiOperation("获取所有收货地址") @RequestMapping(value = "/list", method = RequestMethod.GET) @ResponseBody public CommonResult> list() { List addressList = memberReceiveAddressService.list(); return CommonResult.success(addressList); } @ApiOperation("获取收货地址详情") @RequestMapping(value = "/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult getItem(@PathVariable Long id) { UmsMemberReceiveAddress address = memberReceiveAddressService.getItem(id); return CommonResult.success(address); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/dao/HomeDao.java ================================================ package com.macro.mall.portal.dao; import com.macro.mall.model.CmsSubject; import com.macro.mall.model.PmsBrand; import com.macro.mall.model.PmsProduct; import com.macro.mall.portal.domain.FlashPromotionProduct; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 首页内容管理自定义Dao * Created by macro on 2019/1/28. */ public interface HomeDao { /** * 获取推荐品牌 */ List getRecommendBrandList(@Param("offset") Integer offset,@Param("limit") Integer limit); /** * 获取秒杀商品 */ List getFlashProductList(@Param("flashPromotionId") Long flashPromotionId, @Param("sessionId") Long sessionId); /** * 获取新品推荐 */ List getNewProductList(@Param("offset") Integer offset,@Param("limit") Integer limit); /** * 获取人气推荐 */ List getHotProductList(@Param("offset") Integer offset,@Param("limit") Integer limit); /** * 获取推荐专题 */ List getRecommendSubjectList(@Param("offset") Integer offset, @Param("limit") Integer limit); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/dao/PortalOrderDao.java ================================================ package com.macro.mall.portal.dao; import com.macro.mall.model.OmsOrderItem; import com.macro.mall.portal.domain.OmsOrderDetail; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 前台订单管理自定义Dao * Created by macro on 2018/9/4. */ public interface PortalOrderDao { /** * 获取订单及下单商品详情 */ OmsOrderDetail getDetail(@Param("orderId") Long orderId); /** * 修改 pms_sku_stock表的锁定库存及真实库存 */ int updateSkuStock(@Param("itemList") List orderItemList); /** * 获取超时订单 * @param minute 超时时间(分) */ List getTimeOutOrders(@Param("minute") Integer minute); /** * 批量修改订单状态 */ int updateOrderStatus(@Param("ids") List ids,@Param("status") Integer status); /** * 解除取消订单的库存锁定 */ int releaseSkuStockLock(@Param("itemList") List orderItemList); /** * 根据商品的skuId来锁定库存 */ int lockStockBySkuId(@Param("productSkuId")Long productSkuId,@Param("quantity") Integer quantity); /** * 根据商品的skuId扣减真实库存 */ int reduceSkuStock(@Param("productSkuId")Long productSkuId,@Param("quantity") Integer quantity); /** * 根据商品的skuId释放库存 */ int releaseStockBySkuId(@Param("productSkuId")Long productSkuId,@Param("quantity") Integer quantity); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/dao/PortalOrderItemDao.java ================================================ package com.macro.mall.portal.dao; import com.macro.mall.model.OmsOrderItem; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 订单商品信息管理自定义Dao * Created by macro on 2018/9/3. */ public interface PortalOrderItemDao { /** * 批量插入 */ int insertList(@Param("list") List list); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/dao/PortalProductDao.java ================================================ package com.macro.mall.portal.dao; import com.macro.mall.model.SmsCoupon; import com.macro.mall.portal.domain.CartProduct; import com.macro.mall.portal.domain.PromotionProduct; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 前台购物车商品管理自定义Dao * Created by macro on 2018/8/2. */ public interface PortalProductDao { /** * 获取购物车商品信息 */ CartProduct getCartProduct(@Param("id") Long id); /** * 获取促销商品信息列表 */ List getPromotionProductList(@Param("ids") List ids); /** * 获取可用优惠券列表 */ List getAvailableCouponList(@Param("productId") Long productId, @Param("productCategoryId") Long productCategoryId); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/dao/SmsCouponHistoryDao.java ================================================ package com.macro.mall.portal.dao; import com.macro.mall.model.SmsCoupon; import com.macro.mall.portal.domain.SmsCouponHistoryDetail; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 会员优惠券领取记录管理自定义Dao * Created by macro on 2018/8/29. */ public interface SmsCouponHistoryDao { /** * 获取优惠券历史详情 */ List getDetailList(@Param("memberId") Long memberId); /** * 获取指定会员优惠券列表 */ List getCouponList(@Param("memberId") Long memberId, @Param("useStatus")Integer useStatus); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/AliPayParam.java ================================================ package com.macro.mall.portal.domain; import lombok.Data; import java.math.BigDecimal; /** * @auther macrozheng * @description 支付宝支付请求参数 * @date 2023/9/8 * @github https://github.com/macrozheng */ @Data public class AliPayParam { /** * 商户订单号,商家自定义,保持唯一性 */ private String outTradeNo; /** * 商品的标题/交易标题/订单标题/订单关键字等 */ private String subject; /** * 订单总金额,单位为元,精确到小数点后两位 */ private BigDecimal totalAmount; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/CartProduct.java ================================================ package com.macro.mall.portal.domain; import com.macro.mall.model.PmsProduct; import com.macro.mall.model.PmsProductAttribute; import com.macro.mall.model.PmsSkuStock; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 购物车中带商品属性和SKU库存的商品对象 * Created by macro on 2018/8/2. */ @Getter @Setter public class CartProduct extends PmsProduct { @ApiModelProperty("商品属性列表") private List productAttributeList; @ApiModelProperty("商品SKU库存列表") private List skuStockList; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/CartPromotionItem.java ================================================ package com.macro.mall.portal.domain; import com.macro.mall.model.OmsCartItem; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.math.BigDecimal; /** * 带促销信息的购物车商品封装 * Created by macro on 2018/8/27. */ @Getter @Setter public class CartPromotionItem extends OmsCartItem{ @ApiModelProperty("促销活动信息") private String promotionMessage; @ApiModelProperty("促销活动减去的金额,针对每个商品") private BigDecimal reduceAmount; @ApiModelProperty("剩余库存-锁定库存") private Integer realStock; @ApiModelProperty("购买商品赠送积分") private Integer integration; @ApiModelProperty("购买商品赠送成长值") private Integer growth; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/ConfirmOrderResult.java ================================================ package com.macro.mall.portal.domain; import com.macro.mall.model.UmsIntegrationConsumeSetting; import com.macro.mall.model.UmsMemberReceiveAddress; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.math.BigDecimal; import java.util.List; /** * 确认单信息封装 * Created by macro on 2018/8/30. */ @Getter @Setter public class ConfirmOrderResult { @ApiModelProperty("包含优惠信息的购物车信息") private List cartPromotionItemList; @ApiModelProperty("用户收货地址列表") private List memberReceiveAddressList; @ApiModelProperty("用户可用优惠券列表") private List couponHistoryDetailList; @ApiModelProperty("积分使用规则") private UmsIntegrationConsumeSetting integrationConsumeSetting; @ApiModelProperty("会员持有的积分") private Integer memberIntegration; @ApiModelProperty("计算的金额") private CalcAmount calcAmount; @Getter @Setter public static class CalcAmount{ @ApiModelProperty("订单商品总金额") private BigDecimal totalAmount; @ApiModelProperty("运费") private BigDecimal freightAmount; @ApiModelProperty("活动优惠") private BigDecimal promotionAmount; @ApiModelProperty("应付金额") private BigDecimal payAmount; } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/FlashPromotionProduct.java ================================================ package com.macro.mall.portal.domain; import com.macro.mall.model.PmsProduct; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.math.BigDecimal; /** * 秒杀信息和商品对象封装 * Created by macro on 2019/1/28. */ @Getter @Setter public class FlashPromotionProduct extends PmsProduct{ @ApiModelProperty("秒杀价格") private BigDecimal flashPromotionPrice; @ApiModelProperty("用于秒杀的数量") private Integer flashPromotionCount; @ApiModelProperty("秒杀限购数量") private Integer flashPromotionLimit; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/HomeContentResult.java ================================================ package com.macro.mall.portal.domain; import com.macro.mall.model.CmsSubject; import com.macro.mall.model.PmsBrand; import com.macro.mall.model.PmsProduct; import com.macro.mall.model.SmsHomeAdvertise; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 首页内容返回信息封装 * Created by macro on 2019/1/28. */ @Getter @Setter public class HomeContentResult { @ApiModelProperty("轮播广告") private List advertiseList; @ApiModelProperty("推荐品牌") private List brandList; @ApiModelProperty("当前秒杀场次") private HomeFlashPromotion homeFlashPromotion; @ApiModelProperty("新品推荐") private List newProductList; @ApiModelProperty("人气推荐") private List hotProductList; @ApiModelProperty("推荐专题") private List subjectList; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/HomeFlashPromotion.java ================================================ package com.macro.mall.portal.domain; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.util.Date; import java.util.List; /** * 首页秒杀场次信息封装 * Created by macro on 2019/1/28. */ @Getter @Setter public class HomeFlashPromotion { @ApiModelProperty("本场开始时间") private Date startTime; @ApiModelProperty("本场结束时间") private Date endTime; @ApiModelProperty("下场开始时间") private Date nextStartTime; @ApiModelProperty("下场结束时间") private Date nextEndTime; @ApiModelProperty("属于该秒杀活动的商品") private List productList; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/MemberBrandAttention.java ================================================ package com.macro.mall.portal.domain; import lombok.Getter; import lombok.Setter; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.index.Indexed; import org.springframework.data.mongodb.core.mapping.Document; import java.util.Date; /** * 会员品牌关注 * Created by macro on 2018/8/2. */ @Getter @Setter @Document public class MemberBrandAttention { @Id private String id; @Indexed private Long memberId; private String memberNickname; private String memberIcon; @Indexed private Long brandId; private String brandName; private String brandLogo; private String brandCity; private Date createTime; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/MemberDetails.java ================================================ package com.macro.mall.portal.domain; import com.macro.mall.model.UmsMember; import org.springframework.security.core.GrantedAuthority; import org.springframework.security.core.authority.SimpleGrantedAuthority; import org.springframework.security.core.userdetails.UserDetails; import java.util.Arrays; import java.util.Collection; /** * SpringSecurity需要的用户信息封装类 * Created by macro on 2018/8/3. */ public class MemberDetails implements UserDetails { private final UmsMember umsMember; public MemberDetails(UmsMember umsMember) { this.umsMember = umsMember; } @Override public Collection getAuthorities() { //返回当前用户的权限 return Arrays.asList(new SimpleGrantedAuthority("TEST")); } @Override public String getPassword() { return umsMember.getPassword(); } @Override public String getUsername() { return umsMember.getUsername(); } @Override public boolean isAccountNonExpired() { return true; } @Override public boolean isAccountNonLocked() { return true; } @Override public boolean isCredentialsNonExpired() { return true; } @Override public boolean isEnabled() { return umsMember.getStatus()==1; } public UmsMember getUmsMember() { return umsMember; } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/MemberProductCollection.java ================================================ package com.macro.mall.portal.domain; import lombok.Getter; import lombok.Setter; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.index.Indexed; import org.springframework.data.mongodb.core.mapping.Document; import java.util.Date; /** * 会员商品收藏 * Created by macro on 2018/8/2. */ @Getter @Setter @Document public class MemberProductCollection { @Id private String id; @Indexed private Long memberId; private String memberNickname; private String memberIcon; @Indexed private Long productId; private String productName; private String productPic; private String productSubTitle; private String productPrice; private Date createTime; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/MemberReadHistory.java ================================================ package com.macro.mall.portal.domain; import lombok.Getter; import lombok.Setter; import org.springframework.data.annotation.Id; import org.springframework.data.mongodb.core.index.Indexed; import org.springframework.data.mongodb.core.mapping.Document; import java.util.Date; /** * 会员商品浏览历史记录 * Created by macro on 2018/8/3. */ @Getter @Setter @Document public class MemberReadHistory { @Id private String id; @Indexed private Long memberId; private String memberNickname; private String memberIcon; @Indexed private Long productId; private String productName; private String productPic; private String productSubTitle; private String productPrice; private Date createTime; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/OmsOrderDetail.java ================================================ package com.macro.mall.portal.domain; import com.macro.mall.model.OmsOrder; import com.macro.mall.model.OmsOrderItem; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 包含商品信息的订单详情 * Created by macro on 2018/9/4. */ @Getter @Setter public class OmsOrderDetail extends OmsOrder { @ApiModelProperty("订单商品列表") private List orderItemList; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/OmsOrderReturnApplyParam.java ================================================ package com.macro.mall.portal.domain; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.math.BigDecimal; /** * 退货申请请求参数 * Created by macro on 2018/10/17. */ @Getter @Setter public class OmsOrderReturnApplyParam { @ApiModelProperty("订单id") private Long orderId; @ApiModelProperty("退货商品id") private Long productId; @ApiModelProperty("订单编号") private String orderSn; @ApiModelProperty("会员用户名") private String memberUsername; @ApiModelProperty("退货人姓名") private String returnName; @ApiModelProperty("退货人电话") private String returnPhone; @ApiModelProperty("商品图片") private String productPic; @ApiModelProperty("商品名称") private String productName; @ApiModelProperty("商品品牌") private String productBrand; @ApiModelProperty("商品销售属性:颜色:红色;尺码:xl;") private String productAttr; @ApiModelProperty("退货数量") private Integer productCount; @ApiModelProperty("商品单价") private BigDecimal productPrice; @ApiModelProperty("商品实际支付单价") private BigDecimal productRealPrice; @ApiModelProperty("原因") private String reason; @ApiModelProperty("描述") private String description; @ApiModelProperty("凭证图片,以逗号隔开") private String proofPics; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/OrderParam.java ================================================ package com.macro.mall.portal.domain; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import java.util.List; /** * 生成订单时传入的参数 * Created by macro on 2018/8/30. */ @Data @EqualsAndHashCode public class OrderParam { @ApiModelProperty("收货地址ID") private Long memberReceiveAddressId; @ApiModelProperty("优惠券ID") private Long couponId; @ApiModelProperty("使用的积分数") private Integer useIntegration; @ApiModelProperty("支付方式") private Integer payType; @ApiModelProperty("被选中的购物车商品ID") private List cartIds; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/PmsPortalProductDetail.java ================================================ package com.macro.mall.portal.domain; import com.macro.mall.model.*; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 前台商品详情 * Created by macro on 2020/4/6. */ @Getter @Setter public class PmsPortalProductDetail{ @ApiModelProperty("商品信息") private PmsProduct product; @ApiModelProperty("商品品牌") private PmsBrand brand; @ApiModelProperty("商品属性与参数") private List productAttributeList; @ApiModelProperty("手动录入的商品属性与参数值") private List productAttributeValueList; @ApiModelProperty("商品的sku库存信息") private List skuStockList; @ApiModelProperty("商品阶梯价格设置") private List productLadderList; @ApiModelProperty("商品满减价格设置") private List productFullReductionList; @ApiModelProperty("商品可用优惠券") private List couponList; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/PmsProductCategoryNode.java ================================================ package com.macro.mall.portal.domain; import com.macro.mall.model.PmsProductCategory; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 包含子分类的商品分类 * Created by macro on 2020/4/6. */ @Getter @Setter public class PmsProductCategoryNode extends PmsProductCategory { @ApiModelProperty("子分类集合") private List children; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/PromotionProduct.java ================================================ package com.macro.mall.portal.domain; import com.macro.mall.model.PmsProduct; import com.macro.mall.model.PmsProductFullReduction; import com.macro.mall.model.PmsProductLadder; import com.macro.mall.model.PmsSkuStock; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 促销商品信息,包括sku、打折优惠、满减优惠 * Created by macro on 2018/8/27. */ @Getter @Setter public class PromotionProduct extends PmsProduct { //商品库存信息 private List skuStockList; //商品打折信息 private List productLadderList; //商品满减信息 private List productFullReductionList; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/QueueEnum.java ================================================ package com.macro.mall.portal.domain; import lombok.Getter; /** * 消息队列枚举类 * Created by macro on 2018/9/14. */ @Getter public enum QueueEnum { /** * 消息通知队列 */ QUEUE_ORDER_CANCEL("mall.order.direct", "mall.order.cancel", "mall.order.cancel"), /** * 消息通知ttl队列 */ QUEUE_TTL_ORDER_CANCEL("mall.order.direct.ttl", "mall.order.cancel.ttl", "mall.order.cancel.ttl"); /** * 交换名称 */ private final String exchange; /** * 队列名称 */ private final String name; /** * 路由键 */ private final String routeKey; QueueEnum(String exchange, String name, String routeKey) { this.exchange = exchange; this.name = name; this.routeKey = routeKey; } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/domain/SmsCouponHistoryDetail.java ================================================ package com.macro.mall.portal.domain; import com.macro.mall.model.SmsCoupon; import com.macro.mall.model.SmsCouponHistory; import com.macro.mall.model.SmsCouponProductCategoryRelation; import com.macro.mall.model.SmsCouponProductRelation; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.util.List; /** * 优惠券领取历史详情(包括优惠券信息和关联关系) * Created by macro on 2018/8/29. */ @Getter @Setter public class SmsCouponHistoryDetail extends SmsCouponHistory { @ApiModelProperty("相关优惠券信息") private SmsCoupon coupon; @ApiModelProperty("优惠券关联商品") private List productRelationList; @ApiModelProperty("优惠券关联商品分类") private List categoryRelationList; } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/repository/MemberBrandAttentionRepository.java ================================================ package com.macro.mall.portal.repository; import com.macro.mall.portal.domain.MemberBrandAttention; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.mongodb.repository.MongoRepository; /** * 会员品牌关注Repository * Created by macro on 2018/8/2. */ public interface MemberBrandAttentionRepository extends MongoRepository { /** * 根据会员ID和品牌ID查找记录 */ MemberBrandAttention findByMemberIdAndBrandId(Long memberId, Long brandId); /** * 根据会员ID和品牌ID删除记录 */ int deleteByMemberIdAndBrandId(Long memberId, Long brandId); /** * 根据会员ID分页查找记录 */ Page findByMemberId(Long memberId, Pageable pageable); /** * 根据会员ID删除记录 */ void deleteAllByMemberId(Long memberId); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/repository/MemberProductCollectionRepository.java ================================================ package com.macro.mall.portal.repository; import com.macro.mall.portal.domain.MemberProductCollection; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.mongodb.repository.MongoRepository; /** * 会员商品收藏Repository * Created by macro on 2018/8/2. */ public interface MemberProductCollectionRepository extends MongoRepository { /** * 根据会员ID和商品ID查找记录 */ MemberProductCollection findByMemberIdAndProductId(Long memberId, Long productId); /** * 根据会员ID和商品ID删除记录 */ int deleteByMemberIdAndProductId(Long memberId, Long productId); /** * 根据会员ID分页查询记录 */ Page findByMemberId(Long memberId, Pageable pageable); /** * 根据会员ID删除记录 */ void deleteAllByMemberId(Long memberId); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/repository/MemberReadHistoryRepository.java ================================================ package com.macro.mall.portal.repository; import com.macro.mall.portal.domain.MemberReadHistory; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.mongodb.repository.MongoRepository; /** * 会员商品浏览历史Repository * Created by macro on 2018/8/3. */ public interface MemberReadHistoryRepository extends MongoRepository { /** * 根据会员ID分页查找记录 */ Page findByMemberIdOrderByCreateTimeDesc(Long memberId, Pageable pageable); /** * 根据会员ID删除记录 */ void deleteAllByMemberId(Long memberId); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/AlipayService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.portal.domain.AliPayParam; import java.util.Map; /** * @auther macrozheng * @description 支付宝支付Service * @date 2023/9/8 * @github https://github.com/macrozheng */ public interface AlipayService { /** * 根据提交参数生成电脑支付页面 */ String pay(AliPayParam aliPayParam); /** * 支付宝异步回调处理 */ String notify(Map params); /** * 查询支付宝交易状态 * @param outTradeNo 商户订单编号 * @param tradeNo 支付宝交易编号 * @return 支付宝交易状态 */ String query(String outTradeNo, String tradeNo); /** * 根据提交参数生成手机支付页面 */ String webPay(AliPayParam aliPayParam); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/HomeService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.model.CmsSubject; import com.macro.mall.model.PmsProduct; import com.macro.mall.model.PmsProductCategory; import com.macro.mall.portal.domain.HomeContentResult; import java.util.List; /** * 首页内容管理Service * Created by macro on 2019/1/28. */ public interface HomeService { /** * 获取首页内容 */ HomeContentResult content(); /** * 首页商品推荐 */ List recommendProductList(Integer pageSize, Integer pageNum); /** * 获取商品分类 * @param parentId 0:获取一级分类;其他:获取指定二级分类 */ List getProductCateList(Long parentId); /** * 根据专题分类id分页获取专题 * @param cateId 专题分类id */ List getSubjectList(Long cateId, Integer pageSize, Integer pageNum); /** * 分页获取人气推荐商品 */ List hotProductList(Integer pageNum, Integer pageSize); /** * 分页获取新品推荐商品 */ List newProductList(Integer pageNum, Integer pageSize); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/MemberAttentionService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.portal.domain.MemberBrandAttention; import org.springframework.data.domain.Page; /** * 会员品牌关注管理Service * Created by macro on 2018/8/2. */ public interface MemberAttentionService { /** * 添加关注 */ int add(MemberBrandAttention memberBrandAttention); /** * 取消关注 */ int delete(Long brandId); /** * 分页获取会员关注列表 */ Page list(Integer pageNum, Integer pageSize); /** * 获取会员关注详情 */ MemberBrandAttention detail(Long brandId); /** * 清空关注列表 */ void clear(); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/MemberCollectionService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.portal.domain.MemberProductCollection; import org.springframework.data.domain.Page; /** * 会员商品收藏管理Service * Created by macro on 2018/8/2. */ public interface MemberCollectionService { /** * 添加收藏 */ int add(MemberProductCollection productCollection); /** * 删除收藏 */ int delete(Long productId); /** * 分页查询收藏 */ Page list(Integer pageNum, Integer pageSize); /** * 查看收藏详情 */ MemberProductCollection detail(Long productId); /** * 清空收藏 */ void clear(); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/MemberReadHistoryService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.portal.domain.MemberReadHistory; import org.springframework.data.domain.Page; import java.util.List; /** * 会员浏览记录管理Service * Created by macro on 2018/8/3. */ public interface MemberReadHistoryService { /** * 生成浏览记录 */ int create(MemberReadHistory memberReadHistory); /** * 批量删除浏览记录 */ int delete(List ids); /** * 分页获取用户浏览历史记录 */ Page list(Integer pageNum, Integer pageSize); /** * 清空浏览记录 */ void clear(); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/OmsCartItemService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.model.OmsCartItem; import com.macro.mall.portal.domain.CartProduct; import com.macro.mall.portal.domain.CartPromotionItem; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 购物车管理Service * Created by macro on 2018/8/2. */ public interface OmsCartItemService { /** * 查询购物车中是否包含该商品,有增加数量,无添加到购物车 */ @Transactional int add(OmsCartItem cartItem); /** * 根据会员编号获取购物车列表 */ List list(Long memberId); /** * 获取包含促销活动信息的购物车列表 */ List listPromotion(Long memberId, List cartIds); /** * 修改某个购物车商品的数量 */ int updateQuantity(Long id, Long memberId, Integer quantity); /** * 批量删除购物车中的商品 */ int delete(Long memberId,List ids); /** *获取购物车中用于选择商品规格的商品信息 */ CartProduct getCartProduct(Long productId); /** * 修改购物车中商品的规格 */ @Transactional int updateAttr(OmsCartItem cartItem); /** * 清空购物车 */ int clear(Long memberId); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/OmsPortalOrderReturnApplyService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.portal.domain.OmsOrderReturnApplyParam; /** * 前台订单退货管理Service * Created by macro on 2018/10/17. */ public interface OmsPortalOrderReturnApplyService { /** * 提交申请 */ int create(OmsOrderReturnApplyParam returnApply); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/OmsPortalOrderService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.common.api.CommonPage; import com.macro.mall.portal.domain.ConfirmOrderResult; import com.macro.mall.portal.domain.OmsOrderDetail; import com.macro.mall.portal.domain.OrderParam; import org.springframework.transaction.annotation.Transactional; import java.util.List; import java.util.Map; /** * 前台订单管理Service * Created by macro on 2018/8/30. */ public interface OmsPortalOrderService { /** * 根据用户购物车信息生成确认单信息 */ ConfirmOrderResult generateConfirmOrder(List cartIds); /** * 根据提交信息生成订单 */ @Transactional Map generateOrder(OrderParam orderParam); /** * 支付成功后的回调 */ @Transactional Integer paySuccess(Long orderId, Integer payType); /** * 自动取消超时订单 */ @Transactional Integer cancelTimeOutOrder(); /** * 取消单个超时订单 */ @Transactional void cancelOrder(Long orderId); /** * 发送延迟消息取消订单 */ void sendDelayMessageCancelOrder(Long orderId); /** * 确认收货 */ void confirmReceiveOrder(Long orderId); /** * 分页获取用户订单 */ CommonPage list(Integer status, Integer pageNum, Integer pageSize); /** * 根据订单ID获取订单详情 */ OmsOrderDetail detail(Long orderId); /** * 用户根据订单ID删除订单 */ void deleteOrder(Long orderId); /** * 根据orderSn来实现的支付成功逻辑 */ @Transactional void paySuccessByOrderSn(String orderSn, Integer payType); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/OmsPromotionService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.model.OmsCartItem; import com.macro.mall.portal.domain.CartPromotionItem; import java.util.List; /** * 促销管理Service * Created by macro on 2018/8/27. */ public interface OmsPromotionService { /** * 计算购物车中的促销活动信息 * @param cartItemList 购物车 */ List calcCartPromotion(List cartItemList); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/PmsPortalBrandService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.common.api.CommonPage; import com.macro.mall.model.PmsBrand; import com.macro.mall.model.PmsProduct; import java.util.List; /** * 前台品牌管理Service * Created by macro on 2020/5/15. */ public interface PmsPortalBrandService { /** * 分页获取推荐品牌 */ List recommendList(Integer pageNum, Integer pageSize); /** * 获取品牌详情 */ PmsBrand detail(Long brandId); /** * 分页获取品牌关联商品 */ CommonPage productList(Long brandId, Integer pageNum, Integer pageSize); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/PmsPortalProductService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.model.PmsProduct; import com.macro.mall.portal.domain.PmsPortalProductDetail; import com.macro.mall.portal.domain.PmsProductCategoryNode; import java.util.List; /** * 前台商品管理Service * Created by macro on 2020/4/6. */ public interface PmsPortalProductService { /** * 综合搜索商品 */ List search(String keyword, Long brandId, Long productCategoryId, Integer pageNum, Integer pageSize, Integer sort); /** * 以树形结构获取所有商品分类 */ List categoryTreeList(); /** * 获取前台商品详情 */ PmsPortalProductDetail detail(Long id); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/UmsMemberCacheService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.model.UmsMember; /** * 会员信息缓存业务类 * Created by macro on 2020/3/14. */ public interface UmsMemberCacheService { /** * 删除会员用户缓存 */ void delMember(Long memberId); /** * 获取会员用户缓存 */ UmsMember getMember(String username); /** * 设置会员用户缓存 */ void setMember(UmsMember member); /** * 设置验证码 */ void setAuthCode(String telephone, String authCode); /** * 获取验证码 */ String getAuthCode(String telephone); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/UmsMemberCouponService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.model.SmsCoupon; import com.macro.mall.model.SmsCouponHistory; import com.macro.mall.portal.domain.CartPromotionItem; import com.macro.mall.portal.domain.SmsCouponHistoryDetail; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 用户优惠券管理Service * Created by macro on 2018/8/29. */ public interface UmsMemberCouponService { /** * 会员添加优惠券 */ @Transactional void add(Long couponId); /** * 获取优惠券历史列表 */ List listHistory(Integer useStatus); /** * 根据购物车信息获取可用优惠券 */ List listCart(List cartItemList, Integer type); /** * 获取当前商品相关优惠券 */ List listByProduct(Long productId); /** * 获取用户优惠券列表 */ List list(Integer useStatus); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/UmsMemberReceiveAddressService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.model.UmsMemberReceiveAddress; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 用户地址管理Service * Created by macro on 2018/8/28. */ public interface UmsMemberReceiveAddressService { /** * 添加收货地址 */ int add(UmsMemberReceiveAddress address); /** * 删除收货地址 * @param id 地址表的id */ int delete(Long id); /** * 修改收货地址 * @param id 地址表的id * @param address 修改的收货地址信息 */ @Transactional int update(Long id, UmsMemberReceiveAddress address); /** * 返回当前用户的收货地址 */ List list(); /** * 获取地址详情 * @param id 地址id */ UmsMemberReceiveAddress getItem(Long id); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/UmsMemberService.java ================================================ package com.macro.mall.portal.service; import com.macro.mall.model.UmsMember; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.transaction.annotation.Transactional; /** * 会员管理Service * Created by macro on 2018/8/3. */ public interface UmsMemberService { /** * 根据用户名获取会员 */ UmsMember getByUsername(String username); /** * 根据会员编号获取会员 */ UmsMember getById(Long id); /** * 用户注册 */ @Transactional void register(String username, String password, String telephone, String authCode); /** * 生成验证码 */ String generateAuthCode(String telephone); /** * 修改密码 */ @Transactional void updatePassword(String telephone, String password, String authCode); /** * 获取当前登录会员 */ UmsMember getCurrentMember(); /** * 根据会员id修改会员积分 */ void updateIntegration(Long id,Integer integration); /** * 获取用户信息 */ UserDetails loadUserByUsername(String username); /** * 登录后获取token */ String login(String username, String password); /** * 刷新token */ String refreshToken(String token); } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/AlipayServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import cn.hutool.core.util.StrUtil; import com.alibaba.fastjson.JSONObject; import com.alipay.api.AlipayApiException; import com.alipay.api.AlipayClient; import com.alipay.api.internal.util.AlipaySignature; import com.alipay.api.request.AlipayTradePagePayRequest; import com.alipay.api.request.AlipayTradeQueryRequest; import com.alipay.api.request.AlipayTradeWapPayRequest; import com.alipay.api.response.AlipayTradeQueryResponse; import com.macro.mall.mapper.OmsOrderMapper; import com.macro.mall.portal.config.AlipayConfig; import com.macro.mall.portal.domain.AliPayParam; import com.macro.mall.portal.service.AlipayService; import com.macro.mall.portal.service.OmsPortalOrderService; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Map; /** * @auther macrozheng * @description 支付宝支付Service实现类 * @date 2023/9/8 * @github https://github.com/macrozheng */ @Slf4j @Service public class AlipayServiceImpl implements AlipayService { @Autowired private AlipayConfig alipayConfig; @Autowired private AlipayClient alipayClient; @Autowired private OmsOrderMapper orderMapper; @Autowired private OmsPortalOrderService portalOrderService; @Override public String pay(AliPayParam aliPayParam) { AlipayTradePagePayRequest request = new AlipayTradePagePayRequest(); if(StrUtil.isNotEmpty(alipayConfig.getNotifyUrl())){ //异步接收地址,公网可访问 request.setNotifyUrl(alipayConfig.getNotifyUrl()); } if(StrUtil.isNotEmpty(alipayConfig.getReturnUrl())){ //同步跳转地址 request.setReturnUrl(alipayConfig.getReturnUrl()); } //******必传参数****** JSONObject bizContent = new JSONObject(); //商户订单号,商家自定义,保持唯一性 bizContent.put("out_trade_no", aliPayParam.getOutTradeNo()); //支付金额,最小值0.01元 bizContent.put("total_amount", aliPayParam.getTotalAmount()); //订单标题,不可使用特殊符号 bizContent.put("subject", aliPayParam.getSubject()); //电脑网站支付场景固定传值FAST_INSTANT_TRADE_PAY bizContent.put("product_code", "FAST_INSTANT_TRADE_PAY"); request.setBizContent(bizContent.toString()); String formHtml = null; try { formHtml = alipayClient.pageExecute(request).getBody(); } catch (AlipayApiException e) { e.printStackTrace(); } return formHtml; } @Override public String notify(Map params) { String result = "failure"; boolean signVerified = false; try { //调用SDK验证签名 signVerified = AlipaySignature.rsaCheckV1(params, alipayConfig.getAlipayPublicKey(), alipayConfig.getCharset(), alipayConfig.getSignType()); } catch (AlipayApiException e) { log.error("支付回调签名校验异常!",e); e.printStackTrace(); } if (signVerified) { String tradeStatus = params.get("trade_status"); if("TRADE_SUCCESS".equals(tradeStatus)){ result = "success"; log.info("notify方法被调用了,tradeStatus:{}",tradeStatus); String outTradeNo = params.get("out_trade_no"); portalOrderService.paySuccessByOrderSn(outTradeNo,1); }else{ log.warn("订单未支付成功,trade_status:{}",tradeStatus); } } else { log.warn("支付回调签名校验失败!"); } return result; } @Override public String query(String outTradeNo, String tradeNo) { AlipayTradeQueryRequest request = new AlipayTradeQueryRequest(); //******必传参数****** JSONObject bizContent = new JSONObject(); //设置查询参数,out_trade_no和trade_no至少传一个 if(StrUtil.isNotEmpty(outTradeNo)){ bizContent.put("out_trade_no",outTradeNo); } if(StrUtil.isNotEmpty(tradeNo)){ bizContent.put("trade_no",tradeNo); } //交易结算信息: trade_settle_info String[] queryOptions = {"trade_settle_info"}; bizContent.put("query_options", queryOptions); request.setBizContent(bizContent.toString()); AlipayTradeQueryResponse response = null; try { response = alipayClient.execute(request); } catch (AlipayApiException e) { log.error("查询支付宝账单异常!",e); } if(response.isSuccess()){ log.info("查询支付宝账单成功!"); if("TRADE_SUCCESS".equals(response.getTradeStatus())){ portalOrderService.paySuccessByOrderSn(outTradeNo,1); } } else { log.error("查询支付宝账单失败!"); } //交易状态:WAIT_BUYER_PAY(交易创建,等待买家付款)、TRADE_CLOSED(未付款交易超时关闭,或支付完成后全额退款)、TRADE_SUCCESS(交易支付成功)、TRADE_FINISHED(交易结束,不可退款) return response.getTradeStatus(); } @Override public String webPay(AliPayParam aliPayParam) { AlipayTradeWapPayRequest request = new AlipayTradeWapPayRequest (); if(StrUtil.isNotEmpty(alipayConfig.getNotifyUrl())){ //异步接收地址,公网可访问 request.setNotifyUrl(alipayConfig.getNotifyUrl()); } if(StrUtil.isNotEmpty(alipayConfig.getReturnUrl())){ //同步跳转地址 request.setReturnUrl(alipayConfig.getReturnUrl()); } //******必传参数****** JSONObject bizContent = new JSONObject(); //商户订单号,商家自定义,保持唯一性 bizContent.put("out_trade_no", aliPayParam.getOutTradeNo()); //支付金额,最小值0.01元 bizContent.put("total_amount", aliPayParam.getTotalAmount()); //订单标题,不可使用特殊符号 bizContent.put("subject", aliPayParam.getSubject()); //手机网站支付默认传值FAST_INSTANT_TRADE_PAY bizContent.put("product_code", "QUICK_WAP_WAY"); request.setBizContent(bizContent.toString()); String formHtml = null; try { formHtml = alipayClient.pageExecute(request).getBody(); } catch (AlipayApiException e) { e.printStackTrace(); } return formHtml; } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/HomeServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import com.github.pagehelper.PageHelper; import com.macro.mall.mapper.*; import com.macro.mall.model.*; import com.macro.mall.portal.dao.HomeDao; import com.macro.mall.portal.domain.FlashPromotionProduct; import com.macro.mall.portal.domain.HomeContentResult; import com.macro.mall.portal.domain.HomeFlashPromotion; import com.macro.mall.portal.service.HomeService; import com.macro.mall.portal.util.DateUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.util.CollectionUtils; import java.util.Date; import java.util.List; /** * 首页内容管理Service实现类 * Created by macro on 2019/1/28. */ @Service public class HomeServiceImpl implements HomeService { @Autowired private SmsHomeAdvertiseMapper advertiseMapper; @Autowired private HomeDao homeDao; @Autowired private SmsFlashPromotionMapper flashPromotionMapper; @Autowired private SmsFlashPromotionSessionMapper promotionSessionMapper; @Autowired private PmsProductMapper productMapper; @Autowired private PmsProductCategoryMapper productCategoryMapper; @Autowired private CmsSubjectMapper subjectMapper; @Override public HomeContentResult content() { HomeContentResult result = new HomeContentResult(); //获取首页广告 result.setAdvertiseList(getHomeAdvertiseList()); //获取推荐品牌 result.setBrandList(homeDao.getRecommendBrandList(0,6)); //获取秒杀信息 result.setHomeFlashPromotion(getHomeFlashPromotion()); //获取新品推荐 result.setNewProductList(homeDao.getNewProductList(0,4)); //获取人气推荐 result.setHotProductList(homeDao.getHotProductList(0,4)); //获取推荐专题 result.setSubjectList(homeDao.getRecommendSubjectList(0,4)); return result; } @Override public List recommendProductList(Integer pageSize, Integer pageNum) { // TODO: 2019/1/29 暂时默认推荐所有商品 PageHelper.startPage(pageNum,pageSize); PmsProductExample example = new PmsProductExample(); example.createCriteria() .andDeleteStatusEqualTo(0) .andPublishStatusEqualTo(1); return productMapper.selectByExample(example); } @Override public List getProductCateList(Long parentId) { PmsProductCategoryExample example = new PmsProductCategoryExample(); example.createCriteria() .andShowStatusEqualTo(1) .andParentIdEqualTo(parentId); example.setOrderByClause("sort desc"); return productCategoryMapper.selectByExample(example); } @Override public List getSubjectList(Long cateId, Integer pageSize, Integer pageNum) { PageHelper.startPage(pageNum,pageSize); CmsSubjectExample example = new CmsSubjectExample(); CmsSubjectExample.Criteria criteria = example.createCriteria(); criteria.andShowStatusEqualTo(1); if(cateId!=null){ criteria.andCategoryIdEqualTo(cateId); } return subjectMapper.selectByExample(example); } @Override public List hotProductList(Integer pageNum, Integer pageSize) { int offset = pageSize * (pageNum - 1); return homeDao.getHotProductList(offset, pageSize); } @Override public List newProductList(Integer pageNum, Integer pageSize) { int offset = pageSize * (pageNum - 1); return homeDao.getNewProductList(offset, pageSize); } private HomeFlashPromotion getHomeFlashPromotion() { HomeFlashPromotion homeFlashPromotion = new HomeFlashPromotion(); //获取当前秒杀活动 Date now = new Date(); SmsFlashPromotion flashPromotion = getFlashPromotion(now); if (flashPromotion != null) { //获取当前秒杀场次 SmsFlashPromotionSession flashPromotionSession = getFlashPromotionSession(now); if (flashPromotionSession != null) { homeFlashPromotion.setStartTime(flashPromotionSession.getStartTime()); homeFlashPromotion.setEndTime(flashPromotionSession.getEndTime()); //获取下一个秒杀场次 SmsFlashPromotionSession nextSession = getNextFlashPromotionSession(homeFlashPromotion.getStartTime()); if(nextSession!=null){ homeFlashPromotion.setNextStartTime(nextSession.getStartTime()); homeFlashPromotion.setNextEndTime(nextSession.getEndTime()); } //获取秒杀商品 List flashProductList = homeDao.getFlashProductList(flashPromotion.getId(), flashPromotionSession.getId()); homeFlashPromotion.setProductList(flashProductList); } } return homeFlashPromotion; } //获取下一个场次信息 private SmsFlashPromotionSession getNextFlashPromotionSession(Date date) { SmsFlashPromotionSessionExample sessionExample = new SmsFlashPromotionSessionExample(); sessionExample.createCriteria() .andStartTimeGreaterThan(date); sessionExample.setOrderByClause("start_time asc"); List promotionSessionList = promotionSessionMapper.selectByExample(sessionExample); if (!CollectionUtils.isEmpty(promotionSessionList)) { return promotionSessionList.get(0); } return null; } private List getHomeAdvertiseList() { SmsHomeAdvertiseExample example = new SmsHomeAdvertiseExample(); example.createCriteria().andTypeEqualTo(1).andStatusEqualTo(1); example.setOrderByClause("sort desc"); return advertiseMapper.selectByExample(example); } //根据时间获取秒杀活动 private SmsFlashPromotion getFlashPromotion(Date date) { Date currDate = DateUtil.getDate(date); SmsFlashPromotionExample example = new SmsFlashPromotionExample(); example.createCriteria() .andStatusEqualTo(1) .andStartDateLessThanOrEqualTo(currDate) .andEndDateGreaterThanOrEqualTo(currDate); List flashPromotionList = flashPromotionMapper.selectByExample(example); if (!CollectionUtils.isEmpty(flashPromotionList)) { return flashPromotionList.get(0); } return null; } //根据时间获取秒杀场次 private SmsFlashPromotionSession getFlashPromotionSession(Date date) { Date currTime = DateUtil.getTime(date); SmsFlashPromotionSessionExample sessionExample = new SmsFlashPromotionSessionExample(); sessionExample.createCriteria() .andStartTimeLessThanOrEqualTo(currTime) .andEndTimeGreaterThanOrEqualTo(currTime); List promotionSessionList = promotionSessionMapper.selectByExample(sessionExample); if (!CollectionUtils.isEmpty(promotionSessionList)) { return promotionSessionList.get(0); } return null; } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/MemberAttentionServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import com.macro.mall.mapper.PmsBrandMapper; import com.macro.mall.model.PmsBrand; import com.macro.mall.model.UmsMember; import com.macro.mall.portal.domain.MemberBrandAttention; import com.macro.mall.portal.repository.MemberBrandAttentionRepository; import com.macro.mall.portal.service.MemberAttentionService; import com.macro.mall.portal.service.UmsMemberService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; import java.util.Date; /** * 会员关注Service实现类 * Created by macro on 2018/8/2. */ @Service public class MemberAttentionServiceImpl implements MemberAttentionService { @Value("${mongo.insert.sqlEnable}") private Boolean sqlEnable; @Autowired private PmsBrandMapper brandMapper; @Autowired private MemberBrandAttentionRepository memberBrandAttentionRepository; @Autowired private UmsMemberService memberService; @Override public int add(MemberBrandAttention memberBrandAttention) { int count = 0; if(memberBrandAttention.getBrandId()==null){ return 0; } UmsMember member = memberService.getCurrentMember(); memberBrandAttention.setMemberId(member.getId()); memberBrandAttention.setMemberNickname(member.getNickname()); memberBrandAttention.setMemberIcon(member.getIcon()); memberBrandAttention.setCreateTime(new Date()); MemberBrandAttention findAttention = memberBrandAttentionRepository.findByMemberIdAndBrandId(memberBrandAttention.getMemberId(), memberBrandAttention.getBrandId()); if (findAttention == null) { if(sqlEnable){ PmsBrand brand = brandMapper.selectByPrimaryKey(memberBrandAttention.getBrandId()); if(brand==null){ return 0; }else{ memberBrandAttention.setBrandCity(null); memberBrandAttention.setBrandName(brand.getName()); memberBrandAttention.setBrandLogo(brand.getLogo()); } } memberBrandAttentionRepository.save(memberBrandAttention); count = 1; } return count; } @Override public int delete(Long brandId) { UmsMember member = memberService.getCurrentMember(); return memberBrandAttentionRepository.deleteByMemberIdAndBrandId(member.getId(),brandId); } @Override public Page list(Integer pageNum, Integer pageSize) { UmsMember member = memberService.getCurrentMember(); Pageable pageable = PageRequest.of(pageNum-1,pageSize); return memberBrandAttentionRepository.findByMemberId(member.getId(),pageable); } @Override public MemberBrandAttention detail(Long brandId) { UmsMember member = memberService.getCurrentMember(); return memberBrandAttentionRepository.findByMemberIdAndBrandId(member.getId(), brandId); } @Override public void clear() { UmsMember member = memberService.getCurrentMember(); memberBrandAttentionRepository.deleteAllByMemberId(member.getId()); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/MemberCollectionServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import com.macro.mall.mapper.PmsProductMapper; import com.macro.mall.model.PmsProduct; import com.macro.mall.model.UmsMember; import com.macro.mall.portal.domain.MemberProductCollection; import com.macro.mall.portal.repository.MemberProductCollectionRepository; import com.macro.mall.portal.service.MemberCollectionService; import com.macro.mall.portal.service.UmsMemberService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; /** * 会员收藏Service实现类 * Created by macro on 2018/8/2. */ @Service public class MemberCollectionServiceImpl implements MemberCollectionService { @Value("${mongo.insert.sqlEnable}") private Boolean sqlEnable; @Autowired private PmsProductMapper productMapper; @Autowired private MemberProductCollectionRepository productCollectionRepository; @Autowired private UmsMemberService memberService; @Override public int add(MemberProductCollection productCollection) { int count = 0; if (productCollection.getProductId() == null) { return 0; } UmsMember member = memberService.getCurrentMember(); productCollection.setMemberId(member.getId()); productCollection.setMemberNickname(member.getNickname()); productCollection.setMemberIcon(member.getIcon()); MemberProductCollection findCollection = productCollectionRepository.findByMemberIdAndProductId(productCollection.getMemberId(), productCollection.getProductId()); if (findCollection == null) { if (sqlEnable) { PmsProduct product = productMapper.selectByPrimaryKey(productCollection.getProductId()); if (product == null || product.getDeleteStatus() == 1) { return 0; } productCollection.setProductName(product.getName()); productCollection.setProductSubTitle(product.getSubTitle()); productCollection.setProductPrice(product.getPrice() + ""); productCollection.setProductPic(product.getPic()); } productCollectionRepository.save(productCollection); count = 1; } return count; } @Override public int delete(Long productId) { UmsMember member = memberService.getCurrentMember(); return productCollectionRepository.deleteByMemberIdAndProductId(member.getId(), productId); } @Override public Page list(Integer pageNum, Integer pageSize) { UmsMember member = memberService.getCurrentMember(); Pageable pageable = PageRequest.of(pageNum - 1, pageSize); return productCollectionRepository.findByMemberId(member.getId(), pageable); } @Override public MemberProductCollection detail(Long productId) { UmsMember member = memberService.getCurrentMember(); return productCollectionRepository.findByMemberIdAndProductId(member.getId(), productId); } @Override public void clear() { UmsMember member = memberService.getCurrentMember(); productCollectionRepository.deleteAllByMemberId(member.getId()); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/MemberReadHistoryServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import com.macro.mall.mapper.PmsProductMapper; import com.macro.mall.model.PmsProduct; import com.macro.mall.model.UmsMember; import com.macro.mall.portal.domain.MemberReadHistory; import com.macro.mall.portal.repository.MemberReadHistoryRepository; import com.macro.mall.portal.service.MemberReadHistoryService; import com.macro.mall.portal.service.UmsMemberService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.stereotype.Service; import java.util.ArrayList; import java.util.Date; import java.util.List; /** * 会员浏览记录管理Service实现类 * Created by macro on 2018/8/3. */ @Service public class MemberReadHistoryServiceImpl implements MemberReadHistoryService { @Value("${mongo.insert.sqlEnable}") private Boolean sqlEnable; @Autowired private PmsProductMapper productMapper; @Autowired private MemberReadHistoryRepository memberReadHistoryRepository; @Autowired private UmsMemberService memberService; @Override public int create(MemberReadHistory memberReadHistory) { if (memberReadHistory.getProductId() == null) { return 0; } UmsMember member = memberService.getCurrentMember(); memberReadHistory.setMemberId(member.getId()); memberReadHistory.setMemberNickname(member.getNickname()); memberReadHistory.setMemberIcon(member.getIcon()); memberReadHistory.setId(null); memberReadHistory.setCreateTime(new Date()); if (sqlEnable) { PmsProduct product = productMapper.selectByPrimaryKey(memberReadHistory.getProductId()); if (product == null || product.getDeleteStatus() == 1) { return 0; } memberReadHistory.setProductName(product.getName()); memberReadHistory.setProductSubTitle(product.getSubTitle()); memberReadHistory.setProductPrice(product.getPrice() + ""); memberReadHistory.setProductPic(product.getPic()); } memberReadHistoryRepository.save(memberReadHistory); return 1; } @Override public int delete(List ids) { List deleteList = new ArrayList<>(); for(String id:ids){ MemberReadHistory memberReadHistory = new MemberReadHistory(); memberReadHistory.setId(id); deleteList.add(memberReadHistory); } memberReadHistoryRepository.deleteAll(deleteList); return ids.size(); } @Override public Page list(Integer pageNum, Integer pageSize) { UmsMember member = memberService.getCurrentMember(); Pageable pageable = PageRequest.of(pageNum-1, pageSize); return memberReadHistoryRepository.findByMemberIdOrderByCreateTimeDesc(member.getId(),pageable); } @Override public void clear() { UmsMember member = memberService.getCurrentMember(); memberReadHistoryRepository.deleteAllByMemberId(member.getId()); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/OmsCartItemServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import cn.hutool.core.collection.CollUtil; import com.macro.mall.mapper.OmsCartItemMapper; import com.macro.mall.model.OmsCartItem; import com.macro.mall.model.OmsCartItemExample; import com.macro.mall.model.UmsMember; import com.macro.mall.portal.dao.PortalProductDao; import com.macro.mall.portal.domain.CartProduct; import com.macro.mall.portal.domain.CartPromotionItem; import com.macro.mall.portal.service.OmsCartItemService; import com.macro.mall.portal.service.OmsPromotionService; import com.macro.mall.portal.service.UmsMemberService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.util.CollectionUtils; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.stream.Collectors; /** * 购物车管理Service实现类 * Created by macro on 2018/8/2. */ @Service public class OmsCartItemServiceImpl implements OmsCartItemService { @Autowired private OmsCartItemMapper cartItemMapper; @Autowired private PortalProductDao productDao; @Autowired private OmsPromotionService promotionService; @Autowired private UmsMemberService memberService; @Override public int add(OmsCartItem cartItem) { int count; UmsMember currentMember =memberService.getCurrentMember(); cartItem.setMemberId(currentMember.getId()); cartItem.setMemberNickname(currentMember.getNickname()); cartItem.setDeleteStatus(0); OmsCartItem existCartItem = getCartItem(cartItem); if (existCartItem == null) { cartItem.setCreateDate(new Date()); count = cartItemMapper.insert(cartItem); } else { cartItem.setModifyDate(new Date()); existCartItem.setQuantity(existCartItem.getQuantity() + cartItem.getQuantity()); count = cartItemMapper.updateByPrimaryKey(existCartItem); } return count; } /** * 根据会员id,商品id和规格获取购物车中商品 */ private OmsCartItem getCartItem(OmsCartItem cartItem) { OmsCartItemExample example = new OmsCartItemExample(); OmsCartItemExample.Criteria criteria = example.createCriteria().andMemberIdEqualTo(cartItem.getMemberId()) .andProductIdEqualTo(cartItem.getProductId()).andDeleteStatusEqualTo(0); if (cartItem.getProductSkuId()!=null) { criteria.andProductSkuIdEqualTo(cartItem.getProductSkuId()); } List cartItemList = cartItemMapper.selectByExample(example); if (!CollectionUtils.isEmpty(cartItemList)) { return cartItemList.get(0); } return null; } @Override public List list(Long memberId) { OmsCartItemExample example = new OmsCartItemExample(); example.createCriteria().andDeleteStatusEqualTo(0).andMemberIdEqualTo(memberId); return cartItemMapper.selectByExample(example); } @Override public List listPromotion(Long memberId, List cartIds) { List cartItemList = list(memberId); if(CollUtil.isNotEmpty(cartIds)){ cartItemList = cartItemList.stream().filter(item->cartIds.contains(item.getId())).collect(Collectors.toList()); } List cartPromotionItemList = new ArrayList<>(); if(!CollectionUtils.isEmpty(cartItemList)){ cartPromotionItemList = promotionService.calcCartPromotion(cartItemList); } return cartPromotionItemList; } @Override public int updateQuantity(Long id, Long memberId, Integer quantity) { OmsCartItem cartItem = new OmsCartItem(); cartItem.setQuantity(quantity); OmsCartItemExample example = new OmsCartItemExample(); example.createCriteria().andDeleteStatusEqualTo(0) .andIdEqualTo(id).andMemberIdEqualTo(memberId); return cartItemMapper.updateByExampleSelective(cartItem, example); } @Override public int delete(Long memberId, List ids) { OmsCartItem record = new OmsCartItem(); record.setDeleteStatus(1); OmsCartItemExample example = new OmsCartItemExample(); example.createCriteria().andIdIn(ids).andMemberIdEqualTo(memberId); return cartItemMapper.updateByExampleSelective(record, example); } @Override public CartProduct getCartProduct(Long productId) { return productDao.getCartProduct(productId); } @Override public int updateAttr(OmsCartItem cartItem) { //删除原购物车信息 OmsCartItem updateCart = new OmsCartItem(); updateCart.setId(cartItem.getId()); updateCart.setModifyDate(new Date()); updateCart.setDeleteStatus(1); cartItemMapper.updateByPrimaryKeySelective(updateCart); cartItem.setId(null); add(cartItem); return 1; } @Override public int clear(Long memberId) { OmsCartItem record = new OmsCartItem(); record.setDeleteStatus(1); OmsCartItemExample example = new OmsCartItemExample(); example.createCriteria().andMemberIdEqualTo(memberId); return cartItemMapper.updateByExampleSelective(record,example); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/OmsPortalOrderReturnApplyServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import com.macro.mall.mapper.OmsOrderReturnApplyMapper; import com.macro.mall.model.OmsOrderReturnApply; import com.macro.mall.portal.domain.OmsOrderReturnApplyParam; import com.macro.mall.portal.service.OmsPortalOrderReturnApplyService; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.Date; /** * 订单退货管理Service实现类 * Created by macro on 2018/10/17. */ @Service public class OmsPortalOrderReturnApplyServiceImpl implements OmsPortalOrderReturnApplyService { @Autowired private OmsOrderReturnApplyMapper returnApplyMapper; @Override public int create(OmsOrderReturnApplyParam returnApply) { OmsOrderReturnApply realApply = new OmsOrderReturnApply(); BeanUtils.copyProperties(returnApply,realApply); realApply.setCreateTime(new Date()); realApply.setStatus(0); return returnApplyMapper.insert(realApply); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/OmsPortalOrderServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import cn.hutool.core.bean.BeanUtil; import cn.hutool.core.collection.CollUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.exception.Asserts; import com.macro.mall.common.service.RedisService; import com.macro.mall.mapper.*; import com.macro.mall.model.*; import com.macro.mall.portal.component.CancelOrderSender; import com.macro.mall.portal.dao.PortalOrderDao; import com.macro.mall.portal.dao.PortalOrderItemDao; import com.macro.mall.portal.dao.SmsCouponHistoryDao; import com.macro.mall.portal.domain.*; import com.macro.mall.portal.service.*; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; import org.springframework.util.CollectionUtils; import java.math.BigDecimal; import java.math.RoundingMode; import java.text.SimpleDateFormat; import java.util.*; import java.util.stream.Collectors; /** * 前台订单管理Service * Created by macro on 2018/8/30. */ @Slf4j @Service public class OmsPortalOrderServiceImpl implements OmsPortalOrderService { @Autowired private UmsMemberService memberService; @Autowired private OmsCartItemService cartItemService; @Autowired private UmsMemberReceiveAddressService memberReceiveAddressService; @Autowired private UmsMemberCouponService memberCouponService; @Autowired private UmsIntegrationConsumeSettingMapper integrationConsumeSettingMapper; @Autowired private PmsSkuStockMapper skuStockMapper; @Autowired private SmsCouponHistoryDao couponHistoryDao; @Autowired private OmsOrderMapper orderMapper; @Autowired private PortalOrderItemDao orderItemDao; @Autowired private SmsCouponHistoryMapper couponHistoryMapper; @Autowired private RedisService redisService; @Value("${redis.key.orderId}") private String REDIS_KEY_ORDER_ID; @Value("${redis.database}") private String REDIS_DATABASE; @Autowired private PortalOrderDao portalOrderDao; @Autowired private OmsOrderSettingMapper orderSettingMapper; @Autowired private OmsOrderItemMapper orderItemMapper; @Autowired private CancelOrderSender cancelOrderSender; @Override public ConfirmOrderResult generateConfirmOrder(List cartIds) { ConfirmOrderResult result = new ConfirmOrderResult(); //获取购物车信息 UmsMember currentMember = memberService.getCurrentMember(); List cartPromotionItemList = cartItemService.listPromotion(currentMember.getId(),cartIds); result.setCartPromotionItemList(cartPromotionItemList); //获取用户收货地址列表 List memberReceiveAddressList = memberReceiveAddressService.list(); result.setMemberReceiveAddressList(memberReceiveAddressList); //获取用户可用优惠券列表 List couponHistoryDetailList = memberCouponService.listCart(cartPromotionItemList, 1); result.setCouponHistoryDetailList(couponHistoryDetailList); //获取用户积分 result.setMemberIntegration(currentMember.getIntegration()); //获取积分使用规则 UmsIntegrationConsumeSetting integrationConsumeSetting = integrationConsumeSettingMapper.selectByPrimaryKey(1L); result.setIntegrationConsumeSetting(integrationConsumeSetting); //计算总金额、活动优惠、应付金额 ConfirmOrderResult.CalcAmount calcAmount = calcCartAmount(cartPromotionItemList); result.setCalcAmount(calcAmount); return result; } @Override public Map generateOrder(OrderParam orderParam) { List orderItemList = new ArrayList<>(); //校验收货地址 if(orderParam.getMemberReceiveAddressId()==null){ Asserts.fail("请选择收货地址!"); } //获取购物车及优惠信息 UmsMember currentMember = memberService.getCurrentMember(); List cartPromotionItemList = cartItemService.listPromotion(currentMember.getId(), orderParam.getCartIds()); for (CartPromotionItem cartPromotionItem : cartPromotionItemList) { //生成下单商品信息 OmsOrderItem orderItem = new OmsOrderItem(); orderItem.setProductId(cartPromotionItem.getProductId()); orderItem.setProductName(cartPromotionItem.getProductName()); orderItem.setProductPic(cartPromotionItem.getProductPic()); orderItem.setProductAttr(cartPromotionItem.getProductAttr()); orderItem.setProductBrand(cartPromotionItem.getProductBrand()); orderItem.setProductSn(cartPromotionItem.getProductSn()); orderItem.setProductPrice(cartPromotionItem.getPrice()); orderItem.setProductQuantity(cartPromotionItem.getQuantity()); orderItem.setProductSkuId(cartPromotionItem.getProductSkuId()); orderItem.setProductSkuCode(cartPromotionItem.getProductSkuCode()); orderItem.setProductCategoryId(cartPromotionItem.getProductCategoryId()); orderItem.setPromotionAmount(cartPromotionItem.getReduceAmount()); orderItem.setPromotionName(cartPromotionItem.getPromotionMessage()); orderItem.setGiftIntegration(cartPromotionItem.getIntegration()); orderItem.setGiftGrowth(cartPromotionItem.getGrowth()); orderItemList.add(orderItem); } //判断购物车中商品是否都有库存 if (!hasStock(cartPromotionItemList)) { Asserts.fail("库存不足,无法下单"); } //判断使用使用了优惠券 if (orderParam.getCouponId() == null) { //不用优惠券 for (OmsOrderItem orderItem : orderItemList) { orderItem.setCouponAmount(new BigDecimal(0)); } } else { //使用优惠券 SmsCouponHistoryDetail couponHistoryDetail = getUseCoupon(cartPromotionItemList, orderParam.getCouponId()); if (couponHistoryDetail == null) { Asserts.fail("该优惠券不可用"); } //对下单商品的优惠券进行处理 handleCouponAmount(orderItemList, couponHistoryDetail); } //判断是否使用积分 if (orderParam.getUseIntegration() == null||orderParam.getUseIntegration().equals(0)) { //不使用积分 for (OmsOrderItem orderItem : orderItemList) { orderItem.setIntegrationAmount(new BigDecimal(0)); } } else { //使用积分 BigDecimal totalAmount = calcTotalAmount(orderItemList); BigDecimal integrationAmount = getUseIntegrationAmount(orderParam.getUseIntegration(), totalAmount, currentMember, orderParam.getCouponId() != null); if (integrationAmount.compareTo(new BigDecimal(0)) == 0) { Asserts.fail("积分不可用"); } else { //可用情况下分摊到可用商品中 for (OmsOrderItem orderItem : orderItemList) { BigDecimal perAmount = orderItem.getProductPrice().divide(totalAmount, 3, RoundingMode.HALF_EVEN).multiply(integrationAmount); orderItem.setIntegrationAmount(perAmount); } } } //计算order_item的实付金额 handleRealAmount(orderItemList); //进行库存锁定 lockStock(cartPromotionItemList); //根据商品合计、运费、活动优惠、优惠券、积分计算应付金额 OmsOrder order = new OmsOrder(); order.setDiscountAmount(new BigDecimal(0)); order.setTotalAmount(calcTotalAmount(orderItemList)); order.setFreightAmount(new BigDecimal(0)); order.setPromotionAmount(calcPromotionAmount(orderItemList)); order.setPromotionInfo(getOrderPromotionInfo(orderItemList)); if (orderParam.getCouponId() == null) { order.setCouponAmount(new BigDecimal(0)); } else { order.setCouponId(orderParam.getCouponId()); order.setCouponAmount(calcCouponAmount(orderItemList)); } if (orderParam.getUseIntegration() == null) { order.setIntegration(0); order.setIntegrationAmount(new BigDecimal(0)); } else { order.setIntegration(orderParam.getUseIntegration()); order.setIntegrationAmount(calcIntegrationAmount(orderItemList)); } order.setPayAmount(calcPayAmount(order)); //转化为订单信息并插入数据库 order.setMemberId(currentMember.getId()); order.setCreateTime(new Date()); order.setMemberUsername(currentMember.getUsername()); //支付方式:0->未支付;1->支付宝;2->微信 order.setPayType(orderParam.getPayType()); //订单来源:0->PC订单;1->app订单 order.setSourceType(1); //订单状态:0->待付款;1->待发货;2->已发货;3->已完成;4->已关闭;5->无效订单 order.setStatus(0); //订单类型:0->正常订单;1->秒杀订单 order.setOrderType(0); //收货人信息:姓名、电话、邮编、地址 UmsMemberReceiveAddress address = memberReceiveAddressService.getItem(orderParam.getMemberReceiveAddressId()); order.setReceiverName(address.getName()); order.setReceiverPhone(address.getPhoneNumber()); order.setReceiverPostCode(address.getPostCode()); order.setReceiverProvince(address.getProvince()); order.setReceiverCity(address.getCity()); order.setReceiverRegion(address.getRegion()); order.setReceiverDetailAddress(address.getDetailAddress()); //0->未确认;1->已确认 order.setConfirmStatus(0); order.setDeleteStatus(0); //计算赠送积分 order.setIntegration(calcGifIntegration(orderItemList)); //计算赠送成长值 order.setGrowth(calcGiftGrowth(orderItemList)); //生成订单号 order.setOrderSn(generateOrderSn(order)); //设置自动收货天数 List orderSettings = orderSettingMapper.selectByExample(new OmsOrderSettingExample()); if(CollUtil.isNotEmpty(orderSettings)){ order.setAutoConfirmDay(orderSettings.get(0).getConfirmOvertime()); } // TODO: 2018/9/3 bill_*,delivery_* //插入order表和order_item表 orderMapper.insert(order); for (OmsOrderItem orderItem : orderItemList) { orderItem.setOrderId(order.getId()); orderItem.setOrderSn(order.getOrderSn()); } orderItemDao.insertList(orderItemList); //如使用优惠券更新优惠券使用状态 if (orderParam.getCouponId() != null) { updateCouponStatus(orderParam.getCouponId(), currentMember.getId(), 1); } //如使用积分需要扣除积分 if (orderParam.getUseIntegration() != null) { order.setUseIntegration(orderParam.getUseIntegration()); if(currentMember.getIntegration()==null){ currentMember.setIntegration(0); } memberService.updateIntegration(currentMember.getId(), currentMember.getIntegration() - orderParam.getUseIntegration()); } //删除购物车中的下单商品 deleteCartItemList(cartPromotionItemList, currentMember); //发送延迟消息取消订单 sendDelayMessageCancelOrder(order.getId()); Map result = new HashMap<>(); result.put("order", order); result.put("orderItemList", orderItemList); return result; } @Override public Integer paySuccess(Long orderId, Integer payType) { //修改订单支付状态 OmsOrder order = new OmsOrder(); order.setId(orderId); order.setStatus(1); order.setPaymentTime(new Date()); order.setPayType(payType); OmsOrderExample orderExample = new OmsOrderExample(); orderExample.createCriteria() .andIdEqualTo(order.getId()) .andDeleteStatusEqualTo(0) .andStatusEqualTo(0); //只修改未付款状态的订单 int updateCount = orderMapper.updateByExampleSelective(order, orderExample); if(updateCount==0){ Asserts.fail("订单不存在或订单状态不是未支付!"); } //恢复所有下单商品的锁定库存,扣减真实库存 OmsOrderDetail orderDetail = portalOrderDao.getDetail(orderId); int totalCount = 0; for (OmsOrderItem orderItem : orderDetail.getOrderItemList()) { int count = portalOrderDao.reduceSkuStock(orderItem.getProductSkuId(),orderItem.getProductQuantity()); if(count==0){ Asserts.fail("库存不足,无法扣减!"); } totalCount+=count; } return totalCount; } @Override public Integer cancelTimeOutOrder() { Integer count=0; OmsOrderSetting orderSetting = orderSettingMapper.selectByPrimaryKey(1L); //查询超时、未支付的订单及订单详情 List timeOutOrders = portalOrderDao.getTimeOutOrders(orderSetting.getNormalOrderOvertime()); if (CollectionUtils.isEmpty(timeOutOrders)) { return count; } //修改订单状态为交易取消 List ids = new ArrayList<>(); for (OmsOrderDetail timeOutOrder : timeOutOrders) { ids.add(timeOutOrder.getId()); } portalOrderDao.updateOrderStatus(ids, 4); for (OmsOrderDetail timeOutOrder : timeOutOrders) { //解除订单商品库存锁定 portalOrderDao.releaseSkuStockLock(timeOutOrder.getOrderItemList()); //修改优惠券使用状态 updateCouponStatus(timeOutOrder.getCouponId(), timeOutOrder.getMemberId(), 0); //返还使用积分 if (timeOutOrder.getUseIntegration() != null) { UmsMember member = memberService.getById(timeOutOrder.getMemberId()); memberService.updateIntegration(timeOutOrder.getMemberId(), member.getIntegration() + timeOutOrder.getUseIntegration()); } } return timeOutOrders.size(); } @Override public void cancelOrder(Long orderId) { //查询未付款的取消订单 OmsOrderExample example = new OmsOrderExample(); example.createCriteria().andIdEqualTo(orderId).andStatusEqualTo(0).andDeleteStatusEqualTo(0); List cancelOrderList = orderMapper.selectByExample(example); if (CollectionUtils.isEmpty(cancelOrderList)) { return; } OmsOrder cancelOrder = cancelOrderList.get(0); if (cancelOrder != null) { //修改订单状态为取消 cancelOrder.setStatus(4); orderMapper.updateByPrimaryKeySelective(cancelOrder); OmsOrderItemExample orderItemExample = new OmsOrderItemExample(); orderItemExample.createCriteria().andOrderIdEqualTo(orderId); List orderItemList = orderItemMapper.selectByExample(orderItemExample); //解除订单商品库存锁定 if (!CollectionUtils.isEmpty(orderItemList)) { for (OmsOrderItem orderItem : orderItemList) { int count = portalOrderDao.releaseStockBySkuId(orderItem.getProductSkuId(),orderItem.getProductQuantity()); if(count==0){ Asserts.fail("库存不足,无法释放!"); } } } //修改优惠券使用状态 updateCouponStatus(cancelOrder.getCouponId(), cancelOrder.getMemberId(), 0); //返还使用积分 if (cancelOrder.getUseIntegration() != null) { UmsMember member = memberService.getById(cancelOrder.getMemberId()); memberService.updateIntegration(cancelOrder.getMemberId(), member.getIntegration() + cancelOrder.getUseIntegration()); } } } @Override public void sendDelayMessageCancelOrder(Long orderId) { //获取订单超时时间 OmsOrderSetting orderSetting = orderSettingMapper.selectByPrimaryKey(1L); long delayTimes = orderSetting.getNormalOrderOvertime() * 60 * 1000; //发送延迟消息 cancelOrderSender.sendMessage(orderId, delayTimes); } @Override public void confirmReceiveOrder(Long orderId) { UmsMember member = memberService.getCurrentMember(); OmsOrder order = orderMapper.selectByPrimaryKey(orderId); if(!member.getId().equals(order.getMemberId())){ Asserts.fail("不能确认他人订单!"); } if(order.getStatus()!=2){ Asserts.fail("该订单还未发货!"); } order.setStatus(3); order.setConfirmStatus(1); order.setReceiveTime(new Date()); orderMapper.updateByPrimaryKey(order); } @Override public CommonPage list(Integer status, Integer pageNum, Integer pageSize) { if(status==-1){ status = null; } UmsMember member = memberService.getCurrentMember(); PageHelper.startPage(pageNum,pageSize); OmsOrderExample orderExample = new OmsOrderExample(); OmsOrderExample.Criteria criteria = orderExample.createCriteria(); criteria.andDeleteStatusEqualTo(0) .andMemberIdEqualTo(member.getId()); if(status!=null){ criteria.andStatusEqualTo(status); } orderExample.setOrderByClause("create_time desc"); List orderList = orderMapper.selectByExample(orderExample); CommonPage orderPage = CommonPage.restPage(orderList); //设置分页信息 CommonPage resultPage = new CommonPage<>(); resultPage.setPageNum(orderPage.getPageNum()); resultPage.setPageSize(orderPage.getPageSize()); resultPage.setTotal(orderPage.getTotal()); resultPage.setTotalPage(orderPage.getTotalPage()); if(CollUtil.isEmpty(orderList)){ return resultPage; } //设置数据信息 List orderIds = orderList.stream().map(OmsOrder::getId).collect(Collectors.toList()); OmsOrderItemExample orderItemExample = new OmsOrderItemExample(); orderItemExample.createCriteria().andOrderIdIn(orderIds); List orderItemList = orderItemMapper.selectByExample(orderItemExample); List orderDetailList = new ArrayList<>(); for (OmsOrder omsOrder : orderList) { OmsOrderDetail orderDetail = new OmsOrderDetail(); BeanUtil.copyProperties(omsOrder,orderDetail); List relatedItemList = orderItemList.stream().filter(item -> item.getOrderId().equals(orderDetail.getId())).collect(Collectors.toList()); orderDetail.setOrderItemList(relatedItemList); orderDetailList.add(orderDetail); } resultPage.setList(orderDetailList); return resultPage; } @Override public OmsOrderDetail detail(Long orderId) { OmsOrder omsOrder = orderMapper.selectByPrimaryKey(orderId); OmsOrderItemExample example = new OmsOrderItemExample(); example.createCriteria().andOrderIdEqualTo(orderId); List orderItemList = orderItemMapper.selectByExample(example); OmsOrderDetail orderDetail = new OmsOrderDetail(); BeanUtil.copyProperties(omsOrder,orderDetail); orderDetail.setOrderItemList(orderItemList); return orderDetail; } @Override public void deleteOrder(Long orderId) { UmsMember member = memberService.getCurrentMember(); OmsOrder order = orderMapper.selectByPrimaryKey(orderId); if(!member.getId().equals(order.getMemberId())){ Asserts.fail("不能删除他人订单!"); } if(order.getStatus()==3||order.getStatus()==4){ order.setDeleteStatus(1); orderMapper.updateByPrimaryKey(order); }else{ Asserts.fail("只能删除已完成或已关闭的订单!"); } } @Override public void paySuccessByOrderSn(String orderSn, Integer payType) { OmsOrderExample example = new OmsOrderExample(); example.createCriteria() .andOrderSnEqualTo(orderSn) .andStatusEqualTo(0) .andDeleteStatusEqualTo(0); List orderList = orderMapper.selectByExample(example); if(CollUtil.isNotEmpty(orderList)){ OmsOrder order = orderList.get(0); paySuccess(order.getId(),payType); } } /** * 生成18位订单编号:8位日期+2位平台号码+2位支付方式+6位以上自增id */ private String generateOrderSn(OmsOrder order) { StringBuilder sb = new StringBuilder(); String date = new SimpleDateFormat("yyyyMMdd").format(new Date()); String key = REDIS_DATABASE+":"+ REDIS_KEY_ORDER_ID + date; Long increment = redisService.incr(key, 1); sb.append(date); sb.append(String.format("%02d", order.getSourceType())); sb.append(String.format("%02d", order.getPayType())); String incrementStr = increment.toString(); if (incrementStr.length() <= 6) { sb.append(String.format("%06d", increment)); } else { sb.append(incrementStr); } return sb.toString(); } /** * 从购物车中删除已下单的商品信息 */ private void deleteCartItemList(List cartPromotionItemList, UmsMember currentMember) { List ids = new ArrayList<>(); for (CartPromotionItem cartPromotionItem : cartPromotionItemList) { ids.add(cartPromotionItem.getId()); } cartItemService.delete(currentMember.getId(), ids); } /** * 计算该订单赠送的成长值 */ private Integer calcGiftGrowth(List orderItemList) { Integer sum = 0; for (OmsOrderItem orderItem : orderItemList) { sum = sum + orderItem.getGiftGrowth() * orderItem.getProductQuantity(); } return sum; } /** * 计算该订单赠送的积分 */ private Integer calcGifIntegration(List orderItemList) { int sum = 0; for (OmsOrderItem orderItem : orderItemList) { sum += orderItem.getGiftIntegration() * orderItem.getProductQuantity(); } return sum; } /** * 将优惠券信息更改为指定状态 * * @param couponId 优惠券id * @param memberId 会员id * @param useStatus 0->未使用;1->已使用 */ private void updateCouponStatus(Long couponId, Long memberId, Integer useStatus) { if (couponId == null) return; //查询第一张优惠券 SmsCouponHistoryExample example = new SmsCouponHistoryExample(); example.createCriteria().andMemberIdEqualTo(memberId) .andCouponIdEqualTo(couponId).andUseStatusEqualTo(useStatus == 0 ? 1 : 0); List couponHistoryList = couponHistoryMapper.selectByExample(example); if (!CollectionUtils.isEmpty(couponHistoryList)) { SmsCouponHistory couponHistory = couponHistoryList.get(0); couponHistory.setUseTime(new Date()); couponHistory.setUseStatus(useStatus); couponHistoryMapper.updateByPrimaryKeySelective(couponHistory); } } private void handleRealAmount(List orderItemList) { for (OmsOrderItem orderItem : orderItemList) { //原价-促销优惠-优惠券抵扣-积分抵扣 BigDecimal realAmount = orderItem.getProductPrice() .subtract(orderItem.getPromotionAmount()) .subtract(orderItem.getCouponAmount()) .subtract(orderItem.getIntegrationAmount()); orderItem.setRealAmount(realAmount); } } /** * 获取订单促销信息 */ private String getOrderPromotionInfo(List orderItemList) { StringBuilder sb = new StringBuilder(); for (OmsOrderItem orderItem : orderItemList) { sb.append(orderItem.getPromotionName()); sb.append(";"); } String result = sb.toString(); if (result.endsWith(";")) { result = result.substring(0, result.length() - 1); } return result; } /** * 计算订单应付金额 */ private BigDecimal calcPayAmount(OmsOrder order) { //总金额+运费-促销优惠-优惠券优惠-积分抵扣 BigDecimal payAmount = order.getTotalAmount() .add(order.getFreightAmount()) .subtract(order.getPromotionAmount()) .subtract(order.getCouponAmount()) .subtract(order.getIntegrationAmount()); return payAmount; } /** * 计算订单优惠券金额 */ private BigDecimal calcIntegrationAmount(List orderItemList) { BigDecimal integrationAmount = new BigDecimal(0); for (OmsOrderItem orderItem : orderItemList) { if (orderItem.getIntegrationAmount() != null) { integrationAmount = integrationAmount.add(orderItem.getIntegrationAmount().multiply(new BigDecimal(orderItem.getProductQuantity()))); } } return integrationAmount; } /** * 计算订单优惠券金额 */ private BigDecimal calcCouponAmount(List orderItemList) { BigDecimal couponAmount = new BigDecimal(0); for (OmsOrderItem orderItem : orderItemList) { if (orderItem.getCouponAmount() != null) { couponAmount = couponAmount.add(orderItem.getCouponAmount().multiply(new BigDecimal(orderItem.getProductQuantity()))); } } return couponAmount; } /** * 计算订单活动优惠 */ private BigDecimal calcPromotionAmount(List orderItemList) { BigDecimal promotionAmount = new BigDecimal(0); for (OmsOrderItem orderItem : orderItemList) { if (orderItem.getPromotionAmount() != null) { promotionAmount = promotionAmount.add(orderItem.getPromotionAmount().multiply(new BigDecimal(orderItem.getProductQuantity()))); } } return promotionAmount; } /** * 获取可用积分抵扣金额 * * @param useIntegration 使用的积分数量 * @param totalAmount 订单总金额 * @param currentMember 使用的用户 * @param hasCoupon 是否已经使用优惠券 */ private BigDecimal getUseIntegrationAmount(Integer useIntegration, BigDecimal totalAmount, UmsMember currentMember, boolean hasCoupon) { BigDecimal zeroAmount = new BigDecimal(0); //判断用户是否有这么多积分 if (useIntegration.compareTo(currentMember.getIntegration()) > 0) { return zeroAmount; } //根据积分使用规则判断是否可用 //是否可与优惠券共用 UmsIntegrationConsumeSetting integrationConsumeSetting = integrationConsumeSettingMapper.selectByPrimaryKey(1L); if (hasCoupon && integrationConsumeSetting.getCouponStatus().equals(0)) { //不可与优惠券共用 return zeroAmount; } //是否达到最低使用积分门槛 if (useIntegration.compareTo(integrationConsumeSetting.getUseUnit()) < 0) { return zeroAmount; } //是否超过订单抵用最高百分比 BigDecimal integrationAmount = new BigDecimal(useIntegration).divide(new BigDecimal(integrationConsumeSetting.getUseUnit()), 2, RoundingMode.HALF_EVEN); BigDecimal maxPercent = new BigDecimal(integrationConsumeSetting.getMaxPercentPerOrder()).divide(new BigDecimal(100), 2, RoundingMode.HALF_EVEN); if (integrationAmount.compareTo(totalAmount.multiply(maxPercent)) > 0) { return zeroAmount; } return integrationAmount; } /** * 对优惠券优惠进行处理 * * @param orderItemList order_item列表 * @param couponHistoryDetail 可用优惠券详情 */ private void handleCouponAmount(List orderItemList, SmsCouponHistoryDetail couponHistoryDetail) { SmsCoupon coupon = couponHistoryDetail.getCoupon(); if (coupon.getUseType().equals(0)) { //全场通用 calcPerCouponAmount(orderItemList, coupon); } else if (coupon.getUseType().equals(1)) { //指定分类 List couponOrderItemList = getCouponOrderItemByRelation(couponHistoryDetail, orderItemList, 0); calcPerCouponAmount(couponOrderItemList, coupon); } else if (coupon.getUseType().equals(2)) { //指定商品 List couponOrderItemList = getCouponOrderItemByRelation(couponHistoryDetail, orderItemList, 1); calcPerCouponAmount(couponOrderItemList, coupon); } } /** * 对每个下单商品进行优惠券金额分摊的计算 * * @param orderItemList 可用优惠券的下单商品商品 */ private void calcPerCouponAmount(List orderItemList, SmsCoupon coupon) { BigDecimal totalAmount = calcTotalAmount(orderItemList); for (OmsOrderItem orderItem : orderItemList) { //(商品价格/可用商品总价)*优惠券面额 BigDecimal couponAmount = orderItem.getProductPrice().divide(totalAmount, 3, RoundingMode.HALF_EVEN).multiply(coupon.getAmount()); orderItem.setCouponAmount(couponAmount); } } /** * 获取与优惠券有关系的下单商品 * * @param couponHistoryDetail 优惠券详情 * @param orderItemList 下单商品 * @param type 使用关系类型:0->相关分类;1->指定商品 */ private List getCouponOrderItemByRelation(SmsCouponHistoryDetail couponHistoryDetail, List orderItemList, int type) { List result = new ArrayList<>(); if (type == 0) { List categoryIdList = new ArrayList<>(); for (SmsCouponProductCategoryRelation productCategoryRelation : couponHistoryDetail.getCategoryRelationList()) { categoryIdList.add(productCategoryRelation.getProductCategoryId()); } for (OmsOrderItem orderItem : orderItemList) { if (categoryIdList.contains(orderItem.getProductCategoryId())) { result.add(orderItem); } else { orderItem.setCouponAmount(new BigDecimal(0)); } } } else if (type == 1) { List productIdList = new ArrayList<>(); for (SmsCouponProductRelation productRelation : couponHistoryDetail.getProductRelationList()) { productIdList.add(productRelation.getProductId()); } for (OmsOrderItem orderItem : orderItemList) { if (productIdList.contains(orderItem.getProductId())) { result.add(orderItem); } else { orderItem.setCouponAmount(new BigDecimal(0)); } } } return result; } /** * 获取该用户可以使用的优惠券 * * @param cartPromotionItemList 购物车优惠列表 * @param couponId 使用优惠券id */ private SmsCouponHistoryDetail getUseCoupon(List cartPromotionItemList, Long couponId) { List couponHistoryDetailList = memberCouponService.listCart(cartPromotionItemList, 1); for (SmsCouponHistoryDetail couponHistoryDetail : couponHistoryDetailList) { if (couponHistoryDetail.getCoupon().getId().equals(couponId)) { return couponHistoryDetail; } } return null; } /** * 计算总金额 */ private BigDecimal calcTotalAmount(List orderItemList) { BigDecimal totalAmount = new BigDecimal("0"); for (OmsOrderItem item : orderItemList) { totalAmount = totalAmount.add(item.getProductPrice().multiply(new BigDecimal(item.getProductQuantity()))); } return totalAmount; } /** * 锁定下单商品的所有库存 */ private void lockStock(List cartPromotionItemList) { for (CartPromotionItem cartPromotionItem : cartPromotionItemList) { PmsSkuStock skuStock = skuStockMapper.selectByPrimaryKey(cartPromotionItem.getProductSkuId()); skuStock.setLockStock(skuStock.getLockStock() + cartPromotionItem.getQuantity()); int count = portalOrderDao.lockStockBySkuId(cartPromotionItem.getProductSkuId(),cartPromotionItem.getQuantity()); if(count==0){ Asserts.fail("库存不足,无法下单"); } } } /** * 判断下单商品是否都有库存 */ private boolean hasStock(List cartPromotionItemList) { for (CartPromotionItem cartPromotionItem : cartPromotionItemList) { if (cartPromotionItem.getRealStock()==null //判断真实库存是否为空 ||cartPromotionItem.getRealStock() <= 0 //判断真实库存是否小于0 || cartPromotionItem.getRealStock() < cartPromotionItem.getQuantity()) //判断真实库存是否小于下单的数量 { return false; } } return true; } /** * 计算购物车中商品的价格 */ private ConfirmOrderResult.CalcAmount calcCartAmount(List cartPromotionItemList) { ConfirmOrderResult.CalcAmount calcAmount = new ConfirmOrderResult.CalcAmount(); calcAmount.setFreightAmount(new BigDecimal(0)); BigDecimal totalAmount = new BigDecimal("0"); BigDecimal promotionAmount = new BigDecimal("0"); for (CartPromotionItem cartPromotionItem : cartPromotionItemList) { totalAmount = totalAmount.add(cartPromotionItem.getPrice().multiply(new BigDecimal(cartPromotionItem.getQuantity()))); promotionAmount = promotionAmount.add(cartPromotionItem.getReduceAmount().multiply(new BigDecimal(cartPromotionItem.getQuantity()))); } calcAmount.setTotalAmount(totalAmount); calcAmount.setPromotionAmount(promotionAmount); calcAmount.setPayAmount(totalAmount.subtract(promotionAmount)); return calcAmount; } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/OmsPromotionServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import com.macro.mall.model.OmsCartItem; import com.macro.mall.model.PmsProductFullReduction; import com.macro.mall.model.PmsProductLadder; import com.macro.mall.model.PmsSkuStock; import com.macro.mall.portal.dao.PortalProductDao; import com.macro.mall.portal.domain.CartPromotionItem; import com.macro.mall.portal.domain.PromotionProduct; import com.macro.mall.portal.service.OmsPromotionService; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.math.BigDecimal; import java.math.RoundingMode; import java.util.*; /** * Created by macro on 2018/8/27. * 促销管理Service实现类 */ @Service public class OmsPromotionServiceImpl implements OmsPromotionService { @Autowired private PortalProductDao portalProductDao; @Override public List calcCartPromotion(List cartItemList) { //1.先根据productId对CartItem进行分组,以spu为单位进行计算优惠 Map> productCartMap = groupCartItemBySpu(cartItemList); //2.查询所有商品的优惠相关信息 List promotionProductList = getPromotionProductList(cartItemList); //3.根据商品促销类型计算商品促销优惠价格 List cartPromotionItemList = new ArrayList<>(); for (Map.Entry> entry : productCartMap.entrySet()) { Long productId = entry.getKey(); PromotionProduct promotionProduct = getPromotionProductById(productId, promotionProductList); List itemList = entry.getValue(); Integer promotionType = promotionProduct.getPromotionType(); if (promotionType == 1) { //单品促销 for (OmsCartItem item : itemList) { CartPromotionItem cartPromotionItem = new CartPromotionItem(); BeanUtils.copyProperties(item,cartPromotionItem); cartPromotionItem.setPromotionMessage("单品促销"); //商品原价-促销价 PmsSkuStock skuStock = getOriginalPrice(promotionProduct, item.getProductSkuId()); BigDecimal originalPrice = skuStock.getPrice(); //单品促销使用原价 cartPromotionItem.setPrice(originalPrice); cartPromotionItem.setReduceAmount(originalPrice.subtract(skuStock.getPromotionPrice())); cartPromotionItem.setRealStock(skuStock.getStock()-skuStock.getLockStock()); cartPromotionItem.setIntegration(promotionProduct.getGiftPoint()); cartPromotionItem.setGrowth(promotionProduct.getGiftGrowth()); cartPromotionItemList.add(cartPromotionItem); } } else if (promotionType == 3) { //打折优惠 int count = getCartItemCount(itemList); PmsProductLadder ladder = getProductLadder(count, promotionProduct.getProductLadderList()); if(ladder!=null){ for (OmsCartItem item : itemList) { CartPromotionItem cartPromotionItem = new CartPromotionItem(); BeanUtils.copyProperties(item,cartPromotionItem); String message = getLadderPromotionMessage(ladder); cartPromotionItem.setPromotionMessage(message); //商品原价-折扣*商品原价 PmsSkuStock skuStock = getOriginalPrice(promotionProduct,item.getProductSkuId()); BigDecimal originalPrice = skuStock.getPrice(); BigDecimal reduceAmount = originalPrice.subtract(ladder.getDiscount().multiply(originalPrice)); cartPromotionItem.setReduceAmount(reduceAmount); cartPromotionItem.setRealStock(skuStock.getStock()-skuStock.getLockStock()); cartPromotionItem.setIntegration(promotionProduct.getGiftPoint()); cartPromotionItem.setGrowth(promotionProduct.getGiftGrowth()); cartPromotionItemList.add(cartPromotionItem); } }else{ handleNoReduce(cartPromotionItemList,itemList,promotionProduct); } } else if (promotionType == 4) { //满减 BigDecimal totalAmount= getCartItemAmount(itemList,promotionProductList); PmsProductFullReduction fullReduction = getProductFullReduction(totalAmount,promotionProduct.getProductFullReductionList()); if(fullReduction!=null){ for (OmsCartItem item : itemList) { CartPromotionItem cartPromotionItem = new CartPromotionItem(); BeanUtils.copyProperties(item,cartPromotionItem); String message = getFullReductionPromotionMessage(fullReduction); cartPromotionItem.setPromotionMessage(message); //(商品原价/总价)*满减金额 PmsSkuStock skuStock= getOriginalPrice(promotionProduct, item.getProductSkuId()); BigDecimal originalPrice = skuStock.getPrice(); BigDecimal reduceAmount = originalPrice.divide(totalAmount,RoundingMode.HALF_EVEN).multiply(fullReduction.getReducePrice()); cartPromotionItem.setReduceAmount(reduceAmount); cartPromotionItem.setRealStock(skuStock.getStock()-skuStock.getLockStock()); cartPromotionItem.setIntegration(promotionProduct.getGiftPoint()); cartPromotionItem.setGrowth(promotionProduct.getGiftGrowth()); cartPromotionItemList.add(cartPromotionItem); } }else{ handleNoReduce(cartPromotionItemList,itemList,promotionProduct); } } else { //无优惠 handleNoReduce(cartPromotionItemList, itemList,promotionProduct); } } return cartPromotionItemList; } /** * 查询所有商品的优惠相关信息 */ private List getPromotionProductList(List cartItemList) { List productIdList = new ArrayList<>(); for(OmsCartItem cartItem:cartItemList){ productIdList.add(cartItem.getProductId()); } return portalProductDao.getPromotionProductList(productIdList); } /** * 以spu为单位对购物车中商品进行分组 */ private Map> groupCartItemBySpu(List cartItemList) { Map> productCartMap = new TreeMap<>(); for (OmsCartItem cartItem : cartItemList) { List productCartItemList = productCartMap.get(cartItem.getProductId()); if (productCartItemList == null) { productCartItemList = new ArrayList<>(); productCartItemList.add(cartItem); productCartMap.put(cartItem.getProductId(), productCartItemList); } else { productCartItemList.add(cartItem); } } return productCartMap; } /** * 获取满减促销消息 */ private String getFullReductionPromotionMessage(PmsProductFullReduction fullReduction) { StringBuilder sb = new StringBuilder(); sb.append("满减优惠:"); sb.append("满"); sb.append(fullReduction.getFullPrice()); sb.append("元,"); sb.append("减"); sb.append(fullReduction.getReducePrice()); sb.append("元"); return sb.toString(); } /** * 对没满足优惠条件的商品进行处理 */ private void handleNoReduce(List cartPromotionItemList, List itemList,PromotionProduct promotionProduct) { for (OmsCartItem item : itemList) { CartPromotionItem cartPromotionItem = new CartPromotionItem(); BeanUtils.copyProperties(item,cartPromotionItem); cartPromotionItem.setPromotionMessage("无优惠"); cartPromotionItem.setReduceAmount(new BigDecimal(0)); PmsSkuStock skuStock = getOriginalPrice(promotionProduct,item.getProductSkuId()); if(skuStock!=null){ cartPromotionItem.setRealStock(skuStock.getStock()-skuStock.getLockStock()); } cartPromotionItem.setIntegration(promotionProduct.getGiftPoint()); cartPromotionItem.setGrowth(promotionProduct.getGiftGrowth()); cartPromotionItemList.add(cartPromotionItem); } } private PmsProductFullReduction getProductFullReduction(BigDecimal totalAmount,List fullReductionList) { //按条件从高到低排序 fullReductionList.sort(new Comparator() { @Override public int compare(PmsProductFullReduction o1, PmsProductFullReduction o2) { return o2.getFullPrice().subtract(o1.getFullPrice()).intValue(); } }); for(PmsProductFullReduction fullReduction:fullReductionList){ if(totalAmount.subtract(fullReduction.getFullPrice()).intValue()>=0){ return fullReduction; } } return null; } /** * 获取打折优惠的促销信息 */ private String getLadderPromotionMessage(PmsProductLadder ladder) { StringBuilder sb = new StringBuilder(); sb.append("打折优惠:"); sb.append("满"); sb.append(ladder.getCount()); sb.append("件,"); sb.append("打"); sb.append(ladder.getDiscount().multiply(new BigDecimal(10))); sb.append("折"); return sb.toString(); } /** * 根据购买商品数量获取满足条件的打折优惠策略 */ private PmsProductLadder getProductLadder(int count, List productLadderList) { //按数量从大到小排序 productLadderList.sort(new Comparator() { @Override public int compare(PmsProductLadder o1, PmsProductLadder o2) { return o2.getCount() - o1.getCount(); } }); for (PmsProductLadder productLadder : productLadderList) { if (count >= productLadder.getCount()) { return productLadder; } } return null; } /** * 获取购物车中指定商品的数量 */ private int getCartItemCount(List itemList) { int count = 0; for (OmsCartItem item : itemList) { count += item.getQuantity(); } return count; } /** * 获取购物车中指定商品的总价 */ private BigDecimal getCartItemAmount(List itemList, List promotionProductList) { BigDecimal amount = new BigDecimal(0); for (OmsCartItem item : itemList) { //计算出商品原价 PromotionProduct promotionProduct = getPromotionProductById(item.getProductId(), promotionProductList); PmsSkuStock skuStock = getOriginalPrice(promotionProduct,item.getProductSkuId()); amount = amount.add(skuStock.getPrice().multiply(new BigDecimal(item.getQuantity()))); } return amount; } /** * 获取商品的原价 */ private PmsSkuStock getOriginalPrice(PromotionProduct promotionProduct, Long productSkuId) { for (PmsSkuStock skuStock : promotionProduct.getSkuStockList()) { if (productSkuId.equals(skuStock.getId())) { return skuStock; } } return null; } /** * 根据商品id获取商品的促销信息 */ private PromotionProduct getPromotionProductById(Long productId, List promotionProductList) { for (PromotionProduct promotionProduct : promotionProductList) { if (productId.equals(promotionProduct.getId())) { return promotionProduct; } } return null; } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/PmsPortalBrandServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import com.github.pagehelper.PageHelper; import com.macro.mall.common.api.CommonPage; import com.macro.mall.mapper.PmsBrandMapper; import com.macro.mall.mapper.PmsProductMapper; import com.macro.mall.model.PmsBrand; import com.macro.mall.model.PmsProduct; import com.macro.mall.model.PmsProductExample; import com.macro.mall.portal.dao.HomeDao; import com.macro.mall.portal.service.PmsPortalBrandService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; /** * 前台品牌管理Service实现类 * Created by macro on 2020/5/15. */ @Service public class PmsPortalBrandServiceImpl implements PmsPortalBrandService { @Autowired private HomeDao homeDao; @Autowired private PmsBrandMapper brandMapper; @Autowired private PmsProductMapper productMapper; @Override public List recommendList(Integer pageNum, Integer pageSize) { int offset = (pageNum - 1) * pageSize; return homeDao.getRecommendBrandList(offset, pageSize); } @Override public PmsBrand detail(Long brandId) { return brandMapper.selectByPrimaryKey(brandId); } @Override public CommonPage productList(Long brandId, Integer pageNum, Integer pageSize) { PageHelper.startPage(pageNum,pageSize); PmsProductExample example = new PmsProductExample(); example.createCriteria().andDeleteStatusEqualTo(0) .andPublishStatusEqualTo(1) .andBrandIdEqualTo(brandId); List productList = productMapper.selectByExample(example); return CommonPage.restPage(productList); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/PmsPortalProductServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import cn.hutool.core.collection.CollUtil; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.mapper.*; import com.macro.mall.model.*; import com.macro.mall.portal.dao.PortalProductDao; import com.macro.mall.portal.domain.PmsPortalProductDetail; import com.macro.mall.portal.domain.PmsProductCategoryNode; import com.macro.mall.portal.service.PmsPortalProductService; import org.springframework.beans.BeanUtils; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.util.List; import java.util.stream.Collectors; /** * 前台订单管理Service实现类 * Created by macro on 2020/4/6. */ @Service public class PmsPortalProductServiceImpl implements PmsPortalProductService { @Autowired private PmsProductMapper productMapper; @Autowired private PmsProductCategoryMapper productCategoryMapper; @Autowired private PmsBrandMapper brandMapper; @Autowired private PmsProductAttributeMapper productAttributeMapper; @Autowired private PmsProductAttributeValueMapper productAttributeValueMapper; @Autowired private PmsSkuStockMapper skuStockMapper; @Autowired private PmsProductLadderMapper productLadderMapper; @Autowired private PmsProductFullReductionMapper productFullReductionMapper; @Autowired private PortalProductDao portalProductDao; @Override public List search(String keyword, Long brandId, Long productCategoryId, Integer pageNum, Integer pageSize, Integer sort) { PageHelper.startPage(pageNum, pageSize); PmsProductExample example = new PmsProductExample(); PmsProductExample.Criteria criteria = example.createCriteria(); criteria.andDeleteStatusEqualTo(0); criteria.andPublishStatusEqualTo(1); if (StrUtil.isNotEmpty(keyword)) { criteria.andNameLike("%" + keyword + "%"); } if (brandId != null) { criteria.andBrandIdEqualTo(brandId); } if (productCategoryId != null) { criteria.andProductCategoryIdEqualTo(productCategoryId); } //1->按新品;2->按销量;3->价格从低到高;4->价格从高到低 if (sort == 1) { example.setOrderByClause("id desc"); } else if (sort == 2) { example.setOrderByClause("sale desc"); } else if (sort == 3) { example.setOrderByClause("price asc"); } else if (sort == 4) { example.setOrderByClause("price desc"); } return productMapper.selectByExample(example); } @Override public List categoryTreeList() { PmsProductCategoryExample example = new PmsProductCategoryExample(); List allList = productCategoryMapper.selectByExample(example); List result = allList.stream() .filter(item -> item.getParentId().equals(0L)) .map(item -> covert(item, allList)) .collect(Collectors.toList()); return result; } @Override public PmsPortalProductDetail detail(Long id) { PmsPortalProductDetail result = new PmsPortalProductDetail(); //获取商品信息 PmsProduct product = productMapper.selectByPrimaryKey(id); result.setProduct(product); //获取品牌信息 PmsBrand brand = brandMapper.selectByPrimaryKey(product.getBrandId()); result.setBrand(brand); //获取商品属性信息 PmsProductAttributeExample attributeExample = new PmsProductAttributeExample(); attributeExample.createCriteria().andProductAttributeCategoryIdEqualTo(product.getProductAttributeCategoryId()); List productAttributeList = productAttributeMapper.selectByExample(attributeExample); result.setProductAttributeList(productAttributeList); //获取商品属性值信息 if(CollUtil.isNotEmpty(productAttributeList)){ List attributeIds = productAttributeList.stream().map(PmsProductAttribute::getId).collect(Collectors.toList()); PmsProductAttributeValueExample attributeValueExample = new PmsProductAttributeValueExample(); attributeValueExample.createCriteria().andProductIdEqualTo(product.getId()) .andProductAttributeIdIn(attributeIds); List productAttributeValueList = productAttributeValueMapper.selectByExample(attributeValueExample); result.setProductAttributeValueList(productAttributeValueList); } //获取商品SKU库存信息 PmsSkuStockExample skuExample = new PmsSkuStockExample(); skuExample.createCriteria().andProductIdEqualTo(product.getId()); List skuStockList = skuStockMapper.selectByExample(skuExample); result.setSkuStockList(skuStockList); //商品阶梯价格设置 if(product.getPromotionType()==3){ PmsProductLadderExample ladderExample = new PmsProductLadderExample(); ladderExample.createCriteria().andProductIdEqualTo(product.getId()); List productLadderList = productLadderMapper.selectByExample(ladderExample); result.setProductLadderList(productLadderList); } //商品满减价格设置 if(product.getPromotionType()==4){ PmsProductFullReductionExample fullReductionExample = new PmsProductFullReductionExample(); fullReductionExample.createCriteria().andProductIdEqualTo(product.getId()); List productFullReductionList = productFullReductionMapper.selectByExample(fullReductionExample); result.setProductFullReductionList(productFullReductionList); } //商品可用优惠券 result.setCouponList(portalProductDao.getAvailableCouponList(product.getId(),product.getProductCategoryId())); return result; } /** * 初始对象转化为节点对象 */ private PmsProductCategoryNode covert(PmsProductCategory item, List allList) { PmsProductCategoryNode node = new PmsProductCategoryNode(); BeanUtils.copyProperties(item, node); List children = allList.stream() .filter(subItem -> subItem.getParentId().equals(item.getId())) .map(subItem -> covert(subItem, allList)).collect(Collectors.toList()); node.setChildren(children); return node; } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/UmsMemberCacheServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import com.macro.mall.common.service.RedisService; import com.macro.mall.mapper.UmsMemberMapper; import com.macro.mall.model.UmsMember; import com.macro.mall.portal.service.UmsMemberCacheService; import com.macro.mall.security.annotation.CacheException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.stereotype.Service; /** * UmsMemberCacheService实现类 * Created by macro on 2020/3/14. */ @Service public class UmsMemberCacheServiceImpl implements UmsMemberCacheService { @Autowired private RedisService redisService; @Autowired private UmsMemberMapper memberMapper; @Value("${redis.database}") private String REDIS_DATABASE; @Value("${redis.expire.common}") private Long REDIS_EXPIRE; @Value("${redis.expire.authCode}") private Long REDIS_EXPIRE_AUTH_CODE; @Value("${redis.key.member}") private String REDIS_KEY_MEMBER; @Value("${redis.key.authCode}") private String REDIS_KEY_AUTH_CODE; @Override public void delMember(Long memberId) { UmsMember umsMember = memberMapper.selectByPrimaryKey(memberId); if (umsMember != null) { String key = REDIS_DATABASE + ":" + REDIS_KEY_MEMBER + ":" + umsMember.getUsername(); redisService.del(key); } } @Override public UmsMember getMember(String username) { String key = REDIS_DATABASE + ":" + REDIS_KEY_MEMBER + ":" + username; return (UmsMember) redisService.get(key); } @Override public void setMember(UmsMember member) { String key = REDIS_DATABASE + ":" + REDIS_KEY_MEMBER + ":" + member.getUsername(); redisService.set(key, member, REDIS_EXPIRE); } @CacheException @Override public void setAuthCode(String telephone, String authCode) { String key = REDIS_DATABASE + ":" + REDIS_KEY_AUTH_CODE + ":" + telephone; redisService.set(key,authCode,REDIS_EXPIRE_AUTH_CODE); } @CacheException @Override public String getAuthCode(String telephone) { String key = REDIS_DATABASE + ":" + REDIS_KEY_AUTH_CODE + ":" + telephone; return (String) redisService.get(key); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/UmsMemberCouponServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import cn.hutool.core.collection.CollUtil; import com.macro.mall.common.exception.Asserts; import com.macro.mall.mapper.*; import com.macro.mall.model.*; import com.macro.mall.portal.dao.SmsCouponHistoryDao; import com.macro.mall.portal.domain.CartPromotionItem; import com.macro.mall.portal.domain.SmsCouponHistoryDetail; import com.macro.mall.portal.service.UmsMemberCouponService; import com.macro.mall.portal.service.UmsMemberService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import java.math.BigDecimal; import java.util.ArrayList; import java.util.Date; import java.util.List; import java.util.Random; import java.util.stream.Collectors; /** * 会员优惠券管理Service实现类 * Created by macro on 2018/8/29. */ @Service public class UmsMemberCouponServiceImpl implements UmsMemberCouponService { @Autowired private UmsMemberService memberService; @Autowired private SmsCouponMapper couponMapper; @Autowired private SmsCouponHistoryMapper couponHistoryMapper; @Autowired private SmsCouponHistoryDao couponHistoryDao; @Autowired private SmsCouponProductRelationMapper couponProductRelationMapper; @Autowired private SmsCouponProductCategoryRelationMapper couponProductCategoryRelationMapper; @Autowired private PmsProductMapper productMapper; @Override public void add(Long couponId) { UmsMember currentMember = memberService.getCurrentMember(); //获取优惠券信息,判断数量 SmsCoupon coupon = couponMapper.selectByPrimaryKey(couponId); if(coupon==null){ Asserts.fail("优惠券不存在"); } if(coupon.getCount()<=0){ Asserts.fail("优惠券已经领完了"); } Date now = new Date(); if(now.before(coupon.getEnableTime())){ Asserts.fail("优惠券还没到领取时间"); } //判断用户领取的优惠券数量是否超过限制 SmsCouponHistoryExample couponHistoryExample = new SmsCouponHistoryExample(); couponHistoryExample.createCriteria().andCouponIdEqualTo(couponId).andMemberIdEqualTo(currentMember.getId()); long count = couponHistoryMapper.countByExample(couponHistoryExample); if(count>=coupon.getPerLimit()){ Asserts.fail("您已经领取过该优惠券"); } //生成领取优惠券历史 SmsCouponHistory couponHistory = new SmsCouponHistory(); couponHistory.setCouponId(couponId); couponHistory.setCouponCode(generateCouponCode(currentMember.getId())); couponHistory.setCreateTime(now); couponHistory.setMemberId(currentMember.getId()); couponHistory.setMemberNickname(currentMember.getNickname()); //主动领取 couponHistory.setGetType(1); //未使用 couponHistory.setUseStatus(0); couponHistoryMapper.insert(couponHistory); //修改优惠券表的数量、领取数量 coupon.setCount(coupon.getCount()-1); coupon.setReceiveCount(coupon.getReceiveCount()==null?1:coupon.getReceiveCount()+1); couponMapper.updateByPrimaryKey(coupon); } /** * 16位优惠码生成:时间戳后8位+4位随机数+用户id后4位 */ private String generateCouponCode(Long memberId) { StringBuilder sb = new StringBuilder(); Long currentTimeMillis = System.currentTimeMillis(); String timeMillisStr = currentTimeMillis.toString(); sb.append(timeMillisStr.substring(timeMillisStr.length() - 8)); for (int i = 0; i < 4; i++) { sb.append(new Random().nextInt(10)); } String memberIdStr = memberId.toString(); if (memberIdStr.length() <= 4) { sb.append(String.format("%04d", memberId)); } else { sb.append(memberIdStr.substring(memberIdStr.length()-4)); } return sb.toString(); } @Override public List listHistory(Integer useStatus) { UmsMember currentMember = memberService.getCurrentMember(); SmsCouponHistoryExample couponHistoryExample=new SmsCouponHistoryExample(); SmsCouponHistoryExample.Criteria criteria = couponHistoryExample.createCriteria(); criteria.andMemberIdEqualTo(currentMember.getId()); if(useStatus!=null){ criteria.andUseStatusEqualTo(useStatus); } return couponHistoryMapper.selectByExample(couponHistoryExample); } @Override public List listCart(List cartItemList, Integer type) { UmsMember currentMember = memberService.getCurrentMember(); Date now = new Date(); //获取该用户所有优惠券 List allList = couponHistoryDao.getDetailList(currentMember.getId()); //根据优惠券使用类型来判断优惠券是否可用 List enableList = new ArrayList<>(); List disableList = new ArrayList<>(); for (SmsCouponHistoryDetail couponHistoryDetail : allList) { Integer useType = couponHistoryDetail.getCoupon().getUseType(); BigDecimal minPoint = couponHistoryDetail.getCoupon().getMinPoint(); Date endTime = couponHistoryDetail.getCoupon().getEndTime(); if(useType.equals(0)){ //0->全场通用 //判断是否满足优惠起点 //计算购物车商品的总价 BigDecimal totalAmount = calcTotalAmount(cartItemList); if(now.before(endTime)&&totalAmount.subtract(minPoint).floatValue()>=0){ enableList.add(couponHistoryDetail); }else{ disableList.add(couponHistoryDetail); } }else if(useType.equals(1)){ //1->指定分类 //计算指定分类商品的总价 List productCategoryIds = new ArrayList<>(); for (SmsCouponProductCategoryRelation categoryRelation : couponHistoryDetail.getCategoryRelationList()) { productCategoryIds.add(categoryRelation.getProductCategoryId()); } BigDecimal totalAmount = calcTotalAmountByproductCategoryId(cartItemList,productCategoryIds); if(now.before(endTime)&&totalAmount.floatValue()>0&&totalAmount.subtract(minPoint).floatValue()>=0){ enableList.add(couponHistoryDetail); }else{ disableList.add(couponHistoryDetail); } }else if(useType.equals(2)){ //2->指定商品 //计算指定商品的总价 List productIds = new ArrayList<>(); for (SmsCouponProductRelation productRelation : couponHistoryDetail.getProductRelationList()) { productIds.add(productRelation.getProductId()); } BigDecimal totalAmount = calcTotalAmountByProductId(cartItemList,productIds); if(now.before(endTime)&&totalAmount.floatValue()>0&&totalAmount.subtract(minPoint).floatValue()>=0){ enableList.add(couponHistoryDetail); }else{ disableList.add(couponHistoryDetail); } } } if(type.equals(1)){ return enableList; }else{ return disableList; } } @Override public List listByProduct(Long productId) { List allCouponIds = new ArrayList<>(); //获取指定商品优惠券 SmsCouponProductRelationExample cprExample = new SmsCouponProductRelationExample(); cprExample.createCriteria().andProductIdEqualTo(productId); List cprList = couponProductRelationMapper.selectByExample(cprExample); if(CollUtil.isNotEmpty(cprList)){ List couponIds = cprList.stream().map(SmsCouponProductRelation::getCouponId).collect(Collectors.toList()); allCouponIds.addAll(couponIds); } //获取指定分类优惠券 PmsProduct product = productMapper.selectByPrimaryKey(productId); SmsCouponProductCategoryRelationExample cpcrExample = new SmsCouponProductCategoryRelationExample(); cpcrExample.createCriteria().andProductCategoryIdEqualTo(product.getProductCategoryId()); List cpcrList = couponProductCategoryRelationMapper.selectByExample(cpcrExample); if(CollUtil.isNotEmpty(cpcrList)){ List couponIds = cpcrList.stream().map(SmsCouponProductCategoryRelation::getCouponId).collect(Collectors.toList()); allCouponIds.addAll(couponIds); } //所有优惠券 SmsCouponExample couponExample = new SmsCouponExample(); couponExample.createCriteria().andEndTimeGreaterThan(new Date()) .andStartTimeLessThan(new Date()) .andUseTypeEqualTo(0); if(CollUtil.isNotEmpty(allCouponIds)){ couponExample.or(couponExample.createCriteria() .andEndTimeGreaterThan(new Date()) .andStartTimeLessThan(new Date()) .andUseTypeNotEqualTo(0) .andIdIn(allCouponIds)); } return couponMapper.selectByExample(couponExample); } @Override public List list(Integer useStatus) { UmsMember member = memberService.getCurrentMember(); return couponHistoryDao.getCouponList(member.getId(),useStatus); } private BigDecimal calcTotalAmount(List cartItemList) { BigDecimal total = new BigDecimal("0"); for (CartPromotionItem item : cartItemList) { BigDecimal realPrice = item.getPrice().subtract(item.getReduceAmount()); total=total.add(realPrice.multiply(new BigDecimal(item.getQuantity()))); } return total; } private BigDecimal calcTotalAmountByproductCategoryId(List cartItemList,List productCategoryIds) { BigDecimal total = new BigDecimal("0"); for (CartPromotionItem item : cartItemList) { if(productCategoryIds.contains(item.getProductCategoryId())){ BigDecimal realPrice = item.getPrice().subtract(item.getReduceAmount()); total=total.add(realPrice.multiply(new BigDecimal(item.getQuantity()))); } } return total; } private BigDecimal calcTotalAmountByProductId(List cartItemList,List productIds) { BigDecimal total = new BigDecimal("0"); for (CartPromotionItem item : cartItemList) { if(productIds.contains(item.getProductId())){ BigDecimal realPrice = item.getPrice().subtract(item.getReduceAmount()); total=total.add(realPrice.multiply(new BigDecimal(item.getQuantity()))); } } return total; } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/UmsMemberReceiveAddressServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import com.macro.mall.mapper.UmsMemberReceiveAddressMapper; import com.macro.mall.model.UmsMember; import com.macro.mall.model.UmsMemberReceiveAddress; import com.macro.mall.model.UmsMemberReceiveAddressExample; import com.macro.mall.portal.service.UmsMemberReceiveAddressService; import com.macro.mall.portal.service.UmsMemberService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import org.springframework.util.CollectionUtils; import java.util.List; /** * 用户地址管理Service实现类 * Created by macro on 2018/8/28. */ @Service public class UmsMemberReceiveAddressServiceImpl implements UmsMemberReceiveAddressService { @Autowired private UmsMemberService memberService; @Autowired private UmsMemberReceiveAddressMapper addressMapper; @Override public int add(UmsMemberReceiveAddress address) { UmsMember currentMember = memberService.getCurrentMember(); address.setMemberId(currentMember.getId()); return addressMapper.insert(address); } @Override public int delete(Long id) { UmsMember currentMember = memberService.getCurrentMember(); UmsMemberReceiveAddressExample example = new UmsMemberReceiveAddressExample(); example.createCriteria().andMemberIdEqualTo(currentMember.getId()).andIdEqualTo(id); return addressMapper.deleteByExample(example); } @Override public int update(Long id, UmsMemberReceiveAddress address) { address.setId(null); UmsMember currentMember = memberService.getCurrentMember(); UmsMemberReceiveAddressExample example = new UmsMemberReceiveAddressExample(); example.createCriteria().andMemberIdEqualTo(currentMember.getId()).andIdEqualTo(id); if(address.getDefaultStatus()==null){ address.setDefaultStatus(0); } if(address.getDefaultStatus()==1){ //先将原来的默认地址去除 UmsMemberReceiveAddress record= new UmsMemberReceiveAddress(); record.setDefaultStatus(0); UmsMemberReceiveAddressExample updateExample = new UmsMemberReceiveAddressExample(); updateExample.createCriteria() .andMemberIdEqualTo(currentMember.getId()) .andDefaultStatusEqualTo(1); addressMapper.updateByExampleSelective(record,updateExample); } return addressMapper.updateByExampleSelective(address,example); } @Override public List list() { UmsMember currentMember = memberService.getCurrentMember(); UmsMemberReceiveAddressExample example = new UmsMemberReceiveAddressExample(); example.createCriteria().andMemberIdEqualTo(currentMember.getId()); return addressMapper.selectByExample(example); } @Override public UmsMemberReceiveAddress getItem(Long id) { UmsMember currentMember = memberService.getCurrentMember(); UmsMemberReceiveAddressExample example = new UmsMemberReceiveAddressExample(); example.createCriteria().andMemberIdEqualTo(currentMember.getId()).andIdEqualTo(id); List addressList = addressMapper.selectByExample(example); if(!CollectionUtils.isEmpty(addressList)){ return addressList.get(0); } return null; } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/service/impl/UmsMemberServiceImpl.java ================================================ package com.macro.mall.portal.service.impl; import cn.hutool.core.util.StrUtil; import com.macro.mall.common.exception.Asserts; import com.macro.mall.mapper.UmsMemberLevelMapper; import com.macro.mall.mapper.UmsMemberMapper; import com.macro.mall.model.UmsMember; import com.macro.mall.model.UmsMemberExample; import com.macro.mall.model.UmsMemberLevel; import com.macro.mall.model.UmsMemberLevelExample; import com.macro.mall.portal.domain.MemberDetails; import com.macro.mall.portal.service.UmsMemberCacheService; import com.macro.mall.portal.service.UmsMemberService; import com.macro.mall.security.util.JwtTokenUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.security.authentication.BadCredentialsException; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.Authentication; import org.springframework.security.core.AuthenticationException; import org.springframework.security.core.context.SecurityContext; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UsernameNotFoundException; import org.springframework.security.crypto.password.PasswordEncoder; import org.springframework.stereotype.Service; import org.springframework.util.CollectionUtils; import java.util.Date; import java.util.List; import java.util.Random; /** * 会员管理Service实现类 * Created by macro on 2018/8/3. */ @Service public class UmsMemberServiceImpl implements UmsMemberService { private static final Logger LOGGER = LoggerFactory.getLogger(UmsMemberServiceImpl.class); @Autowired private PasswordEncoder passwordEncoder; @Autowired private JwtTokenUtil jwtTokenUtil; @Autowired private UmsMemberMapper memberMapper; @Autowired private UmsMemberLevelMapper memberLevelMapper; @Autowired private UmsMemberCacheService memberCacheService; @Value("${redis.key.authCode}") private String REDIS_KEY_PREFIX_AUTH_CODE; @Value("${redis.expire.authCode}") private Long AUTH_CODE_EXPIRE_SECONDS; @Override public UmsMember getByUsername(String username) { UmsMember member = memberCacheService.getMember(username); if(member!=null) return member; UmsMemberExample example = new UmsMemberExample(); example.createCriteria().andUsernameEqualTo(username); List memberList = memberMapper.selectByExample(example); if (!CollectionUtils.isEmpty(memberList)) { member = memberList.get(0); memberCacheService.setMember(member); return member; } return null; } @Override public UmsMember getById(Long id) { return memberMapper.selectByPrimaryKey(id); } @Override public void register(String username, String password, String telephone, String authCode) { //验证验证码 if(!verifyAuthCode(authCode,telephone)){ Asserts.fail("验证码错误"); } //查询是否已有该用户 UmsMemberExample example = new UmsMemberExample(); example.createCriteria().andUsernameEqualTo(username); example.or(example.createCriteria().andPhoneEqualTo(telephone)); List umsMembers = memberMapper.selectByExample(example); if (!CollectionUtils.isEmpty(umsMembers)) { Asserts.fail("该用户已经存在"); } //没有该用户进行添加操作 UmsMember umsMember = new UmsMember(); umsMember.setUsername(username); umsMember.setPhone(telephone); umsMember.setPassword(passwordEncoder.encode(password)); umsMember.setCreateTime(new Date()); umsMember.setStatus(1); //获取默认会员等级并设置 UmsMemberLevelExample levelExample = new UmsMemberLevelExample(); levelExample.createCriteria().andDefaultStatusEqualTo(1); List memberLevelList = memberLevelMapper.selectByExample(levelExample); if (!CollectionUtils.isEmpty(memberLevelList)) { umsMember.setMemberLevelId(memberLevelList.get(0).getId()); } memberMapper.insert(umsMember); umsMember.setPassword(null); } @Override public String generateAuthCode(String telephone) { StringBuilder sb = new StringBuilder(); Random random = new Random(); for(int i=0;i<6;i++){ sb.append(random.nextInt(10)); } memberCacheService.setAuthCode(telephone,sb.toString()); return sb.toString(); } @Override public void updatePassword(String telephone, String password, String authCode) { UmsMemberExample example = new UmsMemberExample(); example.createCriteria().andPhoneEqualTo(telephone); List memberList = memberMapper.selectByExample(example); if(CollectionUtils.isEmpty(memberList)){ Asserts.fail("该账号不存在"); } //验证验证码 if(!verifyAuthCode(authCode,telephone)){ Asserts.fail("验证码错误"); } UmsMember umsMember = memberList.get(0); umsMember.setPassword(passwordEncoder.encode(password)); memberMapper.updateByPrimaryKeySelective(umsMember); memberCacheService.delMember(umsMember.getId()); } @Override public UmsMember getCurrentMember() { SecurityContext ctx = SecurityContextHolder.getContext(); Authentication auth = ctx.getAuthentication(); MemberDetails memberDetails = (MemberDetails) auth.getPrincipal(); return memberDetails.getUmsMember(); } @Override public void updateIntegration(Long id, Integer integration) { UmsMember record=new UmsMember(); record.setId(id); record.setIntegration(integration); memberMapper.updateByPrimaryKeySelective(record); memberCacheService.delMember(id); } @Override public UserDetails loadUserByUsername(String username) { UmsMember member = getByUsername(username); if(member!=null){ return new MemberDetails(member); } throw new UsernameNotFoundException("用户名或密码错误"); } @Override public String login(String username, String password) { String token = null; //密码需要客户端加密后传递 try { UserDetails userDetails = loadUserByUsername(username); if(!passwordEncoder.matches(password,userDetails.getPassword())){ throw new BadCredentialsException("密码不正确"); } UsernamePasswordAuthenticationToken authentication = new UsernamePasswordAuthenticationToken(userDetails, null, userDetails.getAuthorities()); SecurityContextHolder.getContext().setAuthentication(authentication); token = jwtTokenUtil.generateToken(userDetails); } catch (AuthenticationException e) { LOGGER.warn("登录异常:{}", e.getMessage()); } return token; } @Override public String refreshToken(String token) { return jwtTokenUtil.refreshHeadToken(token); } //对输入的验证码进行校验 private boolean verifyAuthCode(String authCode, String telephone){ if(StrUtil.isEmpty(authCode)){ return false; } String realAuthCode = memberCacheService.getAuthCode(telephone); return authCode.equals(realAuthCode); } } ================================================ FILE: mall-portal/src/main/java/com/macro/mall/portal/util/DateUtil.java ================================================ package com.macro.mall.portal.util; import java.util.Calendar; import java.util.Date; /** * 日期工具类 * Created by macro on 2019/1/29. */ public class DateUtil { /** * 从Date类型的时间中提取日期部分 */ public static Date getDate(Date date) { Calendar calendar = Calendar.getInstance(); calendar.setTime(date); calendar.set(Calendar.HOUR_OF_DAY, 0); calendar.set(Calendar.MINUTE, 0); calendar.set(Calendar.SECOND, 0); return calendar.getTime(); } /** * 从Date类型的时间中提取时间部分 */ public static Date getTime(Date date) { Calendar calendar = Calendar.getInstance(); calendar.setTime(date); calendar.set(Calendar.YEAR, 1970); calendar.set(Calendar.MONTH, 0); calendar.set(Calendar.DAY_OF_MONTH, 1); return calendar.getTime(); } } ================================================ FILE: mall-portal/src/main/resources/application-dev.yml ================================================ server: port: 8085 spring: datasource: url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false username: root password: root druid: initial-size: 5 #连接池初始化大小 min-idle: 10 #最小空闲连接数 max-active: 20 #最大连接数 web-stat-filter: exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" #不统计这些请求数据 stat-view-servlet: #访问监控网页的登录用户名和密码 login-username: druid login-password: druid data: mongodb: host: localhost port: 27017 database: mall-port redis: host: localhost # Redis服务器地址 database: 0 # Redis数据库索引(默认为0) port: 6379 # Redis服务器连接端口 password: # Redis服务器连接密码(默认为空) timeout: 300ms # 连接超时时间(毫秒) rabbitmq: host: localhost port: 5672 virtual-host: /mall username: mall password: mall logging: level: root: info com.macro.mall: debug logstash: host: localhost enableInnerLog: false alipay: gatewayUrl: https://openapi-sandbox.dl.alipaydev.com/gateway.do appId: your appId alipayPublicKey: your alipayPublicKey appPrivateKey: your appPrivateKey returnUrl: http://localhost:8060/#/pages/money/paySuccess notifyUrl: ================================================ FILE: mall-portal/src/main/resources/application-prod.yml ================================================ server: port: 8085 spring: datasource: url: jdbc:mysql://db:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false username: reader password: 123456 druid: initial-size: 5 #连接池初始化大小 min-idle: 10 #最小空闲连接数 max-active: 20 #最大连接数 web-stat-filter: exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" #不统计这些请求数据 stat-view-servlet: #访问监控网页的登录用户名和密码 login-username: druid login-password: druid data: mongodb: host: mongo port: 27017 database: mall-port redis: host: redis # Redis服务器地址 database: 0 # Redis数据库索引(默认为0) port: 6379 # Redis服务器连接端口 password: # Redis服务器连接密码(默认为空) timeout: 300ms # 连接超时时间(毫秒) rabbitmq: host: rabbit port: 5672 virtual-host: /mall username: mall password: mall mongo: insert: sqlEnable: true # 用于控制是否通过数据库数据来插入mongo logging: file: path: /var/logs level: root: info com.macro.mall: info logstash: host: logstash alipay: gatewayUrl: https://openapi-sandbox.dl.alipaydev.com/gateway.do appId: your appId alipayPublicKey: your alipayPublicKey appPrivateKey: your appPrivateKey returnUrl: http://192.168.3.101:8060/#/pages/money/paySuccess notifyUrl: ================================================ FILE: mall-portal/src/main/resources/application.yml ================================================ spring: application: name: mall-portal profiles: active: dev #默认为开发环境 mvc: pathmatch: matching-strategy: ant_path_matcher mybatis: mapper-locations: - classpath:dao/*.xml - classpath*:com/**/mapper/*.xml jwt: tokenHeader: Authorization #JWT存储的请求头 secret: mall-portal-secret #JWT加解密使用的密钥 expiration: 604800 #JWT的超期限时间(60*60*24*7) tokenHead: 'Bearer ' #JWT负载中拿到开头 secure: ignored: urls: #安全路径白名单 - /swagger-ui/ - /swagger-resources/** - /**/v2/api-docs - /**/*.html - /**/*.js - /**/*.css - /**/*.png - /**/*.map - /favicon.ico - /druid/** - /actuator/** - /sso/** - /home/** - /product/** - /brand/** - /alipay/** # 自定义redis key redis: database: mall key: authCode: 'ums:authCode' orderId: 'oms:orderId' member: 'ums:member' expire: authCode: 90 # 验证码超期时间 common: 86400 # 24小时 mongo: insert: sqlEnable: true # 用于控制是否通过数据库数据来插入mongo # 消息队列定义 rabbitmq: queue: name: cancelOrder: cancelOrderQueue ================================================ FILE: mall-portal/src/main/resources/dao/HomeDao.xml ================================================ ================================================ FILE: mall-portal/src/main/resources/dao/PortalOrderDao.xml ================================================ UPDATE pms_sku_stock SET stock = CASE id WHEN #{item.productSkuId} THEN stock - #{item.productQuantity} END, lock_stock = CASE id WHEN #{item.productSkuId} THEN lock_stock - #{item.productQuantity} END WHERE id IN #{item.productSkuId} update oms_order set status=#{status} where id in #{id} UPDATE pms_sku_stock SET lock_stock = CASE id WHEN #{item.productSkuId} THEN lock_stock - #{item.productQuantity} END WHERE id IN #{item.productSkuId} UPDATE pms_sku_stock SET lock_stock = lock_stock + #{quantity} WHERE id = #{productSkuId} AND lock_stock + #{quantity} <= stock UPDATE pms_sku_stock SET lock_stock = lock_stock - #{quantity}, stock = stock - #{quantity} WHERE id = #{productSkuId} AND stock - #{quantity} >= 0 AND lock_stock - #{quantity} >= 0 UPDATE pms_sku_stock SET lock_stock = lock_stock - #{quantity} WHERE id = #{productSkuId} AND lock_stock - #{quantity} >= 0 ================================================ FILE: mall-portal/src/main/resources/dao/PortalOrderItemDao.xml ================================================ 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_category_id, product_sku_code,promotion_name, promotion_amount, coupon_amount, integration_amount, real_amount,product_attr) values (#{item.orderId,jdbcType=BIGINT}, #{item.orderSn,jdbcType=VARCHAR}, #{item.productId,jdbcType=BIGINT}, #{item.productPic,jdbcType=VARCHAR}, #{item.productName,jdbcType=VARCHAR}, #{item.productBrand,jdbcType=VARCHAR}, #{item.productSn,jdbcType=VARCHAR}, #{item.productPrice,jdbcType=DECIMAL}, #{item.productQuantity,jdbcType=INTEGER}, #{item.productSkuId,jdbcType=BIGINT}, #{item.productCategoryId,jdbcType=BIGINT}, #{item.productSkuCode,jdbcType=VARCHAR}, #{item.promotionName,jdbcType=VARCHAR}, #{item.promotionAmount,jdbcType=DECIMAL}, #{item.couponAmount,jdbcType=DECIMAL}, #{item.integrationAmount,jdbcType=DECIMAL}, #{item.realAmount,jdbcType=DECIMAL},#{item.productAttr,jdbcType=VARCHAR}) ================================================ FILE: mall-portal/src/main/resources/dao/PortalProductDao.xml ================================================ ================================================ FILE: mall-portal/src/main/resources/dao/SmsCouponHistoryDao.xml ================================================ ================================================ FILE: mall-portal/src/test/java/com/macro/mall/portal/MallPortalApplicationTests.java ================================================ package com.macro.mall.portal; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest public class MallPortalApplicationTests { @Test public void contextLoads() { } } ================================================ FILE: mall-portal/src/test/java/com/macro/mall/portal/PortalProductDaoTests.java ================================================ package com.macro.mall.portal; import com.macro.mall.portal.dao.PortalProductDao; import com.macro.mall.portal.domain.PromotionProduct; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import java.util.ArrayList; import java.util.List; import static org.junit.jupiter.api.Assertions.assertEquals; /** * Created by macro on 2018/8/27. * 前台商品查询逻辑单元测试 */ @SpringBootTest public class PortalProductDaoTests { @Autowired private PortalProductDao portalProductDao; @Test public void testGetPromotionProductList(){ List ids = new ArrayList<>(); ids.add(26L); ids.add(27L); ids.add(28L); ids.add(29L); List promotionProductList = portalProductDao.getPromotionProductList(ids); assertEquals(4,promotionProductList.size()); } } ================================================ FILE: mall-search/.gitignore ================================================ /target/ !.mvn/wrapper/maven-wrapper.jar ### STS ### .apt_generated .classpath .factorypath .project .settings .springBeans .sts4-cache ### IntelliJ IDEA ### .idea *.iws *.iml *.ipr ### NetBeans ### /nbproject/private/ /build/ /nbbuild/ /dist/ /nbdist/ /.nb-gradle/ ================================================ FILE: mall-search/pom.xml ================================================ 4.0.0 com.macro.mall mall-search 1.0-SNAPSHOT jar mall-search mall-search project for mall com.macro.mall mall 1.0-SNAPSHOT com.macro.mall mall-mbg org.springframework.boot spring-boot-starter-data-redis org.springframework.boot spring-boot-starter-data-elasticsearch org.springframework.boot spring-boot-maven-plugin io.fabric8 docker-maven-plugin ================================================ FILE: mall-search/src/main/java/com/macro/mall/search/MallSearchApplication.java ================================================ package com.macro.mall.search; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication(scanBasePackages = "com.macro.mall") public class MallSearchApplication { public static void main(String[] args) { SpringApplication.run(MallSearchApplication.class, args); } } ================================================ FILE: mall-search/src/main/java/com/macro/mall/search/config/MyBatisConfig.java ================================================ package com.macro.mall.search.config; import org.mybatis.spring.annotation.MapperScan; import org.springframework.context.annotation.Configuration; /** * MyBatis相关配置 * Created by macro on 2019/4/8. */ @Configuration @MapperScan({"com.macro.mall.mapper","com.macro.mall.search.dao"}) public class MyBatisConfig { } ================================================ FILE: mall-search/src/main/java/com/macro/mall/search/config/SwaggerConfig.java ================================================ package com.macro.mall.search.config; import com.macro.mall.common.config.BaseSwaggerConfig; import com.macro.mall.common.domain.SwaggerProperties; import org.springframework.beans.factory.config.BeanPostProcessor; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.swagger2.annotations.EnableSwagger2; /** * Swagger API文档相关配置 * Created by macro on 2018/4/26. */ @Configuration @EnableSwagger2 public class SwaggerConfig extends BaseSwaggerConfig { @Override public SwaggerProperties swaggerProperties() { return SwaggerProperties.builder() .apiBasePackage("com.macro.mall.search.controller") .title("mall搜索系统") .description("mall搜索相关接口文档") .contactName("macro") .version("1.0") .enableSecurity(false) .build(); } @Bean public BeanPostProcessor springfoxHandlerProviderBeanPostProcessor() { return generateBeanPostProcessor(); } } ================================================ FILE: mall-search/src/main/java/com/macro/mall/search/controller/EsProductController.java ================================================ package com.macro.mall.search.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.search.domain.EsProduct; import com.macro.mall.search.domain.EsProductRelatedInfo; import com.macro.mall.search.service.EsProductService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.*; import java.util.List; /** * 搜索商品管理Controller * Created by macro on 2018/6/19. */ @Controller @Api(tags = "EsProductController") @Tag(name = "EsProductController",description = "搜索商品管理") @RequestMapping("/esProduct") public class EsProductController { @Autowired private EsProductService esProductService; @ApiOperation(value = "导入所有数据库中商品到ES") @RequestMapping(value = "/importAll", method = RequestMethod.POST) @ResponseBody public CommonResult importAllList() { int count = esProductService.importAll(); return CommonResult.success(count); } @ApiOperation(value = "根据id删除商品") @RequestMapping(value = "/delete/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult delete(@PathVariable Long id) { esProductService.delete(id); return CommonResult.success(null); } @ApiOperation(value = "根据id批量删除商品") @RequestMapping(value = "/delete/batch", method = RequestMethod.POST) @ResponseBody public CommonResult delete(@RequestParam("ids") List ids) { esProductService.delete(ids); return CommonResult.success(null); } @ApiOperation(value = "根据id创建商品") @RequestMapping(value = "/create/{id}", method = RequestMethod.POST) @ResponseBody public CommonResult create(@PathVariable Long id) { EsProduct esProduct = esProductService.create(id); if (esProduct != null) { return CommonResult.success(esProduct); } else { return CommonResult.failed(); } } @ApiOperation(value = "简单搜索") @RequestMapping(value = "/search/simple", method = RequestMethod.GET) @ResponseBody public CommonResult> search(@RequestParam(required = false) String keyword, @RequestParam(required = false, defaultValue = "0") Integer pageNum, @RequestParam(required = false, defaultValue = "5") Integer pageSize) { Page esProductPage = esProductService.search(keyword, pageNum, pageSize); return CommonResult.success(CommonPage.restPage(esProductPage)); } @ApiOperation(value = "综合搜索、筛选、排序") @ApiImplicitParam(name = "sort", value = "排序字段:0->按相关度;1->按新品;2->按销量;3->价格从低到高;4->价格从高到低", defaultValue = "0", allowableValues = "0,1,2,3,4", paramType = "query", dataType = "integer") @RequestMapping(value = "/search", method = RequestMethod.GET) @ResponseBody public CommonResult> search(@RequestParam(required = false) String keyword, @RequestParam(required = false) Long brandId, @RequestParam(required = false) Long productCategoryId, @RequestParam(required = false, defaultValue = "0") Integer pageNum, @RequestParam(required = false, defaultValue = "5") Integer pageSize, @RequestParam(required = false, defaultValue = "0") Integer sort) { Page esProductPage = esProductService.search(keyword, brandId, productCategoryId, pageNum, pageSize, sort); return CommonResult.success(CommonPage.restPage(esProductPage)); } @ApiOperation(value = "根据商品id推荐商品") @RequestMapping(value = "/recommend/{id}", method = RequestMethod.GET) @ResponseBody public CommonResult> recommend(@PathVariable Long id, @RequestParam(required = false, defaultValue = "0") Integer pageNum, @RequestParam(required = false, defaultValue = "5") Integer pageSize) { Page esProductPage = esProductService.recommend(id, pageNum, pageSize); return CommonResult.success(CommonPage.restPage(esProductPage)); } @ApiOperation(value = "获取搜索的相关品牌、分类及筛选属性") @RequestMapping(value = "/search/relate", method = RequestMethod.GET) @ResponseBody public CommonResult searchRelatedInfo(@RequestParam(required = false) String keyword) { EsProductRelatedInfo productRelatedInfo = esProductService.searchRelatedInfo(keyword); return CommonResult.success(productRelatedInfo); } } ================================================ FILE: mall-search/src/main/java/com/macro/mall/search/dao/EsProductDao.java ================================================ package com.macro.mall.search.dao; import com.macro.mall.search.domain.EsProduct; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 搜索商品管理自定义Dao * Created by macro on 2018/6/19. */ public interface EsProductDao { /** * 获取指定ID的搜索商品 */ List getAllEsProductList(@Param("id") Long id); } ================================================ FILE: mall-search/src/main/java/com/macro/mall/search/domain/EsProduct.java ================================================ package com.macro.mall.search.domain; import lombok.Data; import lombok.EqualsAndHashCode; import org.springframework.data.annotation.Id; import org.springframework.data.elasticsearch.annotations.Document; import org.springframework.data.elasticsearch.annotations.Field; import org.springframework.data.elasticsearch.annotations.FieldType; import org.springframework.data.elasticsearch.annotations.Setting; import java.io.Serializable; import java.math.BigDecimal; import java.util.List; /** * 搜索商品的信息 * Created by macro on 2018/6/19. */ @Data @EqualsAndHashCode @Document(indexName = "pms") @Setting(shards = 1,replicas = 0) public class EsProduct implements Serializable { private static final long serialVersionUID = -1L; @Id private Long id; @Field(type = FieldType.Keyword) private String productSn; private Long brandId; @Field(type = FieldType.Keyword) private String brandName; private Long productCategoryId; @Field(type = FieldType.Keyword) private String productCategoryName; private String pic; @Field(analyzer = "ik_max_word",type = FieldType.Text) private String name; @Field(analyzer = "ik_max_word",type = FieldType.Text) private String subTitle; @Field(analyzer = "ik_max_word",type = FieldType.Text) private String keywords; private BigDecimal price; private Integer sale; private Integer newStatus; private Integer recommandStatus; private Integer stock; private Integer promotionType; private Integer sort; @Field(type = FieldType.Nested, fielddata = true) private List attrValueList; } ================================================ FILE: mall-search/src/main/java/com/macro/mall/search/domain/EsProductAttributeValue.java ================================================ package com.macro.mall.search.domain; import lombok.Data; import lombok.EqualsAndHashCode; import org.springframework.data.elasticsearch.annotations.Field; import org.springframework.data.elasticsearch.annotations.FieldType; import java.io.Serializable; /** * 搜索商品的属性信息 * Created by macro on 2018/6/27. */ @Data @EqualsAndHashCode public class EsProductAttributeValue implements Serializable { private static final long serialVersionUID = 1L; private Long id; private Long productAttributeId; //属性值 @Field(type = FieldType.Keyword) private String value; //属性参数:0->规格;1->参数 private Integer type; //属性名称 @Field(type=FieldType.Keyword) private String name; } ================================================ FILE: mall-search/src/main/java/com/macro/mall/search/domain/EsProductRelatedInfo.java ================================================ package com.macro.mall.search.domain; import lombok.Data; import lombok.EqualsAndHashCode; import java.util.List; /** * 搜索商品的关联信息,包括品牌名称,分类名称及属性 * Created by macro on 2018/6/27. */ @Data @EqualsAndHashCode public class EsProductRelatedInfo { private List brandNames; private List productCategoryNames; private List productAttrs; @Data @EqualsAndHashCode public static class ProductAttr { private Long attrId; private String attrName; private List attrValues; } } ================================================ FILE: mall-search/src/main/java/com/macro/mall/search/repository/EsProductRepository.java ================================================ package com.macro.mall.search.repository; import com.macro.mall.search.domain.EsProduct; import org.springframework.data.domain.Page; import org.springframework.data.domain.Pageable; import org.springframework.data.elasticsearch.repository.ElasticsearchRepository; /** * 搜索商品ES操作类 * Created by macro on 2018/6/19. */ public interface EsProductRepository extends ElasticsearchRepository { /** * 搜索查询 * * @param name 商品名称 * @param subTitle 商品标题 * @param keywords 商品关键字 * @param page 分页信息 */ Page findByNameOrSubTitleOrKeywords(String name, String subTitle, String keywords,Pageable page); } ================================================ FILE: mall-search/src/main/java/com/macro/mall/search/service/EsProductService.java ================================================ package com.macro.mall.search.service; import com.macro.mall.search.domain.EsProduct; import com.macro.mall.search.domain.EsProductRelatedInfo; import org.springframework.data.domain.Page; import java.util.List; /** * 搜索商品管理Service * Created by macro on 2018/6/19. */ public interface EsProductService { /** * 从数据库中导入所有商品到ES */ int importAll(); /** * 根据id删除商品 */ void delete(Long id); /** * 根据id创建商品 */ EsProduct create(Long id); /** * 批量删除商品 */ void delete(List ids); /** * 根据关键字通过名称或副标题查询商品 */ Page search(String keyword, Integer pageNum, Integer pageSize); /** * 根据关键字通过名称或副标题复合查询商品 */ Page search(String keyword, Long brandId, Long productCategoryId, Integer pageNum, Integer pageSize,Integer sort); /** * 根据商品id推荐相关商品 */ Page recommend(Long id, Integer pageNum, Integer pageSize); /** * 搜索关键字相关品牌、分类、属性 */ EsProductRelatedInfo searchRelatedInfo(String keyword); } ================================================ FILE: mall-search/src/main/java/com/macro/mall/search/service/impl/EsProductServiceImpl.java ================================================ package com.macro.mall.search.service.impl; import cn.hutool.core.collection.ListUtil; import cn.hutool.core.util.StrUtil; import com.macro.mall.search.dao.EsProductDao; import com.macro.mall.search.domain.EsProduct; import com.macro.mall.search.domain.EsProductRelatedInfo; import com.macro.mall.search.repository.EsProductRepository; import com.macro.mall.search.service.EsProductService; import org.elasticsearch.common.lucene.search.function.FunctionScoreQuery; import org.elasticsearch.index.query.BoolQueryBuilder; import org.elasticsearch.index.query.QueryBuilders; import org.elasticsearch.index.query.functionscore.FunctionScoreQueryBuilder; import org.elasticsearch.index.query.functionscore.ScoreFunctionBuilders; import org.elasticsearch.search.aggregations.AbstractAggregationBuilder; import org.elasticsearch.search.aggregations.Aggregation; import org.elasticsearch.search.aggregations.AggregationBuilders; import org.elasticsearch.search.aggregations.Aggregations; import org.elasticsearch.search.aggregations.bucket.filter.ParsedFilter; import org.elasticsearch.search.aggregations.bucket.nested.ParsedNested; import org.elasticsearch.search.aggregations.bucket.terms.ParsedLongTerms; import org.elasticsearch.search.aggregations.bucket.terms.ParsedStringTerms; import org.elasticsearch.search.aggregations.bucket.terms.Terms; import org.elasticsearch.search.sort.SortBuilders; import org.elasticsearch.search.sort.SortOrder; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageImpl; import org.springframework.data.domain.PageRequest; import org.springframework.data.domain.Pageable; import org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate; import org.springframework.data.elasticsearch.core.SearchHit; import org.springframework.data.elasticsearch.core.SearchHits; import org.springframework.data.elasticsearch.core.query.NativeSearchQuery; import org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilder; import org.springframework.stereotype.Service; import org.springframework.util.CollectionUtils; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.Map; import java.util.stream.Collectors; /** * 搜索商品管理Service实现类 * Created by macro on 2018/6/19. */ @Service public class EsProductServiceImpl implements EsProductService { private static final Logger LOGGER = LoggerFactory.getLogger(EsProductServiceImpl.class); @Autowired private EsProductDao productDao; @Autowired private EsProductRepository productRepository; @Autowired private ElasticsearchRestTemplate elasticsearchRestTemplate; @Override public int importAll() { List esProductList = productDao.getAllEsProductList(null); Iterable esProductIterable = productRepository.saveAll(esProductList); Iterator iterator = esProductIterable.iterator(); int result = 0; while (iterator.hasNext()) { result++; iterator.next(); } return result; } @Override public void delete(Long id) { productRepository.deleteById(id); } @Override public EsProduct create(Long id) { EsProduct result = null; List esProductList = productDao.getAllEsProductList(id); if (esProductList.size() > 0) { EsProduct esProduct = esProductList.get(0); result = productRepository.save(esProduct); } return result; } @Override public void delete(List ids) { if (!CollectionUtils.isEmpty(ids)) { List esProductList = new ArrayList<>(); for (Long id : ids) { EsProduct esProduct = new EsProduct(); esProduct.setId(id); esProductList.add(esProduct); } productRepository.deleteAll(esProductList); } } @Override public Page search(String keyword, Integer pageNum, Integer pageSize) { Pageable pageable = PageRequest.of(pageNum, pageSize); return productRepository.findByNameOrSubTitleOrKeywords(keyword, keyword, keyword, pageable); } @Override public Page search(String keyword, Long brandId, Long productCategoryId, Integer pageNum, Integer pageSize,Integer sort) { Pageable pageable = PageRequest.of(pageNum, pageSize); NativeSearchQueryBuilder nativeSearchQueryBuilder = new NativeSearchQueryBuilder(); //分页 nativeSearchQueryBuilder.withPageable(pageable); //过滤 if (brandId != null || productCategoryId != null) { BoolQueryBuilder boolQueryBuilder = QueryBuilders.boolQuery(); if (brandId != null) { boolQueryBuilder.must(QueryBuilders.termQuery("brandId", brandId)); } if (productCategoryId != null) { boolQueryBuilder.must(QueryBuilders.termQuery("productCategoryId", productCategoryId)); } nativeSearchQueryBuilder.withFilter(boolQueryBuilder); } //搜索 if (StrUtil.isEmpty(keyword)) { nativeSearchQueryBuilder.withQuery(QueryBuilders.matchAllQuery()); } else { List filterFunctionBuilders = new ArrayList<>(); filterFunctionBuilders.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(QueryBuilders.matchQuery("name", keyword), ScoreFunctionBuilders.weightFactorFunction(10))); filterFunctionBuilders.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(QueryBuilders.matchQuery("subTitle", keyword), ScoreFunctionBuilders.weightFactorFunction(5))); filterFunctionBuilders.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(QueryBuilders.matchQuery("keywords", keyword), ScoreFunctionBuilders.weightFactorFunction(2))); FunctionScoreQueryBuilder.FilterFunctionBuilder[] builders = new FunctionScoreQueryBuilder.FilterFunctionBuilder[filterFunctionBuilders.size()]; filterFunctionBuilders.toArray(builders); FunctionScoreQueryBuilder functionScoreQueryBuilder = QueryBuilders.functionScoreQuery(builders) .scoreMode(FunctionScoreQuery.ScoreMode.SUM) .setMinScore(2); nativeSearchQueryBuilder.withQuery(functionScoreQueryBuilder); } //排序 if(sort==1){ //按新品从新到旧 nativeSearchQueryBuilder.withSorts(SortBuilders.fieldSort("id").order(SortOrder.DESC)); }else if(sort==2){ //按销量从高到低 nativeSearchQueryBuilder.withSorts(SortBuilders.fieldSort("sale").order(SortOrder.DESC)); }else if(sort==3){ //按价格从低到高 nativeSearchQueryBuilder.withSorts(SortBuilders.fieldSort("price").order(SortOrder.ASC)); }else if(sort==4){ //按价格从高到低 nativeSearchQueryBuilder.withSorts(SortBuilders.fieldSort("price").order(SortOrder.DESC)); }else{ //按相关度 nativeSearchQueryBuilder.withSorts(SortBuilders.scoreSort().order(SortOrder.DESC)); } nativeSearchQueryBuilder.withSorts(SortBuilders.scoreSort().order(SortOrder.DESC)); NativeSearchQuery searchQuery = nativeSearchQueryBuilder.build(); LOGGER.info("DSL:{}", searchQuery.getQuery().toString()); SearchHits searchHits = elasticsearchRestTemplate.search(searchQuery, EsProduct.class); if(searchHits.getTotalHits()<=0){ return new PageImpl<>(ListUtil.empty(),pageable,0); } List searchProductList = searchHits.stream().map(SearchHit::getContent).collect(Collectors.toList()); return new PageImpl<>(searchProductList,pageable,searchHits.getTotalHits()); } @Override public Page recommend(Long id, Integer pageNum, Integer pageSize) { Pageable pageable = PageRequest.of(pageNum, pageSize); List esProductList = productDao.getAllEsProductList(id); if (esProductList.size() > 0) { EsProduct esProduct = esProductList.get(0); String keyword = esProduct.getName(); Long brandId = esProduct.getBrandId(); Long productCategoryId = esProduct.getProductCategoryId(); //根据商品标题、品牌、分类进行搜索 List filterFunctionBuilders = new ArrayList<>(); filterFunctionBuilders.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(QueryBuilders.matchQuery("name", keyword), ScoreFunctionBuilders.weightFactorFunction(8))); filterFunctionBuilders.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(QueryBuilders.matchQuery("subTitle", keyword), ScoreFunctionBuilders.weightFactorFunction(2))); filterFunctionBuilders.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(QueryBuilders.matchQuery("keywords", keyword), ScoreFunctionBuilders.weightFactorFunction(2))); filterFunctionBuilders.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(QueryBuilders.matchQuery("brandId", brandId), ScoreFunctionBuilders.weightFactorFunction(5))); filterFunctionBuilders.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(QueryBuilders.matchQuery("productCategoryId", productCategoryId), ScoreFunctionBuilders.weightFactorFunction(3))); FunctionScoreQueryBuilder.FilterFunctionBuilder[] builders = new FunctionScoreQueryBuilder.FilterFunctionBuilder[filterFunctionBuilders.size()]; filterFunctionBuilders.toArray(builders); FunctionScoreQueryBuilder functionScoreQueryBuilder = QueryBuilders.functionScoreQuery(builders) .scoreMode(FunctionScoreQuery.ScoreMode.SUM) .setMinScore(2); //用于过滤掉相同的商品 BoolQueryBuilder boolQueryBuilder = new BoolQueryBuilder(); boolQueryBuilder.mustNot(QueryBuilders.termQuery("id",id)); //构建查询条件 NativeSearchQueryBuilder builder = new NativeSearchQueryBuilder(); builder.withQuery(functionScoreQueryBuilder); builder.withFilter(boolQueryBuilder); builder.withPageable(pageable); NativeSearchQuery searchQuery = builder.build(); LOGGER.info("DSL:{}", searchQuery.getQuery().toString()); SearchHits searchHits = elasticsearchRestTemplate.search(searchQuery, EsProduct.class); if(searchHits.getTotalHits()<=0){ return new PageImpl<>(ListUtil.empty(),pageable,0); } List searchProductList = searchHits.stream().map(SearchHit::getContent).collect(Collectors.toList()); return new PageImpl<>(searchProductList,pageable,searchHits.getTotalHits()); } return new PageImpl<>(ListUtil.empty()); } @Override public EsProductRelatedInfo searchRelatedInfo(String keyword) { NativeSearchQueryBuilder builder = new NativeSearchQueryBuilder(); //搜索条件 if(StrUtil.isEmpty(keyword)){ builder.withQuery(QueryBuilders.matchAllQuery()); }else{ builder.withQuery(QueryBuilders.multiMatchQuery(keyword,"name","subTitle","keywords")); } //聚合搜索品牌名称 builder.withAggregations(AggregationBuilders.terms("brandNames").field("brandName")); //聚合搜索分类名称 builder.withAggregations(AggregationBuilders.terms("productCategoryNames").field("productCategoryName")); //聚合搜索商品属性,去除type=0的属性 AbstractAggregationBuilder aggregationBuilder = AggregationBuilders.nested("allAttrValues","attrValueList") .subAggregation(AggregationBuilders.filter("productAttrs",QueryBuilders.termQuery("attrValueList.type",1)) .subAggregation(AggregationBuilders.terms("attrIds") .field("attrValueList.productAttributeId") .subAggregation(AggregationBuilders.terms("attrValues") .field("attrValueList.value")) .subAggregation(AggregationBuilders.terms("attrNames") .field("attrValueList.name")))); builder.withAggregations(aggregationBuilder); NativeSearchQuery searchQuery = builder.build(); SearchHits searchHits = elasticsearchRestTemplate.search(searchQuery, EsProduct.class); return convertProductRelatedInfo(searchHits); } /** * 将返回结果转换为对象 */ private EsProductRelatedInfo convertProductRelatedInfo(SearchHits response) { EsProductRelatedInfo productRelatedInfo = new EsProductRelatedInfo(); Map aggregationMap = ((Aggregations)response.getAggregations().aggregations()).asMap(); //设置品牌 Aggregation brandNames = aggregationMap.get("brandNames"); List brandNameList = new ArrayList<>(); for(int i = 0; i<((Terms) brandNames).getBuckets().size(); i++){ brandNameList.add(((Terms) brandNames).getBuckets().get(i).getKeyAsString()); } productRelatedInfo.setBrandNames(brandNameList); //设置分类 Aggregation productCategoryNames = aggregationMap.get("productCategoryNames"); List productCategoryNameList = new ArrayList<>(); for(int i=0;i<((Terms) productCategoryNames).getBuckets().size();i++){ productCategoryNameList.add(((Terms) productCategoryNames).getBuckets().get(i).getKeyAsString()); } productRelatedInfo.setProductCategoryNames(productCategoryNameList); //设置参数 Aggregation productAttrs = aggregationMap.get("allAttrValues"); List attrIds = ((ParsedLongTerms) ((ParsedFilter) ((ParsedNested) productAttrs).getAggregations().get("productAttrs")).getAggregations().get("attrIds")).getBuckets(); List attrList = new ArrayList<>(); for (Terms.Bucket attrId : attrIds) { EsProductRelatedInfo.ProductAttr attr = new EsProductRelatedInfo.ProductAttr(); attr.setAttrId((Long) attrId.getKey()); List attrValueList = new ArrayList<>(); List attrValues = ((ParsedStringTerms) attrId.getAggregations().get("attrValues")).getBuckets(); List attrNames = ((ParsedStringTerms) attrId.getAggregations().get("attrNames")).getBuckets(); for (Terms.Bucket attrValue : attrValues) { attrValueList.add(attrValue.getKeyAsString()); } attr.setAttrValues(attrValueList); if(!CollectionUtils.isEmpty(attrNames)){ String attrName = attrNames.get(0).getKeyAsString(); attr.setAttrName(attrName); } attrList.add(attr); } productRelatedInfo.setProductAttrs(attrList); return productRelatedInfo; } } ================================================ FILE: mall-search/src/main/resources/application-dev.yml ================================================ spring: datasource: url: jdbc:mysql://localhost:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false username: root password: root druid: initial-size: 5 #连接池初始化大小 min-idle: 10 #最小空闲连接数 max-active: 20 #最大连接数 web-stat-filter: exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" #不统计这些请求数据 stat-view-servlet: #访问监控网页的登录用户名和密码 login-username: druid login-password: druid data: elasticsearch: repositories: enabled: true elasticsearch: uris: localhost:9200 logging: level: root: info com.macro.mall: debug logstash: host: localhost enableInnerLog: false ================================================ FILE: mall-search/src/main/resources/application-prod.yml ================================================ spring: datasource: url: jdbc:mysql://db:3306/mall?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&useSSL=false username: reader password: 123456 druid: initial-size: 5 #连接池初始化大小 min-idle: 10 #最小空闲连接数 max-active: 20 #最大连接数 web-stat-filter: exclusions: "*.js,*.gif,*.jpg,*.png,*.css,*.ico,/druid/*" #不统计这些请求数据 stat-view-servlet: #访问监控网页的登录用户名和密码 login-username: druid login-password: druid data: elasticsearch: repositories: enabled: true elasticsearch: uris: es:9200 logging: file: path: /var/logs level: root: info com.macro.mall: info logstash: host: logstash ================================================ FILE: mall-search/src/main/resources/application.yml ================================================ spring: application: name: mall-search profiles: active: dev #默认为开发环境 mvc: pathmatch: matching-strategy: ant_path_matcher server: port: 8081 mybatis: mapper-locations: - classpath:dao/*.xml - classpath*:com/**/mapper/*.xml ================================================ FILE: mall-search/src/main/resources/dao/EsProductDao.xml ================================================ ================================================ FILE: mall-search/src/test/java/com/macro/mall/search/MallSearchApplicationTests.java ================================================ package com.macro.mall.search; import com.macro.mall.search.dao.EsProductDao; import com.macro.mall.search.domain.EsProduct; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate; import org.springframework.data.elasticsearch.core.IndexOperations; import org.springframework.test.context.junit4.SpringRunner; import java.util.List; import java.util.Map; @SpringBootTest public class MallSearchApplicationTests { @Autowired private EsProductDao productDao; @Autowired private ElasticsearchRestTemplate elasticsearchTemplate; @Test public void contextLoads() { } @Test public void testGetAllEsProductList(){ List esProductList = productDao.getAllEsProductList(null); System.out.print(esProductList); } @Test public void testEsProductMapping(){ IndexOperations indexOperations = elasticsearchTemplate.indexOps(EsProduct.class); indexOperations.putMapping(indexOperations.createMapping(EsProduct.class)); Map mapping = indexOperations.getMapping(); System.out.println(mapping); } } ================================================ FILE: mall-security/.gitignore ================================================ HELP.md target/ !.mvn/wrapper/maven-wrapper.jar !**/src/main/** !**/src/test/** ### STS ### .apt_generated .classpath .factorypath .project .settings .springBeans .sts4-cache ### IntelliJ IDEA ### .idea *.iws *.iml *.ipr ### NetBeans ### /nbproject/private/ /nbbuild/ /dist/ /nbdist/ /.nb-gradle/ build/ ### VS Code ### .vscode/ ================================================ FILE: mall-security/pom.xml ================================================ 4.0.0 com.macro.mall mall-security 1.0-SNAPSHOT jar mall-security mall-security project for mall com.macro.mall mall 1.0-SNAPSHOT com.macro.mall mall-common org.springframework.boot spring-boot-starter-web org.springframework.boot spring-boot-starter-security org.springframework.boot spring-boot-starter-data-redis io.jsonwebtoken jjwt ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/annotation/CacheException.java ================================================ package com.macro.mall.security.annotation; import java.lang.annotation.*; /** * 自定义缓存异常注解,有该注解的缓存方法会抛出异常 * Created by macro on 2020/3/17. */ @Documented @Target(ElementType.METHOD) @Retention(RetentionPolicy.RUNTIME) public @interface CacheException { } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/aspect/RedisCacheAspect.java ================================================ package com.macro.mall.security.aspect; import com.macro.mall.security.annotation.CacheException; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.Signature; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.Pointcut; import org.aspectj.lang.reflect.MethodSignature; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.core.annotation.Order; import org.springframework.stereotype.Component; import java.lang.reflect.Method; /** * Redis缓存切面,防止Redis宕机影响正常业务逻辑 * Created by macro on 2020/3/17. */ @Aspect @Component @Order(2) public class RedisCacheAspect { private static final Logger LOGGER = LoggerFactory.getLogger(RedisCacheAspect.class); @Pointcut("execution(public * com.macro.mall.portal.service.*CacheService.*(..)) || execution(public * com.macro.mall.service.*CacheService.*(..))") public void cacheAspect() { } @Around("cacheAspect()") public Object doAround(ProceedingJoinPoint joinPoint) throws Throwable { Signature signature = joinPoint.getSignature(); MethodSignature methodSignature = (MethodSignature) signature; Method method = methodSignature.getMethod(); Object result = null; try { result = joinPoint.proceed(); } catch (Throwable throwable) { //有CacheException注解的方法需要抛出异常 if (method.isAnnotationPresent(CacheException.class)) { throw throwable; } else { LOGGER.error(throwable.getMessage()); } } return result; } } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/component/DynamicAccessDecisionManager.java ================================================ package com.macro.mall.security.component; import cn.hutool.core.collection.CollUtil; import org.springframework.security.access.AccessDecisionManager; import org.springframework.security.access.AccessDeniedException; import org.springframework.security.access.ConfigAttribute; import org.springframework.security.authentication.InsufficientAuthenticationException; import org.springframework.security.core.Authentication; import org.springframework.security.core.GrantedAuthority; import java.util.Collection; import java.util.Iterator; /** * 动态权限决策管理器,用于判断用户是否有访问权限 * Created by macro on 2020/2/7. */ public class DynamicAccessDecisionManager implements AccessDecisionManager { @Override public void decide(Authentication authentication, Object object, Collection configAttributes) throws AccessDeniedException, InsufficientAuthenticationException { // 当接口未被配置资源时直接放行 if (CollUtil.isEmpty(configAttributes)) { return; } Iterator iterator = configAttributes.iterator(); while (iterator.hasNext()) { ConfigAttribute configAttribute = iterator.next(); //将访问所需资源或用户拥有资源进行比对 String needAuthority = configAttribute.getAttribute(); for (GrantedAuthority grantedAuthority : authentication.getAuthorities()) { if (needAuthority.trim().equals(grantedAuthority.getAuthority())) { return; } } } throw new AccessDeniedException("抱歉,您没有访问权限"); } @Override public boolean supports(ConfigAttribute configAttribute) { return true; } @Override public boolean supports(Class aClass) { return true; } } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/component/DynamicSecurityFilter.java ================================================ package com.macro.mall.security.component; import com.macro.mall.security.config.IgnoreUrlsConfig; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpMethod; import org.springframework.security.access.SecurityMetadataSource; import org.springframework.security.access.intercept.AbstractSecurityInterceptor; import org.springframework.security.access.intercept.InterceptorStatusToken; import org.springframework.security.web.FilterInvocation; import org.springframework.util.AntPathMatcher; import org.springframework.util.PathMatcher; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import java.io.IOException; /** * 动态权限过滤器,用于实现基于路径的动态权限过滤 * Created by macro on 2020/2/7. */ public class DynamicSecurityFilter extends AbstractSecurityInterceptor implements Filter { @Autowired private DynamicSecurityMetadataSource dynamicSecurityMetadataSource; @Autowired private IgnoreUrlsConfig ignoreUrlsConfig; @Autowired public void setMyAccessDecisionManager(DynamicAccessDecisionManager dynamicAccessDecisionManager) { super.setAccessDecisionManager(dynamicAccessDecisionManager); } @Override public void init(FilterConfig filterConfig) throws ServletException { } @Override public void doFilter(ServletRequest servletRequest, ServletResponse servletResponse, FilterChain filterChain) throws IOException, ServletException { HttpServletRequest request = (HttpServletRequest) servletRequest; FilterInvocation fi = new FilterInvocation(servletRequest, servletResponse, filterChain); //OPTIONS请求直接放行 if(request.getMethod().equals(HttpMethod.OPTIONS.toString())){ fi.getChain().doFilter(fi.getRequest(), fi.getResponse()); return; } //白名单请求直接放行 PathMatcher pathMatcher = new AntPathMatcher(); for (String path : ignoreUrlsConfig.getUrls()) { if(pathMatcher.match(path,request.getRequestURI())){ fi.getChain().doFilter(fi.getRequest(), fi.getResponse()); return; } } //此处会调用AccessDecisionManager中的decide方法进行鉴权操作 InterceptorStatusToken token = super.beforeInvocation(fi); try { fi.getChain().doFilter(fi.getRequest(), fi.getResponse()); } finally { super.afterInvocation(token, null); } } @Override public void destroy() { } @Override public Class getSecureObjectClass() { return FilterInvocation.class; } @Override public SecurityMetadataSource obtainSecurityMetadataSource() { return dynamicSecurityMetadataSource; } } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/component/DynamicSecurityMetadataSource.java ================================================ package com.macro.mall.security.component; import cn.hutool.core.util.URLUtil; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.security.access.ConfigAttribute; import org.springframework.security.web.FilterInvocation; import org.springframework.security.web.access.intercept.FilterInvocationSecurityMetadataSource; import org.springframework.util.AntPathMatcher; import org.springframework.util.PathMatcher; import javax.annotation.PostConstruct; import java.util.*; /** * 动态权限数据源,用于获取动态权限规则 * Created by macro on 2020/2/7. */ public class DynamicSecurityMetadataSource implements FilterInvocationSecurityMetadataSource { private static Map configAttributeMap = null; @Autowired private DynamicSecurityService dynamicSecurityService; @PostConstruct public void loadDataSource() { configAttributeMap = dynamicSecurityService.loadDataSource(); } public void clearDataSource() { configAttributeMap.clear(); configAttributeMap = null; } @Override public Collection getAttributes(Object o) throws IllegalArgumentException { if (configAttributeMap == null) this.loadDataSource(); List configAttributes = new ArrayList<>(); //获取当前访问的路径 String url = ((FilterInvocation) o).getRequestUrl(); String path = URLUtil.getPath(url); PathMatcher pathMatcher = new AntPathMatcher(); Iterator iterator = configAttributeMap.keySet().iterator(); //获取访问该路径所需资源 while (iterator.hasNext()) { String pattern = iterator.next(); if (pathMatcher.match(pattern, path)) { configAttributes.add(configAttributeMap.get(pattern)); } } // 未设置操作请求权限,返回空集合 return configAttributes; } @Override public Collection getAllConfigAttributes() { return null; } @Override public boolean supports(Class aClass) { return true; } } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/component/DynamicSecurityService.java ================================================ package com.macro.mall.security.component; import org.springframework.security.access.ConfigAttribute; import java.util.Map; /** * 动态权限相关业务接口 * Created by macro on 2020/2/7. */ public interface DynamicSecurityService { /** * 加载资源ANT通配符和资源对应MAP */ Map loadDataSource(); } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/component/JwtAuthenticationTokenFilter.java ================================================ package com.macro.mall.security.component; import com.macro.mall.security.util.JwtTokenUtil; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.security.authentication.UsernamePasswordAuthenticationToken; import org.springframework.security.core.context.SecurityContextHolder; import org.springframework.security.core.userdetails.UserDetails; import org.springframework.security.core.userdetails.UserDetailsService; import org.springframework.security.web.authentication.WebAuthenticationDetailsSource; import org.springframework.web.filter.OncePerRequestFilter; import javax.servlet.FilterChain; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * JWT登录授权过滤器 * Created by macro on 2018/4/26. */ public class JwtAuthenticationTokenFilter extends OncePerRequestFilter { private static final Logger LOGGER = LoggerFactory.getLogger(JwtAuthenticationTokenFilter.class); @Autowired private UserDetailsService userDetailsService; @Autowired private JwtTokenUtil jwtTokenUtil; @Value("${jwt.tokenHeader}") private String tokenHeader; @Value("${jwt.tokenHead}") private String tokenHead; @Override protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain chain) throws ServletException, IOException { String authHeader = request.getHeader(this.tokenHeader); if (authHeader != null && authHeader.startsWith(this.tokenHead)) { String authToken = authHeader.substring(this.tokenHead.length());// The part after "Bearer " String username = jwtTokenUtil.getUserNameFromToken(authToken); LOGGER.info("checking username:{}", username); if (username != null && SecurityContextHolder.getContext().getAuthentication() == null) { UserDetails userDetails = this.userDetailsService.loadUserByUsername(username); if (jwtTokenUtil.validateToken(authToken, userDetails)) { UsernamePasswordAuthenticationToken authentication = new UsernamePasswordAuthenticationToken(userDetails, null, userDetails.getAuthorities()); authentication.setDetails(new WebAuthenticationDetailsSource().buildDetails(request)); LOGGER.info("authenticated user:{}", username); SecurityContextHolder.getContext().setAuthentication(authentication); } } } chain.doFilter(request, response); } } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/component/RestAuthenticationEntryPoint.java ================================================ package com.macro.mall.security.component; import cn.hutool.json.JSONUtil; import com.macro.mall.common.api.CommonResult; import org.springframework.security.core.AuthenticationException; import org.springframework.security.web.AuthenticationEntryPoint; import org.springframework.stereotype.Component; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * 自定义未登录或者token失效时的返回结果 * Created by macro on 2018/5/14. */ public class RestAuthenticationEntryPoint implements AuthenticationEntryPoint { @Override public void commence(HttpServletRequest request, HttpServletResponse response, AuthenticationException authException) throws IOException, ServletException { response.setHeader("Access-Control-Allow-Origin", "*"); response.setHeader("Cache-Control","no-cache"); response.setCharacterEncoding("UTF-8"); response.setContentType("application/json"); response.getWriter().println(JSONUtil.parse(CommonResult.unauthorized(authException.getMessage()))); response.getWriter().flush(); } } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/component/RestfulAccessDeniedHandler.java ================================================ package com.macro.mall.security.component; import cn.hutool.json.JSONUtil; import com.macro.mall.common.api.CommonResult; import org.springframework.security.access.AccessDeniedException; import org.springframework.security.web.access.AccessDeniedHandler; import org.springframework.stereotype.Component; import javax.servlet.ServletException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** * 自定义无权限访问的返回结果 * Created by macro on 2018/4/26. */ public class RestfulAccessDeniedHandler implements AccessDeniedHandler{ @Override public void handle(HttpServletRequest request, HttpServletResponse response, AccessDeniedException e) throws IOException, ServletException { response.setHeader("Access-Control-Allow-Origin", "*"); response.setHeader("Cache-Control","no-cache"); response.setCharacterEncoding("UTF-8"); response.setContentType("application/json"); response.getWriter().println(JSONUtil.parse(CommonResult.forbidden(e.getMessage()))); response.getWriter().flush(); } } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/config/CommonSecurityConfig.java ================================================ package com.macro.mall.security.config; import com.macro.mall.security.component.*; import com.macro.mall.security.util.JwtTokenUtil; import org.springframework.boot.autoconfigure.condition.ConditionalOnBean; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder; import org.springframework.security.crypto.password.PasswordEncoder; /** * SpringSecurity通用配置 * 包括通用Bean、Security通用Bean及动态权限通用Bean * Created by macro on 2022/5/20. */ @Configuration public class CommonSecurityConfig { @Bean public PasswordEncoder passwordEncoder() { return new BCryptPasswordEncoder(); } @Bean public IgnoreUrlsConfig ignoreUrlsConfig() { return new IgnoreUrlsConfig(); } @Bean public JwtTokenUtil jwtTokenUtil() { return new JwtTokenUtil(); } @Bean public RestfulAccessDeniedHandler restfulAccessDeniedHandler() { return new RestfulAccessDeniedHandler(); } @Bean public RestAuthenticationEntryPoint restAuthenticationEntryPoint() { return new RestAuthenticationEntryPoint(); } @Bean public JwtAuthenticationTokenFilter jwtAuthenticationTokenFilter(){ return new JwtAuthenticationTokenFilter(); } @ConditionalOnBean(name = "dynamicSecurityService") @Bean public DynamicAccessDecisionManager dynamicAccessDecisionManager() { return new DynamicAccessDecisionManager(); } @ConditionalOnBean(name = "dynamicSecurityService") @Bean public DynamicSecurityMetadataSource dynamicSecurityMetadataSource() { return new DynamicSecurityMetadataSource(); } @ConditionalOnBean(name = "dynamicSecurityService") @Bean public DynamicSecurityFilter dynamicSecurityFilter(){ return new DynamicSecurityFilter(); } } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/config/IgnoreUrlsConfig.java ================================================ package com.macro.mall.security.config; import lombok.Getter; import lombok.Setter; import org.springframework.boot.context.properties.ConfigurationProperties; import java.util.ArrayList; import java.util.List; /** * SpringSecurity白名单资源路径配置 * Created by macro on 2018/11/5. */ @Getter @Setter @ConfigurationProperties(prefix = "secure.ignored") public class IgnoreUrlsConfig { private List urls = new ArrayList<>(); } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/config/RedisConfig.java ================================================ package com.macro.mall.security.config; import com.macro.mall.common.config.BaseRedisConfig; import org.springframework.cache.annotation.EnableCaching; import org.springframework.context.annotation.Configuration; /** * Redis相关配置 * Created by macro on 2020/3/2. */ @EnableCaching @Configuration public class RedisConfig extends BaseRedisConfig { } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/config/SecurityConfig.java ================================================ package com.macro.mall.security.config; import com.macro.mall.security.component.*; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.HttpMethod; import org.springframework.security.config.annotation.web.builders.HttpSecurity; import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity; import org.springframework.security.config.annotation.web.configurers.ExpressionUrlAuthorizationConfigurer; import org.springframework.security.config.http.SessionCreationPolicy; import org.springframework.security.web.SecurityFilterChain; import org.springframework.security.web.access.intercept.FilterSecurityInterceptor; import org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter; /** * SpringSecurity相关配置,仅用于配置SecurityFilterChain * Created by macro on 2019/11/5. */ @Configuration @EnableWebSecurity public class SecurityConfig { @Autowired private IgnoreUrlsConfig ignoreUrlsConfig; @Autowired private RestfulAccessDeniedHandler restfulAccessDeniedHandler; @Autowired private RestAuthenticationEntryPoint restAuthenticationEntryPoint; @Autowired private JwtAuthenticationTokenFilter jwtAuthenticationTokenFilter; @Autowired(required = false) private DynamicSecurityService dynamicSecurityService; @Autowired(required = false) private DynamicSecurityFilter dynamicSecurityFilter; @Bean SecurityFilterChain filterChain(HttpSecurity httpSecurity) throws Exception { ExpressionUrlAuthorizationConfigurer.ExpressionInterceptUrlRegistry registry = httpSecurity .authorizeRequests(); //不需要保护的资源路径允许访问 for (String url : ignoreUrlsConfig.getUrls()) { registry.antMatchers(url).permitAll(); } //允许跨域请求的OPTIONS请求 registry.antMatchers(HttpMethod.OPTIONS) .permitAll(); //任何请求都需要身份认证 registry.and() .authorizeRequests() .anyRequest() .authenticated() //关闭跨站请求防护及不使用session .and() .csrf() .disable() .sessionManagement() .sessionCreationPolicy(SessionCreationPolicy.STATELESS) //自定义权限拒绝处理类 .and() .exceptionHandling() .accessDeniedHandler(restfulAccessDeniedHandler) .authenticationEntryPoint(restAuthenticationEntryPoint) //自定义权限拦截器JWT过滤器 .and() .addFilterBefore(jwtAuthenticationTokenFilter, UsernamePasswordAuthenticationFilter.class); //有动态权限配置时添加动态权限校验过滤器 if(dynamicSecurityService!=null){ registry.and().addFilterBefore(dynamicSecurityFilter, FilterSecurityInterceptor.class); } return httpSecurity.build(); } } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/util/JwtTokenUtil.java ================================================ package com.macro.mall.security.util; import cn.hutool.core.date.DateUtil; import cn.hutool.core.util.StrUtil; import io.jsonwebtoken.Claims; import io.jsonwebtoken.Jwts; import io.jsonwebtoken.SignatureAlgorithm; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Value; import org.springframework.security.core.userdetails.UserDetails; import java.util.Date; import java.util.HashMap; import java.util.Map; /** * JwtToken生成的工具类 * JWT token的格式:header.payload.signature * header的格式(算法、token的类型): * {"alg": "HS512","typ": "JWT"} * payload的格式(用户名、创建时间、生成时间): * {"sub":"wang","created":1489079981393,"exp":1489684781} * signature的生成算法: * HMACSHA512(base64UrlEncode(header) + "." +base64UrlEncode(payload),secret) * Created by macro on 2018/4/26. */ public class JwtTokenUtil { private static final Logger LOGGER = LoggerFactory.getLogger(JwtTokenUtil.class); private static final String CLAIM_KEY_USERNAME = "sub"; private static final String CLAIM_KEY_CREATED = "created"; @Value("${jwt.secret}") private String secret; @Value("${jwt.expiration}") private Long expiration; @Value("${jwt.tokenHead}") private String tokenHead; /** * 根据负责生成JWT的token */ private String generateToken(Map claims) { return Jwts.builder() .setClaims(claims) .setExpiration(generateExpirationDate()) .signWith(SignatureAlgorithm.HS512, secret) .compact(); } /** * 从token中获取JWT中的负载 */ private Claims getClaimsFromToken(String token) { Claims claims = null; try { claims = Jwts.parser() .setSigningKey(secret) .parseClaimsJws(token) .getBody(); } catch (Exception e) { LOGGER.info("JWT格式验证失败:{}", token); } return claims; } /** * 生成token的过期时间 */ private Date generateExpirationDate() { return new Date(System.currentTimeMillis() + expiration * 1000); } /** * 从token中获取登录用户名 */ public String getUserNameFromToken(String token) { String username; try { Claims claims = getClaimsFromToken(token); username = claims.getSubject(); } catch (Exception e) { username = null; } return username; } /** * 验证token是否还有效 * * @param token 客户端传入的token * @param userDetails 从数据库中查询出来的用户信息 */ public boolean validateToken(String token, UserDetails userDetails) { String username = getUserNameFromToken(token); return username.equals(userDetails.getUsername()) && !isTokenExpired(token); } /** * 判断token是否已经失效 */ private boolean isTokenExpired(String token) { Date expiredDate = getExpiredDateFromToken(token); return expiredDate.before(new Date()); } /** * 从token中获取过期时间 */ private Date getExpiredDateFromToken(String token) { Claims claims = getClaimsFromToken(token); return claims.getExpiration(); } /** * 根据用户信息生成token */ public String generateToken(UserDetails userDetails) { Map claims = new HashMap<>(); claims.put(CLAIM_KEY_USERNAME, userDetails.getUsername()); claims.put(CLAIM_KEY_CREATED, new Date()); return generateToken(claims); } /** * 当原来的token没过期时是可以刷新的 * * @param oldToken 带tokenHead的token */ public String refreshHeadToken(String oldToken) { if(StrUtil.isEmpty(oldToken)){ return null; } String token = oldToken.substring(tokenHead.length()); if(StrUtil.isEmpty(token)){ return null; } //token校验不通过 Claims claims = getClaimsFromToken(token); if(claims==null){ return null; } //如果token已经过期,不支持刷新 if(isTokenExpired(token)){ return null; } //如果token在30分钟之内刚刷新过,返回原token if(tokenRefreshJustBefore(token,30*60)){ return token; }else{ claims.put(CLAIM_KEY_CREATED, new Date()); return generateToken(claims); } } /** * 判断token在指定时间内是否刚刚刷新过 * @param token 原token * @param time 指定时间(秒) */ private boolean tokenRefreshJustBefore(String token, int time) { Claims claims = getClaimsFromToken(token); Date created = claims.get(CLAIM_KEY_CREATED, Date.class); Date refreshDate = new Date(); //刷新时间在创建时间的指定时间内 if(refreshDate.after(created)&&refreshDate.before(DateUtil.offsetSecond(created,time))){ return true; } return false; } } ================================================ FILE: mall-security/src/main/java/com/macro/mall/security/util/SpringUtil.java ================================================ package com.macro.mall.security.util; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.stereotype.Component; /** * Spring工具类 * Created by macro on 2020/3/3. */ @Component public class SpringUtil implements ApplicationContextAware { private static ApplicationContext applicationContext; // 获取applicationContext public static ApplicationContext getApplicationContext() { return applicationContext; } @Override public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { if (SpringUtil.applicationContext == null) { SpringUtil.applicationContext = applicationContext; } } // 通过name获取Bean public static Object getBean(String name) { return getApplicationContext().getBean(name); } // 通过class获取Bean public static T getBean(Class clazz) { return getApplicationContext().getBean(clazz); } // 通过name,以及Clazz返回指定的Bean public static T getBean(String name, Class clazz) { return getApplicationContext().getBean(name, clazz); } } ================================================ FILE: pom.xml ================================================ 4.0.0 com.macro.mall mall 1.0-SNAPSHOT pom mall-common mall-mbg mall-security mall-demo mall-admin mall-search mall-portal org.springframework.boot spring-boot-starter-parent 2.7.5 UTF-8 UTF-8 1.8 true http://192.168.3.101:2375 0.40.2 1.4.5 5.3.2 1.2.14 5.8.9 3.0.0 1.6.0 1.6.0 1.4.1 3.5.10 8.0.29 2.7.5 0.9.1 2.5.0 4.38.61.ALL 7.2 8.4.5 2.3.1 1.0-SNAPSHOT 1.0-SNAPSHOT 1.0-SNAPSHOT org.springframework.boot spring-boot-starter-actuator org.springframework.boot spring-boot-starter-aop org.springframework.boot spring-boot-starter-test test cn.hutool hutool-all org.projectlombok lombok org.springframework.boot spring-boot-configuration-processor true javax.xml.bind jaxb-api ${jaxb-api.version} com.macro.mall mall-common ${mall-common.version} com.macro.mall mall-mbg ${mall-mbg.version} com.macro.mall mall-security ${mall-security.version} com.github.pagehelper pagehelper-spring-boot-starter ${pagehelper-starter.version} com.github.pagehelper pagehelper ${pagehelper.version} com.alibaba druid-spring-boot-starter ${druid.version} cn.hutool hutool-all ${hutool.version} io.springfox springfox-boot-starter ${springfox-swagger.version} io.swagger swagger-models ${swagger-models.version} io.swagger swagger-annotations ${swagger-annotations.version} org.mybatis.generator mybatis-generator-core ${mybatis-generator.version} org.mybatis mybatis ${mybatis.version} mysql mysql-connector-java ${mysql-connector.version} org.springframework.data spring-data-commons ${spring-data-commons.version} io.jsonwebtoken jjwt ${jjwt.version} com.aliyun.oss aliyun-sdk-oss ${aliyun-oss.version} net.logstash.logback logstash-logback-encoder ${logstash-logback.version} io.minio minio ${minio.version} org.springframework.boot spring-boot-maven-plugin io.fabric8 docker-maven-plugin ${docker.maven.plugin.version} build-image package build ${docker.host} mall/${project.name}:${project.version} openjdk:8 ${project.build.finalName}.jar / artifact ["java", "-jar","-Dspring.profiles.active=prod","/${project.build.finalName}.jar"] macrozheng aliyunmaven aliyun https://maven.aliyun.com/repository/public central2 central2 https://repo1.maven.org/maven2/ aliyunmaven aliyun https://maven.aliyun.com/repository/public central2 central2 https://repo1.maven.org/maven2/