diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000000..a89f7401fc --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +# Maven # +target/ + +# IDEA # +.idea/ +*.iml + +# Eclipse # +.settings/ +.classpath +.project \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000000..83463e9e9a --- /dev/null +++ b/README.md @@ -0,0 +1,30 @@ +# mall + +### 技术选型 + +#### 后端技术: +技术 | 名称 +----|---- +Spring Boot | 容器+MVC框架 +Spring Security | 认证和授权框架 +MyBatis | ORM框架 +MyBatisGenerator | 代码生成 +PageHelper | MyBatis物理分页插件 +Thymeleaf | 模板引擎 +Swagger-UI | 文档生产工具 +Fluent-validator | 验证框架 + +####框架搭建 +功能 | 完成 +----|---- +集成MyBatis | ✔ +集成MyBatisGenerator | ✔ +集成SpringSecurity | ✔ +集成Swagger-UI | +集成Hibernator-Validator | ✔ +对通用返回结果进行封装 | ✔ +crud操作demo | ✔ +添加分页查询功能 | ✔ +集成日志功能 | ✔ +集成监控功能 | ✔ +包结构调整 | ✔ \ No newline at end of file diff --git "a/document/mind/\344\277\203\351\224\200.emmx" "b/document/mind/\344\277\203\351\224\200.emmx" new file mode 100644 index 0000000000..0321113201 Binary files /dev/null and "b/document/mind/\344\277\203\351\224\200.emmx" differ diff --git "a/document/mind/\345\206\205\345\256\271.emmx" "b/document/mind/\345\206\205\345\256\271.emmx" new file mode 100644 index 0000000000..21faf74a75 Binary files /dev/null and "b/document/mind/\345\206\205\345\256\271.emmx" differ diff --git "a/document/mind/\345\225\206\345\223\201.emmx" "b/document/mind/\345\225\206\345\223\201.emmx" new file mode 100644 index 0000000000..65e3048738 Binary files /dev/null and "b/document/mind/\345\225\206\345\223\201.emmx" differ diff --git "a/document/mind/\347\224\250\346\210\267.emmx" "b/document/mind/\347\224\250\346\210\267.emmx" new file mode 100644 index 0000000000..d724671f81 Binary files /dev/null and "b/document/mind/\347\224\250\346\210\267.emmx" differ diff --git "a/document/mind/\350\256\242\345\215\225.emmx" "b/document/mind/\350\256\242\345\215\225.emmx" new file mode 100644 index 0000000000..5deec0eba1 Binary files /dev/null and "b/document/mind/\350\256\242\345\215\225.emmx" differ diff --git "a/document/mind/\351\246\226\351\241\265.emmx" "b/document/mind/\351\246\226\351\241\265.emmx" new file mode 100644 index 0000000000..77c78405e7 Binary files /dev/null and "b/document/mind/\351\246\226\351\241\265.emmx" differ diff --git a/document/pdm/mall.pdm b/document/pdm/mall.pdm new file mode 100644 index 0000000000..98f7a6ce09 --- /dev/null +++ b/document/pdm/mall.pdm @@ -0,0 +1,17420 @@ + + + + + + + + + +7BB41C87-EFE8-409A-A86E-B1C3FCE34F8C +mall +mall +1521705583 +zhenghong +1522746993 +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 +1522745726 +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,138003), (3606,139253)) +((518,138628),(3206,138628)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1521710488 +1522301998 +((-32542,131872), (-18882,147579)) +((-32142,147179),(-32142,132497),(-19282,132497)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1521770349 +1522399160 +((-19307,147895), (-18057,152962)) +((-18682,152562),(-18682,148295)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1521771362 +1522722888 +((-2768,147895), (-1518,154573)) +((-2143,154173),(-2143,148295)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1521773101 +1522399245 +((118,146200), (8052,147450)) +((518,146825),(7652,146825)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1521783613 +1522301998 +((-36148,140589), (-18882,141839)) +((-19282,141214),(-35748,141214)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1521791466 +1522721783 +((-35392,115920), (-18882,117170)) +((-34992,116545),(-19282,116545)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1521792428 +1522721669 +((-37186,123095), (-18882,124345)) +((-36786,123720),(-19282,123720)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1521792909 +1522721672 +((-36959,130617), (-18882,131867)) +((-36559,131242),(-19282,131242)) +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,125116)) +((518,124716),(27608,124716),(27608,99878)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522046451 +1522399258 +((-9472,88961), (-8222,111797)) +((-8847,89361),(-8847,111397)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522046456 +1522399261 +((7249,85210), (12264,86460)) +((7649,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 +((-19307,57856), (-18057,111797)) +((-18682,58256),(-18682,111397)) +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), (-12496,111797)) +((-20793,102795),(-13121,102795),(-13121,111397)) +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,130655)) +((-13121,42415),(-13121,75553),(-33948,75553),(-33948,130030),(-19282,130030)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522138705 +1522399092 +((-43671,35020), (-38546,36270)) +((-38946,35645),(-43271,35645)) +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,154422), (65163,155672)) +((62400,155047),(64763,155047)) +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,145084), (65163,146334)) +((62886,145709),(64763,145709)) +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 +1522398822 +((77597,151131), (82750,152381)) +((82350,151756),(77997,151756)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522220546 +1522398822 +((59369,64259), (82750,149422)) +((82350,149022),(78597,149022),(78597,64884),(59769,64884)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522224364 +1522399274 +((10550,122602), (80891,133376)) +((80491,123002),(11175,123002),(11175,132976)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522225874 +1522398795 +((118,126588), (80417,130069)) +((80017,129669),(72926,129669),(72926,127213),(518,127213)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522226077 +1522398792 +((118,130746), (79609,136199)) +((79209,135799),(38938,135799),(38938,131371),(518,131371)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522226272 +1522399075 +((-31175,47728), (83441,113756)) +((83041,113356),(83041,50658),(-30550,50658),(-30550,48128)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522301998 +1522398779 +((118,128007), (61038,129257)) +((518,128632),(60638,128632)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522303390 +1522398782 +((59369,63059), (61962,114062)) +((61562,113662),(61562,63684),(59769,63684)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522303410 +1522398782 +((-8272,92607), (67589,114062)) +((67189,113662),(67189,93007),(-7647,93007),(-7647,111397)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522304178 +1522398637 +((35098,10421), (43346,11671)) +((35498,11046),(42946,11046)) +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 +((28232,58216), (43845,60017)) +((28632,59617),(28632,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 +((-90857,72245), (56959,111197)) +((-90457,110797),(56334,110797),(56334,72645)) +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,127919), (-18882,129169)) +((-64573,128544),(-19282,128544)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522721755 +1522721783 +((-55169,48103), (20574,117096)) +((-49384,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,152987)) +((-99897,102538),(-99897,77471),(35821,77471),(35821,152362),(64763,152362)) +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 +1522745694 +((-90857,102513), (-79799,103763)) +((-80199,103138),(-90457,103138)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1522745521 +1522745694 +((-84902,89423), (-79799,90673)) +((-80199,90048),(-84502,90048)) +1 +1 +12615680 +12632256 +CENTER 0 新宋体,8,N +SOURCE 0 新宋体,8,N +DESTINATION 0 新宋体,8,N + + + + + + + + + + + +1521705853 +1522301998 +-1 +((-19282,111397), (518,148295)) +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 +1522116361 +-1 +((-38179,147179), (-26105,157677)) +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 +1522721783 +-1 +((-49384,114335), (-34992,119057)) +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 +1522399258 +-1 +((-9447,84638), (7649,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 +1522399075 +-1 +((-38946,34330), (-24554,48128)) +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 +1522398765 +-1 +((64763,141298), (77997,156746)) +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 +1522398827 +-1 +((82350,146773), (97424,156739)) +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 +1522398802 +-1 +((83641,102195), (95715,112693)) +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 +1522398779 +-1 +((60638,128049), (72326,134421)) +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 +1522398782 +-1 +((60379,113662), (73999,120860)) +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 +1522398637 +-1 +((42946,8272), (53862,13820)) +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 +1522398598 +-1 +((20171,51258), (33405,58456)) +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 +1522398627 +-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 +1522745694 +-1 +((-80199,85947), (-63489,110429)) +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 +((-125013,118047), (-114869,122770)) +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 +1522721972 +zhenghong +商品信息 + + + +8AF7359B-13B5-4473-A6E3-242871D32BD6 +id +id +1521705876 +zhenghong +1521707913 +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 + + +1CCF222E-6673-40B1-8CF1-781BF3609E73 +flash_promotion_id +flash_promotion_id +1522301998 +zhenghong +1522302049 +zhenghong +限时购id +int + + +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 + + +9ECDB8CD-593F-431C-B580-756BC29F0E69 +gift_point +gift_point +1521771016 +zhenghong +1521771044 +zhenghong +赠送的积分 +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 + + +7B37D8AC-E751-4CC5-87D8-E0143EB9509B +flash_promotion_price +flash_promotion_price +1522302054 +zhenghong +1522302095 +zhenghong +限时购价格 +decimal(10,2) +10 +2 + + +89F71EEA-81D7-4C18-9ABA-D4387FB06CF4 +flash_promotion_count +flash_promotion_count +1522302082 +zhenghong +1522302178 +zhenghong +限时购数量 +int + + +C939D911-F8E5-4DFE-BDD4-D615D78FD81F +flash_promotion_sort +flash_promotion_sort +1522302207 +zhenghong +1522302234 +zhenghong +限时购排序 +int + + +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 +1522722061 +zhenghong +促销类型:0->使用促销价;1->使用会员价;2->使用阶梯价格;3->使用满减价格 +int(1) +1 + + + + +8FF04A0E-BF3D-4A1B-B05D-FAD79976F256 +Key_1 +Key_1 +1521705876 +zhenghong +1521705899 +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 +1522214782 +zhenghong +sku的库存 + + + +F8A87B5F-1B3E-416A-9AA6-E6330490C79F +id +id +1521709484 +zhenghong +1521709602 +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 +1521709932 +zhenghong +库存 +int + + +627512CB-E621-46A5-B077-12BB80006181 +low_stock +low_stock +1521709829 +zhenghong +1521709939 +zhenghong +预警库存 +int + + +EEAE2E73-34C0-4864-B422-50913053772B +sp1 +sp1 +1521709963 +zhenghong +1521710059 +zhenghong +销售属性1 +varchar(64) +64 + + +E4A5395C-797C-4DC1-AA93-927092651678 +sp2 +sp2 +1521709963 +zhenghong +1521710051 +zhenghong +varchar(64) +64 + + +D6F479BF-FA0A-486C-920F-1C8418A070E9 +sp3 +sp3 +1521709963 +zhenghong +1521710051 +zhenghong +varchar(64) +64 + + +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 + + + + +BF22FDBF-9CF7-4FF4-A579-4C0AAC38A457 +Key_1 +Key_1 +1521709484 +zhenghong +1521709586 +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 +1521711025 +zhenghong +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 +1522721755 +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 + + + + +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 +1521792502 +zhenghong +int +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 +1522044658 +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 +pms_product_id +pms_product_id +1522046451 +zhenghong +1522046492 +zhenghong +bigint + + +92ACF804-9722-47C3-826B-A2611338F2F6 +pms_product_attribute_id +pms_product_attribute_id +1522046456 +zhenghong +1522046492 +zhenghong +bigint + + +E83F864A-D6C1-48EA-B9A3-7C9AB2ED55A1 +value +value +1522046406 +zhenghong +1522046511 +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 +1522139590 +zhenghong +专题表 + + + +53BC0750-B403-49FD-A50A-F081E7D2409F +id +id +1522138235 +zhenghong +1522138607 +zhenghong +bigint +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 + + + + +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 +1522288076 +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 +1522215279 +zhenghong +使用平台:0->全部;1->移动;2->PC +varchar(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 + + +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 +1522216015 +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 +1522215991 +zhenghong +int + + +39E7492F-B104-48BA-9460-88C66C6B971E +product_id +product_id +1522216015 +zhenghong +1522216048 +zhenghong +bigint + + + + +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 +1522216380 +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 + + + + +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 +1522220546 +zhenghong +优惠券使用、领取历史表 + + + +8AF960D9-0931-474B-9087-67A9C769289A +id +id +1522217090 +zhenghong +1522217131 +zhenghong +bigint +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 + + +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 + + +9BCEDBC8-1076-431D-932A-60EDE0CA19F5 +order_id +order_id +1522220361 +zhenghong +1522220501 +zhenghong +订单编号 + + + + +539446A0-347B-4B13-9A1B-C1F91302A908 +Key_1 +Key_1 +1522217090 +zhenghong +1522217131 +zhenghong + + + + + + + + + + +39073F58-E0FD-4E97-91A0-AFA7D8C5F626 +ums_member +ums_member +1522217487 +zhenghong +1522396306 +zhenghong +会员表 + + + +D9B1967D-3B90-493E-BF71-D0C0AA8AF792 +id +id +1522217488 +zhenghong +1522391407 +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 +1522217507 +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 +1522226077 +zhenghong +人气推荐商品表 + + + +2C05FE30-5B42-49AB-B442-DA48DFBF56ED +id +id +1522225739 +zhenghong +1522226008 +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 +1522226008 +zhenghong + + + + + + + + + + +6B4E377F-EF19-4F4C-8FA6-0179636E1DD0 +sms_home_recommend_subject +sms_home_recommend_subject +1522223818 +zhenghong +1522226272 +zhenghong +首页推荐专题表 + + + +BB3B377B-FD15-4644-9382-23DEE1D35C62 +id +id +1522224202 +zhenghong +1522226140 +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 +1522226140 +zhenghong + + + + + + + + + + +02B689AF-49BE-4746-9132-46B2A938FDCB +sms_home_advertise +sms_home_advertise +1522227700 +zhenghong +1522228539 +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 + + + + +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 +1522300721 +zhenghong +int +1 +1 + + +E7B4D1BF-2B28-4CB5-A266-BF73B2C545CD +title +title +1522300794 +zhenghong +1522300838 +zhenghong +varchar(200) +200 + + +9E90026D-CCB7-42C4-8305-6C9ED00FBEAD +start_time +start_time +1522300794 +zhenghong +1522300859 +zhenghong +开始时间 +datetime + + +9C92406F-BE6E-4DD0-B9F6-B6DB731826D8 +end_time +end_time +1522300794 +zhenghong +1522300870 +zhenghong +结束时间 +datetime + + +7CF4BD09-90C4-4A00-861D-E4BB0DEDE4F0 +status +status +1522300794 +zhenghong +1522300845 +zhenghong +上下线状态 +int(1) +1 + + +8D6B6BCE-483E-49D8-9BFE-66FF9BAF4E04 +time_name +time_name +1522301354 +zhenghong +1522301380 +zhenghong +秒杀时间段名称 +varchar(100) +100 + + + + +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 +1522303905 +zhenghong +后台用户表 + + + +6D584959-4514-4CEC-A0D4-785E46D1A943 +id +id +1522303731 +zhenghong +1522303915 +zhenghong +bigint +1 +1 + + +C69E81B8-3A8A-4F1C-AD79-05187FCF35D3 +username +username +1522303731 +zhenghong +1522303905 +zhenghong +varchar(64) +64 + + +7EB23336-7D63-4C02-AD85-17DA3DC93E6A +password +password +1522303731 +zhenghong +1522303905 +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 +1522303905 +zhenghong +varchar(100) +100 + + + + +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 +1522386830 +zhenghong +会员等级表 + + + +129583EA-DC62-4E57-AEF8-FCA2A4DD3BD4 +id +id +1522379810 +zhenghong +1522391471 +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 +1522379831 +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 +1522390434 +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 + + +4EDEC710-4328-4BF8-BCCC-EA8EAAA48FF1 +address +address +1522390108 +zhenghong +1522390238 +zhenghong +收货地址 +varchar(128) +128 + + +013038D3-3265-4B47-AA73-C893A6006BD8 +post_code +post_code +1522390221 +zhenghong +1522390293 +zhenghong +邮政编码 +varchar(100) +100 + + +2D383AAE-D002-480B-B081-4ABB9A0FE45F +default_status +default_status +1522390286 +zhenghong +1522390346 +zhenghong +是否为默认 +int(1) +1 + + + + +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_intergration_consume_setting +ums_intergration_consume_setting +1522398032 +zhenghong +1522398305 +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 +1522725970 +zhenghong +订单表 + + + +3563269E-6EED-49DE-AC40-20CDE76A70F7 +id +id +1522658326 +zhenghong +1522658605 +zhenghong +订单id +bigint +1 +1 + + +1BFDD362-9A3F-4A39-A46A-988EFE0700F4 +member_id +member_id +1522659209 +zhenghong +1522659220 +zhenghong +bigint + + +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 + + +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 +1522660403 +zhenghong +收货人姓名 +varchar(100) +100 + + +1174D5FE-B8AE-49E7-A4D2-F947BFE08091 +receiver_phone +receiver_phone +1522660394 +zhenghong +1522660424 +zhenghong +收货人电话 +varchar(32) +32 + + +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 + + + + +F98BE405-9DED-4054-ABBF-40BD4672B58B +Key_1 +Key_1 +1522658326 +zhenghong +1522658346 +zhenghong + + + + + + + + + + +FDAAF085-F146-4ADE-919D-85D1DB4E61EE +oms_order_item +oms_order_item +1522660695 +zhenghong +1522724738 +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 +proudct_pic +proudct_pic +1522719518 +zhenghong +1522719560 +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_amount +product_amount +1522719571 +zhenghong +1522724687 +zhenghong +decimal(10,2) +10 +2 + + +015E8942-52BF-4342-9C4C-1230A266C1C9 +product_count +product_count +1522723168 +zhenghong +1522723187 +zhenghong +购买数量 +int + + +AD7CAE73-04BF-4BB8-BEFA-E0A7B94BF373 +product_real_amount +product_real_amount +1522724652 +zhenghong +1522724703 +zhenghong +该商品经过优惠后的分解金额 +decimal(10,2) +10 +2 + + +51302EF8-1CD4-43F5-9C02-7920ED857D35 +sp1 +sp1 +1522724687 +zhenghong +1522724745 +zhenghong +商品的销售属性 +varchar(100) +100 + + +AA056090-3D72-4BAC-A931-CD49C31B9D7E +sp2 +sp2 +1522724687 +zhenghong +1522724738 +zhenghong +varchar(100) +100 + + +C0CCCE2C-B2C8-44A1-9F6B-771BFE62D760 +sp3 +sp3 +1522724687 +zhenghong +1522724738 +zhenghong +varchar(100) +100 + + + + +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 +1522745686 +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 +1522745536 +zhenghong +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 +1522733003 +zhenghong +datetime + + +70FBE2CF-BE0D-44DD-8679-39DAA782E1A3 +member_username +member_username +1522732939 +zhenghong +1522733003 +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 +1522747302 +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 +1522733332 +zhenghong +varchar(500) +500 + + +B4BB6015-3948-411C-9558-6CAF55CEF04C +product_name +product_name +1522733217 +zhenghong +1522733332 +zhenghong +varchar(200) +200 + + +D30E609F-3F5C-401C-8690-EEA47B0E6694 +brand_name +brand_name +1522733217 +zhenghong +1522733332 +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 + + +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 + + +4647C7DC-D2B4-48B7-B5F3-4524FBAAD875 +return_post_amount +return_post_amount +1522744906 +zhenghong +1522744939 +zhenghong +要退的邮费 +decimal(10,2) +10 +2 + + +8361AE87-5DC4-470B-B12E-4A2EF7708701 +return_post_status +return_post_status +1522744929 +zhenghong +1522744994 +zhenghong +是否退邮费:0->不退;1->退 +int(1) +1 + + +3870169D-4A55-444E-9574-19FB829E9CB8 +confirm_return_amount +confirm_return_amount +1522744975 +zhenghong +1522745043 +zhenghong +确认退款总金额 +decimal(10,2) +10 +2 + + +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 +1522745686 +zhenghong +datetime + + +4C802C73-FB19-4C09-84C3-37E152CA8299 +receive_note +receive_note +1522745652 +zhenghong +1522745686 +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 +1522745492 +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 +1522745377 +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 +1522745492 +zhenghong +varchar(64) +64 + + +57267BF2-434D-4AEC-8E6B-DDCAA85233F7 +city +city +1522745363 +zhenghong +1522745492 +zhenghong +varchar(64) +64 + + +F1F15023-139B-4048-8D0C-C9C46884C6E9 +region +region +1522745363 +zhenghong +1522745492 +zhenghong +varchar(64) +64 + + + + +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 +1522745809 +zhenghong +退货原因表 + + + +8398CF1C-2327-4762-B370-7F7BB681FBE8 +id +id +1522745728 +zhenghong +1522745763 +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 + + + + +F0009D1F-CC14-45AA-BDB7-F25CFBBFE380 +Key_1 +Key_1 +1522745728 +zhenghong +1522745760 +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 + + + + + + + + + + +F9BD6493-F79C-4377-A2BE-DB25D82ED45B +Reference_43 +Reference_43 +1522301998 +zhenghong +1522301998 +zhenghong +0..* +1 +1 + + + + + + + + + + + +EB0A7FB4-285A-4D5D-BC1D-E9B299069C1F +1522301998 +zhenghong +1522301998 +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 + + + + + + + + + + + + +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 + + + + + + + + + + \ No newline at end of file diff --git a/mall-admin/pom.xml b/mall-admin/pom.xml new file mode 100644 index 0000000000..10a34f0f33 --- /dev/null +++ b/mall-admin/pom.xml @@ -0,0 +1,55 @@ + + 4.0.0 + mall-admin + war + mall-admin + http://maven.apache.org + + + org.springframework.boot + spring-boot-starter-parent + 1.4.7.RELEASE + + + + + UTF-8 + UTF-8 + 1.8 + + + + + com.macro + mall-mbg + 1.0-SNAPSHOT + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + org.mybatis.spring.boot + mybatis-spring-boot-starter + 1.2.0 + + + org.springframework.boot + spring-boot-starter-test + test + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + diff --git a/mall-admin/src/main/java/com/macro/mall/MallAdminApplication.java b/mall-admin/src/main/java/com/macro/mall/MallAdminApplication.java new file mode 100644 index 0000000000..30c3b60ce7 --- /dev/null +++ b/mall-admin/src/main/java/com/macro/mall/MallAdminApplication.java @@ -0,0 +1,16 @@ +package com.macro.mall; + +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +/** + * 应用启动入口 + */ +@SpringBootApplication +@MapperScan("com.macro.mall.mapper") +public class MallAdminApplication { + public static void main(String[] args) { + SpringApplication.run(MallAdminApplication.class, args); + } +} diff --git a/mall-admin/src/main/resources/application.properties b/mall-admin/src/main/resources/application.properties new file mode 100644 index 0000000000..1d8756231a --- /dev/null +++ b/mall-admin/src/main/resources/application.properties @@ -0,0 +1,5 @@ +spring.datasource.url=jdbc:mysql://localhost:3306/mall +spring.datasource.username=root +spring.datasource.password=root +#mybatis +mybatis.mapper-locations=classpath:mapper/*.xml,classpath*:com/**/mapper/*.xml \ No newline at end of file diff --git a/mall-admin/src/main/webapp/WEB-INF/web.xml b/mall-admin/src/main/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..9f88c1f963 --- /dev/null +++ b/mall-admin/src/main/webapp/WEB-INF/web.xml @@ -0,0 +1,7 @@ + + + + Archetype Created Web Application + diff --git a/mall-admin/src/main/webapp/index.jsp b/mall-admin/src/main/webapp/index.jsp new file mode 100644 index 0000000000..c38169bb95 --- /dev/null +++ b/mall-admin/src/main/webapp/index.jsp @@ -0,0 +1,5 @@ + + +

Hello World!

+ + diff --git a/mall-demo/.gitignore b/mall-demo/.gitignore new file mode 100644 index 0000000000..82eca336e3 --- /dev/null +++ b/mall-demo/.gitignore @@ -0,0 +1,25 @@ +/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/ \ No newline at end of file diff --git a/mall-demo/.mvn/wrapper/maven-wrapper.jar b/mall-demo/.mvn/wrapper/maven-wrapper.jar new file mode 100644 index 0000000000..9cc84ea9b4 Binary files /dev/null and b/mall-demo/.mvn/wrapper/maven-wrapper.jar differ diff --git a/mall-demo/.mvn/wrapper/maven-wrapper.properties b/mall-demo/.mvn/wrapper/maven-wrapper.properties new file mode 100644 index 0000000000..b573bb50d5 --- /dev/null +++ b/mall-demo/.mvn/wrapper/maven-wrapper.properties @@ -0,0 +1 @@ +distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.5.3/apache-maven-3.5.3-bin.zip diff --git a/mall-demo/mvnw b/mall-demo/mvnw new file mode 100644 index 0000000000..5bf251c077 --- /dev/null +++ b/mall-demo/mvnw @@ -0,0 +1,225 @@ +#!/bin/sh +# ---------------------------------------------------------------------------- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you 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. +# ---------------------------------------------------------------------------- + +# ---------------------------------------------------------------------------- +# Maven2 Start Up Batch script +# +# Required ENV vars: +# ------------------ +# JAVA_HOME - location of a JDK home dir +# +# Optional ENV vars +# ----------------- +# M2_HOME - location of maven2's installed home dir +# MAVEN_OPTS - parameters passed to the Java VM when running Maven +# e.g. to debug Maven itself, use +# set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +# MAVEN_SKIP_RC - flag to disable loading of mavenrc files +# ---------------------------------------------------------------------------- + +if [ -z "$MAVEN_SKIP_RC" ] ; then + + if [ -f /etc/mavenrc ] ; then + . /etc/mavenrc + fi + + if [ -f "$HOME/.mavenrc" ] ; then + . "$HOME/.mavenrc" + fi + +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false; +darwin=false; +mingw=false +case "`uname`" in + CYGWIN*) cygwin=true ;; + MINGW*) mingw=true;; + Darwin*) darwin=true + # Use /usr/libexec/java_home if available, otherwise fall back to /Library/Java/Home + # See https://developer.apple.com/library/mac/qa/qa1170/_index.html + if [ -z "$JAVA_HOME" ]; then + if [ -x "/usr/libexec/java_home" ]; then + export JAVA_HOME="`/usr/libexec/java_home`" + else + export JAVA_HOME="/Library/Java/Home" + fi + fi + ;; +esac + +if [ -z "$JAVA_HOME" ] ; then + if [ -r /etc/gentoo-release ] ; then + JAVA_HOME=`java-config --jre-home` + fi +fi + +if [ -z "$M2_HOME" ] ; then + ## resolve links - $0 may be a link to maven's home + PRG="$0" + + # need this for relative symlinks + while [ -h "$PRG" ] ; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '/.*' > /dev/null; then + PRG="$link" + else + PRG="`dirname "$PRG"`/$link" + fi + done + + saveddir=`pwd` + + M2_HOME=`dirname "$PRG"`/.. + + # make it fully qualified + M2_HOME=`cd "$M2_HOME" && pwd` + + cd "$saveddir" + # echo Using m2 at $M2_HOME +fi + +# For Cygwin, ensure paths are in UNIX format before anything is touched +if $cygwin ; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --unix "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --unix "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --unix "$CLASSPATH"` +fi + +# For Migwn, ensure paths are in UNIX format before anything is touched +if $mingw ; then + [ -n "$M2_HOME" ] && + M2_HOME="`(cd "$M2_HOME"; pwd)`" + [ -n "$JAVA_HOME" ] && + JAVA_HOME="`(cd "$JAVA_HOME"; pwd)`" + # TODO classpath? +fi + +if [ -z "$JAVA_HOME" ]; then + javaExecutable="`which javac`" + if [ -n "$javaExecutable" ] && ! [ "`expr \"$javaExecutable\" : '\([^ ]*\)'`" = "no" ]; then + # readlink(1) is not available as standard on Solaris 10. + readLink=`which readlink` + if [ ! `expr "$readLink" : '\([^ ]*\)'` = "no" ]; then + if $darwin ; then + javaHome="`dirname \"$javaExecutable\"`" + javaExecutable="`cd \"$javaHome\" && pwd -P`/javac" + else + javaExecutable="`readlink -f \"$javaExecutable\"`" + fi + javaHome="`dirname \"$javaExecutable\"`" + javaHome=`expr "$javaHome" : '\(.*\)/bin'` + JAVA_HOME="$javaHome" + export JAVA_HOME + fi + fi +fi + +if [ -z "$JAVACMD" ] ; then + if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD="$JAVA_HOME/jre/sh/java" + else + JAVACMD="$JAVA_HOME/bin/java" + fi + else + JAVACMD="`which java`" + fi +fi + +if [ ! -x "$JAVACMD" ] ; then + echo "Error: JAVA_HOME is not defined correctly." >&2 + echo " We cannot execute $JAVACMD" >&2 + exit 1 +fi + +if [ -z "$JAVA_HOME" ] ; then + echo "Warning: JAVA_HOME environment variable is not set." +fi + +CLASSWORLDS_LAUNCHER=org.codehaus.plexus.classworlds.launcher.Launcher + +# traverses directory structure from process work directory to filesystem root +# first directory with .mvn subdirectory is considered project base directory +find_maven_basedir() { + + if [ -z "$1" ] + then + echo "Path not specified to find_maven_basedir" + return 1 + fi + + basedir="$1" + wdir="$1" + while [ "$wdir" != '/' ] ; do + if [ -d "$wdir"/.mvn ] ; then + basedir=$wdir + break + fi + # workaround for JBEAP-8937 (on Solaris 10/Sparc) + if [ -d "${wdir}" ]; then + wdir=`cd "$wdir/.."; pwd` + fi + # end of workaround + done + echo "${basedir}" +} + +# concatenates all lines of a file +concat_lines() { + if [ -f "$1" ]; then + echo "$(tr -s '\n' ' ' < "$1")" + fi +} + +BASE_DIR=`find_maven_basedir "$(pwd)"` +if [ -z "$BASE_DIR" ]; then + exit 1; +fi + +export MAVEN_PROJECTBASEDIR=${MAVEN_BASEDIR:-"$BASE_DIR"} +echo $MAVEN_PROJECTBASEDIR +MAVEN_OPTS="$(concat_lines "$MAVEN_PROJECTBASEDIR/.mvn/jvm.config") $MAVEN_OPTS" + +# For Cygwin, switch paths to Windows format before running java +if $cygwin; then + [ -n "$M2_HOME" ] && + M2_HOME=`cygpath --path --windows "$M2_HOME"` + [ -n "$JAVA_HOME" ] && + JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"` + [ -n "$CLASSPATH" ] && + CLASSPATH=`cygpath --path --windows "$CLASSPATH"` + [ -n "$MAVEN_PROJECTBASEDIR" ] && + MAVEN_PROJECTBASEDIR=`cygpath --path --windows "$MAVEN_PROJECTBASEDIR"` +fi + +WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +exec "$JAVACMD" \ + $MAVEN_OPTS \ + -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ + "-Dmaven.home=${M2_HOME}" "-Dmaven.multiModuleProjectDirectory=${MAVEN_PROJECTBASEDIR}" \ + ${WRAPPER_LAUNCHER} $MAVEN_CONFIG "$@" diff --git a/mall-demo/mvnw.cmd b/mall-demo/mvnw.cmd new file mode 100644 index 0000000000..019bd74d76 --- /dev/null +++ b/mall-demo/mvnw.cmd @@ -0,0 +1,143 @@ +@REM ---------------------------------------------------------------------------- +@REM Licensed to the Apache Software Foundation (ASF) under one +@REM or more contributor license agreements. See the NOTICE file +@REM distributed with this work for additional information +@REM regarding copyright ownership. The ASF licenses this file +@REM to you under the Apache License, Version 2.0 (the +@REM "License"); you may not use this file except in compliance +@REM with the License. You may obtain a copy of the License at +@REM +@REM http://www.apache.org/licenses/LICENSE-2.0 +@REM +@REM Unless required by applicable law or agreed to in writing, +@REM software distributed under the License is distributed on an +@REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +@REM KIND, either express or implied. See the License for the +@REM specific language governing permissions and limitations +@REM under the License. +@REM ---------------------------------------------------------------------------- + +@REM ---------------------------------------------------------------------------- +@REM Maven2 Start Up Batch script +@REM +@REM Required ENV vars: +@REM JAVA_HOME - location of a JDK home dir +@REM +@REM Optional ENV vars +@REM M2_HOME - location of maven2's installed home dir +@REM MAVEN_BATCH_ECHO - set to 'on' to enable the echoing of the batch commands +@REM MAVEN_BATCH_PAUSE - set to 'on' to wait for a key stroke before ending +@REM MAVEN_OPTS - parameters passed to the Java VM when running Maven +@REM e.g. to debug Maven itself, use +@REM set MAVEN_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000 +@REM MAVEN_SKIP_RC - flag to disable loading of mavenrc files +@REM ---------------------------------------------------------------------------- + +@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on' +@echo off +@REM enable echoing my setting MAVEN_BATCH_ECHO to 'on' +@if "%MAVEN_BATCH_ECHO%" == "on" echo %MAVEN_BATCH_ECHO% + +@REM set %HOME% to equivalent of $HOME +if "%HOME%" == "" (set "HOME=%HOMEDRIVE%%HOMEPATH%") + +@REM Execute a user defined script before this one +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPre +@REM check for pre script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_pre.bat" call "%HOME%\mavenrc_pre.bat" +if exist "%HOME%\mavenrc_pre.cmd" call "%HOME%\mavenrc_pre.cmd" +:skipRcPre + +@setlocal + +set ERROR_CODE=0 + +@REM To isolate internal variables from possible post scripts, we use another setlocal +@setlocal + +@REM ==== START VALIDATION ==== +if not "%JAVA_HOME%" == "" goto OkJHome + +echo. +echo Error: JAVA_HOME not found in your environment. >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +:OkJHome +if exist "%JAVA_HOME%\bin\java.exe" goto init + +echo. +echo Error: JAVA_HOME is set to an invalid directory. >&2 +echo JAVA_HOME = "%JAVA_HOME%" >&2 +echo Please set the JAVA_HOME variable in your environment to match the >&2 +echo location of your Java installation. >&2 +echo. +goto error + +@REM ==== END VALIDATION ==== + +:init + +@REM Find the project base dir, i.e. the directory that contains the folder ".mvn". +@REM Fallback to current working directory if not found. + +set MAVEN_PROJECTBASEDIR=%MAVEN_BASEDIR% +IF NOT "%MAVEN_PROJECTBASEDIR%"=="" goto endDetectBaseDir + +set EXEC_DIR=%CD% +set WDIR=%EXEC_DIR% +:findBaseDir +IF EXIST "%WDIR%"\.mvn goto baseDirFound +cd .. +IF "%WDIR%"=="%CD%" goto baseDirNotFound +set WDIR=%CD% +goto findBaseDir + +:baseDirFound +set MAVEN_PROJECTBASEDIR=%WDIR% +cd "%EXEC_DIR%" +goto endDetectBaseDir + +:baseDirNotFound +set MAVEN_PROJECTBASEDIR=%EXEC_DIR% +cd "%EXEC_DIR%" + +:endDetectBaseDir + +IF NOT EXIST "%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config" goto endReadAdditionalConfig + +@setlocal EnableExtensions EnableDelayedExpansion +for /F "usebackq delims=" %%a in ("%MAVEN_PROJECTBASEDIR%\.mvn\jvm.config") do set JVM_CONFIG_MAVEN_PROPS=!JVM_CONFIG_MAVEN_PROPS! %%a +@endlocal & set JVM_CONFIG_MAVEN_PROPS=%JVM_CONFIG_MAVEN_PROPS% + +:endReadAdditionalConfig + +SET MAVEN_JAVA_EXE="%JAVA_HOME%\bin\java.exe" + +set WRAPPER_JAR="%MAVEN_PROJECTBASEDIR%\.mvn\wrapper\maven-wrapper.jar" +set WRAPPER_LAUNCHER=org.apache.maven.wrapper.MavenWrapperMain + +%MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS% %MAVEN_DEBUG_OPTS% -classpath %WRAPPER_JAR% "-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%" %WRAPPER_LAUNCHER% %MAVEN_CONFIG% %* +if ERRORLEVEL 1 goto error +goto end + +:error +set ERROR_CODE=1 + +:end +@endlocal & set ERROR_CODE=%ERROR_CODE% + +if not "%MAVEN_SKIP_RC%" == "" goto skipRcPost +@REM check for post script, once with legacy .bat ending and once with .cmd ending +if exist "%HOME%\mavenrc_post.bat" call "%HOME%\mavenrc_post.bat" +if exist "%HOME%\mavenrc_post.cmd" call "%HOME%\mavenrc_post.cmd" +:skipRcPost + +@REM pause the script if MAVEN_BATCH_PAUSE is set to 'on' +if "%MAVEN_BATCH_PAUSE%" == "on" pause + +if "%MAVEN_TERMINATE_CMD%" == "on" exit %ERROR_CODE% + +exit /B %ERROR_CODE% diff --git a/mall-demo/pom.xml b/mall-demo/pom.xml new file mode 100644 index 0000000000..e064c7d2fc --- /dev/null +++ b/mall-demo/pom.xml @@ -0,0 +1,86 @@ + + + 4.0.0 + + com.macro.mall + mall-demo + 0.0.1-SNAPSHOT + jar + + mall-demo + Demo project for Spring Boot + + + org.springframework.boot + spring-boot-starter-parent + 1.4.7.RELEASE + + + + + UTF-8 + UTF-8 + 1.8 + + + + + com.macro + mall-mbg + 1.0-SNAPSHOT + + + org.springframework.boot + spring-boot-starter-thymeleaf + + + org.springframework.boot + spring-boot-starter-web + + + org.springframework.boot + spring-boot-starter-security + + + org.mybatis.spring.boot + mybatis-spring-boot-starter + 1.2.0 + + + org.springframework.boot + spring-boot-starter-actuator + + + org.springframework.boot + spring-boot-starter-test + test + + + io.springfox + springfox-swagger2 + 2.6.1 + + + io.springfox + springfox-swagger-ui + 2.6.1 + + + com.github.pagehelper + pagehelper-spring-boot-starter + 1.2.3 + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + + diff --git a/mall-demo/src/main/java/com/macro/mall/MallDemoApplication.java b/mall-demo/src/main/java/com/macro/mall/MallDemoApplication.java new file mode 100644 index 0000000000..569ad49caf --- /dev/null +++ b/mall-demo/src/main/java/com/macro/mall/MallDemoApplication.java @@ -0,0 +1,20 @@ +package com.macro.mall; + +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.context.annotation.ComponentScan; +import org.springframework.web.servlet.config.annotation.ViewControllerRegistry; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter; + +@SpringBootApplication +@MapperScan("com.macro.mall.mapper") +public class MallDemoApplication extends WebMvcConfigurerAdapter{ + @Override + public void addViewControllers(ViewControllerRegistry registry) { + registry.addViewController("/login").setViewName("login"); + } + public static void main(String[] args) { + SpringApplication.run(MallDemoApplication.class, args); + } +} diff --git a/mall-demo/src/main/java/com/macro/mall/demo/bo/AdminUserDetails.java b/mall-demo/src/main/java/com/macro/mall/demo/bo/AdminUserDetails.java new file mode 100644 index 0000000000..2140de0771 --- /dev/null +++ b/mall-demo/src/main/java/com/macro/mall/demo/bo/AdminUserDetails.java @@ -0,0 +1,56 @@ +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需要的用户详情 + */ +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; + } +} diff --git a/mall-demo/src/main/java/com/macro/mall/demo/bo/CommonResult.java b/mall-demo/src/main/java/com/macro/mall/demo/bo/CommonResult.java new file mode 100644 index 0000000000..98fbce2191 --- /dev/null +++ b/mall-demo/src/main/java/com/macro/mall/demo/bo/CommonResult.java @@ -0,0 +1,92 @@ +package com.macro.mall.demo.bo; + +import com.github.pagehelper.PageInfo; + +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +/** + * 通用返回对象 + */ +public class CommonResult { + public static final int SUCCESS = 0; + public static final int FAILED = 1; + public static final int VALIDATE_FAILED = 2; + private int code; + private String message; + private Object data; + + /** + * 普通成功返回 + * + * @param data 获取的数据 + */ + public CommonResult success(Object data) { + this.code = SUCCESS; + this.message = "操作成功"; + this.data = data; + return this; + } + + /** + * 返回分页成功数据 + */ + public CommonResult pageSuccess(List data) { + PageInfo pageInfo = new PageInfo(data); + long totalPage = pageInfo.getTotal() / pageInfo.getPageSize(); + Map result = new HashMap<>(); + result.put("pageSize", pageInfo.getPageSize()); + result.put("totalPage", totalPage); + result.put("pageNum", pageInfo.getPageNum()); + result.put("list", pageInfo.getList()); + this.code = SUCCESS; + this.message = "操作成功"; + this.data = result; + return this; + } + + /** + * 普通失败提示信息 + */ + public CommonResult failed() { + this.code = FAILED; + this.message = "操作失败"; + return this; + } + + /** + * 参数验证失败使用 + * + * @param message 错误信息 + */ + public CommonResult validateFailed(String message) { + this.code = VALIDATE_FAILED; + this.message = message; + return this; + } + + public int getCode() { + return code; + } + + public void setCode(int code) { + this.code = code; + } + + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public Object getData() { + return data; + } + + public void setData(Object data) { + this.data = data; + } +} diff --git a/mall-demo/src/main/java/com/macro/mall/demo/config/SecurityConfig.java b/mall-demo/src/main/java/com/macro/mall/demo/config/SecurityConfig.java new file mode 100644 index 0000000000..3a3367b463 --- /dev/null +++ b/mall-demo/src/main/java/com/macro/mall/demo/config/SecurityConfig.java @@ -0,0 +1,77 @@ +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.authentication.encoding.Md5PasswordEncoder; +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 java.util.List; + +/** + * SpringSecurity的配置 + */ +@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").authenticated()//该路径需要登录认证 +// .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(); + } + + @Override + protected void configure(AuthenticationManagerBuilder auth) throws Exception { + auth.userDetailsService(userDetailsService()).passwordEncoder(new Md5PasswordEncoder()); + } + + @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("用户名或密码错误"); + } + }; + } +} diff --git a/mall-demo/src/main/java/com/macro/mall/demo/config/Swagger2Config.java b/mall-demo/src/main/java/com/macro/mall/demo/config/Swagger2Config.java new file mode 100644 index 0000000000..d7a2d62410 --- /dev/null +++ b/mall-demo/src/main/java/com/macro/mall/demo/config/Swagger2Config.java @@ -0,0 +1,37 @@ +package com.macro.mall.demo.config; + +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import springfox.documentation.builders.ApiInfoBuilder; +import springfox.documentation.builders.PathSelectors; +import springfox.documentation.builders.RequestHandlerSelectors; +import springfox.documentation.service.ApiInfo; +import springfox.documentation.spi.DocumentationType; +import springfox.documentation.spring.web.plugins.Docket; +import springfox.documentation.swagger2.annotations.EnableSwagger2; + +/** + * Swagger2API文档的配置 + */ +@Configuration +@EnableSwagger2 +public class Swagger2Config { + @Bean + public Docket createRestApi(){ + return new Docket(DocumentationType.SWAGGER_2) + .apiInfo(apiInfo()) + .select() + .apis(RequestHandlerSelectors.basePackage("com.macro.mall.demo")) + .paths(PathSelectors.any()) + .build(); + } + + private ApiInfo apiInfo() { + return new ApiInfoBuilder() + .title("SwaggerUI演示") + .description("Demo模块") + .contact("macro") + .version("1.0") + .build(); + } +} diff --git a/mall-demo/src/main/java/com/macro/mall/demo/controller/DemoController.java b/mall-demo/src/main/java/com/macro/mall/demo/controller/DemoController.java new file mode 100644 index 0000000000..37a954efb3 --- /dev/null +++ b/mall-demo/src/main/java/com/macro/mall/demo/controller/DemoController.java @@ -0,0 +1,115 @@ +package com.macro.mall.demo.controller; + +import com.macro.mall.demo.bo.CommonResult; +import com.macro.mall.demo.dto.PmsBrandDto; +import com.macro.mall.demo.service.DemoService; +import io.swagger.annotations.Api; +import io.swagger.annotations.ApiOperation; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Controller; +import org.springframework.ui.Model; +import org.springframework.validation.BindingResult; +import org.springframework.validation.annotation.Validated; +import org.springframework.web.bind.annotation.*; + +/** + * 测试controller + */ +@Api(value = "demo", description = "demo详情") +@Controller +public class DemoController { + @Autowired + private DemoService demoService; + + private static final Logger LOGGER = LoggerFactory.getLogger(DemoController.class); + + @ApiOperation(value = "此处为首页") + @RequestMapping(value = "/", method = RequestMethod.GET) + @ResponseBody + public String hello() { + return "This is home!"; + } + + @ApiOperation(value = "获取品牌列表界面(网页显示)") + @RequestMapping(value = "/list", method = RequestMethod.GET) + public String getBrandListPage(Model model) { + model.addAttribute("brandList", demoService.listAllBrand()); + return "demo"; + } + + @ApiOperation(value = "获取全部品牌列表") + @RequestMapping(value = "/brand/listAll", method = RequestMethod.GET) + @ResponseBody + public Object getBrandList() { + return new CommonResult().success(demoService.listAllBrand()); + } + + @ApiOperation(value = "添加品牌") + @RequestMapping(value = "/brand/create", method = RequestMethod.POST) + @ResponseBody + public Object createBrand(@Validated @RequestBody PmsBrandDto pmsBrand, BindingResult result) { + if (result.hasErrors()) { + return new CommonResult().validateFailed(result.getFieldError().getDefaultMessage()); + } + CommonResult commonResult; + int count = demoService.createBrand(pmsBrand); + if (count == 1) { + commonResult = new CommonResult().success(pmsBrand); + LOGGER.debug("createBrand success:{}", pmsBrand); + } else { + commonResult = new CommonResult().failed(); + LOGGER.debug("createBrand failed:{}", pmsBrand); + } + return commonResult; + } + + @ApiOperation(value = "更新品牌") + @RequestMapping(value = "/brand/update/{id}", method = RequestMethod.POST) + @ResponseBody + public Object updateBrand(@PathVariable("id") Long id, @Validated @RequestBody PmsBrandDto pmsBrandDto,BindingResult result) { + if(result.hasErrors()){ + return new CommonResult().validateFailed(result.getFieldError().getDefaultMessage()); + } + CommonResult commonResult; + int count = demoService.updateBrand(id, pmsBrandDto); + if (count == 1) { + commonResult = new CommonResult().success(pmsBrandDto); + LOGGER.debug("updateBrand success:{}", pmsBrandDto); + } else { + commonResult = new CommonResult().failed(); + LOGGER.debug("updateBrand failed:{}", pmsBrandDto); + } + return commonResult; + } + + @ApiOperation(value = "删除品牌") + @RequestMapping(value = "/brand/delete/{id}", method = RequestMethod.GET) + @ResponseBody + public Object deleteBrand(@PathVariable("id") Long id) { + int count = demoService.deleteBrand(id); + if (count == 1) { + LOGGER.debug("deleteBrand success :id={}", id); + return new CommonResult().success(null); + } else { + LOGGER.debug("deleteBrand failed :id={}", id); + return new CommonResult().failed(); + } + } + + @ApiOperation(value = "分页获取品牌列表") + @RequestMapping(value = "/brand/list", method = RequestMethod.GET) + @ResponseBody + public Object listBrand(@RequestParam(value = "pageNum", defaultValue = "1") Integer pageNum, + @RequestParam(value = "pageSize", defaultValue = "3") Integer pageSize) { + return new CommonResult().pageSuccess(demoService.listBrand(pageNum, pageSize)); + } + + @ApiOperation(value = "根据编号查询品牌信息") + @RequestMapping(value = "/brand/{id}", method = RequestMethod.GET) + @ResponseBody + public Object brand(@PathVariable("id") Long id) { + return new CommonResult().success(demoService.getBrand(id)); + } +} diff --git a/mall-demo/src/main/java/com/macro/mall/demo/dto/PmsBrandDto.java b/mall-demo/src/main/java/com/macro/mall/demo/dto/PmsBrandDto.java new file mode 100644 index 0000000000..d26c7918d4 --- /dev/null +++ b/mall-demo/src/main/java/com/macro/mall/demo/dto/PmsBrandDto.java @@ -0,0 +1,100 @@ +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; + +/** + * 品牌传递参数 + */ +@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(values = {"0","1"}, message = "厂家状态不正确") + private Integer factoryStatus; + @ApiModelProperty(value = "是否进行显示") + @FlagValidator(values = {"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; + } +} diff --git a/mall-demo/src/main/java/com/macro/mall/demo/service/DemoService.java b/mall-demo/src/main/java/com/macro/mall/demo/service/DemoService.java new file mode 100644 index 0000000000..efeec45258 --- /dev/null +++ b/mall-demo/src/main/java/com/macro/mall/demo/service/DemoService.java @@ -0,0 +1,23 @@ +package com.macro.mall.demo.service; + +import com.macro.mall.demo.dto.PmsBrandDto; +import com.macro.mall.model.PmsBrand; + +import java.util.List; + +/** + * DemoService接口 + */ +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); +} diff --git a/mall-demo/src/main/java/com/macro/mall/demo/service/impl/DemoServiceImpl.java b/mall-demo/src/main/java/com/macro/mall/demo/service/impl/DemoServiceImpl.java new file mode 100644 index 0000000000..864e002a6a --- /dev/null +++ b/mall-demo/src/main/java/com/macro/mall/demo/service/impl/DemoServiceImpl.java @@ -0,0 +1,58 @@ +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实现类 + */ +@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); + } +} diff --git a/mall-demo/src/main/java/com/macro/mall/demo/validator/FlagValidator.java b/mall-demo/src/main/java/com/macro/mall/demo/validator/FlagValidator.java new file mode 100644 index 0000000000..eda4511731 --- /dev/null +++ b/mall-demo/src/main/java/com/macro/mall/demo/validator/FlagValidator.java @@ -0,0 +1,22 @@ +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[] values() default {}; + + String message() default "flag is not found"; + + Class[] groups() default {}; + + Class[] payload() default {}; +} diff --git a/mall-demo/src/main/java/com/macro/mall/demo/validator/FlagValidatorClass.java b/mall-demo/src/main/java/com/macro/mall/demo/validator/FlagValidatorClass.java new file mode 100644 index 0000000000..880177f4ba --- /dev/null +++ b/mall-demo/src/main/java/com/macro/mall/demo/validator/FlagValidatorClass.java @@ -0,0 +1,27 @@ +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.values(); + } + + @Override + public boolean isValid(Integer value, ConstraintValidatorContext constraintValidatorContext) { + boolean isValid = false; + for(int i=0;i + + + + Demo Brand List + + + +

all brand list

+
    +
  • + + +
  • +
+ + \ No newline at end of file diff --git a/mall-demo/src/main/resources/templates/login.html b/mall-demo/src/main/resources/templates/login.html new file mode 100644 index 0000000000..dd625f7199 --- /dev/null +++ b/mall-demo/src/main/resources/templates/login.html @@ -0,0 +1,31 @@ + + + Login + + + +
+

Login With Username and Password

+
+ Incorrect username or password. Try again. +
+ +
+ + + + + + + + + + + + +
User:
Password:
+
+
+ + \ No newline at end of file diff --git a/mall-demo/src/test/java/com/macro/mall/MallDemoApplicationTests.java b/mall-demo/src/test/java/com/macro/mall/MallDemoApplicationTests.java new file mode 100644 index 0000000000..eb22e8f80f --- /dev/null +++ b/mall-demo/src/test/java/com/macro/mall/MallDemoApplicationTests.java @@ -0,0 +1,16 @@ +package com.macro.mall; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.springframework.boot.test.context.SpringBootTest; +import org.springframework.test.context.junit4.SpringRunner; + +@RunWith(SpringRunner.class) +@SpringBootTest +public class MallDemoApplicationTests { + + @Test + public void contextLoads() { + } + +} diff --git a/mall-mbg/pom.xml b/mall-mbg/pom.xml new file mode 100644 index 0000000000..a9bea2c4c3 --- /dev/null +++ b/mall-mbg/pom.xml @@ -0,0 +1,34 @@ + + + + mall + com.macro + 1.0-SNAPSHOT + + 4.0.0 + + mall-mbg + + + + org.mybatis.generator + mybatis-generator-core + 1.3.3 + + + + org.mybatis + mybatis + 3.4.2 + + + + mysql + mysql-connector-java + 5.1.42 + + + + \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/Generator.java b/mall-mbg/src/main/java/com/macro/mall/Generator.java new file mode 100644 index 0000000000..6a165c81c4 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/Generator.java @@ -0,0 +1,37 @@ +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的代码 + */ +public class Generator { + public static void main(String[] args) throws Exception { + //MBG 执行过程中的警告信息 + List warnings = new ArrayList(); + //当生成的代码重复时,覆盖原代码 + boolean overwrite = true; + //读取我们的 MBG 配置文件 + InputStream is = Generator.class.getResourceAsStream("/generatorConfig.xml"); + ConfigurationParser cp = new ConfigurationParser(warnings); + Configuration config = cp.parseConfiguration(is); + is.close(); + + DefaultShellCallback callback = new DefaultShellCallback(overwrite); + //创建 MBG + MyBatisGenerator myBatisGenerator = new MyBatisGenerator(config, callback, warnings); + //执行生成代码 + myBatisGenerator.generate(null); + //输出警告信息 + for (String warning : warnings) { + System.out.println(warning); + } + } +} diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpCategoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpCategoryMapper.java new file mode 100644 index 0000000000..8e1c90eae3 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpCategoryMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(CmsHelpCategoryExample example); + + int deleteByExample(CmsHelpCategoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsHelpCategory record); + + int insertSelective(CmsHelpCategory record); + + List selectByExample(CmsHelpCategoryExample example); + + CmsHelpCategory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsHelpCategory record, @Param("example") CmsHelpCategoryExample example); + + int updateByExample(@Param("record") CmsHelpCategory record, @Param("example") CmsHelpCategoryExample example); + + int updateByPrimaryKeySelective(CmsHelpCategory record); + + int updateByPrimaryKey(CmsHelpCategory record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpMapper.java new file mode 100644 index 0000000000..abc21c3c28 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsHelpMapper.java @@ -0,0 +1,36 @@ +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 { + int countByExample(CmsHelpExample example); + + int deleteByExample(CmsHelpExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsHelp record); + + int insertSelective(CmsHelp record); + + List selectByExampleWithBLOBs(CmsHelpExample example); + + List selectByExample(CmsHelpExample example); + + CmsHelp selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example); + + int updateByExampleWithBLOBs(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example); + + int updateByExample(@Param("record") CmsHelp record, @Param("example") CmsHelpExample example); + + int updateByPrimaryKeySelective(CmsHelp record); + + int updateByPrimaryKeyWithBLOBs(CmsHelp record); + + int updateByPrimaryKey(CmsHelp record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsMemberReportMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsMemberReportMapper.java new file mode 100644 index 0000000000..62d76830f1 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsMemberReportMapper.java @@ -0,0 +1,22 @@ +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 { + int 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); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaMapper.java new file mode 100644 index 0000000000..dec8e02ce9 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaMapper.java @@ -0,0 +1,36 @@ +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 { + int countByExample(CmsPrefrenceAreaExample example); + + int deleteByExample(CmsPrefrenceAreaExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsPrefrenceArea record); + + int insertSelective(CmsPrefrenceArea record); + + List selectByExampleWithBLOBs(CmsPrefrenceAreaExample example); + + List selectByExample(CmsPrefrenceAreaExample example); + + CmsPrefrenceArea selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example); + + int updateByExampleWithBLOBs(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example); + + int updateByExample(@Param("record") CmsPrefrenceArea record, @Param("example") CmsPrefrenceAreaExample example); + + int updateByPrimaryKeySelective(CmsPrefrenceArea record); + + int updateByPrimaryKeyWithBLOBs(CmsPrefrenceArea record); + + int updateByPrimaryKey(CmsPrefrenceArea record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java new file mode 100644 index 0000000000..985e808511 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(CmsPrefrenceAreaProductRelationExample example); + + int deleteByExample(CmsPrefrenceAreaProductRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsPrefrenceAreaProductRelation record); + + int insertSelective(CmsPrefrenceAreaProductRelation record); + + List selectByExample(CmsPrefrenceAreaProductRelationExample example); + + CmsPrefrenceAreaProductRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsPrefrenceAreaProductRelation record, @Param("example") CmsPrefrenceAreaProductRelationExample example); + + int updateByExample(@Param("record") CmsPrefrenceAreaProductRelation record, @Param("example") CmsPrefrenceAreaProductRelationExample example); + + int updateByPrimaryKeySelective(CmsPrefrenceAreaProductRelation record); + + int updateByPrimaryKey(CmsPrefrenceAreaProductRelation record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCategoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCategoryMapper.java new file mode 100644 index 0000000000..6a73860e41 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCategoryMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(CmsSubjectCategoryExample example); + + int deleteByExample(CmsSubjectCategoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsSubjectCategory record); + + int insertSelective(CmsSubjectCategory record); + + List selectByExample(CmsSubjectCategoryExample example); + + CmsSubjectCategory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsSubjectCategory record, @Param("example") CmsSubjectCategoryExample example); + + int updateByExample(@Param("record") CmsSubjectCategory record, @Param("example") CmsSubjectCategoryExample example); + + int updateByPrimaryKeySelective(CmsSubjectCategory record); + + int updateByPrimaryKey(CmsSubjectCategory record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCommentMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCommentMapper.java new file mode 100644 index 0000000000..933a244763 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectCommentMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(CmsSubjectCommentExample example); + + int deleteByExample(CmsSubjectCommentExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsSubjectComment record); + + int insertSelective(CmsSubjectComment record); + + List selectByExample(CmsSubjectCommentExample example); + + CmsSubjectComment selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsSubjectComment record, @Param("example") CmsSubjectCommentExample example); + + int updateByExample(@Param("record") CmsSubjectComment record, @Param("example") CmsSubjectCommentExample example); + + int updateByPrimaryKeySelective(CmsSubjectComment record); + + int updateByPrimaryKey(CmsSubjectComment record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectMapper.java new file mode 100644 index 0000000000..a8b6870d0c --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectMapper.java @@ -0,0 +1,36 @@ +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 { + int countByExample(CmsSubjectExample example); + + int deleteByExample(CmsSubjectExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsSubject record); + + int insertSelective(CmsSubject record); + + List selectByExampleWithBLOBs(CmsSubjectExample example); + + List selectByExample(CmsSubjectExample example); + + CmsSubject selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); + + int updateByExampleWithBLOBs(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); + + int updateByExample(@Param("record") CmsSubject record, @Param("example") CmsSubjectExample example); + + int updateByPrimaryKeySelective(CmsSubject record); + + int updateByPrimaryKeyWithBLOBs(CmsSubject record); + + int updateByPrimaryKey(CmsSubject record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectProductRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectProductRelationMapper.java new file mode 100644 index 0000000000..22ef3e22d5 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsSubjectProductRelationMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(CmsSubjectProductRelationExample example); + + int deleteByExample(CmsSubjectProductRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsSubjectProductRelation record); + + int insertSelective(CmsSubjectProductRelation record); + + List selectByExample(CmsSubjectProductRelationExample example); + + CmsSubjectProductRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsSubjectProductRelation record, @Param("example") CmsSubjectProductRelationExample example); + + int updateByExample(@Param("record") CmsSubjectProductRelation record, @Param("example") CmsSubjectProductRelationExample example); + + int updateByPrimaryKeySelective(CmsSubjectProductRelation record); + + int updateByPrimaryKey(CmsSubjectProductRelation record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCategoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCategoryMapper.java new file mode 100644 index 0000000000..32aadba7c3 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCategoryMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(CmsTopicCategoryExample example); + + int deleteByExample(CmsTopicCategoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsTopicCategory record); + + int insertSelective(CmsTopicCategory record); + + List selectByExample(CmsTopicCategoryExample example); + + CmsTopicCategory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsTopicCategory record, @Param("example") CmsTopicCategoryExample example); + + int updateByExample(@Param("record") CmsTopicCategory record, @Param("example") CmsTopicCategoryExample example); + + int updateByPrimaryKeySelective(CmsTopicCategory record); + + int updateByPrimaryKey(CmsTopicCategory record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCommentMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCommentMapper.java new file mode 100644 index 0000000000..30743f6a5d --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicCommentMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(CmsTopicCommentExample example); + + int deleteByExample(CmsTopicCommentExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsTopicComment record); + + int insertSelective(CmsTopicComment record); + + List selectByExample(CmsTopicCommentExample example); + + CmsTopicComment selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsTopicComment record, @Param("example") CmsTopicCommentExample example); + + int updateByExample(@Param("record") CmsTopicComment record, @Param("example") CmsTopicCommentExample example); + + int updateByPrimaryKeySelective(CmsTopicComment record); + + int updateByPrimaryKey(CmsTopicComment record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicMapper.java new file mode 100644 index 0000000000..13ca367739 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/CmsTopicMapper.java @@ -0,0 +1,36 @@ +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 { + int countByExample(CmsTopicExample example); + + int deleteByExample(CmsTopicExample example); + + int deleteByPrimaryKey(Long id); + + int insert(CmsTopic record); + + int insertSelective(CmsTopic record); + + List selectByExampleWithBLOBs(CmsTopicExample example); + + List selectByExample(CmsTopicExample example); + + CmsTopic selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example); + + int updateByExampleWithBLOBs(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example); + + int updateByExample(@Param("record") CmsTopic record, @Param("example") CmsTopicExample example); + + int updateByPrimaryKeySelective(CmsTopic record); + + int updateByPrimaryKeyWithBLOBs(CmsTopic record); + + int updateByPrimaryKey(CmsTopic record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsCompanyAddressMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsCompanyAddressMapper.java new file mode 100644 index 0000000000..e2df285f7d --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsCompanyAddressMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(OmsCompanyAddressExample example); + + int deleteByExample(OmsCompanyAddressExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsCompanyAddress record); + + int insertSelective(OmsCompanyAddress record); + + List selectByExample(OmsCompanyAddressExample example); + + OmsCompanyAddress selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsCompanyAddress record, @Param("example") OmsCompanyAddressExample example); + + int updateByExample(@Param("record") OmsCompanyAddress record, @Param("example") OmsCompanyAddressExample example); + + int updateByPrimaryKeySelective(OmsCompanyAddress record); + + int updateByPrimaryKey(OmsCompanyAddress record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderItemMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderItemMapper.java new file mode 100644 index 0000000000..afaff3ad2d --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderItemMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(OmsOrderItemExample example); + + int deleteByExample(OmsOrderItemExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsOrderItem record); + + int insertSelective(OmsOrderItem record); + + List selectByExample(OmsOrderItemExample example); + + OmsOrderItem selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsOrderItem record, @Param("example") OmsOrderItemExample example); + + int updateByExample(@Param("record") OmsOrderItem record, @Param("example") OmsOrderItemExample example); + + int updateByPrimaryKeySelective(OmsOrderItem record); + + int updateByPrimaryKey(OmsOrderItem record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderMapper.java new file mode 100644 index 0000000000..576291448f --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(OmsOrderExample example); + + int deleteByExample(OmsOrderExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsOrder record); + + int insertSelective(OmsOrder record); + + List selectByExample(OmsOrderExample example); + + OmsOrder selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsOrder record, @Param("example") OmsOrderExample example); + + int updateByExample(@Param("record") OmsOrder record, @Param("example") OmsOrderExample example); + + int updateByPrimaryKeySelective(OmsOrder record); + + int updateByPrimaryKey(OmsOrder record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.java new file mode 100644 index 0000000000..0922ae2f96 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(OmsOrderOperateHistoryExample example); + + int deleteByExample(OmsOrderOperateHistoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsOrderOperateHistory record); + + int insertSelective(OmsOrderOperateHistory record); + + List selectByExample(OmsOrderOperateHistoryExample example); + + OmsOrderOperateHistory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsOrderOperateHistory record, @Param("example") OmsOrderOperateHistoryExample example); + + int updateByExample(@Param("record") OmsOrderOperateHistory record, @Param("example") OmsOrderOperateHistoryExample example); + + int updateByPrimaryKeySelective(OmsOrderOperateHistory record); + + int updateByPrimaryKey(OmsOrderOperateHistory record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnApplyMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnApplyMapper.java new file mode 100644 index 0000000000..60ba00cc64 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnApplyMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(OmsOrderReturnApplyExample example); + + int deleteByExample(OmsOrderReturnApplyExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsOrderReturnApply record); + + int insertSelective(OmsOrderReturnApply record); + + List selectByExample(OmsOrderReturnApplyExample example); + + OmsOrderReturnApply selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsOrderReturnApply record, @Param("example") OmsOrderReturnApplyExample example); + + int updateByExample(@Param("record") OmsOrderReturnApply record, @Param("example") OmsOrderReturnApplyExample example); + + int updateByPrimaryKeySelective(OmsOrderReturnApply record); + + int updateByPrimaryKey(OmsOrderReturnApply record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnReasonMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnReasonMapper.java new file mode 100644 index 0000000000..c314c39c39 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderReturnReasonMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(OmsOrderReturnReasonExample example); + + int deleteByExample(OmsOrderReturnReasonExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsOrderReturnReason record); + + int insertSelective(OmsOrderReturnReason record); + + List selectByExample(OmsOrderReturnReasonExample example); + + OmsOrderReturnReason selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); + + int updateByExample(@Param("record") OmsOrderReturnReason record, @Param("example") OmsOrderReturnReasonExample example); + + int updateByPrimaryKeySelective(OmsOrderReturnReason record); + + int updateByPrimaryKey(OmsOrderReturnReason record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderSettingMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderSettingMapper.java new file mode 100644 index 0000000000..829fe8cfbb --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/OmsOrderSettingMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(OmsOrderSettingExample example); + + int deleteByExample(OmsOrderSettingExample example); + + int deleteByPrimaryKey(Long id); + + int insert(OmsOrderSetting record); + + int insertSelective(OmsOrderSetting record); + + List selectByExample(OmsOrderSettingExample example); + + OmsOrderSetting selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") OmsOrderSetting record, @Param("example") OmsOrderSettingExample example); + + int updateByExample(@Param("record") OmsOrderSetting record, @Param("example") OmsOrderSettingExample example); + + int updateByPrimaryKeySelective(OmsOrderSetting record); + + int updateByPrimaryKey(OmsOrderSetting record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumMapper.java new file mode 100644 index 0000000000..7409132c2a --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsAlbumExample example); + + int deleteByExample(PmsAlbumExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsAlbum record); + + int insertSelective(PmsAlbum record); + + List selectByExample(PmsAlbumExample example); + + PmsAlbum selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsAlbum record, @Param("example") PmsAlbumExample example); + + int updateByExample(@Param("record") PmsAlbum record, @Param("example") PmsAlbumExample example); + + int updateByPrimaryKeySelective(PmsAlbum record); + + int updateByPrimaryKey(PmsAlbum record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumPicMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumPicMapper.java new file mode 100644 index 0000000000..25d4a412d3 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsAlbumPicMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsAlbumPicExample example); + + int deleteByExample(PmsAlbumPicExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsAlbumPic record); + + int insertSelective(PmsAlbumPic record); + + List selectByExample(PmsAlbumPicExample example); + + PmsAlbumPic selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsAlbumPic record, @Param("example") PmsAlbumPicExample example); + + int updateByExample(@Param("record") PmsAlbumPic record, @Param("example") PmsAlbumPicExample example); + + int updateByPrimaryKeySelective(PmsAlbumPic record); + + int updateByPrimaryKey(PmsAlbumPic record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsBrandMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsBrandMapper.java new file mode 100644 index 0000000000..1ce1a5e449 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsBrandMapper.java @@ -0,0 +1,36 @@ +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 { + int countByExample(PmsBrandExample example); + + int deleteByExample(PmsBrandExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsBrand record); + + int insertSelective(PmsBrand record); + + List selectByExampleWithBLOBs(PmsBrandExample example); + + List selectByExample(PmsBrandExample example); + + PmsBrand selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example); + + int updateByExampleWithBLOBs(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example); + + int updateByExample(@Param("record") PmsBrand record, @Param("example") PmsBrandExample example); + + int updateByPrimaryKeySelective(PmsBrand record); + + int updateByPrimaryKeyWithBLOBs(PmsBrand record); + + int updateByPrimaryKey(PmsBrand record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentMapper.java new file mode 100644 index 0000000000..c285db5b9a --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentMapper.java @@ -0,0 +1,36 @@ +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 { + int countByExample(PmsCommentExample example); + + int deleteByExample(PmsCommentExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsComment record); + + int insertSelective(PmsComment record); + + List selectByExampleWithBLOBs(PmsCommentExample example); + + List selectByExample(PmsCommentExample example); + + PmsComment selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsComment record, @Param("example") PmsCommentExample example); + + int updateByExampleWithBLOBs(@Param("record") PmsComment record, @Param("example") PmsCommentExample example); + + int updateByExample(@Param("record") PmsComment record, @Param("example") PmsCommentExample example); + + int updateByPrimaryKeySelective(PmsComment record); + + int updateByPrimaryKeyWithBLOBs(PmsComment record); + + int updateByPrimaryKey(PmsComment record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentReplayMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentReplayMapper.java new file mode 100644 index 0000000000..65188c9008 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsCommentReplayMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsCommentReplayExample example); + + int deleteByExample(PmsCommentReplayExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsCommentReplay record); + + int insertSelective(PmsCommentReplay record); + + List selectByExample(PmsCommentReplayExample example); + + PmsCommentReplay selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsCommentReplay record, @Param("example") PmsCommentReplayExample example); + + int updateByExample(@Param("record") PmsCommentReplay record, @Param("example") PmsCommentReplayExample example); + + int updateByPrimaryKeySelective(PmsCommentReplay record); + + int updateByPrimaryKey(PmsCommentReplay record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsFeightTemplateMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsFeightTemplateMapper.java new file mode 100644 index 0000000000..876d6800b8 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsFeightTemplateMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsFeightTemplateExample example); + + int deleteByExample(PmsFeightTemplateExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsFeightTemplate record); + + int insertSelective(PmsFeightTemplate record); + + List selectByExample(PmsFeightTemplateExample example); + + PmsFeightTemplate selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsFeightTemplate record, @Param("example") PmsFeightTemplateExample example); + + int updateByExample(@Param("record") PmsFeightTemplate record, @Param("example") PmsFeightTemplateExample example); + + int updateByPrimaryKeySelective(PmsFeightTemplate record); + + int updateByPrimaryKey(PmsFeightTemplate record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsMemberPriceMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsMemberPriceMapper.java new file mode 100644 index 0000000000..d947f79d3d --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsMemberPriceMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsMemberPriceExample example); + + int deleteByExample(PmsMemberPriceExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsMemberPrice record); + + int insertSelective(PmsMemberPrice record); + + List selectByExample(PmsMemberPriceExample example); + + PmsMemberPrice selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); + + int updateByExample(@Param("record") PmsMemberPrice record, @Param("example") PmsMemberPriceExample example); + + int updateByPrimaryKeySelective(PmsMemberPrice record); + + int updateByPrimaryKey(PmsMemberPrice record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.java new file mode 100644 index 0000000000..fe42826280 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsProductAttributeCategoryExample example); + + int deleteByExample(PmsProductAttributeCategoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductAttributeCategory record); + + int insertSelective(PmsProductAttributeCategory record); + + List selectByExample(PmsProductAttributeCategoryExample example); + + PmsProductAttributeCategory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductAttributeCategory record, @Param("example") PmsProductAttributeCategoryExample example); + + int updateByExample(@Param("record") PmsProductAttributeCategory record, @Param("example") PmsProductAttributeCategoryExample example); + + int updateByPrimaryKeySelective(PmsProductAttributeCategory record); + + int updateByPrimaryKey(PmsProductAttributeCategory record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeMapper.java new file mode 100644 index 0000000000..2e06985111 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsProductAttributeExample example); + + int deleteByExample(PmsProductAttributeExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductAttribute record); + + int insertSelective(PmsProductAttribute record); + + List selectByExample(PmsProductAttributeExample example); + + PmsProductAttribute selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductAttribute record, @Param("example") PmsProductAttributeExample example); + + int updateByExample(@Param("record") PmsProductAttribute record, @Param("example") PmsProductAttributeExample example); + + int updateByPrimaryKeySelective(PmsProductAttribute record); + + int updateByPrimaryKey(PmsProductAttribute record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeValueMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeValueMapper.java new file mode 100644 index 0000000000..ce255876a8 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductAttributeValueMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsProductAttributeValueExample example); + + int deleteByExample(PmsProductAttributeValueExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductAttributeValue record); + + int insertSelective(PmsProductAttributeValue record); + + List selectByExample(PmsProductAttributeValueExample example); + + PmsProductAttributeValue selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductAttributeValue record, @Param("example") PmsProductAttributeValueExample example); + + int updateByExample(@Param("record") PmsProductAttributeValue record, @Param("example") PmsProductAttributeValueExample example); + + int updateByPrimaryKeySelective(PmsProductAttributeValue record); + + int updateByPrimaryKey(PmsProductAttributeValue record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.java new file mode 100644 index 0000000000..720a8b88e2 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsProductCategoryAttributeRelationExample example); + + int deleteByExample(PmsProductCategoryAttributeRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductCategoryAttributeRelation record); + + int insertSelective(PmsProductCategoryAttributeRelation record); + + List selectByExample(PmsProductCategoryAttributeRelationExample example); + + PmsProductCategoryAttributeRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductCategoryAttributeRelation record, @Param("example") PmsProductCategoryAttributeRelationExample example); + + int updateByExample(@Param("record") PmsProductCategoryAttributeRelation record, @Param("example") PmsProductCategoryAttributeRelationExample example); + + int updateByPrimaryKeySelective(PmsProductCategoryAttributeRelation record); + + int updateByPrimaryKey(PmsProductCategoryAttributeRelation record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryMapper.java new file mode 100644 index 0000000000..6f376b18b6 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductCategoryMapper.java @@ -0,0 +1,36 @@ +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 { + int countByExample(PmsProductCategoryExample example); + + int deleteByExample(PmsProductCategoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductCategory record); + + int insertSelective(PmsProductCategory record); + + List selectByExampleWithBLOBs(PmsProductCategoryExample example); + + List selectByExample(PmsProductCategoryExample example); + + PmsProductCategory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example); + + int updateByExampleWithBLOBs(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example); + + int updateByExample(@Param("record") PmsProductCategory record, @Param("example") PmsProductCategoryExample example); + + int updateByPrimaryKeySelective(PmsProductCategory record); + + int updateByPrimaryKeyWithBLOBs(PmsProductCategory record); + + int updateByPrimaryKey(PmsProductCategory record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java new file mode 100644 index 0000000000..6f3b8d547f --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductFullReductionMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsProductFullReductionExample example); + + int deleteByExample(PmsProductFullReductionExample example); + + int deleteByPrimaryKey(Integer id); + + int insert(PmsProductFullReduction record); + + int insertSelective(PmsProductFullReduction record); + + List selectByExample(PmsProductFullReductionExample example); + + PmsProductFullReduction selectByPrimaryKey(Integer id); + + int updateByExampleSelective(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example); + + int updateByExample(@Param("record") PmsProductFullReduction record, @Param("example") PmsProductFullReductionExample example); + + int updateByPrimaryKeySelective(PmsProductFullReduction record); + + int updateByPrimaryKey(PmsProductFullReduction record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductLadderMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductLadderMapper.java new file mode 100644 index 0000000000..30e52e855c --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductLadderMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsProductLadderExample example); + + int deleteByExample(PmsProductLadderExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductLadder record); + + int insertSelective(PmsProductLadder record); + + List selectByExample(PmsProductLadderExample example); + + PmsProductLadder selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example); + + int updateByExample(@Param("record") PmsProductLadder record, @Param("example") PmsProductLadderExample example); + + int updateByPrimaryKeySelective(PmsProductLadder record); + + int updateByPrimaryKey(PmsProductLadder record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductMapper.java new file mode 100644 index 0000000000..d654b341f6 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductMapper.java @@ -0,0 +1,36 @@ +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 { + int countByExample(PmsProductExample example); + + int deleteByExample(PmsProductExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProduct record); + + int insertSelective(PmsProduct record); + + List selectByExampleWithBLOBs(PmsProductExample example); + + List selectByExample(PmsProductExample example); + + PmsProduct selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); + + int updateByExampleWithBLOBs(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); + + int updateByExample(@Param("record") PmsProduct record, @Param("example") PmsProductExample example); + + int updateByPrimaryKeySelective(PmsProduct record); + + int updateByPrimaryKeyWithBLOBs(PmsProduct record); + + int updateByPrimaryKey(PmsProduct record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductOperateLogMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductOperateLogMapper.java new file mode 100644 index 0000000000..b39424f9d0 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductOperateLogMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsProductOperateLogExample example); + + int deleteByExample(PmsProductOperateLogExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductOperateLog record); + + int insertSelective(PmsProductOperateLog record); + + List selectByExample(PmsProductOperateLogExample example); + + PmsProductOperateLog selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example); + + int updateByExample(@Param("record") PmsProductOperateLog record, @Param("example") PmsProductOperateLogExample example); + + int updateByPrimaryKeySelective(PmsProductOperateLog record); + + int updateByPrimaryKey(PmsProductOperateLog record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductVertifyRecordMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductVertifyRecordMapper.java new file mode 100644 index 0000000000..3ff6d81aee --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsProductVertifyRecordMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsProductVertifyRecordExample example); + + int deleteByExample(PmsProductVertifyRecordExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsProductVertifyRecord record); + + int insertSelective(PmsProductVertifyRecord record); + + List selectByExample(PmsProductVertifyRecordExample example); + + PmsProductVertifyRecord selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example); + + int updateByExample(@Param("record") PmsProductVertifyRecord record, @Param("example") PmsProductVertifyRecordExample example); + + int updateByPrimaryKeySelective(PmsProductVertifyRecord record); + + int updateByPrimaryKey(PmsProductVertifyRecord record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/PmsSkuStockMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsSkuStockMapper.java new file mode 100644 index 0000000000..8b00bb0268 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/PmsSkuStockMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(PmsSkuStockExample example); + + int deleteByExample(PmsSkuStockExample example); + + int deleteByPrimaryKey(Long id); + + int insert(PmsSkuStock record); + + int insertSelective(PmsSkuStock record); + + List selectByExample(PmsSkuStockExample example); + + PmsSkuStock selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); + + int updateByExample(@Param("record") PmsSkuStock record, @Param("example") PmsSkuStockExample example); + + int updateByPrimaryKeySelective(PmsSkuStock record); + + int updateByPrimaryKey(PmsSkuStock record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponHistoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponHistoryMapper.java new file mode 100644 index 0000000000..93814e8615 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponHistoryMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(SmsCouponHistoryExample example); + + int deleteByExample(SmsCouponHistoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsCouponHistory record); + + int insertSelective(SmsCouponHistory record); + + List selectByExample(SmsCouponHistoryExample example); + + SmsCouponHistory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsCouponHistory record, @Param("example") SmsCouponHistoryExample example); + + int updateByExample(@Param("record") SmsCouponHistory record, @Param("example") SmsCouponHistoryExample example); + + int updateByPrimaryKeySelective(SmsCouponHistory record); + + int updateByPrimaryKey(SmsCouponHistory record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponMapper.java new file mode 100644 index 0000000000..2869a39524 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(SmsCouponExample example); + + int deleteByExample(SmsCouponExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsCoupon record); + + int insertSelective(SmsCoupon record); + + List selectByExample(SmsCouponExample example); + + SmsCoupon selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsCoupon record, @Param("example") SmsCouponExample example); + + int updateByExample(@Param("record") SmsCoupon record, @Param("example") SmsCouponExample example); + + int updateByPrimaryKeySelective(SmsCoupon record); + + int updateByPrimaryKey(SmsCoupon record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.java new file mode 100644 index 0000000000..1eae8669aa --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(SmsCouponProductCategoryRelationExample example); + + int deleteByExample(SmsCouponProductCategoryRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsCouponProductCategoryRelation record); + + int insertSelective(SmsCouponProductCategoryRelation record); + + List selectByExample(SmsCouponProductCategoryRelationExample example); + + SmsCouponProductCategoryRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsCouponProductCategoryRelation record, @Param("example") SmsCouponProductCategoryRelationExample example); + + int updateByExample(@Param("record") SmsCouponProductCategoryRelation record, @Param("example") SmsCouponProductCategoryRelationExample example); + + int updateByPrimaryKeySelective(SmsCouponProductCategoryRelation record); + + int updateByPrimaryKey(SmsCouponProductCategoryRelation record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductRelationMapper.java new file mode 100644 index 0000000000..220f12b875 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsCouponProductRelationMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(SmsCouponProductRelationExample example); + + int deleteByExample(SmsCouponProductRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsCouponProductRelation record); + + int insertSelective(SmsCouponProductRelation record); + + List selectByExample(SmsCouponProductRelationExample example); + + SmsCouponProductRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsCouponProductRelation record, @Param("example") SmsCouponProductRelationExample example); + + int updateByExample(@Param("record") SmsCouponProductRelation record, @Param("example") SmsCouponProductRelationExample example); + + int updateByPrimaryKeySelective(SmsCouponProductRelation record); + + int updateByPrimaryKey(SmsCouponProductRelation record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionLogMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionLogMapper.java new file mode 100644 index 0000000000..9e7d5af86e --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionLogMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(SmsFlashPromotionLogExample example); + + int deleteByExample(SmsFlashPromotionLogExample example); + + int deleteByPrimaryKey(Integer id); + + int insert(SmsFlashPromotionLog record); + + int insertSelective(SmsFlashPromotionLog record); + + List selectByExample(SmsFlashPromotionLogExample example); + + SmsFlashPromotionLog selectByPrimaryKey(Integer id); + + int updateByExampleSelective(@Param("record") SmsFlashPromotionLog record, @Param("example") SmsFlashPromotionLogExample example); + + int updateByExample(@Param("record") SmsFlashPromotionLog record, @Param("example") SmsFlashPromotionLogExample example); + + int updateByPrimaryKeySelective(SmsFlashPromotionLog record); + + int updateByPrimaryKey(SmsFlashPromotionLog record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionMapper.java new file mode 100644 index 0000000000..9a1921cd47 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsFlashPromotionMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(SmsFlashPromotionExample example); + + int deleteByExample(SmsFlashPromotionExample example); + + int deleteByPrimaryKey(Integer id); + + int insert(SmsFlashPromotion record); + + int insertSelective(SmsFlashPromotion record); + + List selectByExample(SmsFlashPromotionExample example); + + SmsFlashPromotion selectByPrimaryKey(Integer id); + + int updateByExampleSelective(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); + + int updateByExample(@Param("record") SmsFlashPromotion record, @Param("example") SmsFlashPromotionExample example); + + int updateByPrimaryKeySelective(SmsFlashPromotion record); + + int updateByPrimaryKey(SmsFlashPromotion record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeAdvertiseMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeAdvertiseMapper.java new file mode 100644 index 0000000000..d108d8d9a4 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeAdvertiseMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(SmsHomeAdvertiseExample example); + + int deleteByExample(SmsHomeAdvertiseExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsHomeAdvertise record); + + int insertSelective(SmsHomeAdvertise record); + + List selectByExample(SmsHomeAdvertiseExample example); + + SmsHomeAdvertise selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsHomeAdvertise record, @Param("example") SmsHomeAdvertiseExample example); + + int updateByExample(@Param("record") SmsHomeAdvertise record, @Param("example") SmsHomeAdvertiseExample example); + + int updateByPrimaryKeySelective(SmsHomeAdvertise record); + + int updateByPrimaryKey(SmsHomeAdvertise record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeBrandMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeBrandMapper.java new file mode 100644 index 0000000000..e424f52d72 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeBrandMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(SmsHomeBrandExample example); + + int deleteByExample(SmsHomeBrandExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsHomeBrand record); + + int insertSelective(SmsHomeBrand record); + + List selectByExample(SmsHomeBrandExample example); + + SmsHomeBrand selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsHomeBrand record, @Param("example") SmsHomeBrandExample example); + + int updateByExample(@Param("record") SmsHomeBrand record, @Param("example") SmsHomeBrandExample example); + + int updateByPrimaryKeySelective(SmsHomeBrand record); + + int updateByPrimaryKey(SmsHomeBrand record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeNewProductMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeNewProductMapper.java new file mode 100644 index 0000000000..635326d9ca --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeNewProductMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(SmsHomeNewProductExample example); + + int deleteByExample(SmsHomeNewProductExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsHomeNewProduct record); + + int insertSelective(SmsHomeNewProduct record); + + List selectByExample(SmsHomeNewProductExample example); + + SmsHomeNewProduct selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsHomeNewProduct record, @Param("example") SmsHomeNewProductExample example); + + int updateByExample(@Param("record") SmsHomeNewProduct record, @Param("example") SmsHomeNewProductExample example); + + int updateByPrimaryKeySelective(SmsHomeNewProduct record); + + int updateByPrimaryKey(SmsHomeNewProduct record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendProductMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendProductMapper.java new file mode 100644 index 0000000000..8998ab98c4 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendProductMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(SmsHomeRecommendProductExample example); + + int deleteByExample(SmsHomeRecommendProductExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsHomeRecommendProduct record); + + int insertSelective(SmsHomeRecommendProduct record); + + List selectByExample(SmsHomeRecommendProductExample example); + + SmsHomeRecommendProduct selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsHomeRecommendProduct record, @Param("example") SmsHomeRecommendProductExample example); + + int updateByExample(@Param("record") SmsHomeRecommendProduct record, @Param("example") SmsHomeRecommendProductExample example); + + int updateByPrimaryKeySelective(SmsHomeRecommendProduct record); + + int updateByPrimaryKey(SmsHomeRecommendProduct record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.java new file mode 100644 index 0000000000..f829cf89f1 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(SmsHomeRecommendSubjectExample example); + + int deleteByExample(SmsHomeRecommendSubjectExample example); + + int deleteByPrimaryKey(Long id); + + int insert(SmsHomeRecommendSubject record); + + int insertSelective(SmsHomeRecommendSubject record); + + List selectByExample(SmsHomeRecommendSubjectExample example); + + SmsHomeRecommendSubject selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") SmsHomeRecommendSubject record, @Param("example") SmsHomeRecommendSubjectExample example); + + int updateByExample(@Param("record") SmsHomeRecommendSubject record, @Param("example") SmsHomeRecommendSubjectExample example); + + int updateByPrimaryKeySelective(SmsHomeRecommendSubject record); + + int updateByPrimaryKey(SmsHomeRecommendSubject record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminLoginLogMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminLoginLogMapper.java new file mode 100644 index 0000000000..686f93e370 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminLoginLogMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsAdminLoginLogExample example); + + int deleteByExample(UmsAdminLoginLogExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsAdminLoginLog record); + + int insertSelective(UmsAdminLoginLog record); + + List selectByExample(UmsAdminLoginLogExample example); + + UmsAdminLoginLog selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsAdminLoginLog record, @Param("example") UmsAdminLoginLogExample example); + + int updateByExample(@Param("record") UmsAdminLoginLog record, @Param("example") UmsAdminLoginLogExample example); + + int updateByPrimaryKeySelective(UmsAdminLoginLog record); + + int updateByPrimaryKey(UmsAdminLoginLog record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminMapper.java new file mode 100644 index 0000000000..759774fe5e --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsAdminMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsAdminExample example); + + int deleteByExample(UmsAdminExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsAdmin record); + + int insertSelective(UmsAdmin record); + + List selectByExample(UmsAdminExample example); + + UmsAdmin selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsAdmin record, @Param("example") UmsAdminExample example); + + int updateByExample(@Param("record") UmsAdmin record, @Param("example") UmsAdminExample example); + + int updateByPrimaryKeySelective(UmsAdmin record); + + int updateByPrimaryKey(UmsAdmin record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.java new file mode 100644 index 0000000000..f86477f3c6 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsGrowthChangeHistoryExample example); + + int deleteByExample(UmsGrowthChangeHistoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsGrowthChangeHistory record); + + int insertSelective(UmsGrowthChangeHistory record); + + List selectByExample(UmsGrowthChangeHistoryExample example); + + UmsGrowthChangeHistory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsGrowthChangeHistory record, @Param("example") UmsGrowthChangeHistoryExample example); + + int updateByExample(@Param("record") UmsGrowthChangeHistory record, @Param("example") UmsGrowthChangeHistoryExample example); + + int updateByPrimaryKeySelective(UmsGrowthChangeHistory record); + + int updateByPrimaryKey(UmsGrowthChangeHistory record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.java new file mode 100644 index 0000000000..10346bd1f5 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsIntegrationChangeHistoryExample example); + + int deleteByExample(UmsIntegrationChangeHistoryExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsIntegrationChangeHistory record); + + int insertSelective(UmsIntegrationChangeHistory record); + + List selectByExample(UmsIntegrationChangeHistoryExample example); + + UmsIntegrationChangeHistory selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsIntegrationChangeHistory record, @Param("example") UmsIntegrationChangeHistoryExample example); + + int updateByExample(@Param("record") UmsIntegrationChangeHistory record, @Param("example") UmsIntegrationChangeHistoryExample example); + + int updateByPrimaryKeySelective(UmsIntegrationChangeHistory record); + + int updateByPrimaryKey(UmsIntegrationChangeHistory record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.java new file mode 100644 index 0000000000..3405361a26 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.java @@ -0,0 +1,30 @@ +package com.macro.mall.mapper; + +import com.macro.mall.model.UmsIntergrationConsumeSetting; +import com.macro.mall.model.UmsIntergrationConsumeSettingExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UmsIntergrationConsumeSettingMapper { + int countByExample(UmsIntergrationConsumeSettingExample example); + + int deleteByExample(UmsIntergrationConsumeSettingExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsIntergrationConsumeSetting record); + + int insertSelective(UmsIntergrationConsumeSetting record); + + List selectByExample(UmsIntergrationConsumeSettingExample example); + + UmsIntergrationConsumeSetting selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsIntergrationConsumeSetting record, @Param("example") UmsIntergrationConsumeSettingExample example); + + int updateByExample(@Param("record") UmsIntergrationConsumeSetting record, @Param("example") UmsIntergrationConsumeSettingExample example); + + int updateByPrimaryKeySelective(UmsIntergrationConsumeSetting record); + + int updateByPrimaryKey(UmsIntergrationConsumeSetting record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLevelMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLevelMapper.java new file mode 100644 index 0000000000..7d7b14a652 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLevelMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsMemberLevelExample example); + + int deleteByExample(UmsMemberLevelExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberLevel record); + + int insertSelective(UmsMemberLevel record); + + List selectByExample(UmsMemberLevelExample example); + + UmsMemberLevel selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberLevel record, @Param("example") UmsMemberLevelExample example); + + int updateByExample(@Param("record") UmsMemberLevel record, @Param("example") UmsMemberLevelExample example); + + int updateByPrimaryKeySelective(UmsMemberLevel record); + + int updateByPrimaryKey(UmsMemberLevel record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLoginLogMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLoginLogMapper.java new file mode 100644 index 0000000000..14f49dbec3 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberLoginLogMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsMemberLoginLogExample example); + + int deleteByExample(UmsMemberLoginLogExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberLoginLog record); + + int insertSelective(UmsMemberLoginLog record); + + List selectByExample(UmsMemberLoginLogExample example); + + UmsMemberLoginLog selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberLoginLog record, @Param("example") UmsMemberLoginLogExample example); + + int updateByExample(@Param("record") UmsMemberLoginLog record, @Param("example") UmsMemberLoginLogExample example); + + int updateByPrimaryKeySelective(UmsMemberLoginLog record); + + int updateByPrimaryKey(UmsMemberLoginLog record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMapper.java new file mode 100644 index 0000000000..796967a7f7 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsMemberExample example); + + int deleteByExample(UmsMemberExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMember record); + + int insertSelective(UmsMember record); + + List selectByExample(UmsMemberExample example); + + UmsMember selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMember record, @Param("example") UmsMemberExample example); + + int updateByExample(@Param("record") UmsMember record, @Param("example") UmsMemberExample example); + + int updateByPrimaryKeySelective(UmsMember record); + + int updateByPrimaryKey(UmsMember record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.java new file mode 100644 index 0000000000..65ec7fcea1 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsMemberMemberTagRelationExample example); + + int deleteByExample(UmsMemberMemberTagRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberMemberTagRelation record); + + int insertSelective(UmsMemberMemberTagRelation record); + + List selectByExample(UmsMemberMemberTagRelationExample example); + + UmsMemberMemberTagRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberMemberTagRelation record, @Param("example") UmsMemberMemberTagRelationExample example); + + int updateByExample(@Param("record") UmsMemberMemberTagRelation record, @Param("example") UmsMemberMemberTagRelationExample example); + + int updateByPrimaryKeySelective(UmsMemberMemberTagRelation record); + + int updateByPrimaryKey(UmsMemberMemberTagRelation record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.java new file mode 100644 index 0000000000..5a543c3421 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsMemberProductCategoryRelationExample example); + + int deleteByExample(UmsMemberProductCategoryRelationExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberProductCategoryRelation record); + + int insertSelective(UmsMemberProductCategoryRelation record); + + List selectByExample(UmsMemberProductCategoryRelationExample example); + + UmsMemberProductCategoryRelation selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberProductCategoryRelation record, @Param("example") UmsMemberProductCategoryRelationExample example); + + int updateByExample(@Param("record") UmsMemberProductCategoryRelation record, @Param("example") UmsMemberProductCategoryRelationExample example); + + int updateByPrimaryKeySelective(UmsMemberProductCategoryRelation record); + + int updateByPrimaryKey(UmsMemberProductCategoryRelation record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.java new file mode 100644 index 0000000000..b9ef85dfa6 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsMemberReceiveAddressExample example); + + int deleteByExample(UmsMemberReceiveAddressExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberReceiveAddress record); + + int insertSelective(UmsMemberReceiveAddress record); + + List selectByExample(UmsMemberReceiveAddressExample example); + + UmsMemberReceiveAddress selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberReceiveAddress record, @Param("example") UmsMemberReceiveAddressExample example); + + int updateByExample(@Param("record") UmsMemberReceiveAddress record, @Param("example") UmsMemberReceiveAddressExample example); + + int updateByPrimaryKeySelective(UmsMemberReceiveAddress record); + + int updateByPrimaryKey(UmsMemberReceiveAddress record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberRuleSettingMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberRuleSettingMapper.java new file mode 100644 index 0000000000..9c9a859448 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberRuleSettingMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsMemberRuleSettingExample example); + + int deleteByExample(UmsMemberRuleSettingExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberRuleSetting record); + + int insertSelective(UmsMemberRuleSetting record); + + List selectByExample(UmsMemberRuleSettingExample example); + + UmsMemberRuleSetting selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberRuleSetting record, @Param("example") UmsMemberRuleSettingExample example); + + int updateByExample(@Param("record") UmsMemberRuleSetting record, @Param("example") UmsMemberRuleSettingExample example); + + int updateByPrimaryKeySelective(UmsMemberRuleSetting record); + + int updateByPrimaryKey(UmsMemberRuleSetting record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.java new file mode 100644 index 0000000000..cb17ae2b79 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsMemberStatisticsInfoExample example); + + int deleteByExample(UmsMemberStatisticsInfoExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberStatisticsInfo record); + + int insertSelective(UmsMemberStatisticsInfo record); + + List selectByExample(UmsMemberStatisticsInfoExample example); + + UmsMemberStatisticsInfo selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberStatisticsInfo record, @Param("example") UmsMemberStatisticsInfoExample example); + + int updateByExample(@Param("record") UmsMemberStatisticsInfo record, @Param("example") UmsMemberStatisticsInfoExample example); + + int updateByPrimaryKeySelective(UmsMemberStatisticsInfo record); + + int updateByPrimaryKey(UmsMemberStatisticsInfo record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTagMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTagMapper.java new file mode 100644 index 0000000000..6a9c9cba7b --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTagMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsMemberTagExample example); + + int deleteByExample(UmsMemberTagExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberTag record); + + int insertSelective(UmsMemberTag record); + + List selectByExample(UmsMemberTagExample example); + + UmsMemberTag selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberTag record, @Param("example") UmsMemberTagExample example); + + int updateByExample(@Param("record") UmsMemberTag record, @Param("example") UmsMemberTagExample example); + + int updateByPrimaryKeySelective(UmsMemberTag record); + + int updateByPrimaryKey(UmsMemberTag record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTaskMapper.java b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTaskMapper.java new file mode 100644 index 0000000000..c22886248c --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/mapper/UmsMemberTaskMapper.java @@ -0,0 +1,30 @@ +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 { + int countByExample(UmsMemberTaskExample example); + + int deleteByExample(UmsMemberTaskExample example); + + int deleteByPrimaryKey(Long id); + + int insert(UmsMemberTask record); + + int insertSelective(UmsMemberTask record); + + List selectByExample(UmsMemberTaskExample example); + + UmsMemberTask selectByPrimaryKey(Long id); + + int updateByExampleSelective(@Param("record") UmsMemberTask record, @Param("example") UmsMemberTaskExample example); + + int updateByExample(@Param("record") UmsMemberTask record, @Param("example") UmsMemberTaskExample example); + + int updateByPrimaryKeySelective(UmsMemberTask record); + + int updateByPrimaryKey(UmsMemberTask record); +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java new file mode 100644 index 0000000000..d5aa0cd15f --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelp.java @@ -0,0 +1,107 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class CmsHelp implements Serializable { + private Long id; + + private Long categoryId; + + private String icon; + + private String title; + + private Integer showStatus; + + private Date createTime; + + private Integer readCount; + + private String content; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getCategoryId() { + return categoryId; + } + + public void setCategoryId(Long categoryId) { + this.categoryId = categoryId; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getReadCount() { + return readCount; + } + + public void setReadCount(Integer readCount) { + this.readCount = readCount; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", categoryId=").append(categoryId); + sb.append(", icon=").append(icon); + sb.append(", title=").append(title); + sb.append(", showStatus=").append(showStatus); + sb.append(", createTime=").append(createTime); + sb.append(", readCount=").append(readCount); + sb.append(", content=").append(content); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategory.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategory.java new file mode 100644 index 0000000000..d0fa70fec6 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategory.java @@ -0,0 +1,84 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class CmsHelpCategory implements Serializable { + private Long id; + + private String name; + + private String icon; + + private Integer helpCount; + + private Integer showStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public Integer getHelpCount() { + return helpCount; + } + + public void setHelpCount(Integer helpCount) { + this.helpCount = helpCount; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", icon=").append(icon); + sb.append(", helpCount=").append(helpCount); + sb.append(", showStatus=").append(showStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategoryExample.java new file mode 100644 index 0000000000..5d1c852cc7 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpCategoryExample.java @@ -0,0 +1,580 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class CmsHelpCategoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsHelpCategoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andHelpCountIsNull() { + addCriterion("help_count is null"); + return (Criteria) this; + } + + public Criteria andHelpCountIsNotNull() { + addCriterion("help_count is not null"); + return (Criteria) this; + } + + public Criteria andHelpCountEqualTo(Integer value) { + addCriterion("help_count =", value, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountNotEqualTo(Integer value) { + addCriterion("help_count <>", value, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountGreaterThan(Integer value) { + addCriterion("help_count >", value, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountGreaterThanOrEqualTo(Integer value) { + addCriterion("help_count >=", value, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountLessThan(Integer value) { + addCriterion("help_count <", value, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountLessThanOrEqualTo(Integer value) { + addCriterion("help_count <=", value, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountIn(List values) { + addCriterion("help_count in", values, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountNotIn(List values) { + addCriterion("help_count not in", values, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountBetween(Integer value1, Integer value2) { + addCriterion("help_count between", value1, value2, "helpCount"); + return (Criteria) this; + } + + public Criteria andHelpCountNotBetween(Integer value1, Integer value2) { + addCriterion("help_count not between", value1, value2, "helpCount"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java new file mode 100644 index 0000000000..d70fe53e38 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsHelpExample.java @@ -0,0 +1,641 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class CmsHelpExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsHelpExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andCategoryIdIsNull() { + addCriterion("category_id is null"); + return (Criteria) this; + } + + public Criteria andCategoryIdIsNotNull() { + addCriterion("category_id is not null"); + return (Criteria) this; + } + + public Criteria andCategoryIdEqualTo(Long value) { + addCriterion("category_id =", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotEqualTo(Long value) { + addCriterion("category_id <>", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdGreaterThan(Long value) { + addCriterion("category_id >", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("category_id >=", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdLessThan(Long value) { + addCriterion("category_id <", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("category_id <=", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdIn(List values) { + addCriterion("category_id in", values, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotIn(List values) { + addCriterion("category_id not in", values, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdBetween(Long value1, Long value2) { + addCriterion("category_id between", value1, value2, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("category_id not between", value1, value2, "categoryId"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andTitleIsNull() { + addCriterion("title is null"); + return (Criteria) this; + } + + public Criteria andTitleIsNotNull() { + addCriterion("title is not null"); + return (Criteria) this; + } + + public Criteria andTitleEqualTo(String value) { + addCriterion("title =", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotEqualTo(String value) { + addCriterion("title <>", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleGreaterThan(String value) { + addCriterion("title >", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleGreaterThanOrEqualTo(String value) { + addCriterion("title >=", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleLessThan(String value) { + addCriterion("title <", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleLessThanOrEqualTo(String value) { + addCriterion("title <=", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleLike(String value) { + addCriterion("title like", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotLike(String value) { + addCriterion("title not like", value, "title"); + return (Criteria) this; + } + + public Criteria andTitleIn(List values) { + addCriterion("title in", values, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotIn(List values) { + addCriterion("title not in", values, "title"); + return (Criteria) this; + } + + public Criteria andTitleBetween(String value1, String value2) { + addCriterion("title between", value1, value2, "title"); + return (Criteria) this; + } + + public Criteria andTitleNotBetween(String value1, String value2) { + addCriterion("title not between", value1, value2, "title"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andReadCountIsNull() { + addCriterion("read_count is null"); + return (Criteria) this; + } + + public Criteria andReadCountIsNotNull() { + addCriterion("read_count is not null"); + return (Criteria) this; + } + + public Criteria andReadCountEqualTo(Integer value) { + addCriterion("read_count =", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotEqualTo(Integer value) { + addCriterion("read_count <>", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThan(Integer value) { + addCriterion("read_count >", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThanOrEqualTo(Integer value) { + addCriterion("read_count >=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThan(Integer value) { + addCriterion("read_count <", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThanOrEqualTo(Integer value) { + addCriterion("read_count <=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountIn(List values) { + addCriterion("read_count in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotIn(List values) { + addCriterion("read_count not in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountBetween(Integer value1, Integer value2) { + addCriterion("read_count between", value1, value2, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotBetween(Integer value1, Integer value2) { + addCriterion("read_count not between", value1, value2, "readCount"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java new file mode 100644 index 0000000000..24ed917a5e --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReport.java @@ -0,0 +1,107 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class CmsMemberReport implements Serializable { + private Long id; + + private Integer reportType; + + private String reportMemberName; + + private Date createTime; + + private String reportObject; + + private Integer reportStatus; + + private Integer handleStatus; + + private String note; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Integer getReportType() { + return reportType; + } + + public void setReportType(Integer reportType) { + this.reportType = reportType; + } + + public String getReportMemberName() { + return reportMemberName; + } + + public void setReportMemberName(String reportMemberName) { + this.reportMemberName = reportMemberName; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getReportObject() { + return reportObject; + } + + public void setReportObject(String reportObject) { + this.reportObject = reportObject; + } + + public Integer getReportStatus() { + return reportStatus; + } + + public void setReportStatus(Integer reportStatus) { + this.reportStatus = reportStatus; + } + + public Integer getHandleStatus() { + return handleStatus; + } + + public void setHandleStatus(Integer handleStatus) { + this.handleStatus = handleStatus; + } + + public String getNote() { + return note; + } + + public void setNote(String note) { + this.note = note; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", reportType=").append(reportType); + sb.append(", reportMemberName=").append(reportMemberName); + sb.append(", createTime=").append(createTime); + sb.append(", reportObject=").append(reportObject); + sb.append(", reportStatus=").append(reportStatus); + sb.append(", handleStatus=").append(handleStatus); + sb.append(", note=").append(note); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReportExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReportExample.java new file mode 100644 index 0000000000..ba6f3893ee --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsMemberReportExample.java @@ -0,0 +1,711 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class CmsMemberReportExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsMemberReportExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andReportTypeIsNull() { + addCriterion("report_type is null"); + return (Criteria) this; + } + + public Criteria andReportTypeIsNotNull() { + addCriterion("report_type is not null"); + return (Criteria) this; + } + + public Criteria andReportTypeEqualTo(Integer value) { + addCriterion("report_type =", value, "reportType"); + return (Criteria) this; + } + + public Criteria andReportTypeNotEqualTo(Integer value) { + addCriterion("report_type <>", value, "reportType"); + return (Criteria) this; + } + + public Criteria andReportTypeGreaterThan(Integer value) { + addCriterion("report_type >", value, "reportType"); + return (Criteria) this; + } + + public Criteria andReportTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("report_type >=", value, "reportType"); + return (Criteria) this; + } + + public Criteria andReportTypeLessThan(Integer value) { + addCriterion("report_type <", value, "reportType"); + return (Criteria) this; + } + + public Criteria andReportTypeLessThanOrEqualTo(Integer value) { + addCriterion("report_type <=", value, "reportType"); + return (Criteria) this; + } + + public Criteria andReportTypeIn(List values) { + addCriterion("report_type in", values, "reportType"); + return (Criteria) this; + } + + public Criteria andReportTypeNotIn(List values) { + addCriterion("report_type not in", values, "reportType"); + return (Criteria) this; + } + + public Criteria andReportTypeBetween(Integer value1, Integer value2) { + addCriterion("report_type between", value1, value2, "reportType"); + return (Criteria) this; + } + + public Criteria andReportTypeNotBetween(Integer value1, Integer value2) { + addCriterion("report_type not between", value1, value2, "reportType"); + return (Criteria) this; + } + + public Criteria andReportMemberNameIsNull() { + addCriterion("report_member_name is null"); + return (Criteria) this; + } + + public Criteria andReportMemberNameIsNotNull() { + addCriterion("report_member_name is not null"); + return (Criteria) this; + } + + public Criteria andReportMemberNameEqualTo(String value) { + addCriterion("report_member_name =", value, "reportMemberName"); + return (Criteria) this; + } + + public Criteria andReportMemberNameNotEqualTo(String value) { + addCriterion("report_member_name <>", value, "reportMemberName"); + return (Criteria) this; + } + + public Criteria andReportMemberNameGreaterThan(String value) { + addCriterion("report_member_name >", value, "reportMemberName"); + return (Criteria) this; + } + + public Criteria andReportMemberNameGreaterThanOrEqualTo(String value) { + addCriterion("report_member_name >=", value, "reportMemberName"); + return (Criteria) this; + } + + public Criteria andReportMemberNameLessThan(String value) { + addCriterion("report_member_name <", value, "reportMemberName"); + return (Criteria) this; + } + + public Criteria andReportMemberNameLessThanOrEqualTo(String value) { + addCriterion("report_member_name <=", value, "reportMemberName"); + return (Criteria) this; + } + + public Criteria andReportMemberNameLike(String value) { + addCriterion("report_member_name like", value, "reportMemberName"); + return (Criteria) this; + } + + public Criteria andReportMemberNameNotLike(String value) { + addCriterion("report_member_name not like", value, "reportMemberName"); + return (Criteria) this; + } + + public Criteria andReportMemberNameIn(List values) { + addCriterion("report_member_name in", values, "reportMemberName"); + return (Criteria) this; + } + + public Criteria andReportMemberNameNotIn(List values) { + addCriterion("report_member_name not in", values, "reportMemberName"); + return (Criteria) this; + } + + public Criteria andReportMemberNameBetween(String value1, String value2) { + addCriterion("report_member_name between", value1, value2, "reportMemberName"); + return (Criteria) this; + } + + public Criteria andReportMemberNameNotBetween(String value1, String value2) { + addCriterion("report_member_name not between", value1, value2, "reportMemberName"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andReportObjectIsNull() { + addCriterion("report_object is null"); + return (Criteria) this; + } + + public Criteria andReportObjectIsNotNull() { + addCriterion("report_object is not null"); + return (Criteria) this; + } + + public Criteria andReportObjectEqualTo(String value) { + addCriterion("report_object =", value, "reportObject"); + return (Criteria) this; + } + + public Criteria andReportObjectNotEqualTo(String value) { + addCriterion("report_object <>", value, "reportObject"); + return (Criteria) this; + } + + public Criteria andReportObjectGreaterThan(String value) { + addCriterion("report_object >", value, "reportObject"); + return (Criteria) this; + } + + public Criteria andReportObjectGreaterThanOrEqualTo(String value) { + addCriterion("report_object >=", value, "reportObject"); + return (Criteria) this; + } + + public Criteria andReportObjectLessThan(String value) { + addCriterion("report_object <", value, "reportObject"); + return (Criteria) this; + } + + public Criteria andReportObjectLessThanOrEqualTo(String value) { + addCriterion("report_object <=", value, "reportObject"); + return (Criteria) this; + } + + public Criteria andReportObjectLike(String value) { + addCriterion("report_object like", value, "reportObject"); + return (Criteria) this; + } + + public Criteria andReportObjectNotLike(String value) { + addCriterion("report_object not like", value, "reportObject"); + return (Criteria) this; + } + + public Criteria andReportObjectIn(List values) { + addCriterion("report_object in", values, "reportObject"); + return (Criteria) this; + } + + public Criteria andReportObjectNotIn(List values) { + addCriterion("report_object not in", values, "reportObject"); + return (Criteria) this; + } + + public Criteria andReportObjectBetween(String value1, String value2) { + addCriterion("report_object between", value1, value2, "reportObject"); + return (Criteria) this; + } + + public Criteria andReportObjectNotBetween(String value1, String value2) { + addCriterion("report_object not between", value1, value2, "reportObject"); + return (Criteria) this; + } + + public Criteria andReportStatusIsNull() { + addCriterion("report_status is null"); + return (Criteria) this; + } + + public Criteria andReportStatusIsNotNull() { + addCriterion("report_status is not null"); + return (Criteria) this; + } + + public Criteria andReportStatusEqualTo(Integer value) { + addCriterion("report_status =", value, "reportStatus"); + return (Criteria) this; + } + + public Criteria andReportStatusNotEqualTo(Integer value) { + addCriterion("report_status <>", value, "reportStatus"); + return (Criteria) this; + } + + public Criteria andReportStatusGreaterThan(Integer value) { + addCriterion("report_status >", value, "reportStatus"); + return (Criteria) this; + } + + public Criteria andReportStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("report_status >=", value, "reportStatus"); + return (Criteria) this; + } + + public Criteria andReportStatusLessThan(Integer value) { + addCriterion("report_status <", value, "reportStatus"); + return (Criteria) this; + } + + public Criteria andReportStatusLessThanOrEqualTo(Integer value) { + addCriterion("report_status <=", value, "reportStatus"); + return (Criteria) this; + } + + public Criteria andReportStatusIn(List values) { + addCriterion("report_status in", values, "reportStatus"); + return (Criteria) this; + } + + public Criteria andReportStatusNotIn(List values) { + addCriterion("report_status not in", values, "reportStatus"); + return (Criteria) this; + } + + public Criteria andReportStatusBetween(Integer value1, Integer value2) { + addCriterion("report_status between", value1, value2, "reportStatus"); + return (Criteria) this; + } + + public Criteria andReportStatusNotBetween(Integer value1, Integer value2) { + addCriterion("report_status not between", value1, value2, "reportStatus"); + return (Criteria) this; + } + + public Criteria andHandleStatusIsNull() { + addCriterion("handle_status is null"); + return (Criteria) this; + } + + public Criteria andHandleStatusIsNotNull() { + addCriterion("handle_status is not null"); + return (Criteria) this; + } + + public Criteria andHandleStatusEqualTo(Integer value) { + addCriterion("handle_status =", value, "handleStatus"); + return (Criteria) this; + } + + public Criteria andHandleStatusNotEqualTo(Integer value) { + addCriterion("handle_status <>", value, "handleStatus"); + return (Criteria) this; + } + + public Criteria andHandleStatusGreaterThan(Integer value) { + addCriterion("handle_status >", value, "handleStatus"); + return (Criteria) this; + } + + public Criteria andHandleStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("handle_status >=", value, "handleStatus"); + return (Criteria) this; + } + + public Criteria andHandleStatusLessThan(Integer value) { + addCriterion("handle_status <", value, "handleStatus"); + return (Criteria) this; + } + + public Criteria andHandleStatusLessThanOrEqualTo(Integer value) { + addCriterion("handle_status <=", value, "handleStatus"); + return (Criteria) this; + } + + public Criteria andHandleStatusIn(List values) { + addCriterion("handle_status in", values, "handleStatus"); + return (Criteria) this; + } + + public Criteria andHandleStatusNotIn(List values) { + addCriterion("handle_status not in", values, "handleStatus"); + return (Criteria) this; + } + + public Criteria andHandleStatusBetween(Integer value1, Integer value2) { + addCriterion("handle_status between", value1, value2, "handleStatus"); + return (Criteria) this; + } + + public Criteria andHandleStatusNotBetween(Integer value1, Integer value2) { + addCriterion("handle_status not between", value1, value2, "handleStatus"); + return (Criteria) this; + } + + public Criteria andNoteIsNull() { + addCriterion("note is null"); + return (Criteria) this; + } + + public Criteria andNoteIsNotNull() { + addCriterion("note is not null"); + return (Criteria) this; + } + + public Criteria andNoteEqualTo(String value) { + addCriterion("note =", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotEqualTo(String value) { + addCriterion("note <>", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThan(String value) { + addCriterion("note >", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThanOrEqualTo(String value) { + addCriterion("note >=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThan(String value) { + addCriterion("note <", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThanOrEqualTo(String value) { + addCriterion("note <=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLike(String value) { + addCriterion("note like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotLike(String value) { + addCriterion("note not like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteIn(List values) { + addCriterion("note in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotIn(List values) { + addCriterion("note not in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteBetween(String value1, String value2) { + addCriterion("note between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotBetween(String value1, String value2) { + addCriterion("note not between", value1, value2, "note"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceArea.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceArea.java new file mode 100644 index 0000000000..12ad636db6 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceArea.java @@ -0,0 +1,84 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class CmsPrefrenceArea implements Serializable { + private Long id; + + private String name; + + private String subTitle; + + private Integer sort; + + private Integer showStatus; + + private byte[] pic; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getSubTitle() { + return subTitle; + } + + public void setSubTitle(String subTitle) { + this.subTitle = subTitle; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public byte[] getPic() { + return pic; + } + + public void setPic(byte[] pic) { + this.pic = pic; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", subTitle=").append(subTitle); + sb.append(", sort=").append(sort); + sb.append(", showStatus=").append(showStatus); + sb.append(", pic=").append(pic); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaExample.java new file mode 100644 index 0000000000..05859c90a8 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaExample.java @@ -0,0 +1,520 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class CmsPrefrenceAreaExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsPrefrenceAreaExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andSubTitleIsNull() { + addCriterion("sub_title is null"); + return (Criteria) this; + } + + public Criteria andSubTitleIsNotNull() { + addCriterion("sub_title is not null"); + return (Criteria) this; + } + + public Criteria andSubTitleEqualTo(String value) { + addCriterion("sub_title =", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleNotEqualTo(String value) { + addCriterion("sub_title <>", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleGreaterThan(String value) { + addCriterion("sub_title >", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleGreaterThanOrEqualTo(String value) { + addCriterion("sub_title >=", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleLessThan(String value) { + addCriterion("sub_title <", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleLessThanOrEqualTo(String value) { + addCriterion("sub_title <=", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleLike(String value) { + addCriterion("sub_title like", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleNotLike(String value) { + addCriterion("sub_title not like", value, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleIn(List values) { + addCriterion("sub_title in", values, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleNotIn(List values) { + addCriterion("sub_title not in", values, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleBetween(String value1, String value2) { + addCriterion("sub_title between", value1, value2, "subTitle"); + return (Criteria) this; + } + + public Criteria andSubTitleNotBetween(String value1, String value2) { + addCriterion("sub_title not between", value1, value2, "subTitle"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelation.java new file mode 100644 index 0000000000..d99dee46ab --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelation.java @@ -0,0 +1,51 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class CmsPrefrenceAreaProductRelation implements Serializable { + private Long id; + + private Long prefrenceAreaId; + + private Long productId; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getPrefrenceAreaId() { + return prefrenceAreaId; + } + + public void setPrefrenceAreaId(Long prefrenceAreaId) { + this.prefrenceAreaId = prefrenceAreaId; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", prefrenceAreaId=").append(prefrenceAreaId); + sb.append(", productId=").append(productId); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelationExample.java new file mode 100644 index 0000000000..b6c4dc58ea --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsPrefrenceAreaProductRelationExample.java @@ -0,0 +1,380 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class CmsPrefrenceAreaProductRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsPrefrenceAreaProductRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdIsNull() { + addCriterion("prefrence_area_id is null"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdIsNotNull() { + addCriterion("prefrence_area_id is not null"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdEqualTo(Long value) { + addCriterion("prefrence_area_id =", value, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdNotEqualTo(Long value) { + addCriterion("prefrence_area_id <>", value, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdGreaterThan(Long value) { + addCriterion("prefrence_area_id >", value, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdGreaterThanOrEqualTo(Long value) { + addCriterion("prefrence_area_id >=", value, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdLessThan(Long value) { + addCriterion("prefrence_area_id <", value, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdLessThanOrEqualTo(Long value) { + addCriterion("prefrence_area_id <=", value, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdIn(List values) { + addCriterion("prefrence_area_id in", values, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdNotIn(List values) { + addCriterion("prefrence_area_id not in", values, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdBetween(Long value1, Long value2) { + addCriterion("prefrence_area_id between", value1, value2, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andPrefrenceAreaIdNotBetween(Long value1, Long value2) { + addCriterion("prefrence_area_id not between", value1, value2, "prefrenceAreaId"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java new file mode 100644 index 0000000000..37a0c55645 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubject.java @@ -0,0 +1,184 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class CmsSubject implements Serializable { + private Long id; + + private Long categoryId; + + private String title; + + private String pic; + + private Integer productCount; + + private Integer recommendStatus; + + private Date createTime; + + private Integer collectCount; + + private Integer readCount; + + private Integer commentCount; + + private String albumPics; + + private String description; + + private Integer showStatus; + + private Integer forwardCount; + + 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 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(", content=").append(content); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategory.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategory.java new file mode 100644 index 0000000000..dbbd4305bd --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategory.java @@ -0,0 +1,84 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class CmsSubjectCategory implements Serializable { + private Long id; + + private String name; + + private String icon; + + private Integer subjectCount; + + private Integer showStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public Integer getSubjectCount() { + return subjectCount; + } + + public void setSubjectCount(Integer subjectCount) { + this.subjectCount = subjectCount; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", icon=").append(icon); + sb.append(", subjectCount=").append(subjectCount); + sb.append(", showStatus=").append(showStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategoryExample.java new file mode 100644 index 0000000000..568e0e3a65 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCategoryExample.java @@ -0,0 +1,580 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class CmsSubjectCategoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsSubjectCategoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andSubjectCountIsNull() { + addCriterion("subject_count is null"); + return (Criteria) this; + } + + public Criteria andSubjectCountIsNotNull() { + addCriterion("subject_count is not null"); + return (Criteria) this; + } + + public Criteria andSubjectCountEqualTo(Integer value) { + addCriterion("subject_count =", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountNotEqualTo(Integer value) { + addCriterion("subject_count <>", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountGreaterThan(Integer value) { + addCriterion("subject_count >", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountGreaterThanOrEqualTo(Integer value) { + addCriterion("subject_count >=", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountLessThan(Integer value) { + addCriterion("subject_count <", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountLessThanOrEqualTo(Integer value) { + addCriterion("subject_count <=", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountIn(List values) { + addCriterion("subject_count in", values, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountNotIn(List values) { + addCriterion("subject_count not in", values, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountBetween(Integer value1, Integer value2) { + addCriterion("subject_count between", value1, value2, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountNotBetween(Integer value1, Integer value2) { + addCriterion("subject_count not between", value1, value2, "subjectCount"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectComment.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectComment.java new file mode 100644 index 0000000000..4e7b60bab3 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectComment.java @@ -0,0 +1,96 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class CmsSubjectComment implements Serializable { + private Long id; + + private Long subjectId; + + private String memberNickName; + + private String memberIcon; + + private String content; + + private Date createTime; + + private Integer showStatus; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getSubjectId() { + return subjectId; + } + + public void setSubjectId(Long subjectId) { + this.subjectId = subjectId; + } + + public String getMemberNickName() { + return memberNickName; + } + + public void setMemberNickName(String memberNickName) { + this.memberNickName = memberNickName; + } + + public String getMemberIcon() { + return memberIcon; + } + + public void setMemberIcon(String memberIcon) { + this.memberIcon = memberIcon; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", subjectId=").append(subjectId); + sb.append(", memberNickName=").append(memberNickName); + sb.append(", memberIcon=").append(memberIcon); + sb.append(", content=").append(content); + sb.append(", createTime=").append(createTime); + sb.append(", showStatus=").append(showStatus); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCommentExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCommentExample.java new file mode 100644 index 0000000000..4448f42db7 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectCommentExample.java @@ -0,0 +1,651 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class CmsSubjectCommentExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsSubjectCommentExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andSubjectIdIsNull() { + addCriterion("subject_id is null"); + return (Criteria) this; + } + + public Criteria andSubjectIdIsNotNull() { + addCriterion("subject_id is not null"); + return (Criteria) this; + } + + public Criteria andSubjectIdEqualTo(Long value) { + addCriterion("subject_id =", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotEqualTo(Long value) { + addCriterion("subject_id <>", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdGreaterThan(Long value) { + addCriterion("subject_id >", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdGreaterThanOrEqualTo(Long value) { + addCriterion("subject_id >=", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdLessThan(Long value) { + addCriterion("subject_id <", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdLessThanOrEqualTo(Long value) { + addCriterion("subject_id <=", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdIn(List values) { + addCriterion("subject_id in", values, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotIn(List values) { + addCriterion("subject_id not in", values, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdBetween(Long value1, Long value2) { + addCriterion("subject_id between", value1, value2, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotBetween(Long value1, Long value2) { + addCriterion("subject_id not between", value1, value2, "subjectId"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNull() { + addCriterion("member_nick_name is null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNotNull() { + addCriterion("member_nick_name is not null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameEqualTo(String value) { + addCriterion("member_nick_name =", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotEqualTo(String value) { + addCriterion("member_nick_name <>", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThan(String value) { + addCriterion("member_nick_name >", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) { + addCriterion("member_nick_name >=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThan(String value) { + addCriterion("member_nick_name <", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThanOrEqualTo(String value) { + addCriterion("member_nick_name <=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLike(String value) { + addCriterion("member_nick_name like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotLike(String value) { + addCriterion("member_nick_name not like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIn(List values) { + addCriterion("member_nick_name in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotIn(List values) { + addCriterion("member_nick_name not in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameBetween(String value1, String value2) { + addCriterion("member_nick_name between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotBetween(String value1, String value2) { + addCriterion("member_nick_name not between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNull() { + addCriterion("member_icon is null"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNotNull() { + addCriterion("member_icon is not null"); + return (Criteria) this; + } + + public Criteria andMemberIconEqualTo(String value) { + addCriterion("member_icon =", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotEqualTo(String value) { + addCriterion("member_icon <>", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThan(String value) { + addCriterion("member_icon >", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThanOrEqualTo(String value) { + addCriterion("member_icon >=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThan(String value) { + addCriterion("member_icon <", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThanOrEqualTo(String value) { + addCriterion("member_icon <=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLike(String value) { + addCriterion("member_icon like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotLike(String value) { + addCriterion("member_icon not like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconIn(List values) { + addCriterion("member_icon in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotIn(List values) { + addCriterion("member_icon not in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconBetween(String value1, String value2) { + addCriterion("member_icon between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotBetween(String value1, String value2) { + addCriterion("member_icon not between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andContentIsNull() { + addCriterion("content is null"); + return (Criteria) this; + } + + public Criteria andContentIsNotNull() { + addCriterion("content is not null"); + return (Criteria) this; + } + + public Criteria andContentEqualTo(String value) { + addCriterion("content =", value, "content"); + return (Criteria) this; + } + + public Criteria andContentNotEqualTo(String value) { + addCriterion("content <>", value, "content"); + return (Criteria) this; + } + + public Criteria andContentGreaterThan(String value) { + addCriterion("content >", value, "content"); + return (Criteria) this; + } + + public Criteria andContentGreaterThanOrEqualTo(String value) { + addCriterion("content >=", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLessThan(String value) { + addCriterion("content <", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLessThanOrEqualTo(String value) { + addCriterion("content <=", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLike(String value) { + addCriterion("content like", value, "content"); + return (Criteria) this; + } + + public Criteria andContentNotLike(String value) { + addCriterion("content not like", value, "content"); + return (Criteria) this; + } + + public Criteria andContentIn(List values) { + addCriterion("content in", values, "content"); + return (Criteria) this; + } + + public Criteria andContentNotIn(List values) { + addCriterion("content not in", values, "content"); + return (Criteria) this; + } + + public Criteria andContentBetween(String value1, String value2) { + addCriterion("content between", value1, value2, "content"); + return (Criteria) this; + } + + public Criteria andContentNotBetween(String value1, String value2) { + addCriterion("content not between", value1, value2, "content"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java new file mode 100644 index 0000000000..4bd19ddd1c --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectExample.java @@ -0,0 +1,1081 @@ +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 static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelation.java new file mode 100644 index 0000000000..533e7a08ce --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelation.java @@ -0,0 +1,51 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class CmsSubjectProductRelation implements Serializable { + private Long id; + + private Long subjectId; + + private Long productId; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getSubjectId() { + return subjectId; + } + + public void setSubjectId(Long subjectId) { + this.subjectId = subjectId; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", subjectId=").append(subjectId); + sb.append(", productId=").append(productId); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelationExample.java new file mode 100644 index 0000000000..34312e0645 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsSubjectProductRelationExample.java @@ -0,0 +1,380 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class CmsSubjectProductRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsSubjectProductRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andSubjectIdIsNull() { + addCriterion("subject_id is null"); + return (Criteria) this; + } + + public Criteria andSubjectIdIsNotNull() { + addCriterion("subject_id is not null"); + return (Criteria) this; + } + + public Criteria andSubjectIdEqualTo(Long value) { + addCriterion("subject_id =", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotEqualTo(Long value) { + addCriterion("subject_id <>", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdGreaterThan(Long value) { + addCriterion("subject_id >", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdGreaterThanOrEqualTo(Long value) { + addCriterion("subject_id >=", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdLessThan(Long value) { + addCriterion("subject_id <", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdLessThanOrEqualTo(Long value) { + addCriterion("subject_id <=", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdIn(List values) { + addCriterion("subject_id in", values, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotIn(List values) { + addCriterion("subject_id not in", values, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdBetween(Long value1, Long value2) { + addCriterion("subject_id between", value1, value2, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotBetween(Long value1, Long value2) { + addCriterion("subject_id not between", value1, value2, "subjectId"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java new file mode 100644 index 0000000000..2acaf53e9e --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopic.java @@ -0,0 +1,151 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class CmsTopic implements Serializable { + private Long id; + + private Long categoryId; + + private String name; + + private Date createTime; + + private Date startTime; + + private Date endTime; + + private Integer attendCount; + + private Integer attentionCount; + + private Integer readCount; + + private String awardName; + + private String attendType; + + private String content; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getCategoryId() { + return categoryId; + } + + public void setCategoryId(Long categoryId) { + this.categoryId = categoryId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Date getStartTime() { + return startTime; + } + + public void setStartTime(Date startTime) { + this.startTime = startTime; + } + + public Date getEndTime() { + return endTime; + } + + public void setEndTime(Date endTime) { + this.endTime = endTime; + } + + public Integer getAttendCount() { + return attendCount; + } + + public void setAttendCount(Integer attendCount) { + this.attendCount = attendCount; + } + + public Integer getAttentionCount() { + return attentionCount; + } + + public void setAttentionCount(Integer attentionCount) { + this.attentionCount = attentionCount; + } + + public Integer getReadCount() { + return readCount; + } + + public void setReadCount(Integer readCount) { + this.readCount = readCount; + } + + public String getAwardName() { + return awardName; + } + + public void setAwardName(String awardName) { + this.awardName = awardName; + } + + public String getAttendType() { + return attendType; + } + + public void setAttendType(String attendType) { + this.attendType = attendType; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", categoryId=").append(categoryId); + sb.append(", name=").append(name); + sb.append(", createTime=").append(createTime); + sb.append(", startTime=").append(startTime); + sb.append(", endTime=").append(endTime); + sb.append(", attendCount=").append(attendCount); + sb.append(", attentionCount=").append(attentionCount); + sb.append(", readCount=").append(readCount); + sb.append(", awardName=").append(awardName); + sb.append(", attendType=").append(attendType); + sb.append(", content=").append(content); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategory.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategory.java new file mode 100644 index 0000000000..f7047e0899 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategory.java @@ -0,0 +1,84 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class CmsTopicCategory implements Serializable { + private Long id; + + private String name; + + private String icon; + + private Integer subjectCount; + + private Integer showStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public Integer getSubjectCount() { + return subjectCount; + } + + public void setSubjectCount(Integer subjectCount) { + this.subjectCount = subjectCount; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", icon=").append(icon); + sb.append(", subjectCount=").append(subjectCount); + sb.append(", showStatus=").append(showStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategoryExample.java new file mode 100644 index 0000000000..922a10d67c --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCategoryExample.java @@ -0,0 +1,580 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class CmsTopicCategoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsTopicCategoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andSubjectCountIsNull() { + addCriterion("subject_count is null"); + return (Criteria) this; + } + + public Criteria andSubjectCountIsNotNull() { + addCriterion("subject_count is not null"); + return (Criteria) this; + } + + public Criteria andSubjectCountEqualTo(Integer value) { + addCriterion("subject_count =", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountNotEqualTo(Integer value) { + addCriterion("subject_count <>", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountGreaterThan(Integer value) { + addCriterion("subject_count >", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountGreaterThanOrEqualTo(Integer value) { + addCriterion("subject_count >=", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountLessThan(Integer value) { + addCriterion("subject_count <", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountLessThanOrEqualTo(Integer value) { + addCriterion("subject_count <=", value, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountIn(List values) { + addCriterion("subject_count in", values, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountNotIn(List values) { + addCriterion("subject_count not in", values, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountBetween(Integer value1, Integer value2) { + addCriterion("subject_count between", value1, value2, "subjectCount"); + return (Criteria) this; + } + + public Criteria andSubjectCountNotBetween(Integer value1, Integer value2) { + addCriterion("subject_count not between", value1, value2, "subjectCount"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicComment.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicComment.java new file mode 100644 index 0000000000..9b51c5a430 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicComment.java @@ -0,0 +1,96 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class CmsTopicComment implements Serializable { + private Long id; + + private String memberNickName; + + private Long topicId; + + private String memberIcon; + + private String content; + + private Date createTime; + + private Integer showStatus; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getMemberNickName() { + return memberNickName; + } + + public void setMemberNickName(String memberNickName) { + this.memberNickName = memberNickName; + } + + public Long getTopicId() { + return topicId; + } + + public void setTopicId(Long topicId) { + this.topicId = topicId; + } + + public String getMemberIcon() { + return memberIcon; + } + + public void setMemberIcon(String memberIcon) { + this.memberIcon = memberIcon; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberNickName=").append(memberNickName); + sb.append(", topicId=").append(topicId); + sb.append(", memberIcon=").append(memberIcon); + sb.append(", content=").append(content); + sb.append(", createTime=").append(createTime); + sb.append(", showStatus=").append(showStatus); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCommentExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCommentExample.java new file mode 100644 index 0000000000..8837c9b54d --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicCommentExample.java @@ -0,0 +1,651 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class CmsTopicCommentExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsTopicCommentExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNull() { + addCriterion("member_nick_name is null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNotNull() { + addCriterion("member_nick_name is not null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameEqualTo(String value) { + addCriterion("member_nick_name =", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotEqualTo(String value) { + addCriterion("member_nick_name <>", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThan(String value) { + addCriterion("member_nick_name >", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) { + addCriterion("member_nick_name >=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThan(String value) { + addCriterion("member_nick_name <", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThanOrEqualTo(String value) { + addCriterion("member_nick_name <=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLike(String value) { + addCriterion("member_nick_name like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotLike(String value) { + addCriterion("member_nick_name not like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIn(List values) { + addCriterion("member_nick_name in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotIn(List values) { + addCriterion("member_nick_name not in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameBetween(String value1, String value2) { + addCriterion("member_nick_name between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotBetween(String value1, String value2) { + addCriterion("member_nick_name not between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andTopicIdIsNull() { + addCriterion("topic_id is null"); + return (Criteria) this; + } + + public Criteria andTopicIdIsNotNull() { + addCriterion("topic_id is not null"); + return (Criteria) this; + } + + public Criteria andTopicIdEqualTo(Long value) { + addCriterion("topic_id =", value, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdNotEqualTo(Long value) { + addCriterion("topic_id <>", value, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdGreaterThan(Long value) { + addCriterion("topic_id >", value, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdGreaterThanOrEqualTo(Long value) { + addCriterion("topic_id >=", value, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdLessThan(Long value) { + addCriterion("topic_id <", value, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdLessThanOrEqualTo(Long value) { + addCriterion("topic_id <=", value, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdIn(List values) { + addCriterion("topic_id in", values, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdNotIn(List values) { + addCriterion("topic_id not in", values, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdBetween(Long value1, Long value2) { + addCriterion("topic_id between", value1, value2, "topicId"); + return (Criteria) this; + } + + public Criteria andTopicIdNotBetween(Long value1, Long value2) { + addCriterion("topic_id not between", value1, value2, "topicId"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNull() { + addCriterion("member_icon is null"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNotNull() { + addCriterion("member_icon is not null"); + return (Criteria) this; + } + + public Criteria andMemberIconEqualTo(String value) { + addCriterion("member_icon =", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotEqualTo(String value) { + addCriterion("member_icon <>", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThan(String value) { + addCriterion("member_icon >", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThanOrEqualTo(String value) { + addCriterion("member_icon >=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThan(String value) { + addCriterion("member_icon <", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThanOrEqualTo(String value) { + addCriterion("member_icon <=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLike(String value) { + addCriterion("member_icon like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotLike(String value) { + addCriterion("member_icon not like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconIn(List values) { + addCriterion("member_icon in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotIn(List values) { + addCriterion("member_icon not in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconBetween(String value1, String value2) { + addCriterion("member_icon between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotBetween(String value1, String value2) { + addCriterion("member_icon not between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andContentIsNull() { + addCriterion("content is null"); + return (Criteria) this; + } + + public Criteria andContentIsNotNull() { + addCriterion("content is not null"); + return (Criteria) this; + } + + public Criteria andContentEqualTo(String value) { + addCriterion("content =", value, "content"); + return (Criteria) this; + } + + public Criteria andContentNotEqualTo(String value) { + addCriterion("content <>", value, "content"); + return (Criteria) this; + } + + public Criteria andContentGreaterThan(String value) { + addCriterion("content >", value, "content"); + return (Criteria) this; + } + + public Criteria andContentGreaterThanOrEqualTo(String value) { + addCriterion("content >=", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLessThan(String value) { + addCriterion("content <", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLessThanOrEqualTo(String value) { + addCriterion("content <=", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLike(String value) { + addCriterion("content like", value, "content"); + return (Criteria) this; + } + + public Criteria andContentNotLike(String value) { + addCriterion("content not like", value, "content"); + return (Criteria) this; + } + + public Criteria andContentIn(List values) { + addCriterion("content in", values, "content"); + return (Criteria) this; + } + + public Criteria andContentNotIn(List values) { + addCriterion("content not in", values, "content"); + return (Criteria) this; + } + + public Criteria andContentBetween(String value1, String value2) { + addCriterion("content between", value1, value2, "content"); + return (Criteria) this; + } + + public Criteria andContentNotBetween(String value1, String value2) { + addCriterion("content not between", value1, value2, "content"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java new file mode 100644 index 0000000000..de1c610b6c --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/CmsTopicExample.java @@ -0,0 +1,891 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class CmsTopicExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public CmsTopicExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andCategoryIdIsNull() { + addCriterion("category_id is null"); + return (Criteria) this; + } + + public Criteria andCategoryIdIsNotNull() { + addCriterion("category_id is not null"); + return (Criteria) this; + } + + public Criteria andCategoryIdEqualTo(Long value) { + addCriterion("category_id =", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotEqualTo(Long value) { + addCriterion("category_id <>", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdGreaterThan(Long value) { + addCriterion("category_id >", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("category_id >=", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdLessThan(Long value) { + addCriterion("category_id <", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("category_id <=", value, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdIn(List values) { + addCriterion("category_id in", values, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotIn(List values) { + addCriterion("category_id not in", values, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdBetween(Long value1, Long value2) { + addCriterion("category_id between", value1, value2, "categoryId"); + return (Criteria) this; + } + + public Criteria andCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("category_id not between", value1, value2, "categoryId"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andStartTimeIsNull() { + addCriterion("start_time is null"); + return (Criteria) this; + } + + public Criteria andStartTimeIsNotNull() { + addCriterion("start_time is not null"); + return (Criteria) this; + } + + public Criteria andStartTimeEqualTo(Date value) { + addCriterion("start_time =", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotEqualTo(Date value) { + addCriterion("start_time <>", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThan(Date value) { + addCriterion("start_time >", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeGreaterThanOrEqualTo(Date value) { + addCriterion("start_time >=", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThan(Date value) { + addCriterion("start_time <", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeLessThanOrEqualTo(Date value) { + addCriterion("start_time <=", value, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeIn(List values) { + addCriterion("start_time in", values, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotIn(List values) { + addCriterion("start_time not in", values, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeBetween(Date value1, Date value2) { + addCriterion("start_time between", value1, value2, "startTime"); + return (Criteria) this; + } + + public Criteria andStartTimeNotBetween(Date value1, Date value2) { + addCriterion("start_time not between", value1, value2, "startTime"); + return (Criteria) this; + } + + public Criteria andEndTimeIsNull() { + addCriterion("end_time is null"); + return (Criteria) this; + } + + public Criteria andEndTimeIsNotNull() { + addCriterion("end_time is not null"); + return (Criteria) this; + } + + public Criteria andEndTimeEqualTo(Date value) { + addCriterion("end_time =", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotEqualTo(Date value) { + addCriterion("end_time <>", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThan(Date value) { + addCriterion("end_time >", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeGreaterThanOrEqualTo(Date value) { + addCriterion("end_time >=", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThan(Date value) { + addCriterion("end_time <", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeLessThanOrEqualTo(Date value) { + addCriterion("end_time <=", value, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeIn(List values) { + addCriterion("end_time in", values, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotIn(List values) { + addCriterion("end_time not in", values, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeBetween(Date value1, Date value2) { + addCriterion("end_time between", value1, value2, "endTime"); + return (Criteria) this; + } + + public Criteria andEndTimeNotBetween(Date value1, Date value2) { + addCriterion("end_time not between", value1, value2, "endTime"); + return (Criteria) this; + } + + public Criteria andAttendCountIsNull() { + addCriterion("attend_count is null"); + return (Criteria) this; + } + + public Criteria andAttendCountIsNotNull() { + addCriterion("attend_count is not null"); + return (Criteria) this; + } + + public Criteria andAttendCountEqualTo(Integer value) { + addCriterion("attend_count =", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountNotEqualTo(Integer value) { + addCriterion("attend_count <>", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountGreaterThan(Integer value) { + addCriterion("attend_count >", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountGreaterThanOrEqualTo(Integer value) { + addCriterion("attend_count >=", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountLessThan(Integer value) { + addCriterion("attend_count <", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountLessThanOrEqualTo(Integer value) { + addCriterion("attend_count <=", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountIn(List values) { + addCriterion("attend_count in", values, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountNotIn(List values) { + addCriterion("attend_count not in", values, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountBetween(Integer value1, Integer value2) { + addCriterion("attend_count between", value1, value2, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountNotBetween(Integer value1, Integer value2) { + addCriterion("attend_count not between", value1, value2, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountIsNull() { + addCriterion("attention_count is null"); + return (Criteria) this; + } + + public Criteria andAttentionCountIsNotNull() { + addCriterion("attention_count is not null"); + return (Criteria) this; + } + + public Criteria andAttentionCountEqualTo(Integer value) { + addCriterion("attention_count =", value, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountNotEqualTo(Integer value) { + addCriterion("attention_count <>", value, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountGreaterThan(Integer value) { + addCriterion("attention_count >", value, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountGreaterThanOrEqualTo(Integer value) { + addCriterion("attention_count >=", value, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountLessThan(Integer value) { + addCriterion("attention_count <", value, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountLessThanOrEqualTo(Integer value) { + addCriterion("attention_count <=", value, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountIn(List values) { + addCriterion("attention_count in", values, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountNotIn(List values) { + addCriterion("attention_count not in", values, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountBetween(Integer value1, Integer value2) { + addCriterion("attention_count between", value1, value2, "attentionCount"); + return (Criteria) this; + } + + public Criteria andAttentionCountNotBetween(Integer value1, Integer value2) { + addCriterion("attention_count not between", value1, value2, "attentionCount"); + return (Criteria) this; + } + + public Criteria andReadCountIsNull() { + addCriterion("read_count is null"); + return (Criteria) this; + } + + public Criteria andReadCountIsNotNull() { + addCriterion("read_count is not null"); + return (Criteria) this; + } + + public Criteria andReadCountEqualTo(Integer value) { + addCriterion("read_count =", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotEqualTo(Integer value) { + addCriterion("read_count <>", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThan(Integer value) { + addCriterion("read_count >", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThanOrEqualTo(Integer value) { + addCriterion("read_count >=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThan(Integer value) { + addCriterion("read_count <", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThanOrEqualTo(Integer value) { + addCriterion("read_count <=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountIn(List values) { + addCriterion("read_count in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotIn(List values) { + addCriterion("read_count not in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountBetween(Integer value1, Integer value2) { + addCriterion("read_count between", value1, value2, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotBetween(Integer value1, Integer value2) { + addCriterion("read_count not between", value1, value2, "readCount"); + return (Criteria) this; + } + + public Criteria andAwardNameIsNull() { + addCriterion("award_name is null"); + return (Criteria) this; + } + + public Criteria andAwardNameIsNotNull() { + addCriterion("award_name is not null"); + return (Criteria) this; + } + + public Criteria andAwardNameEqualTo(String value) { + addCriterion("award_name =", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameNotEqualTo(String value) { + addCriterion("award_name <>", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameGreaterThan(String value) { + addCriterion("award_name >", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameGreaterThanOrEqualTo(String value) { + addCriterion("award_name >=", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameLessThan(String value) { + addCriterion("award_name <", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameLessThanOrEqualTo(String value) { + addCriterion("award_name <=", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameLike(String value) { + addCriterion("award_name like", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameNotLike(String value) { + addCriterion("award_name not like", value, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameIn(List values) { + addCriterion("award_name in", values, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameNotIn(List values) { + addCriterion("award_name not in", values, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameBetween(String value1, String value2) { + addCriterion("award_name between", value1, value2, "awardName"); + return (Criteria) this; + } + + public Criteria andAwardNameNotBetween(String value1, String value2) { + addCriterion("award_name not between", value1, value2, "awardName"); + return (Criteria) this; + } + + public Criteria andAttendTypeIsNull() { + addCriterion("attend_type is null"); + return (Criteria) this; + } + + public Criteria andAttendTypeIsNotNull() { + addCriterion("attend_type is not null"); + return (Criteria) this; + } + + public Criteria andAttendTypeEqualTo(String value) { + addCriterion("attend_type =", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeNotEqualTo(String value) { + addCriterion("attend_type <>", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeGreaterThan(String value) { + addCriterion("attend_type >", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeGreaterThanOrEqualTo(String value) { + addCriterion("attend_type >=", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeLessThan(String value) { + addCriterion("attend_type <", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeLessThanOrEqualTo(String value) { + addCriterion("attend_type <=", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeLike(String value) { + addCriterion("attend_type like", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeNotLike(String value) { + addCriterion("attend_type not like", value, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeIn(List values) { + addCriterion("attend_type in", values, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeNotIn(List values) { + addCriterion("attend_type not in", values, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeBetween(String value1, String value2) { + addCriterion("attend_type between", value1, value2, "attendType"); + return (Criteria) this; + } + + public Criteria andAttendTypeNotBetween(String value1, String value2) { + addCriterion("attend_type not between", value1, value2, "attendType"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddress.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddress.java new file mode 100644 index 0000000000..82d9faea23 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddress.java @@ -0,0 +1,117 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class OmsCompanyAddress implements Serializable { + private Long id; + + private String addressName; + + private Integer sendStatus; + + private Integer receiveStatus; + + private String name; + + private String phone; + + private String province; + + private String city; + + private String region; + + 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; + } + + @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(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddressExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddressExample.java new file mode 100644 index 0000000000..a6f740e824 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsCompanyAddressExample.java @@ -0,0 +1,800 @@ +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 static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrder.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrder.java new file mode 100644 index 0000000000..9d83d4f9d8 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrder.java @@ -0,0 +1,416 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class OmsOrder implements Serializable { + private Long id; + + private Long memberId; + + private Long couponId; + + private String orderSn; + + private Date createTime; + + private String memberUsername; + + private BigDecimal totalAmount; + + private BigDecimal freightAmount; + + private BigDecimal promotionAmount; + + private BigDecimal integrationAmount; + + private BigDecimal couponAmount; + + private BigDecimal discountAmount; + + private Integer payType; + + private Integer sourceType; + + private Integer status; + + private Integer orderType; + + private String deliveryCompany; + + private String deliverySn; + + private Integer autoConfirmDay; + + private Integer integration; + + private Integer growth; + + private String promotionInfo; + + private Integer billType; + + private String billHeader; + + private String billContent; + + private String billReceiverPhone; + + private String billReceiverEmail; + + private String receiverName; + + private String receiverPhone; + + private String receiverPostCode; + + private String receiverProvince; + + private String receiverCity; + + private String receiverRegion; + + private String receiverDetailAddress; + + private String note; + + private Integer confirmStatus; + + 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 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; + } + + @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(", 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(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java new file mode 100644 index 0000000000..64ed4cb9ed --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderExample.java @@ -0,0 +1,2532 @@ +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 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 static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java new file mode 100644 index 0000000000..bdf477904c --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItem.java @@ -0,0 +1,173 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class OmsOrderItem implements Serializable { + private Long id; + + private Long orderId; + + private String orderSn; + + private Long productId; + + private String proudctPic; + + private String productName; + + private String productBrand; + + private String productSn; + + private BigDecimal productAmount; + + private Integer productCount; + + private BigDecimal productRealAmount; + + private String sp1; + + private String sp2; + + private String sp3; + + 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 getProudctPic() { + return proudctPic; + } + + public void setProudctPic(String proudctPic) { + this.proudctPic = proudctPic; + } + + 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 getProductAmount() { + return productAmount; + } + + public void setProductAmount(BigDecimal productAmount) { + this.productAmount = productAmount; + } + + public Integer getProductCount() { + return productCount; + } + + public void setProductCount(Integer productCount) { + this.productCount = productCount; + } + + public BigDecimal getProductRealAmount() { + return productRealAmount; + } + + public void setProductRealAmount(BigDecimal productRealAmount) { + this.productRealAmount = productRealAmount; + } + + public String getSp1() { + return sp1; + } + + public void setSp1(String sp1) { + this.sp1 = sp1; + } + + public String getSp2() { + return sp2; + } + + public void setSp2(String sp2) { + this.sp2 = sp2; + } + + public String getSp3() { + return sp3; + } + + public void setSp3(String sp3) { + this.sp3 = sp3; + } + + @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(", proudctPic=").append(proudctPic); + sb.append(", productName=").append(productName); + sb.append(", productBrand=").append(productBrand); + sb.append(", productSn=").append(productSn); + sb.append(", productAmount=").append(productAmount); + sb.append(", productCount=").append(productCount); + sb.append(", productRealAmount=").append(productRealAmount); + sb.append(", sp1=").append(sp1); + sb.append(", sp2=").append(sp2); + sb.append(", sp3=").append(sp3); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java new file mode 100644 index 0000000000..6b79776466 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderItemExample.java @@ -0,0 +1,1121 @@ +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 andProudctPicIsNull() { + addCriterion("proudct_pic is null"); + return (Criteria) this; + } + + public Criteria andProudctPicIsNotNull() { + addCriterion("proudct_pic is not null"); + return (Criteria) this; + } + + public Criteria andProudctPicEqualTo(String value) { + addCriterion("proudct_pic =", value, "proudctPic"); + return (Criteria) this; + } + + public Criteria andProudctPicNotEqualTo(String value) { + addCriterion("proudct_pic <>", value, "proudctPic"); + return (Criteria) this; + } + + public Criteria andProudctPicGreaterThan(String value) { + addCriterion("proudct_pic >", value, "proudctPic"); + return (Criteria) this; + } + + public Criteria andProudctPicGreaterThanOrEqualTo(String value) { + addCriterion("proudct_pic >=", value, "proudctPic"); + return (Criteria) this; + } + + public Criteria andProudctPicLessThan(String value) { + addCriterion("proudct_pic <", value, "proudctPic"); + return (Criteria) this; + } + + public Criteria andProudctPicLessThanOrEqualTo(String value) { + addCriterion("proudct_pic <=", value, "proudctPic"); + return (Criteria) this; + } + + public Criteria andProudctPicLike(String value) { + addCriterion("proudct_pic like", value, "proudctPic"); + return (Criteria) this; + } + + public Criteria andProudctPicNotLike(String value) { + addCriterion("proudct_pic not like", value, "proudctPic"); + return (Criteria) this; + } + + public Criteria andProudctPicIn(List values) { + addCriterion("proudct_pic in", values, "proudctPic"); + return (Criteria) this; + } + + public Criteria andProudctPicNotIn(List values) { + addCriterion("proudct_pic not in", values, "proudctPic"); + return (Criteria) this; + } + + public Criteria andProudctPicBetween(String value1, String value2) { + addCriterion("proudct_pic between", value1, value2, "proudctPic"); + return (Criteria) this; + } + + public Criteria andProudctPicNotBetween(String value1, String value2) { + addCriterion("proudct_pic not between", value1, value2, "proudctPic"); + 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 andProductAmountIsNull() { + addCriterion("product_amount is null"); + return (Criteria) this; + } + + public Criteria andProductAmountIsNotNull() { + addCriterion("product_amount is not null"); + return (Criteria) this; + } + + public Criteria andProductAmountEqualTo(BigDecimal value) { + addCriterion("product_amount =", value, "productAmount"); + return (Criteria) this; + } + + public Criteria andProductAmountNotEqualTo(BigDecimal value) { + addCriterion("product_amount <>", value, "productAmount"); + return (Criteria) this; + } + + public Criteria andProductAmountGreaterThan(BigDecimal value) { + addCriterion("product_amount >", value, "productAmount"); + return (Criteria) this; + } + + public Criteria andProductAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("product_amount >=", value, "productAmount"); + return (Criteria) this; + } + + public Criteria andProductAmountLessThan(BigDecimal value) { + addCriterion("product_amount <", value, "productAmount"); + return (Criteria) this; + } + + public Criteria andProductAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("product_amount <=", value, "productAmount"); + return (Criteria) this; + } + + public Criteria andProductAmountIn(List values) { + addCriterion("product_amount in", values, "productAmount"); + return (Criteria) this; + } + + public Criteria andProductAmountNotIn(List values) { + addCriterion("product_amount not in", values, "productAmount"); + return (Criteria) this; + } + + public Criteria andProductAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("product_amount between", value1, value2, "productAmount"); + return (Criteria) this; + } + + public Criteria andProductAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("product_amount not between", value1, value2, "productAmount"); + 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 andProductRealAmountIsNull() { + addCriterion("product_real_amount is null"); + return (Criteria) this; + } + + public Criteria andProductRealAmountIsNotNull() { + addCriterion("product_real_amount is not null"); + return (Criteria) this; + } + + public Criteria andProductRealAmountEqualTo(BigDecimal value) { + addCriterion("product_real_amount =", value, "productRealAmount"); + return (Criteria) this; + } + + public Criteria andProductRealAmountNotEqualTo(BigDecimal value) { + addCriterion("product_real_amount <>", value, "productRealAmount"); + return (Criteria) this; + } + + public Criteria andProductRealAmountGreaterThan(BigDecimal value) { + addCriterion("product_real_amount >", value, "productRealAmount"); + return (Criteria) this; + } + + public Criteria andProductRealAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("product_real_amount >=", value, "productRealAmount"); + return (Criteria) this; + } + + public Criteria andProductRealAmountLessThan(BigDecimal value) { + addCriterion("product_real_amount <", value, "productRealAmount"); + return (Criteria) this; + } + + public Criteria andProductRealAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("product_real_amount <=", value, "productRealAmount"); + return (Criteria) this; + } + + public Criteria andProductRealAmountIn(List values) { + addCriterion("product_real_amount in", values, "productRealAmount"); + return (Criteria) this; + } + + public Criteria andProductRealAmountNotIn(List values) { + addCriterion("product_real_amount not in", values, "productRealAmount"); + return (Criteria) this; + } + + public Criteria andProductRealAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("product_real_amount between", value1, value2, "productRealAmount"); + return (Criteria) this; + } + + public Criteria andProductRealAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("product_real_amount not between", value1, value2, "productRealAmount"); + return (Criteria) this; + } + + public Criteria andSp1IsNull() { + addCriterion("sp1 is null"); + return (Criteria) this; + } + + public Criteria andSp1IsNotNull() { + addCriterion("sp1 is not null"); + return (Criteria) this; + } + + public Criteria andSp1EqualTo(String value) { + addCriterion("sp1 =", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotEqualTo(String value) { + addCriterion("sp1 <>", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1GreaterThan(String value) { + addCriterion("sp1 >", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1GreaterThanOrEqualTo(String value) { + addCriterion("sp1 >=", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1LessThan(String value) { + addCriterion("sp1 <", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1LessThanOrEqualTo(String value) { + addCriterion("sp1 <=", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1Like(String value) { + addCriterion("sp1 like", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotLike(String value) { + addCriterion("sp1 not like", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1In(List values) { + addCriterion("sp1 in", values, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotIn(List values) { + addCriterion("sp1 not in", values, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1Between(String value1, String value2) { + addCriterion("sp1 between", value1, value2, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotBetween(String value1, String value2) { + addCriterion("sp1 not between", value1, value2, "sp1"); + return (Criteria) this; + } + + public Criteria andSp2IsNull() { + addCriterion("sp2 is null"); + return (Criteria) this; + } + + public Criteria andSp2IsNotNull() { + addCriterion("sp2 is not null"); + return (Criteria) this; + } + + public Criteria andSp2EqualTo(String value) { + addCriterion("sp2 =", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotEqualTo(String value) { + addCriterion("sp2 <>", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2GreaterThan(String value) { + addCriterion("sp2 >", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2GreaterThanOrEqualTo(String value) { + addCriterion("sp2 >=", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2LessThan(String value) { + addCriterion("sp2 <", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2LessThanOrEqualTo(String value) { + addCriterion("sp2 <=", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2Like(String value) { + addCriterion("sp2 like", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotLike(String value) { + addCriterion("sp2 not like", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2In(List values) { + addCriterion("sp2 in", values, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotIn(List values) { + addCriterion("sp2 not in", values, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2Between(String value1, String value2) { + addCriterion("sp2 between", value1, value2, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotBetween(String value1, String value2) { + addCriterion("sp2 not between", value1, value2, "sp2"); + return (Criteria) this; + } + + public Criteria andSp3IsNull() { + addCriterion("sp3 is null"); + return (Criteria) this; + } + + public Criteria andSp3IsNotNull() { + addCriterion("sp3 is not null"); + return (Criteria) this; + } + + public Criteria andSp3EqualTo(String value) { + addCriterion("sp3 =", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotEqualTo(String value) { + addCriterion("sp3 <>", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3GreaterThan(String value) { + addCriterion("sp3 >", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3GreaterThanOrEqualTo(String value) { + addCriterion("sp3 >=", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3LessThan(String value) { + addCriterion("sp3 <", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3LessThanOrEqualTo(String value) { + addCriterion("sp3 <=", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3Like(String value) { + addCriterion("sp3 like", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotLike(String value) { + addCriterion("sp3 not like", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3In(List values) { + addCriterion("sp3 in", values, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotIn(List values) { + addCriterion("sp3 not in", values, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3Between(String value1, String value2) { + addCriterion("sp3 between", value1, value2, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotBetween(String value1, String value2) { + addCriterion("sp3 not between", value1, value2, "sp3"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistory.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistory.java new file mode 100644 index 0000000000..ed6c8ff009 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistory.java @@ -0,0 +1,85 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class OmsOrderOperateHistory implements Serializable { + private Long id; + + private Long orderId; + + private String operateMan; + + private Date createTime; + + private Integer orderStatus; + + private String note; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getOrderId() { + return orderId; + } + + public void setOrderId(Long orderId) { + this.orderId = orderId; + } + + public String getOperateMan() { + return operateMan; + } + + public void setOperateMan(String operateMan) { + this.operateMan = operateMan; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getOrderStatus() { + return orderStatus; + } + + public void setOrderStatus(Integer orderStatus) { + this.orderStatus = orderStatus; + } + + public String getNote() { + return note; + } + + public void setNote(String note) { + this.note = note; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", orderId=").append(orderId); + sb.append(", operateMan=").append(operateMan); + sb.append(", createTime=").append(createTime); + sb.append(", orderStatus=").append(orderStatus); + sb.append(", note=").append(note); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistoryExample.java new file mode 100644 index 0000000000..5fd135ffd4 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderOperateHistoryExample.java @@ -0,0 +1,581 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class OmsOrderOperateHistoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public OmsOrderOperateHistoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andOrderIdIsNull() { + addCriterion("order_id is null"); + return (Criteria) this; + } + + public Criteria andOrderIdIsNotNull() { + addCriterion("order_id is not null"); + return (Criteria) this; + } + + public Criteria andOrderIdEqualTo(Long value) { + addCriterion("order_id =", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotEqualTo(Long value) { + addCriterion("order_id <>", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThan(Long value) { + addCriterion("order_id >", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThanOrEqualTo(Long value) { + addCriterion("order_id >=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThan(Long value) { + addCriterion("order_id <", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThanOrEqualTo(Long value) { + addCriterion("order_id <=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdIn(List values) { + addCriterion("order_id in", values, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotIn(List values) { + addCriterion("order_id not in", values, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdBetween(Long value1, Long value2) { + addCriterion("order_id between", value1, value2, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotBetween(Long value1, Long value2) { + addCriterion("order_id not between", value1, value2, "orderId"); + return (Criteria) this; + } + + public Criteria andOperateManIsNull() { + addCriterion("operate_man is null"); + return (Criteria) this; + } + + public Criteria andOperateManIsNotNull() { + addCriterion("operate_man is not null"); + return (Criteria) this; + } + + public Criteria andOperateManEqualTo(String value) { + addCriterion("operate_man =", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotEqualTo(String value) { + addCriterion("operate_man <>", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThan(String value) { + addCriterion("operate_man >", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThanOrEqualTo(String value) { + addCriterion("operate_man >=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThan(String value) { + addCriterion("operate_man <", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThanOrEqualTo(String value) { + addCriterion("operate_man <=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLike(String value) { + addCriterion("operate_man like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotLike(String value) { + addCriterion("operate_man not like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManIn(List values) { + addCriterion("operate_man in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotIn(List values) { + addCriterion("operate_man not in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManBetween(String value1, String value2) { + addCriterion("operate_man between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotBetween(String value1, String value2) { + addCriterion("operate_man not between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andOrderStatusIsNull() { + addCriterion("order_status is null"); + return (Criteria) this; + } + + public Criteria andOrderStatusIsNotNull() { + addCriterion("order_status is not null"); + return (Criteria) this; + } + + public Criteria andOrderStatusEqualTo(Integer value) { + addCriterion("order_status =", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusNotEqualTo(Integer value) { + addCriterion("order_status <>", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusGreaterThan(Integer value) { + addCriterion("order_status >", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("order_status >=", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusLessThan(Integer value) { + addCriterion("order_status <", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusLessThanOrEqualTo(Integer value) { + addCriterion("order_status <=", value, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusIn(List values) { + addCriterion("order_status in", values, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusNotIn(List values) { + addCriterion("order_status not in", values, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusBetween(Integer value1, Integer value2) { + addCriterion("order_status between", value1, value2, "orderStatus"); + return (Criteria) this; + } + + public Criteria andOrderStatusNotBetween(Integer value1, Integer value2) { + addCriterion("order_status not between", value1, value2, "orderStatus"); + return (Criteria) this; + } + + public Criteria andNoteIsNull() { + addCriterion("note is null"); + return (Criteria) this; + } + + public Criteria andNoteIsNotNull() { + addCriterion("note is not null"); + return (Criteria) this; + } + + public Criteria andNoteEqualTo(String value) { + addCriterion("note =", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotEqualTo(String value) { + addCriterion("note <>", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThan(String value) { + addCriterion("note >", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThanOrEqualTo(String value) { + addCriterion("note >=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThan(String value) { + addCriterion("note <", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThanOrEqualTo(String value) { + addCriterion("note <=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLike(String value) { + addCriterion("note like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotLike(String value) { + addCriterion("note not like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteIn(List values) { + addCriterion("note in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotIn(List values) { + addCriterion("note not in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteBetween(String value1, String value2) { + addCriterion("note between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotBetween(String value1, String value2) { + addCriterion("note not between", value1, value2, "note"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApply.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApply.java new file mode 100644 index 0000000000..411dcc4ab5 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApply.java @@ -0,0 +1,317 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class OmsOrderReturnApply implements Serializable { + private Long id; + + private Long orderId; + + private Long companyAddressId; + + private String orderSn; + + private Date createTime; + + private String memberUsername; + + private BigDecimal returnAmount; + + private String returnName; + + private String returnPhone; + + private Integer status; + + private Date handleTime; + + private String productPic; + + private String productName; + + private String brandName; + + private String productAttr; + + private Integer productCount; + + private String reason; + + private String description; + + private String proofPics; + + private BigDecimal returnPostAmount; + + private Integer returnPostStatus; + + private BigDecimal confirmReturnAmount; + + private String handleNote; + + private String handleMan; + + private String receiveMan; + + private Date receiveTime; + + 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 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 getBrandName() { + return brandName; + } + + public void setBrandName(String brandName) { + this.brandName = brandName; + } + + 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 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 BigDecimal getReturnPostAmount() { + return returnPostAmount; + } + + public void setReturnPostAmount(BigDecimal returnPostAmount) { + this.returnPostAmount = returnPostAmount; + } + + public Integer getReturnPostStatus() { + return returnPostStatus; + } + + public void setReturnPostStatus(Integer returnPostStatus) { + this.returnPostStatus = returnPostStatus; + } + + public BigDecimal getConfirmReturnAmount() { + return confirmReturnAmount; + } + + public void setConfirmReturnAmount(BigDecimal confirmReturnAmount) { + this.confirmReturnAmount = confirmReturnAmount; + } + + 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(", 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(", brandName=").append(brandName); + sb.append(", productAttr=").append(productAttr); + sb.append(", productCount=").append(productCount); + sb.append(", reason=").append(reason); + sb.append(", description=").append(description); + sb.append(", proofPics=").append(proofPics); + sb.append(", returnPostAmount=").append(returnPostAmount); + sb.append(", returnPostStatus=").append(returnPostStatus); + sb.append(", confirmReturnAmount=").append(confirmReturnAmount); + sb.append(", handleNote=").append(handleNote); + sb.append(", handleMan=").append(handleMan); + sb.append(", receiveMan=").append(receiveMan); + sb.append(", receiveTime=").append(receiveTime); + sb.append(", receiveNote=").append(receiveNote); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApplyExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApplyExample.java new file mode 100644 index 0000000000..8f61e246d0 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnApplyExample.java @@ -0,0 +1,1972 @@ +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 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 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 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 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 andReturnPostAmountIsNull() { + addCriterion("return_post_amount is null"); + return (Criteria) this; + } + + public Criteria andReturnPostAmountIsNotNull() { + addCriterion("return_post_amount is not null"); + return (Criteria) this; + } + + public Criteria andReturnPostAmountEqualTo(BigDecimal value) { + addCriterion("return_post_amount =", value, "returnPostAmount"); + return (Criteria) this; + } + + public Criteria andReturnPostAmountNotEqualTo(BigDecimal value) { + addCriterion("return_post_amount <>", value, "returnPostAmount"); + return (Criteria) this; + } + + public Criteria andReturnPostAmountGreaterThan(BigDecimal value) { + addCriterion("return_post_amount >", value, "returnPostAmount"); + return (Criteria) this; + } + + public Criteria andReturnPostAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("return_post_amount >=", value, "returnPostAmount"); + return (Criteria) this; + } + + public Criteria andReturnPostAmountLessThan(BigDecimal value) { + addCriterion("return_post_amount <", value, "returnPostAmount"); + return (Criteria) this; + } + + public Criteria andReturnPostAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("return_post_amount <=", value, "returnPostAmount"); + return (Criteria) this; + } + + public Criteria andReturnPostAmountIn(List values) { + addCriterion("return_post_amount in", values, "returnPostAmount"); + return (Criteria) this; + } + + public Criteria andReturnPostAmountNotIn(List values) { + addCriterion("return_post_amount not in", values, "returnPostAmount"); + return (Criteria) this; + } + + public Criteria andReturnPostAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("return_post_amount between", value1, value2, "returnPostAmount"); + return (Criteria) this; + } + + public Criteria andReturnPostAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("return_post_amount not between", value1, value2, "returnPostAmount"); + return (Criteria) this; + } + + public Criteria andReturnPostStatusIsNull() { + addCriterion("return_post_status is null"); + return (Criteria) this; + } + + public Criteria andReturnPostStatusIsNotNull() { + addCriterion("return_post_status is not null"); + return (Criteria) this; + } + + public Criteria andReturnPostStatusEqualTo(Integer value) { + addCriterion("return_post_status =", value, "returnPostStatus"); + return (Criteria) this; + } + + public Criteria andReturnPostStatusNotEqualTo(Integer value) { + addCriterion("return_post_status <>", value, "returnPostStatus"); + return (Criteria) this; + } + + public Criteria andReturnPostStatusGreaterThan(Integer value) { + addCriterion("return_post_status >", value, "returnPostStatus"); + return (Criteria) this; + } + + public Criteria andReturnPostStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("return_post_status >=", value, "returnPostStatus"); + return (Criteria) this; + } + + public Criteria andReturnPostStatusLessThan(Integer value) { + addCriterion("return_post_status <", value, "returnPostStatus"); + return (Criteria) this; + } + + public Criteria andReturnPostStatusLessThanOrEqualTo(Integer value) { + addCriterion("return_post_status <=", value, "returnPostStatus"); + return (Criteria) this; + } + + public Criteria andReturnPostStatusIn(List values) { + addCriterion("return_post_status in", values, "returnPostStatus"); + return (Criteria) this; + } + + public Criteria andReturnPostStatusNotIn(List values) { + addCriterion("return_post_status not in", values, "returnPostStatus"); + return (Criteria) this; + } + + public Criteria andReturnPostStatusBetween(Integer value1, Integer value2) { + addCriterion("return_post_status between", value1, value2, "returnPostStatus"); + return (Criteria) this; + } + + public Criteria andReturnPostStatusNotBetween(Integer value1, Integer value2) { + addCriterion("return_post_status not between", value1, value2, "returnPostStatus"); + return (Criteria) this; + } + + public Criteria andConfirmReturnAmountIsNull() { + addCriterion("confirm_return_amount is null"); + return (Criteria) this; + } + + public Criteria andConfirmReturnAmountIsNotNull() { + addCriterion("confirm_return_amount is not null"); + return (Criteria) this; + } + + public Criteria andConfirmReturnAmountEqualTo(BigDecimal value) { + addCriterion("confirm_return_amount =", value, "confirmReturnAmount"); + return (Criteria) this; + } + + public Criteria andConfirmReturnAmountNotEqualTo(BigDecimal value) { + addCriterion("confirm_return_amount <>", value, "confirmReturnAmount"); + return (Criteria) this; + } + + public Criteria andConfirmReturnAmountGreaterThan(BigDecimal value) { + addCriterion("confirm_return_amount >", value, "confirmReturnAmount"); + return (Criteria) this; + } + + public Criteria andConfirmReturnAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("confirm_return_amount >=", value, "confirmReturnAmount"); + return (Criteria) this; + } + + public Criteria andConfirmReturnAmountLessThan(BigDecimal value) { + addCriterion("confirm_return_amount <", value, "confirmReturnAmount"); + return (Criteria) this; + } + + public Criteria andConfirmReturnAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("confirm_return_amount <=", value, "confirmReturnAmount"); + return (Criteria) this; + } + + public Criteria andConfirmReturnAmountIn(List values) { + addCriterion("confirm_return_amount in", values, "confirmReturnAmount"); + return (Criteria) this; + } + + public Criteria andConfirmReturnAmountNotIn(List values) { + addCriterion("confirm_return_amount not in", values, "confirmReturnAmount"); + return (Criteria) this; + } + + public Criteria andConfirmReturnAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("confirm_return_amount between", value1, value2, "confirmReturnAmount"); + return (Criteria) this; + } + + public Criteria andConfirmReturnAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("confirm_return_amount not between", value1, value2, "confirmReturnAmount"); + return (Criteria) this; + } + + public Criteria andHandleNoteIsNull() { + addCriterion("handle_note is null"); + return (Criteria) this; + } + + public Criteria andHandleNoteIsNotNull() { + addCriterion("handle_note is not null"); + return (Criteria) this; + } + + public Criteria andHandleNoteEqualTo(String value) { + addCriterion("handle_note =", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteNotEqualTo(String value) { + addCriterion("handle_note <>", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteGreaterThan(String value) { + addCriterion("handle_note >", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteGreaterThanOrEqualTo(String value) { + addCriterion("handle_note >=", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteLessThan(String value) { + addCriterion("handle_note <", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteLessThanOrEqualTo(String value) { + addCriterion("handle_note <=", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteLike(String value) { + addCriterion("handle_note like", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteNotLike(String value) { + addCriterion("handle_note not like", value, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteIn(List values) { + addCriterion("handle_note in", values, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteNotIn(List values) { + addCriterion("handle_note not in", values, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteBetween(String value1, String value2) { + addCriterion("handle_note between", value1, value2, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleNoteNotBetween(String value1, String value2) { + addCriterion("handle_note not between", value1, value2, "handleNote"); + return (Criteria) this; + } + + public Criteria andHandleManIsNull() { + addCriterion("handle_man is null"); + return (Criteria) this; + } + + public Criteria andHandleManIsNotNull() { + addCriterion("handle_man is not null"); + return (Criteria) this; + } + + public Criteria andHandleManEqualTo(String value) { + addCriterion("handle_man =", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManNotEqualTo(String value) { + addCriterion("handle_man <>", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManGreaterThan(String value) { + addCriterion("handle_man >", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManGreaterThanOrEqualTo(String value) { + addCriterion("handle_man >=", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManLessThan(String value) { + addCriterion("handle_man <", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManLessThanOrEqualTo(String value) { + addCriterion("handle_man <=", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManLike(String value) { + addCriterion("handle_man like", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManNotLike(String value) { + addCriterion("handle_man not like", value, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManIn(List values) { + addCriterion("handle_man in", values, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManNotIn(List values) { + addCriterion("handle_man not in", values, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManBetween(String value1, String value2) { + addCriterion("handle_man between", value1, value2, "handleMan"); + return (Criteria) this; + } + + public Criteria andHandleManNotBetween(String value1, String value2) { + addCriterion("handle_man not between", value1, value2, "handleMan"); + return (Criteria) this; + } + + public Criteria andReceiveManIsNull() { + addCriterion("receive_man is null"); + return (Criteria) this; + } + + public Criteria andReceiveManIsNotNull() { + addCriterion("receive_man is not null"); + return (Criteria) this; + } + + public Criteria andReceiveManEqualTo(String value) { + addCriterion("receive_man =", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManNotEqualTo(String value) { + addCriterion("receive_man <>", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManGreaterThan(String value) { + addCriterion("receive_man >", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManGreaterThanOrEqualTo(String value) { + addCriterion("receive_man >=", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManLessThan(String value) { + addCriterion("receive_man <", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManLessThanOrEqualTo(String value) { + addCriterion("receive_man <=", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManLike(String value) { + addCriterion("receive_man like", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManNotLike(String value) { + addCriterion("receive_man not like", value, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManIn(List values) { + addCriterion("receive_man in", values, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManNotIn(List values) { + addCriterion("receive_man not in", values, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManBetween(String value1, String value2) { + addCriterion("receive_man between", value1, value2, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveManNotBetween(String value1, String value2) { + addCriterion("receive_man not between", value1, value2, "receiveMan"); + return (Criteria) this; + } + + public Criteria andReceiveTimeIsNull() { + addCriterion("receive_time is null"); + return (Criteria) this; + } + + public Criteria andReceiveTimeIsNotNull() { + addCriterion("receive_time is not null"); + return (Criteria) this; + } + + public Criteria andReceiveTimeEqualTo(Date value) { + addCriterion("receive_time =", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeNotEqualTo(Date value) { + addCriterion("receive_time <>", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeGreaterThan(Date value) { + addCriterion("receive_time >", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeGreaterThanOrEqualTo(Date value) { + addCriterion("receive_time >=", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeLessThan(Date value) { + addCriterion("receive_time <", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeLessThanOrEqualTo(Date value) { + addCriterion("receive_time <=", value, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeIn(List values) { + addCriterion("receive_time in", values, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeNotIn(List values) { + addCriterion("receive_time not in", values, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeBetween(Date value1, Date value2) { + addCriterion("receive_time between", value1, value2, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveTimeNotBetween(Date value1, Date value2) { + addCriterion("receive_time not between", value1, value2, "receiveTime"); + return (Criteria) this; + } + + public Criteria andReceiveNoteIsNull() { + addCriterion("receive_note is null"); + return (Criteria) this; + } + + public Criteria andReceiveNoteIsNotNull() { + addCriterion("receive_note is not null"); + return (Criteria) this; + } + + public Criteria andReceiveNoteEqualTo(String value) { + addCriterion("receive_note =", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteNotEqualTo(String value) { + addCriterion("receive_note <>", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteGreaterThan(String value) { + addCriterion("receive_note >", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteGreaterThanOrEqualTo(String value) { + addCriterion("receive_note >=", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteLessThan(String value) { + addCriterion("receive_note <", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteLessThanOrEqualTo(String value) { + addCriterion("receive_note <=", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteLike(String value) { + addCriterion("receive_note like", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteNotLike(String value) { + addCriterion("receive_note not like", value, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteIn(List values) { + addCriterion("receive_note in", values, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteNotIn(List values) { + addCriterion("receive_note not in", values, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteBetween(String value1, String value2) { + addCriterion("receive_note between", value1, value2, "receiveNote"); + return (Criteria) this; + } + + public Criteria andReceiveNoteNotBetween(String value1, String value2) { + addCriterion("receive_note not between", value1, value2, "receiveNote"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReason.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReason.java new file mode 100644 index 0000000000..569c8bb17a --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReason.java @@ -0,0 +1,62 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class OmsOrderReturnReason implements Serializable { + private Long id; + + private String name; + + private Integer sort; + + private Integer status; + + 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; + } + + @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(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReasonExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReasonExample.java new file mode 100644 index 0000000000..7412d8c0aa --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderReturnReasonExample.java @@ -0,0 +1,450 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +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 static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSetting.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSetting.java new file mode 100644 index 0000000000..14af3d0877 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSetting.java @@ -0,0 +1,84 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class OmsOrderSetting implements Serializable { + private Long id; + + private Integer flashOrderOvertime; + + private Integer normalOrderOvertime; + + private Integer confirmOvertime; + + private Integer finishOvertime; + + private Integer commentOvertime; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Integer getFlashOrderOvertime() { + return flashOrderOvertime; + } + + public void setFlashOrderOvertime(Integer flashOrderOvertime) { + this.flashOrderOvertime = flashOrderOvertime; + } + + public Integer getNormalOrderOvertime() { + return normalOrderOvertime; + } + + public void setNormalOrderOvertime(Integer normalOrderOvertime) { + this.normalOrderOvertime = normalOrderOvertime; + } + + public Integer getConfirmOvertime() { + return confirmOvertime; + } + + public void setConfirmOvertime(Integer confirmOvertime) { + this.confirmOvertime = confirmOvertime; + } + + public Integer getFinishOvertime() { + return finishOvertime; + } + + public void setFinishOvertime(Integer finishOvertime) { + this.finishOvertime = finishOvertime; + } + + public Integer getCommentOvertime() { + return commentOvertime; + } + + public void setCommentOvertime(Integer commentOvertime) { + this.commentOvertime = commentOvertime; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", flashOrderOvertime=").append(flashOrderOvertime); + sb.append(", normalOrderOvertime=").append(normalOrderOvertime); + sb.append(", confirmOvertime=").append(confirmOvertime); + sb.append(", finishOvertime=").append(finishOvertime); + sb.append(", commentOvertime=").append(commentOvertime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSettingExample.java b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSettingExample.java new file mode 100644 index 0000000000..6761c0f145 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/OmsOrderSettingExample.java @@ -0,0 +1,560 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class OmsOrderSettingExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public OmsOrderSettingExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeIsNull() { + addCriterion("flash_order_overtime is null"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeIsNotNull() { + addCriterion("flash_order_overtime is not null"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeEqualTo(Integer value) { + addCriterion("flash_order_overtime =", value, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeNotEqualTo(Integer value) { + addCriterion("flash_order_overtime <>", value, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeGreaterThan(Integer value) { + addCriterion("flash_order_overtime >", value, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeGreaterThanOrEqualTo(Integer value) { + addCriterion("flash_order_overtime >=", value, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeLessThan(Integer value) { + addCriterion("flash_order_overtime <", value, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeLessThanOrEqualTo(Integer value) { + addCriterion("flash_order_overtime <=", value, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeIn(List values) { + addCriterion("flash_order_overtime in", values, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeNotIn(List values) { + addCriterion("flash_order_overtime not in", values, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeBetween(Integer value1, Integer value2) { + addCriterion("flash_order_overtime between", value1, value2, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andFlashOrderOvertimeNotBetween(Integer value1, Integer value2) { + addCriterion("flash_order_overtime not between", value1, value2, "flashOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeIsNull() { + addCriterion("normal_order_overtime is null"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeIsNotNull() { + addCriterion("normal_order_overtime is not null"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeEqualTo(Integer value) { + addCriterion("normal_order_overtime =", value, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeNotEqualTo(Integer value) { + addCriterion("normal_order_overtime <>", value, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeGreaterThan(Integer value) { + addCriterion("normal_order_overtime >", value, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeGreaterThanOrEqualTo(Integer value) { + addCriterion("normal_order_overtime >=", value, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeLessThan(Integer value) { + addCriterion("normal_order_overtime <", value, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeLessThanOrEqualTo(Integer value) { + addCriterion("normal_order_overtime <=", value, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeIn(List values) { + addCriterion("normal_order_overtime in", values, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeNotIn(List values) { + addCriterion("normal_order_overtime not in", values, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeBetween(Integer value1, Integer value2) { + addCriterion("normal_order_overtime between", value1, value2, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andNormalOrderOvertimeNotBetween(Integer value1, Integer value2) { + addCriterion("normal_order_overtime not between", value1, value2, "normalOrderOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeIsNull() { + addCriterion("confirm_overtime is null"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeIsNotNull() { + addCriterion("confirm_overtime is not null"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeEqualTo(Integer value) { + addCriterion("confirm_overtime =", value, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeNotEqualTo(Integer value) { + addCriterion("confirm_overtime <>", value, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeGreaterThan(Integer value) { + addCriterion("confirm_overtime >", value, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeGreaterThanOrEqualTo(Integer value) { + addCriterion("confirm_overtime >=", value, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeLessThan(Integer value) { + addCriterion("confirm_overtime <", value, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeLessThanOrEqualTo(Integer value) { + addCriterion("confirm_overtime <=", value, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeIn(List values) { + addCriterion("confirm_overtime in", values, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeNotIn(List values) { + addCriterion("confirm_overtime not in", values, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeBetween(Integer value1, Integer value2) { + addCriterion("confirm_overtime between", value1, value2, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andConfirmOvertimeNotBetween(Integer value1, Integer value2) { + addCriterion("confirm_overtime not between", value1, value2, "confirmOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeIsNull() { + addCriterion("finish_overtime is null"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeIsNotNull() { + addCriterion("finish_overtime is not null"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeEqualTo(Integer value) { + addCriterion("finish_overtime =", value, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeNotEqualTo(Integer value) { + addCriterion("finish_overtime <>", value, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeGreaterThan(Integer value) { + addCriterion("finish_overtime >", value, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeGreaterThanOrEqualTo(Integer value) { + addCriterion("finish_overtime >=", value, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeLessThan(Integer value) { + addCriterion("finish_overtime <", value, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeLessThanOrEqualTo(Integer value) { + addCriterion("finish_overtime <=", value, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeIn(List values) { + addCriterion("finish_overtime in", values, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeNotIn(List values) { + addCriterion("finish_overtime not in", values, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeBetween(Integer value1, Integer value2) { + addCriterion("finish_overtime between", value1, value2, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andFinishOvertimeNotBetween(Integer value1, Integer value2) { + addCriterion("finish_overtime not between", value1, value2, "finishOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeIsNull() { + addCriterion("comment_overtime is null"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeIsNotNull() { + addCriterion("comment_overtime is not null"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeEqualTo(Integer value) { + addCriterion("comment_overtime =", value, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeNotEqualTo(Integer value) { + addCriterion("comment_overtime <>", value, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeGreaterThan(Integer value) { + addCriterion("comment_overtime >", value, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeGreaterThanOrEqualTo(Integer value) { + addCriterion("comment_overtime >=", value, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeLessThan(Integer value) { + addCriterion("comment_overtime <", value, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeLessThanOrEqualTo(Integer value) { + addCriterion("comment_overtime <=", value, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeIn(List values) { + addCriterion("comment_overtime in", values, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeNotIn(List values) { + addCriterion("comment_overtime not in", values, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeBetween(Integer value1, Integer value2) { + addCriterion("comment_overtime between", value1, value2, "commentOvertime"); + return (Criteria) this; + } + + public Criteria andCommentOvertimeNotBetween(Integer value1, Integer value2) { + addCriterion("comment_overtime not between", value1, value2, "commentOvertime"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbum.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbum.java new file mode 100644 index 0000000000..e465465c17 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbum.java @@ -0,0 +1,84 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class PmsAlbum implements Serializable { + private Long id; + + private String name; + + private String coverPic; + + private Integer picCount; + + private Integer sort; + + private String description; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getCoverPic() { + return coverPic; + } + + public void setCoverPic(String coverPic) { + this.coverPic = coverPic; + } + + public Integer getPicCount() { + return picCount; + } + + public void setPicCount(Integer picCount) { + this.picCount = picCount; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", coverPic=").append(coverPic); + sb.append(", picCount=").append(picCount); + sb.append(", sort=").append(sort); + sb.append(", description=").append(description); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumExample.java new file mode 100644 index 0000000000..d08a83fafc --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumExample.java @@ -0,0 +1,590 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsAlbumExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsAlbumExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andCoverPicIsNull() { + addCriterion("cover_pic is null"); + return (Criteria) this; + } + + public Criteria andCoverPicIsNotNull() { + addCriterion("cover_pic is not null"); + return (Criteria) this; + } + + public Criteria andCoverPicEqualTo(String value) { + addCriterion("cover_pic =", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicNotEqualTo(String value) { + addCriterion("cover_pic <>", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicGreaterThan(String value) { + addCriterion("cover_pic >", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicGreaterThanOrEqualTo(String value) { + addCriterion("cover_pic >=", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicLessThan(String value) { + addCriterion("cover_pic <", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicLessThanOrEqualTo(String value) { + addCriterion("cover_pic <=", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicLike(String value) { + addCriterion("cover_pic like", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicNotLike(String value) { + addCriterion("cover_pic not like", value, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicIn(List values) { + addCriterion("cover_pic in", values, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicNotIn(List values) { + addCriterion("cover_pic not in", values, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicBetween(String value1, String value2) { + addCriterion("cover_pic between", value1, value2, "coverPic"); + return (Criteria) this; + } + + public Criteria andCoverPicNotBetween(String value1, String value2) { + addCriterion("cover_pic not between", value1, value2, "coverPic"); + return (Criteria) this; + } + + public Criteria andPicCountIsNull() { + addCriterion("pic_count is null"); + return (Criteria) this; + } + + public Criteria andPicCountIsNotNull() { + addCriterion("pic_count is not null"); + return (Criteria) this; + } + + public Criteria andPicCountEqualTo(Integer value) { + addCriterion("pic_count =", value, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountNotEqualTo(Integer value) { + addCriterion("pic_count <>", value, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountGreaterThan(Integer value) { + addCriterion("pic_count >", value, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountGreaterThanOrEqualTo(Integer value) { + addCriterion("pic_count >=", value, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountLessThan(Integer value) { + addCriterion("pic_count <", value, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountLessThanOrEqualTo(Integer value) { + addCriterion("pic_count <=", value, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountIn(List values) { + addCriterion("pic_count in", values, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountNotIn(List values) { + addCriterion("pic_count not in", values, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountBetween(Integer value1, Integer value2) { + addCriterion("pic_count between", value1, value2, "picCount"); + return (Criteria) this; + } + + public Criteria andPicCountNotBetween(Integer value1, Integer value2) { + addCriterion("pic_count not between", value1, value2, "picCount"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNull() { + addCriterion("description is null"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNotNull() { + addCriterion("description is not null"); + return (Criteria) this; + } + + public Criteria andDescriptionEqualTo(String value) { + addCriterion("description =", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotEqualTo(String value) { + addCriterion("description <>", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThan(String value) { + addCriterion("description >", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThanOrEqualTo(String value) { + addCriterion("description >=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThan(String value) { + addCriterion("description <", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThanOrEqualTo(String value) { + addCriterion("description <=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLike(String value) { + addCriterion("description like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotLike(String value) { + addCriterion("description not like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionIn(List values) { + addCriterion("description in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotIn(List values) { + addCriterion("description not in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionBetween(String value1, String value2) { + addCriterion("description between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotBetween(String value1, String value2) { + addCriterion("description not between", value1, value2, "description"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPic.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPic.java new file mode 100644 index 0000000000..91c8930014 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPic.java @@ -0,0 +1,51 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class PmsAlbumPic implements Serializable { + private Long id; + + private Long albumId; + + private String pic; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getAlbumId() { + return albumId; + } + + public void setAlbumId(Long albumId) { + this.albumId = albumId; + } + + public String getPic() { + return pic; + } + + public void setPic(String pic) { + this.pic = pic; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", albumId=").append(albumId); + sb.append(", pic=").append(pic); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPicExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPicExample.java new file mode 100644 index 0000000000..27a46ee011 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsAlbumPicExample.java @@ -0,0 +1,390 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsAlbumPicExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsAlbumPicExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andAlbumIdIsNull() { + addCriterion("album_id is null"); + return (Criteria) this; + } + + public Criteria andAlbumIdIsNotNull() { + addCriterion("album_id is not null"); + return (Criteria) this; + } + + public Criteria andAlbumIdEqualTo(Long value) { + addCriterion("album_id =", value, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdNotEqualTo(Long value) { + addCriterion("album_id <>", value, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdGreaterThan(Long value) { + addCriterion("album_id >", value, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdGreaterThanOrEqualTo(Long value) { + addCriterion("album_id >=", value, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdLessThan(Long value) { + addCriterion("album_id <", value, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdLessThanOrEqualTo(Long value) { + addCriterion("album_id <=", value, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdIn(List values) { + addCriterion("album_id in", values, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdNotIn(List values) { + addCriterion("album_id not in", values, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdBetween(Long value1, Long value2) { + addCriterion("album_id between", value1, value2, "albumId"); + return (Criteria) this; + } + + public Criteria andAlbumIdNotBetween(Long value1, Long value2) { + addCriterion("album_id not between", value1, value2, "albumId"); + return (Criteria) this; + } + + public Criteria andPicIsNull() { + addCriterion("pic is null"); + return (Criteria) this; + } + + public Criteria andPicIsNotNull() { + addCriterion("pic is not null"); + return (Criteria) this; + } + + public Criteria andPicEqualTo(String value) { + addCriterion("pic =", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotEqualTo(String value) { + addCriterion("pic <>", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThan(String value) { + addCriterion("pic >", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThanOrEqualTo(String value) { + addCriterion("pic >=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThan(String value) { + addCriterion("pic <", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThanOrEqualTo(String value) { + addCriterion("pic <=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLike(String value) { + addCriterion("pic like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotLike(String value) { + addCriterion("pic not like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicIn(List values) { + addCriterion("pic in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotIn(List values) { + addCriterion("pic not in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicBetween(String value1, String value2) { + addCriterion("pic between", value1, value2, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotBetween(String value1, String value2) { + addCriterion("pic not between", value1, value2, "pic"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsBrand.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsBrand.java new file mode 100644 index 0000000000..553bfe15f3 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsBrand.java @@ -0,0 +1,139 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class PmsBrand implements Serializable { + private Long id; + + private String name; + + private String firstLetter; + + private Integer sort; + + private Integer factoryStatus; + + private Integer showStatus; + + private Integer productCount; + + private Integer productCommentCount; + + private String logo; + + private String bigPic; + + private String brandStory; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getFirstLetter() { + return firstLetter; + } + + public void setFirstLetter(String firstLetter) { + this.firstLetter = firstLetter; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + public Integer getFactoryStatus() { + return factoryStatus; + } + + public void setFactoryStatus(Integer factoryStatus) { + this.factoryStatus = factoryStatus; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public Integer getProductCount() { + return productCount; + } + + public void setProductCount(Integer productCount) { + this.productCount = productCount; + } + + public Integer getProductCommentCount() { + return productCommentCount; + } + + public void setProductCommentCount(Integer productCommentCount) { + this.productCommentCount = productCommentCount; + } + + public String getLogo() { + return logo; + } + + public void setLogo(String logo) { + this.logo = logo; + } + + public String getBigPic() { + return bigPic; + } + + public void setBigPic(String bigPic) { + this.bigPic = bigPic; + } + + public String getBrandStory() { + return brandStory; + } + + public void setBrandStory(String brandStory) { + this.brandStory = brandStory; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", firstLetter=").append(firstLetter); + sb.append(", sort=").append(sort); + sb.append(", factoryStatus=").append(factoryStatus); + sb.append(", showStatus=").append(showStatus); + sb.append(", productCount=").append(productCount); + sb.append(", productCommentCount=").append(productCommentCount); + sb.append(", logo=").append(logo); + sb.append(", bigPic=").append(bigPic); + sb.append(", brandStory=").append(brandStory); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsBrandExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsBrandExample.java new file mode 100644 index 0000000000..00c019134a --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsBrandExample.java @@ -0,0 +1,840 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsBrandExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsBrandExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andFirstLetterIsNull() { + addCriterion("first_letter is null"); + return (Criteria) this; + } + + public Criteria andFirstLetterIsNotNull() { + addCriterion("first_letter is not null"); + return (Criteria) this; + } + + public Criteria andFirstLetterEqualTo(String value) { + addCriterion("first_letter =", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterNotEqualTo(String value) { + addCriterion("first_letter <>", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterGreaterThan(String value) { + addCriterion("first_letter >", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterGreaterThanOrEqualTo(String value) { + addCriterion("first_letter >=", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterLessThan(String value) { + addCriterion("first_letter <", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterLessThanOrEqualTo(String value) { + addCriterion("first_letter <=", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterLike(String value) { + addCriterion("first_letter like", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterNotLike(String value) { + addCriterion("first_letter not like", value, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterIn(List values) { + addCriterion("first_letter in", values, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterNotIn(List values) { + addCriterion("first_letter not in", values, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterBetween(String value1, String value2) { + addCriterion("first_letter between", value1, value2, "firstLetter"); + return (Criteria) this; + } + + public Criteria andFirstLetterNotBetween(String value1, String value2) { + addCriterion("first_letter not between", value1, value2, "firstLetter"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andFactoryStatusIsNull() { + addCriterion("factory_status is null"); + return (Criteria) this; + } + + public Criteria andFactoryStatusIsNotNull() { + addCriterion("factory_status is not null"); + return (Criteria) this; + } + + public Criteria andFactoryStatusEqualTo(Integer value) { + addCriterion("factory_status =", value, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusNotEqualTo(Integer value) { + addCriterion("factory_status <>", value, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusGreaterThan(Integer value) { + addCriterion("factory_status >", value, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("factory_status >=", value, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusLessThan(Integer value) { + addCriterion("factory_status <", value, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusLessThanOrEqualTo(Integer value) { + addCriterion("factory_status <=", value, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusIn(List values) { + addCriterion("factory_status in", values, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusNotIn(List values) { + addCriterion("factory_status not in", values, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusBetween(Integer value1, Integer value2) { + addCriterion("factory_status between", value1, value2, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andFactoryStatusNotBetween(Integer value1, Integer value2) { + addCriterion("factory_status not between", value1, value2, "factoryStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andProductCountIsNull() { + addCriterion("product_count is null"); + return (Criteria) this; + } + + public Criteria andProductCountIsNotNull() { + addCriterion("product_count is not null"); + return (Criteria) this; + } + + public Criteria andProductCountEqualTo(Integer value) { + addCriterion("product_count =", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotEqualTo(Integer value) { + addCriterion("product_count <>", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountGreaterThan(Integer value) { + addCriterion("product_count >", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountGreaterThanOrEqualTo(Integer value) { + addCriterion("product_count >=", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountLessThan(Integer value) { + addCriterion("product_count <", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountLessThanOrEqualTo(Integer value) { + addCriterion("product_count <=", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountIn(List values) { + addCriterion("product_count in", values, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotIn(List values) { + addCriterion("product_count not in", values, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountBetween(Integer value1, Integer value2) { + addCriterion("product_count between", value1, value2, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotBetween(Integer value1, Integer value2) { + addCriterion("product_count not between", value1, value2, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountIsNull() { + addCriterion("product_comment_count is null"); + return (Criteria) this; + } + + public Criteria andProductCommentCountIsNotNull() { + addCriterion("product_comment_count is not null"); + return (Criteria) this; + } + + public Criteria andProductCommentCountEqualTo(Integer value) { + addCriterion("product_comment_count =", value, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountNotEqualTo(Integer value) { + addCriterion("product_comment_count <>", value, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountGreaterThan(Integer value) { + addCriterion("product_comment_count >", value, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountGreaterThanOrEqualTo(Integer value) { + addCriterion("product_comment_count >=", value, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountLessThan(Integer value) { + addCriterion("product_comment_count <", value, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountLessThanOrEqualTo(Integer value) { + addCriterion("product_comment_count <=", value, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountIn(List values) { + addCriterion("product_comment_count in", values, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountNotIn(List values) { + addCriterion("product_comment_count not in", values, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountBetween(Integer value1, Integer value2) { + addCriterion("product_comment_count between", value1, value2, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andProductCommentCountNotBetween(Integer value1, Integer value2) { + addCriterion("product_comment_count not between", value1, value2, "productCommentCount"); + return (Criteria) this; + } + + public Criteria andLogoIsNull() { + addCriterion("logo is null"); + return (Criteria) this; + } + + public Criteria andLogoIsNotNull() { + addCriterion("logo is not null"); + return (Criteria) this; + } + + public Criteria andLogoEqualTo(String value) { + addCriterion("logo =", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoNotEqualTo(String value) { + addCriterion("logo <>", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoGreaterThan(String value) { + addCriterion("logo >", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoGreaterThanOrEqualTo(String value) { + addCriterion("logo >=", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoLessThan(String value) { + addCriterion("logo <", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoLessThanOrEqualTo(String value) { + addCriterion("logo <=", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoLike(String value) { + addCriterion("logo like", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoNotLike(String value) { + addCriterion("logo not like", value, "logo"); + return (Criteria) this; + } + + public Criteria andLogoIn(List values) { + addCriterion("logo in", values, "logo"); + return (Criteria) this; + } + + public Criteria andLogoNotIn(List values) { + addCriterion("logo not in", values, "logo"); + return (Criteria) this; + } + + public Criteria andLogoBetween(String value1, String value2) { + addCriterion("logo between", value1, value2, "logo"); + return (Criteria) this; + } + + public Criteria andLogoNotBetween(String value1, String value2) { + addCriterion("logo not between", value1, value2, "logo"); + return (Criteria) this; + } + + public Criteria andBigPicIsNull() { + addCriterion("big_pic is null"); + return (Criteria) this; + } + + public Criteria andBigPicIsNotNull() { + addCriterion("big_pic is not null"); + return (Criteria) this; + } + + public Criteria andBigPicEqualTo(String value) { + addCriterion("big_pic =", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicNotEqualTo(String value) { + addCriterion("big_pic <>", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicGreaterThan(String value) { + addCriterion("big_pic >", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicGreaterThanOrEqualTo(String value) { + addCriterion("big_pic >=", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicLessThan(String value) { + addCriterion("big_pic <", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicLessThanOrEqualTo(String value) { + addCriterion("big_pic <=", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicLike(String value) { + addCriterion("big_pic like", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicNotLike(String value) { + addCriterion("big_pic not like", value, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicIn(List values) { + addCriterion("big_pic in", values, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicNotIn(List values) { + addCriterion("big_pic not in", values, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicBetween(String value1, String value2) { + addCriterion("big_pic between", value1, value2, "bigPic"); + return (Criteria) this; + } + + public Criteria andBigPicNotBetween(String value1, String value2) { + addCriterion("big_pic not between", value1, value2, "bigPic"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsComment.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsComment.java new file mode 100644 index 0000000000..cd2125cb35 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsComment.java @@ -0,0 +1,184 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class PmsComment implements Serializable { + private Long id; + + private Long productId; + + private String memberNickName; + + private String productName; + + private Integer star; + + private String memberIp; + + private Date createTime; + + private Integer showStatus; + + private String productAttribute; + + private Integer collectCouont; + + private Integer readCount; + + private String pics; + + private String memberIcon; + + private Integer replayCount; + + private String content; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public String getMemberNickName() { + return memberNickName; + } + + public void setMemberNickName(String memberNickName) { + this.memberNickName = memberNickName; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public Integer getStar() { + return star; + } + + public void setStar(Integer star) { + this.star = star; + } + + public String getMemberIp() { + return memberIp; + } + + public void setMemberIp(String memberIp) { + this.memberIp = memberIp; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public String getProductAttribute() { + return productAttribute; + } + + public void setProductAttribute(String productAttribute) { + this.productAttribute = productAttribute; + } + + public Integer getCollectCouont() { + return collectCouont; + } + + public void setCollectCouont(Integer collectCouont) { + this.collectCouont = collectCouont; + } + + public Integer getReadCount() { + return readCount; + } + + public void setReadCount(Integer readCount) { + this.readCount = readCount; + } + + public String getPics() { + return pics; + } + + public void setPics(String pics) { + this.pics = pics; + } + + public String getMemberIcon() { + return memberIcon; + } + + public void setMemberIcon(String memberIcon) { + this.memberIcon = memberIcon; + } + + public Integer getReplayCount() { + return replayCount; + } + + public void setReplayCount(Integer replayCount) { + this.replayCount = replayCount; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", memberNickName=").append(memberNickName); + sb.append(", productName=").append(productName); + sb.append(", star=").append(star); + sb.append(", memberIp=").append(memberIp); + sb.append(", createTime=").append(createTime); + sb.append(", showStatus=").append(showStatus); + sb.append(", productAttribute=").append(productAttribute); + sb.append(", collectCouont=").append(collectCouont); + sb.append(", readCount=").append(readCount); + sb.append(", pics=").append(pics); + sb.append(", memberIcon=").append(memberIcon); + sb.append(", replayCount=").append(replayCount); + sb.append(", content=").append(content); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentExample.java new file mode 100644 index 0000000000..dd91ebf596 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentExample.java @@ -0,0 +1,1101 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class PmsCommentExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsCommentExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNull() { + addCriterion("member_nick_name is null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNotNull() { + addCriterion("member_nick_name is not null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameEqualTo(String value) { + addCriterion("member_nick_name =", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotEqualTo(String value) { + addCriterion("member_nick_name <>", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThan(String value) { + addCriterion("member_nick_name >", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) { + addCriterion("member_nick_name >=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThan(String value) { + addCriterion("member_nick_name <", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThanOrEqualTo(String value) { + addCriterion("member_nick_name <=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLike(String value) { + addCriterion("member_nick_name like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotLike(String value) { + addCriterion("member_nick_name not like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIn(List values) { + addCriterion("member_nick_name in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotIn(List values) { + addCriterion("member_nick_name not in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameBetween(String value1, String value2) { + addCriterion("member_nick_name between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotBetween(String value1, String value2) { + addCriterion("member_nick_name not between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andProductNameIsNull() { + addCriterion("product_name is null"); + return (Criteria) this; + } + + public Criteria andProductNameIsNotNull() { + addCriterion("product_name is not null"); + return (Criteria) this; + } + + public Criteria andProductNameEqualTo(String value) { + addCriterion("product_name =", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotEqualTo(String value) { + addCriterion("product_name <>", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThan(String value) { + addCriterion("product_name >", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThanOrEqualTo(String value) { + addCriterion("product_name >=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThan(String value) { + addCriterion("product_name <", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThanOrEqualTo(String value) { + addCriterion("product_name <=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLike(String value) { + addCriterion("product_name like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotLike(String value) { + addCriterion("product_name not like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameIn(List values) { + addCriterion("product_name in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotIn(List values) { + addCriterion("product_name not in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameBetween(String value1, String value2) { + addCriterion("product_name between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotBetween(String value1, String value2) { + addCriterion("product_name not between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andStarIsNull() { + addCriterion("star is null"); + return (Criteria) this; + } + + public Criteria andStarIsNotNull() { + addCriterion("star is not null"); + return (Criteria) this; + } + + public Criteria andStarEqualTo(Integer value) { + addCriterion("star =", value, "star"); + return (Criteria) this; + } + + public Criteria andStarNotEqualTo(Integer value) { + addCriterion("star <>", value, "star"); + return (Criteria) this; + } + + public Criteria andStarGreaterThan(Integer value) { + addCriterion("star >", value, "star"); + return (Criteria) this; + } + + public Criteria andStarGreaterThanOrEqualTo(Integer value) { + addCriterion("star >=", value, "star"); + return (Criteria) this; + } + + public Criteria andStarLessThan(Integer value) { + addCriterion("star <", value, "star"); + return (Criteria) this; + } + + public Criteria andStarLessThanOrEqualTo(Integer value) { + addCriterion("star <=", value, "star"); + return (Criteria) this; + } + + public Criteria andStarIn(List values) { + addCriterion("star in", values, "star"); + return (Criteria) this; + } + + public Criteria andStarNotIn(List values) { + addCriterion("star not in", values, "star"); + return (Criteria) this; + } + + public Criteria andStarBetween(Integer value1, Integer value2) { + addCriterion("star between", value1, value2, "star"); + return (Criteria) this; + } + + public Criteria andStarNotBetween(Integer value1, Integer value2) { + addCriterion("star not between", value1, value2, "star"); + return (Criteria) this; + } + + public Criteria andMemberIpIsNull() { + addCriterion("member_ip is null"); + return (Criteria) this; + } + + public Criteria andMemberIpIsNotNull() { + addCriterion("member_ip is not null"); + return (Criteria) this; + } + + public Criteria andMemberIpEqualTo(String value) { + addCriterion("member_ip =", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpNotEqualTo(String value) { + addCriterion("member_ip <>", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpGreaterThan(String value) { + addCriterion("member_ip >", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpGreaterThanOrEqualTo(String value) { + addCriterion("member_ip >=", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpLessThan(String value) { + addCriterion("member_ip <", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpLessThanOrEqualTo(String value) { + addCriterion("member_ip <=", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpLike(String value) { + addCriterion("member_ip like", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpNotLike(String value) { + addCriterion("member_ip not like", value, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpIn(List values) { + addCriterion("member_ip in", values, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpNotIn(List values) { + addCriterion("member_ip not in", values, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpBetween(String value1, String value2) { + addCriterion("member_ip between", value1, value2, "memberIp"); + return (Criteria) this; + } + + public Criteria andMemberIpNotBetween(String value1, String value2) { + addCriterion("member_ip not between", value1, value2, "memberIp"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andProductAttributeIsNull() { + addCriterion("product_attribute is null"); + return (Criteria) this; + } + + public Criteria andProductAttributeIsNotNull() { + addCriterion("product_attribute is not null"); + return (Criteria) this; + } + + public Criteria andProductAttributeEqualTo(String value) { + addCriterion("product_attribute =", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeNotEqualTo(String value) { + addCriterion("product_attribute <>", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeGreaterThan(String value) { + addCriterion("product_attribute >", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeGreaterThanOrEqualTo(String value) { + addCriterion("product_attribute >=", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeLessThan(String value) { + addCriterion("product_attribute <", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeLessThanOrEqualTo(String value) { + addCriterion("product_attribute <=", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeLike(String value) { + addCriterion("product_attribute like", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeNotLike(String value) { + addCriterion("product_attribute not like", value, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeIn(List values) { + addCriterion("product_attribute in", values, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeNotIn(List values) { + addCriterion("product_attribute not in", values, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeBetween(String value1, String value2) { + addCriterion("product_attribute between", value1, value2, "productAttribute"); + return (Criteria) this; + } + + public Criteria andProductAttributeNotBetween(String value1, String value2) { + addCriterion("product_attribute not between", value1, value2, "productAttribute"); + return (Criteria) this; + } + + public Criteria andCollectCouontIsNull() { + addCriterion("collect_couont is null"); + return (Criteria) this; + } + + public Criteria andCollectCouontIsNotNull() { + addCriterion("collect_couont is not null"); + return (Criteria) this; + } + + public Criteria andCollectCouontEqualTo(Integer value) { + addCriterion("collect_couont =", value, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontNotEqualTo(Integer value) { + addCriterion("collect_couont <>", value, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontGreaterThan(Integer value) { + addCriterion("collect_couont >", value, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontGreaterThanOrEqualTo(Integer value) { + addCriterion("collect_couont >=", value, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontLessThan(Integer value) { + addCriterion("collect_couont <", value, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontLessThanOrEqualTo(Integer value) { + addCriterion("collect_couont <=", value, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontIn(List values) { + addCriterion("collect_couont in", values, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontNotIn(List values) { + addCriterion("collect_couont not in", values, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontBetween(Integer value1, Integer value2) { + addCriterion("collect_couont between", value1, value2, "collectCouont"); + return (Criteria) this; + } + + public Criteria andCollectCouontNotBetween(Integer value1, Integer value2) { + addCriterion("collect_couont not between", value1, value2, "collectCouont"); + return (Criteria) this; + } + + public Criteria andReadCountIsNull() { + addCriterion("read_count is null"); + return (Criteria) this; + } + + public Criteria andReadCountIsNotNull() { + addCriterion("read_count is not null"); + return (Criteria) this; + } + + public Criteria andReadCountEqualTo(Integer value) { + addCriterion("read_count =", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotEqualTo(Integer value) { + addCriterion("read_count <>", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThan(Integer value) { + addCriterion("read_count >", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountGreaterThanOrEqualTo(Integer value) { + addCriterion("read_count >=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThan(Integer value) { + addCriterion("read_count <", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountLessThanOrEqualTo(Integer value) { + addCriterion("read_count <=", value, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountIn(List values) { + addCriterion("read_count in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotIn(List values) { + addCriterion("read_count not in", values, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountBetween(Integer value1, Integer value2) { + addCriterion("read_count between", value1, value2, "readCount"); + return (Criteria) this; + } + + public Criteria andReadCountNotBetween(Integer value1, Integer value2) { + addCriterion("read_count not between", value1, value2, "readCount"); + return (Criteria) this; + } + + public Criteria andPicsIsNull() { + addCriterion("pics is null"); + return (Criteria) this; + } + + public Criteria andPicsIsNotNull() { + addCriterion("pics is not null"); + return (Criteria) this; + } + + public Criteria andPicsEqualTo(String value) { + addCriterion("pics =", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsNotEqualTo(String value) { + addCriterion("pics <>", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsGreaterThan(String value) { + addCriterion("pics >", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsGreaterThanOrEqualTo(String value) { + addCriterion("pics >=", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsLessThan(String value) { + addCriterion("pics <", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsLessThanOrEqualTo(String value) { + addCriterion("pics <=", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsLike(String value) { + addCriterion("pics like", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsNotLike(String value) { + addCriterion("pics not like", value, "pics"); + return (Criteria) this; + } + + public Criteria andPicsIn(List values) { + addCriterion("pics in", values, "pics"); + return (Criteria) this; + } + + public Criteria andPicsNotIn(List values) { + addCriterion("pics not in", values, "pics"); + return (Criteria) this; + } + + public Criteria andPicsBetween(String value1, String value2) { + addCriterion("pics between", value1, value2, "pics"); + return (Criteria) this; + } + + public Criteria andPicsNotBetween(String value1, String value2) { + addCriterion("pics not between", value1, value2, "pics"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNull() { + addCriterion("member_icon is null"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNotNull() { + addCriterion("member_icon is not null"); + return (Criteria) this; + } + + public Criteria andMemberIconEqualTo(String value) { + addCriterion("member_icon =", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotEqualTo(String value) { + addCriterion("member_icon <>", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThan(String value) { + addCriterion("member_icon >", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThanOrEqualTo(String value) { + addCriterion("member_icon >=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThan(String value) { + addCriterion("member_icon <", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThanOrEqualTo(String value) { + addCriterion("member_icon <=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLike(String value) { + addCriterion("member_icon like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotLike(String value) { + addCriterion("member_icon not like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconIn(List values) { + addCriterion("member_icon in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotIn(List values) { + addCriterion("member_icon not in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconBetween(String value1, String value2) { + addCriterion("member_icon between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotBetween(String value1, String value2) { + addCriterion("member_icon not between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andReplayCountIsNull() { + addCriterion("replay_count is null"); + return (Criteria) this; + } + + public Criteria andReplayCountIsNotNull() { + addCriterion("replay_count is not null"); + return (Criteria) this; + } + + public Criteria andReplayCountEqualTo(Integer value) { + addCriterion("replay_count =", value, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountNotEqualTo(Integer value) { + addCriterion("replay_count <>", value, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountGreaterThan(Integer value) { + addCriterion("replay_count >", value, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountGreaterThanOrEqualTo(Integer value) { + addCriterion("replay_count >=", value, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountLessThan(Integer value) { + addCriterion("replay_count <", value, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountLessThanOrEqualTo(Integer value) { + addCriterion("replay_count <=", value, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountIn(List values) { + addCriterion("replay_count in", values, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountNotIn(List values) { + addCriterion("replay_count not in", values, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountBetween(Integer value1, Integer value2) { + addCriterion("replay_count between", value1, value2, "replayCount"); + return (Criteria) this; + } + + public Criteria andReplayCountNotBetween(Integer value1, Integer value2) { + addCriterion("replay_count not between", value1, value2, "replayCount"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplay.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplay.java new file mode 100644 index 0000000000..39e43b6387 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplay.java @@ -0,0 +1,96 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class PmsCommentReplay implements Serializable { + private Long id; + + private Long commentId; + + private String memberNickName; + + private String memberIcon; + + private String content; + + private Date createTime; + + private Integer type; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getCommentId() { + return commentId; + } + + public void setCommentId(Long commentId) { + this.commentId = commentId; + } + + public String getMemberNickName() { + return memberNickName; + } + + public void setMemberNickName(String memberNickName) { + this.memberNickName = memberNickName; + } + + public String getMemberIcon() { + return memberIcon; + } + + public void setMemberIcon(String memberIcon) { + this.memberIcon = memberIcon; + } + + public String getContent() { + return content; + } + + public void setContent(String content) { + this.content = content; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", commentId=").append(commentId); + sb.append(", memberNickName=").append(memberNickName); + sb.append(", memberIcon=").append(memberIcon); + sb.append(", content=").append(content); + sb.append(", createTime=").append(createTime); + sb.append(", type=").append(type); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplayExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplayExample.java new file mode 100644 index 0000000000..e4ce5ddaf0 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsCommentReplayExample.java @@ -0,0 +1,651 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class PmsCommentReplayExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsCommentReplayExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andCommentIdIsNull() { + addCriterion("comment_id is null"); + return (Criteria) this; + } + + public Criteria andCommentIdIsNotNull() { + addCriterion("comment_id is not null"); + return (Criteria) this; + } + + public Criteria andCommentIdEqualTo(Long value) { + addCriterion("comment_id =", value, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdNotEqualTo(Long value) { + addCriterion("comment_id <>", value, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdGreaterThan(Long value) { + addCriterion("comment_id >", value, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdGreaterThanOrEqualTo(Long value) { + addCriterion("comment_id >=", value, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdLessThan(Long value) { + addCriterion("comment_id <", value, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdLessThanOrEqualTo(Long value) { + addCriterion("comment_id <=", value, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdIn(List values) { + addCriterion("comment_id in", values, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdNotIn(List values) { + addCriterion("comment_id not in", values, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdBetween(Long value1, Long value2) { + addCriterion("comment_id between", value1, value2, "commentId"); + return (Criteria) this; + } + + public Criteria andCommentIdNotBetween(Long value1, Long value2) { + addCriterion("comment_id not between", value1, value2, "commentId"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNull() { + addCriterion("member_nick_name is null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIsNotNull() { + addCriterion("member_nick_name is not null"); + return (Criteria) this; + } + + public Criteria andMemberNickNameEqualTo(String value) { + addCriterion("member_nick_name =", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotEqualTo(String value) { + addCriterion("member_nick_name <>", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThan(String value) { + addCriterion("member_nick_name >", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameGreaterThanOrEqualTo(String value) { + addCriterion("member_nick_name >=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThan(String value) { + addCriterion("member_nick_name <", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLessThanOrEqualTo(String value) { + addCriterion("member_nick_name <=", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameLike(String value) { + addCriterion("member_nick_name like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotLike(String value) { + addCriterion("member_nick_name not like", value, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameIn(List values) { + addCriterion("member_nick_name in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotIn(List values) { + addCriterion("member_nick_name not in", values, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameBetween(String value1, String value2) { + addCriterion("member_nick_name between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberNickNameNotBetween(String value1, String value2) { + addCriterion("member_nick_name not between", value1, value2, "memberNickName"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNull() { + addCriterion("member_icon is null"); + return (Criteria) this; + } + + public Criteria andMemberIconIsNotNull() { + addCriterion("member_icon is not null"); + return (Criteria) this; + } + + public Criteria andMemberIconEqualTo(String value) { + addCriterion("member_icon =", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotEqualTo(String value) { + addCriterion("member_icon <>", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThan(String value) { + addCriterion("member_icon >", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconGreaterThanOrEqualTo(String value) { + addCriterion("member_icon >=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThan(String value) { + addCriterion("member_icon <", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLessThanOrEqualTo(String value) { + addCriterion("member_icon <=", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconLike(String value) { + addCriterion("member_icon like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotLike(String value) { + addCriterion("member_icon not like", value, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconIn(List values) { + addCriterion("member_icon in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotIn(List values) { + addCriterion("member_icon not in", values, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconBetween(String value1, String value2) { + addCriterion("member_icon between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andMemberIconNotBetween(String value1, String value2) { + addCriterion("member_icon not between", value1, value2, "memberIcon"); + return (Criteria) this; + } + + public Criteria andContentIsNull() { + addCriterion("content is null"); + return (Criteria) this; + } + + public Criteria andContentIsNotNull() { + addCriterion("content is not null"); + return (Criteria) this; + } + + public Criteria andContentEqualTo(String value) { + addCriterion("content =", value, "content"); + return (Criteria) this; + } + + public Criteria andContentNotEqualTo(String value) { + addCriterion("content <>", value, "content"); + return (Criteria) this; + } + + public Criteria andContentGreaterThan(String value) { + addCriterion("content >", value, "content"); + return (Criteria) this; + } + + public Criteria andContentGreaterThanOrEqualTo(String value) { + addCriterion("content >=", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLessThan(String value) { + addCriterion("content <", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLessThanOrEqualTo(String value) { + addCriterion("content <=", value, "content"); + return (Criteria) this; + } + + public Criteria andContentLike(String value) { + addCriterion("content like", value, "content"); + return (Criteria) this; + } + + public Criteria andContentNotLike(String value) { + addCriterion("content not like", value, "content"); + return (Criteria) this; + } + + public Criteria andContentIn(List values) { + addCriterion("content in", values, "content"); + return (Criteria) this; + } + + public Criteria andContentNotIn(List values) { + addCriterion("content not in", values, "content"); + return (Criteria) this; + } + + public Criteria andContentBetween(String value1, String value2) { + addCriterion("content between", value1, value2, "content"); + return (Criteria) this; + } + + public Criteria andContentNotBetween(String value1, String value2) { + addCriterion("content not between", value1, value2, "content"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplate.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplate.java new file mode 100644 index 0000000000..d9386a83aa --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplate.java @@ -0,0 +1,107 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class PmsFeightTemplate implements Serializable { + private Long id; + + private String name; + + private Integer chargeType; + + private BigDecimal firstWeight; + + private BigDecimal firstFee; + + private BigDecimal continueWeight; + + private BigDecimal continmeFee; + + private String dest; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getChargeType() { + return chargeType; + } + + public void setChargeType(Integer chargeType) { + this.chargeType = chargeType; + } + + public BigDecimal getFirstWeight() { + return firstWeight; + } + + public void setFirstWeight(BigDecimal firstWeight) { + this.firstWeight = firstWeight; + } + + public BigDecimal getFirstFee() { + return firstFee; + } + + public void setFirstFee(BigDecimal firstFee) { + this.firstFee = firstFee; + } + + public BigDecimal getContinueWeight() { + return continueWeight; + } + + public void setContinueWeight(BigDecimal continueWeight) { + this.continueWeight = continueWeight; + } + + public BigDecimal getContinmeFee() { + return continmeFee; + } + + public void setContinmeFee(BigDecimal continmeFee) { + this.continmeFee = continmeFee; + } + + public String getDest() { + return dest; + } + + public void setDest(String dest) { + this.dest = dest; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", chargeType=").append(chargeType); + sb.append(", firstWeight=").append(firstWeight); + sb.append(", firstFee=").append(firstFee); + sb.append(", continueWeight=").append(continueWeight); + sb.append(", continmeFee=").append(continmeFee); + sb.append(", dest=").append(dest); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplateExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplateExample.java new file mode 100644 index 0000000000..5fc6cd1d0f --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsFeightTemplateExample.java @@ -0,0 +1,701 @@ +package com.macro.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class PmsFeightTemplateExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsFeightTemplateExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andChargeTypeIsNull() { + addCriterion("charge_type is null"); + return (Criteria) this; + } + + public Criteria andChargeTypeIsNotNull() { + addCriterion("charge_type is not null"); + return (Criteria) this; + } + + public Criteria andChargeTypeEqualTo(Integer value) { + addCriterion("charge_type =", value, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeNotEqualTo(Integer value) { + addCriterion("charge_type <>", value, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeGreaterThan(Integer value) { + addCriterion("charge_type >", value, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("charge_type >=", value, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeLessThan(Integer value) { + addCriterion("charge_type <", value, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeLessThanOrEqualTo(Integer value) { + addCriterion("charge_type <=", value, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeIn(List values) { + addCriterion("charge_type in", values, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeNotIn(List values) { + addCriterion("charge_type not in", values, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeBetween(Integer value1, Integer value2) { + addCriterion("charge_type between", value1, value2, "chargeType"); + return (Criteria) this; + } + + public Criteria andChargeTypeNotBetween(Integer value1, Integer value2) { + addCriterion("charge_type not between", value1, value2, "chargeType"); + return (Criteria) this; + } + + public Criteria andFirstWeightIsNull() { + addCriterion("first_weight is null"); + return (Criteria) this; + } + + public Criteria andFirstWeightIsNotNull() { + addCriterion("first_weight is not null"); + return (Criteria) this; + } + + public Criteria andFirstWeightEqualTo(BigDecimal value) { + addCriterion("first_weight =", value, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightNotEqualTo(BigDecimal value) { + addCriterion("first_weight <>", value, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightGreaterThan(BigDecimal value) { + addCriterion("first_weight >", value, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("first_weight >=", value, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightLessThan(BigDecimal value) { + addCriterion("first_weight <", value, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightLessThanOrEqualTo(BigDecimal value) { + addCriterion("first_weight <=", value, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightIn(List values) { + addCriterion("first_weight in", values, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightNotIn(List values) { + addCriterion("first_weight not in", values, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("first_weight between", value1, value2, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstWeightNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("first_weight not between", value1, value2, "firstWeight"); + return (Criteria) this; + } + + public Criteria andFirstFeeIsNull() { + addCriterion("first_fee is null"); + return (Criteria) this; + } + + public Criteria andFirstFeeIsNotNull() { + addCriterion("first_fee is not null"); + return (Criteria) this; + } + + public Criteria andFirstFeeEqualTo(BigDecimal value) { + addCriterion("first_fee =", value, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeNotEqualTo(BigDecimal value) { + addCriterion("first_fee <>", value, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeGreaterThan(BigDecimal value) { + addCriterion("first_fee >", value, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("first_fee >=", value, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeLessThan(BigDecimal value) { + addCriterion("first_fee <", value, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeLessThanOrEqualTo(BigDecimal value) { + addCriterion("first_fee <=", value, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeIn(List values) { + addCriterion("first_fee in", values, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeNotIn(List values) { + addCriterion("first_fee not in", values, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("first_fee between", value1, value2, "firstFee"); + return (Criteria) this; + } + + public Criteria andFirstFeeNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("first_fee not between", value1, value2, "firstFee"); + return (Criteria) this; + } + + public Criteria andContinueWeightIsNull() { + addCriterion("continue_weight is null"); + return (Criteria) this; + } + + public Criteria andContinueWeightIsNotNull() { + addCriterion("continue_weight is not null"); + return (Criteria) this; + } + + public Criteria andContinueWeightEqualTo(BigDecimal value) { + addCriterion("continue_weight =", value, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightNotEqualTo(BigDecimal value) { + addCriterion("continue_weight <>", value, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightGreaterThan(BigDecimal value) { + addCriterion("continue_weight >", value, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("continue_weight >=", value, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightLessThan(BigDecimal value) { + addCriterion("continue_weight <", value, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightLessThanOrEqualTo(BigDecimal value) { + addCriterion("continue_weight <=", value, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightIn(List values) { + addCriterion("continue_weight in", values, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightNotIn(List values) { + addCriterion("continue_weight not in", values, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("continue_weight between", value1, value2, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinueWeightNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("continue_weight not between", value1, value2, "continueWeight"); + return (Criteria) this; + } + + public Criteria andContinmeFeeIsNull() { + addCriterion("continme_fee is null"); + return (Criteria) this; + } + + public Criteria andContinmeFeeIsNotNull() { + addCriterion("continme_fee is not null"); + return (Criteria) this; + } + + public Criteria andContinmeFeeEqualTo(BigDecimal value) { + addCriterion("continme_fee =", value, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeNotEqualTo(BigDecimal value) { + addCriterion("continme_fee <>", value, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeGreaterThan(BigDecimal value) { + addCriterion("continme_fee >", value, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("continme_fee >=", value, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeLessThan(BigDecimal value) { + addCriterion("continme_fee <", value, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeLessThanOrEqualTo(BigDecimal value) { + addCriterion("continme_fee <=", value, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeIn(List values) { + addCriterion("continme_fee in", values, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeNotIn(List values) { + addCriterion("continme_fee not in", values, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("continme_fee between", value1, value2, "continmeFee"); + return (Criteria) this; + } + + public Criteria andContinmeFeeNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("continme_fee not between", value1, value2, "continmeFee"); + return (Criteria) this; + } + + public Criteria andDestIsNull() { + addCriterion("dest is null"); + return (Criteria) this; + } + + public Criteria andDestIsNotNull() { + addCriterion("dest is not null"); + return (Criteria) this; + } + + public Criteria andDestEqualTo(String value) { + addCriterion("dest =", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestNotEqualTo(String value) { + addCriterion("dest <>", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestGreaterThan(String value) { + addCriterion("dest >", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestGreaterThanOrEqualTo(String value) { + addCriterion("dest >=", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestLessThan(String value) { + addCriterion("dest <", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestLessThanOrEqualTo(String value) { + addCriterion("dest <=", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestLike(String value) { + addCriterion("dest like", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestNotLike(String value) { + addCriterion("dest not like", value, "dest"); + return (Criteria) this; + } + + public Criteria andDestIn(List values) { + addCriterion("dest in", values, "dest"); + return (Criteria) this; + } + + public Criteria andDestNotIn(List values) { + addCriterion("dest not in", values, "dest"); + return (Criteria) this; + } + + public Criteria andDestBetween(String value1, String value2) { + addCriterion("dest between", value1, value2, "dest"); + return (Criteria) this; + } + + public Criteria andDestNotBetween(String value1, String value2) { + addCriterion("dest not between", value1, value2, "dest"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPrice.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPrice.java new file mode 100644 index 0000000000..c6df9e15b4 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPrice.java @@ -0,0 +1,63 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class PmsMemberPrice implements Serializable { + private Long id; + + private Long productId; + + private Long memberLevelId; + + private BigDecimal memberPrice; + + 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; + } + + @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(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPriceExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPriceExample.java new file mode 100644 index 0000000000..c8ff992b54 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsMemberPriceExample.java @@ -0,0 +1,441 @@ +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 static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProduct.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProduct.java new file mode 100644 index 0000000000..63f9dc7993 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProduct.java @@ -0,0 +1,493 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class PmsProduct implements Serializable { + private Long id; + + private Long brandId; + + private Long productCategoryId; + + private Long feightTemplateId; + + private Long productAttributeCategoryId; + + private Integer flashPromotionId; + + private String name; + + private String pic; + + private String productSn; + + private Integer deleteStatus; + + private Integer publishStatus; + + private Integer newStatus; + + private Integer recommandStatus; + + private Integer verifyStatus; + + private Integer sort; + + private Integer sale; + + private BigDecimal price; + + private BigDecimal promotionPrice; + + private Integer giftPoint; + + private Integer usePointLimit; + + private String subTitle; + + private BigDecimal originalPrice; + + private Integer stock; + + private Integer lowStock; + + private String unit; + + private BigDecimal weight; + + private Integer previewStatus; + + private String serviceIds; + + private String keywords; + + private String note; + + private String albumPics; + + private String detailTitle; + + private BigDecimal flashPromotionPrice; + + private Integer flashPromotionCount; + + private Integer flashPromotionSort; + + private Date promotionStartTime; + + private Date promotionEndTime; + + private Integer promotionPerLimit; + + private Integer promotionType; + + private String description; + + private String detailDesc; + + private String detailHtml; + + 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 Integer getFlashPromotionId() { + return flashPromotionId; + } + + public void setFlashPromotionId(Integer flashPromotionId) { + this.flashPromotionId = flashPromotionId; + } + + 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 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 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 getFlashPromotionSort() { + return flashPromotionSort; + } + + public void setFlashPromotionSort(Integer flashPromotionSort) { + this.flashPromotionSort = flashPromotionSort; + } + + 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 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(", flashPromotionId=").append(flashPromotionId); + 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(", 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(", flashPromotionPrice=").append(flashPromotionPrice); + sb.append(", flashPromotionCount=").append(flashPromotionCount); + sb.append(", flashPromotionSort=").append(flashPromotionSort); + sb.append(", promotionStartTime=").append(promotionStartTime); + sb.append(", promotionEndTime=").append(promotionEndTime); + sb.append(", promotionPerLimit=").append(promotionPerLimit); + sb.append(", promotionType=").append(promotionType); + sb.append(", description=").append(description); + sb.append(", detailDesc=").append(detailDesc); + sb.append(", detailHtml=").append(detailHtml); + sb.append(", detailMobileHtml=").append(detailMobileHtml); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttribute.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttribute.java new file mode 100644 index 0000000000..eec2cb74d8 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttribute.java @@ -0,0 +1,150 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class PmsProductAttribute implements Serializable { + private Long id; + + private Long productAttributeCategoryId; + + private String name; + + private Integer selectType; + + private Integer inputType; + + private String inputList; + + private Integer sort; + + private Integer filterType; + + private Integer searchType; + + private Integer relatedStatus; + + private Integer handAddStatus; + + private Integer type; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductAttributeCategoryId() { + return productAttributeCategoryId; + } + + public void setProductAttributeCategoryId(Long productAttributeCategoryId) { + this.productAttributeCategoryId = productAttributeCategoryId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getSelectType() { + return selectType; + } + + public void setSelectType(Integer selectType) { + this.selectType = selectType; + } + + public Integer getInputType() { + return inputType; + } + + public void setInputType(Integer inputType) { + this.inputType = inputType; + } + + public String getInputList() { + return inputList; + } + + public void setInputList(String inputList) { + this.inputList = inputList; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + public Integer getFilterType() { + return filterType; + } + + public void setFilterType(Integer filterType) { + this.filterType = filterType; + } + + public Integer getSearchType() { + return searchType; + } + + public void setSearchType(Integer searchType) { + this.searchType = searchType; + } + + public Integer getRelatedStatus() { + return relatedStatus; + } + + public void setRelatedStatus(Integer relatedStatus) { + this.relatedStatus = relatedStatus; + } + + public Integer getHandAddStatus() { + return handAddStatus; + } + + public void setHandAddStatus(Integer handAddStatus) { + this.handAddStatus = handAddStatus; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productAttributeCategoryId=").append(productAttributeCategoryId); + sb.append(", name=").append(name); + sb.append(", selectType=").append(selectType); + sb.append(", inputType=").append(inputType); + sb.append(", inputList=").append(inputList); + sb.append(", sort=").append(sort); + sb.append(", filterType=").append(filterType); + sb.append(", searchType=").append(searchType); + sb.append(", relatedStatus=").append(relatedStatus); + sb.append(", handAddStatus=").append(handAddStatus); + sb.append(", type=").append(type); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategory.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategory.java new file mode 100644 index 0000000000..b56d3c0738 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategory.java @@ -0,0 +1,62 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class PmsProductAttributeCategory implements Serializable { + private Long id; + + private String name; + + private Integer attributeCount; + + private Integer paramCount; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getAttributeCount() { + return attributeCount; + } + + public void setAttributeCount(Integer attributeCount) { + this.attributeCount = attributeCount; + } + + public Integer getParamCount() { + return paramCount; + } + + public void setParamCount(Integer paramCount) { + this.paramCount = paramCount; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", attributeCount=").append(attributeCount); + sb.append(", paramCount=").append(paramCount); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategoryExample.java new file mode 100644 index 0000000000..89e45f49fc --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeCategoryExample.java @@ -0,0 +1,450 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsProductAttributeCategoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductAttributeCategoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andAttributeCountIsNull() { + addCriterion("attribute_count is null"); + return (Criteria) this; + } + + public Criteria andAttributeCountIsNotNull() { + addCriterion("attribute_count is not null"); + return (Criteria) this; + } + + public Criteria andAttributeCountEqualTo(Integer value) { + addCriterion("attribute_count =", value, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountNotEqualTo(Integer value) { + addCriterion("attribute_count <>", value, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountGreaterThan(Integer value) { + addCriterion("attribute_count >", value, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountGreaterThanOrEqualTo(Integer value) { + addCriterion("attribute_count >=", value, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountLessThan(Integer value) { + addCriterion("attribute_count <", value, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountLessThanOrEqualTo(Integer value) { + addCriterion("attribute_count <=", value, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountIn(List values) { + addCriterion("attribute_count in", values, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountNotIn(List values) { + addCriterion("attribute_count not in", values, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountBetween(Integer value1, Integer value2) { + addCriterion("attribute_count between", value1, value2, "attributeCount"); + return (Criteria) this; + } + + public Criteria andAttributeCountNotBetween(Integer value1, Integer value2) { + addCriterion("attribute_count not between", value1, value2, "attributeCount"); + return (Criteria) this; + } + + public Criteria andParamCountIsNull() { + addCriterion("param_count is null"); + return (Criteria) this; + } + + public Criteria andParamCountIsNotNull() { + addCriterion("param_count is not null"); + return (Criteria) this; + } + + public Criteria andParamCountEqualTo(Integer value) { + addCriterion("param_count =", value, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountNotEqualTo(Integer value) { + addCriterion("param_count <>", value, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountGreaterThan(Integer value) { + addCriterion("param_count >", value, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountGreaterThanOrEqualTo(Integer value) { + addCriterion("param_count >=", value, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountLessThan(Integer value) { + addCriterion("param_count <", value, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountLessThanOrEqualTo(Integer value) { + addCriterion("param_count <=", value, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountIn(List values) { + addCriterion("param_count in", values, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountNotIn(List values) { + addCriterion("param_count not in", values, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountBetween(Integer value1, Integer value2) { + addCriterion("param_count between", value1, value2, "paramCount"); + return (Criteria) this; + } + + public Criteria andParamCountNotBetween(Integer value1, Integer value2) { + addCriterion("param_count not between", value1, value2, "paramCount"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeExample.java new file mode 100644 index 0000000000..caa0cfde2d --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeExample.java @@ -0,0 +1,940 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsProductAttributeExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductAttributeExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdIsNull() { + addCriterion("product_attribute_category_id is null"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdIsNotNull() { + addCriterion("product_attribute_category_id is not null"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdEqualTo(Long value) { + addCriterion("product_attribute_category_id =", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdNotEqualTo(Long value) { + addCriterion("product_attribute_category_id <>", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdGreaterThan(Long value) { + addCriterion("product_attribute_category_id >", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_attribute_category_id >=", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdLessThan(Long value) { + addCriterion("product_attribute_category_id <", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("product_attribute_category_id <=", value, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdIn(List values) { + addCriterion("product_attribute_category_id in", values, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdNotIn(List values) { + addCriterion("product_attribute_category_id not in", values, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdBetween(Long value1, Long value2) { + addCriterion("product_attribute_category_id between", value1, value2, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("product_attribute_category_id not between", value1, value2, "productAttributeCategoryId"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andSelectTypeIsNull() { + addCriterion("select_type is null"); + return (Criteria) this; + } + + public Criteria andSelectTypeIsNotNull() { + addCriterion("select_type is not null"); + return (Criteria) this; + } + + public Criteria andSelectTypeEqualTo(Integer value) { + addCriterion("select_type =", value, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeNotEqualTo(Integer value) { + addCriterion("select_type <>", value, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeGreaterThan(Integer value) { + addCriterion("select_type >", value, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("select_type >=", value, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeLessThan(Integer value) { + addCriterion("select_type <", value, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeLessThanOrEqualTo(Integer value) { + addCriterion("select_type <=", value, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeIn(List values) { + addCriterion("select_type in", values, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeNotIn(List values) { + addCriterion("select_type not in", values, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeBetween(Integer value1, Integer value2) { + addCriterion("select_type between", value1, value2, "selectType"); + return (Criteria) this; + } + + public Criteria andSelectTypeNotBetween(Integer value1, Integer value2) { + addCriterion("select_type not between", value1, value2, "selectType"); + return (Criteria) this; + } + + public Criteria andInputTypeIsNull() { + addCriterion("input_type is null"); + return (Criteria) this; + } + + public Criteria andInputTypeIsNotNull() { + addCriterion("input_type is not null"); + return (Criteria) this; + } + + public Criteria andInputTypeEqualTo(Integer value) { + addCriterion("input_type =", value, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeNotEqualTo(Integer value) { + addCriterion("input_type <>", value, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeGreaterThan(Integer value) { + addCriterion("input_type >", value, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("input_type >=", value, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeLessThan(Integer value) { + addCriterion("input_type <", value, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeLessThanOrEqualTo(Integer value) { + addCriterion("input_type <=", value, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeIn(List values) { + addCriterion("input_type in", values, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeNotIn(List values) { + addCriterion("input_type not in", values, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeBetween(Integer value1, Integer value2) { + addCriterion("input_type between", value1, value2, "inputType"); + return (Criteria) this; + } + + public Criteria andInputTypeNotBetween(Integer value1, Integer value2) { + addCriterion("input_type not between", value1, value2, "inputType"); + return (Criteria) this; + } + + public Criteria andInputListIsNull() { + addCriterion("input_list is null"); + return (Criteria) this; + } + + public Criteria andInputListIsNotNull() { + addCriterion("input_list is not null"); + return (Criteria) this; + } + + public Criteria andInputListEqualTo(String value) { + addCriterion("input_list =", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListNotEqualTo(String value) { + addCriterion("input_list <>", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListGreaterThan(String value) { + addCriterion("input_list >", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListGreaterThanOrEqualTo(String value) { + addCriterion("input_list >=", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListLessThan(String value) { + addCriterion("input_list <", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListLessThanOrEqualTo(String value) { + addCriterion("input_list <=", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListLike(String value) { + addCriterion("input_list like", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListNotLike(String value) { + addCriterion("input_list not like", value, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListIn(List values) { + addCriterion("input_list in", values, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListNotIn(List values) { + addCriterion("input_list not in", values, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListBetween(String value1, String value2) { + addCriterion("input_list between", value1, value2, "inputList"); + return (Criteria) this; + } + + public Criteria andInputListNotBetween(String value1, String value2) { + addCriterion("input_list not between", value1, value2, "inputList"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andFilterTypeIsNull() { + addCriterion("filter_type is null"); + return (Criteria) this; + } + + public Criteria andFilterTypeIsNotNull() { + addCriterion("filter_type is not null"); + return (Criteria) this; + } + + public Criteria andFilterTypeEqualTo(Integer value) { + addCriterion("filter_type =", value, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeNotEqualTo(Integer value) { + addCriterion("filter_type <>", value, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeGreaterThan(Integer value) { + addCriterion("filter_type >", value, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("filter_type >=", value, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeLessThan(Integer value) { + addCriterion("filter_type <", value, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeLessThanOrEqualTo(Integer value) { + addCriterion("filter_type <=", value, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeIn(List values) { + addCriterion("filter_type in", values, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeNotIn(List values) { + addCriterion("filter_type not in", values, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeBetween(Integer value1, Integer value2) { + addCriterion("filter_type between", value1, value2, "filterType"); + return (Criteria) this; + } + + public Criteria andFilterTypeNotBetween(Integer value1, Integer value2) { + addCriterion("filter_type not between", value1, value2, "filterType"); + return (Criteria) this; + } + + public Criteria andSearchTypeIsNull() { + addCriterion("search_type is null"); + return (Criteria) this; + } + + public Criteria andSearchTypeIsNotNull() { + addCriterion("search_type is not null"); + return (Criteria) this; + } + + public Criteria andSearchTypeEqualTo(Integer value) { + addCriterion("search_type =", value, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeNotEqualTo(Integer value) { + addCriterion("search_type <>", value, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeGreaterThan(Integer value) { + addCriterion("search_type >", value, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("search_type >=", value, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeLessThan(Integer value) { + addCriterion("search_type <", value, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeLessThanOrEqualTo(Integer value) { + addCriterion("search_type <=", value, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeIn(List values) { + addCriterion("search_type in", values, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeNotIn(List values) { + addCriterion("search_type not in", values, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeBetween(Integer value1, Integer value2) { + addCriterion("search_type between", value1, value2, "searchType"); + return (Criteria) this; + } + + public Criteria andSearchTypeNotBetween(Integer value1, Integer value2) { + addCriterion("search_type not between", value1, value2, "searchType"); + return (Criteria) this; + } + + public Criteria andRelatedStatusIsNull() { + addCriterion("related_status is null"); + return (Criteria) this; + } + + public Criteria andRelatedStatusIsNotNull() { + addCriterion("related_status is not null"); + return (Criteria) this; + } + + public Criteria andRelatedStatusEqualTo(Integer value) { + addCriterion("related_status =", value, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusNotEqualTo(Integer value) { + addCriterion("related_status <>", value, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusGreaterThan(Integer value) { + addCriterion("related_status >", value, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("related_status >=", value, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusLessThan(Integer value) { + addCriterion("related_status <", value, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusLessThanOrEqualTo(Integer value) { + addCriterion("related_status <=", value, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusIn(List values) { + addCriterion("related_status in", values, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusNotIn(List values) { + addCriterion("related_status not in", values, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusBetween(Integer value1, Integer value2) { + addCriterion("related_status between", value1, value2, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andRelatedStatusNotBetween(Integer value1, Integer value2) { + addCriterion("related_status not between", value1, value2, "relatedStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusIsNull() { + addCriterion("hand_add_status is null"); + return (Criteria) this; + } + + public Criteria andHandAddStatusIsNotNull() { + addCriterion("hand_add_status is not null"); + return (Criteria) this; + } + + public Criteria andHandAddStatusEqualTo(Integer value) { + addCriterion("hand_add_status =", value, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusNotEqualTo(Integer value) { + addCriterion("hand_add_status <>", value, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusGreaterThan(Integer value) { + addCriterion("hand_add_status >", value, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("hand_add_status >=", value, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusLessThan(Integer value) { + addCriterion("hand_add_status <", value, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusLessThanOrEqualTo(Integer value) { + addCriterion("hand_add_status <=", value, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusIn(List values) { + addCriterion("hand_add_status in", values, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusNotIn(List values) { + addCriterion("hand_add_status not in", values, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusBetween(Integer value1, Integer value2) { + addCriterion("hand_add_status between", value1, value2, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andHandAddStatusNotBetween(Integer value1, Integer value2) { + addCriterion("hand_add_status not between", value1, value2, "handAddStatus"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java new file mode 100644 index 0000000000..710fd29fc2 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValue.java @@ -0,0 +1,62 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class PmsProductAttributeValue implements Serializable { + private Long id; + + private Long pmsProductId; + + private Long pmsProductAttributeId; + + private String value; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getPmsProductId() { + return pmsProductId; + } + + public void setPmsProductId(Long pmsProductId) { + this.pmsProductId = pmsProductId; + } + + public Long getPmsProductAttributeId() { + return pmsProductAttributeId; + } + + public void setPmsProductAttributeId(Long pmsProductAttributeId) { + this.pmsProductAttributeId = pmsProductAttributeId; + } + + 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(", pmsProductId=").append(pmsProductId); + sb.append(", pmsProductAttributeId=").append(pmsProductAttributeId); + sb.append(", value=").append(value); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java new file mode 100644 index 0000000000..627a816303 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductAttributeValueExample.java @@ -0,0 +1,450 @@ +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 andPmsProductIdIsNull() { + addCriterion("pms_product_id is null"); + return (Criteria) this; + } + + public Criteria andPmsProductIdIsNotNull() { + addCriterion("pms_product_id is not null"); + return (Criteria) this; + } + + public Criteria andPmsProductIdEqualTo(Long value) { + addCriterion("pms_product_id =", value, "pmsProductId"); + return (Criteria) this; + } + + public Criteria andPmsProductIdNotEqualTo(Long value) { + addCriterion("pms_product_id <>", value, "pmsProductId"); + return (Criteria) this; + } + + public Criteria andPmsProductIdGreaterThan(Long value) { + addCriterion("pms_product_id >", value, "pmsProductId"); + return (Criteria) this; + } + + public Criteria andPmsProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("pms_product_id >=", value, "pmsProductId"); + return (Criteria) this; + } + + public Criteria andPmsProductIdLessThan(Long value) { + addCriterion("pms_product_id <", value, "pmsProductId"); + return (Criteria) this; + } + + public Criteria andPmsProductIdLessThanOrEqualTo(Long value) { + addCriterion("pms_product_id <=", value, "pmsProductId"); + return (Criteria) this; + } + + public Criteria andPmsProductIdIn(List values) { + addCriterion("pms_product_id in", values, "pmsProductId"); + return (Criteria) this; + } + + public Criteria andPmsProductIdNotIn(List values) { + addCriterion("pms_product_id not in", values, "pmsProductId"); + return (Criteria) this; + } + + public Criteria andPmsProductIdBetween(Long value1, Long value2) { + addCriterion("pms_product_id between", value1, value2, "pmsProductId"); + return (Criteria) this; + } + + public Criteria andPmsProductIdNotBetween(Long value1, Long value2) { + addCriterion("pms_product_id not between", value1, value2, "pmsProductId"); + return (Criteria) this; + } + + public Criteria andPmsProductAttributeIdIsNull() { + addCriterion("pms_product_attribute_id is null"); + return (Criteria) this; + } + + public Criteria andPmsProductAttributeIdIsNotNull() { + addCriterion("pms_product_attribute_id is not null"); + return (Criteria) this; + } + + public Criteria andPmsProductAttributeIdEqualTo(Long value) { + addCriterion("pms_product_attribute_id =", value, "pmsProductAttributeId"); + return (Criteria) this; + } + + public Criteria andPmsProductAttributeIdNotEqualTo(Long value) { + addCriterion("pms_product_attribute_id <>", value, "pmsProductAttributeId"); + return (Criteria) this; + } + + public Criteria andPmsProductAttributeIdGreaterThan(Long value) { + addCriterion("pms_product_attribute_id >", value, "pmsProductAttributeId"); + return (Criteria) this; + } + + public Criteria andPmsProductAttributeIdGreaterThanOrEqualTo(Long value) { + addCriterion("pms_product_attribute_id >=", value, "pmsProductAttributeId"); + return (Criteria) this; + } + + public Criteria andPmsProductAttributeIdLessThan(Long value) { + addCriterion("pms_product_attribute_id <", value, "pmsProductAttributeId"); + return (Criteria) this; + } + + public Criteria andPmsProductAttributeIdLessThanOrEqualTo(Long value) { + addCriterion("pms_product_attribute_id <=", value, "pmsProductAttributeId"); + return (Criteria) this; + } + + public Criteria andPmsProductAttributeIdIn(List values) { + addCriterion("pms_product_attribute_id in", values, "pmsProductAttributeId"); + return (Criteria) this; + } + + public Criteria andPmsProductAttributeIdNotIn(List values) { + addCriterion("pms_product_attribute_id not in", values, "pmsProductAttributeId"); + return (Criteria) this; + } + + public Criteria andPmsProductAttributeIdBetween(Long value1, Long value2) { + addCriterion("pms_product_attribute_id between", value1, value2, "pmsProductAttributeId"); + return (Criteria) this; + } + + public Criteria andPmsProductAttributeIdNotBetween(Long value1, Long value2) { + addCriterion("pms_product_attribute_id not between", value1, value2, "pmsProductAttributeId"); + return (Criteria) this; + } + + public Criteria andValueIsNull() { + addCriterion("value is null"); + return (Criteria) this; + } + + public Criteria andValueIsNotNull() { + addCriterion("value is not null"); + return (Criteria) this; + } + + public Criteria andValueEqualTo(String value) { + addCriterion("value =", value, "value"); + return (Criteria) this; + } + + public Criteria andValueNotEqualTo(String value) { + addCriterion("value <>", value, "value"); + return (Criteria) this; + } + + public Criteria andValueGreaterThan(String value) { + addCriterion("value >", value, "value"); + return (Criteria) this; + } + + public Criteria andValueGreaterThanOrEqualTo(String value) { + addCriterion("value >=", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLessThan(String value) { + addCriterion("value <", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLessThanOrEqualTo(String value) { + addCriterion("value <=", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLike(String value) { + addCriterion("value like", value, "value"); + return (Criteria) this; + } + + public Criteria andValueNotLike(String value) { + addCriterion("value not like", value, "value"); + return (Criteria) this; + } + + public Criteria andValueIn(List values) { + addCriterion("value in", values, "value"); + return (Criteria) this; + } + + public Criteria andValueNotIn(List values) { + addCriterion("value not in", values, "value"); + return (Criteria) this; + } + + public Criteria andValueBetween(String value1, String value2) { + addCriterion("value between", value1, value2, "value"); + return (Criteria) this; + } + + public Criteria andValueNotBetween(String value1, String value2) { + addCriterion("value not between", value1, value2, "value"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategory.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategory.java new file mode 100644 index 0000000000..1b6f41d15e --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategory.java @@ -0,0 +1,150 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class PmsProductCategory implements Serializable { + private Long id; + + private Long parentId; + + private String name; + + private Integer level; + + private Integer productCount; + + private String productUnit; + + private Integer navStatus; + + private Integer showStatus; + + private Integer sort; + + private String icon; + + private String keywords; + + private String description; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getParentId() { + return parentId; + } + + public void setParentId(Long parentId) { + this.parentId = parentId; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getLevel() { + return level; + } + + public void setLevel(Integer level) { + this.level = level; + } + + public Integer getProductCount() { + return productCount; + } + + public void setProductCount(Integer productCount) { + this.productCount = productCount; + } + + public String getProductUnit() { + return productUnit; + } + + public void setProductUnit(String productUnit) { + this.productUnit = productUnit; + } + + public Integer getNavStatus() { + return navStatus; + } + + public void setNavStatus(Integer navStatus) { + this.navStatus = navStatus; + } + + public Integer getShowStatus() { + return showStatus; + } + + public void setShowStatus(Integer showStatus) { + this.showStatus = showStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public String getKeywords() { + return keywords; + } + + public void setKeywords(String keywords) { + this.keywords = keywords; + } + + public String getDescription() { + return description; + } + + public void setDescription(String description) { + this.description = description; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", parentId=").append(parentId); + sb.append(", name=").append(name); + sb.append(", level=").append(level); + sb.append(", productCount=").append(productCount); + sb.append(", productUnit=").append(productUnit); + sb.append(", navStatus=").append(navStatus); + sb.append(", showStatus=").append(showStatus); + sb.append(", sort=").append(sort); + sb.append(", icon=").append(icon); + sb.append(", keywords=").append(keywords); + sb.append(", description=").append(description); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelation.java new file mode 100644 index 0000000000..15d84e2e2f --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelation.java @@ -0,0 +1,51 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class PmsProductCategoryAttributeRelation implements Serializable { + private Long id; + + private Long productCategoryId; + + private Long productAttributeId; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductCategoryId() { + return productCategoryId; + } + + public void setProductCategoryId(Long productCategoryId) { + this.productCategoryId = productCategoryId; + } + + public Long getProductAttributeId() { + return productAttributeId; + } + + public void setProductAttributeId(Long productAttributeId) { + this.productAttributeId = productAttributeId; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productCategoryId=").append(productCategoryId); + sb.append(", productAttributeId=").append(productAttributeId); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelationExample.java new file mode 100644 index 0000000000..89549a78bd --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryAttributeRelationExample.java @@ -0,0 +1,380 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsProductCategoryAttributeRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductCategoryAttributeRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNull() { + addCriterion("product_category_id is null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNotNull() { + addCriterion("product_category_id is not null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdEqualTo(Long value) { + addCriterion("product_category_id =", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotEqualTo(Long value) { + addCriterion("product_category_id <>", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThan(Long value) { + addCriterion("product_category_id >", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_category_id >=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThan(Long value) { + addCriterion("product_category_id <", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("product_category_id <=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIn(List values) { + addCriterion("product_category_id in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotIn(List values) { + addCriterion("product_category_id not in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdBetween(Long value1, Long value2) { + addCriterion("product_category_id between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("product_category_id not between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdIsNull() { + addCriterion("product_attribute_id is null"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdIsNotNull() { + addCriterion("product_attribute_id is not null"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdEqualTo(Long value) { + addCriterion("product_attribute_id =", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdNotEqualTo(Long value) { + addCriterion("product_attribute_id <>", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdGreaterThan(Long value) { + addCriterion("product_attribute_id >", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_attribute_id >=", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdLessThan(Long value) { + addCriterion("product_attribute_id <", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdLessThanOrEqualTo(Long value) { + addCriterion("product_attribute_id <=", value, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdIn(List values) { + addCriterion("product_attribute_id in", values, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdNotIn(List values) { + addCriterion("product_attribute_id not in", values, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdBetween(Long value1, Long value2) { + addCriterion("product_attribute_id between", value1, value2, "productAttributeId"); + return (Criteria) this; + } + + public Criteria andProductAttributeIdNotBetween(Long value1, Long value2) { + addCriterion("product_attribute_id not between", value1, value2, "productAttributeId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryExample.java new file mode 100644 index 0000000000..c3ab334ed3 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductCategoryExample.java @@ -0,0 +1,900 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class PmsProductCategoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductCategoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andParentIdIsNull() { + addCriterion("parent_id is null"); + return (Criteria) this; + } + + public Criteria andParentIdIsNotNull() { + addCriterion("parent_id is not null"); + return (Criteria) this; + } + + public Criteria andParentIdEqualTo(Long value) { + addCriterion("parent_id =", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdNotEqualTo(Long value) { + addCriterion("parent_id <>", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdGreaterThan(Long value) { + addCriterion("parent_id >", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdGreaterThanOrEqualTo(Long value) { + addCriterion("parent_id >=", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdLessThan(Long value) { + addCriterion("parent_id <", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdLessThanOrEqualTo(Long value) { + addCriterion("parent_id <=", value, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdIn(List values) { + addCriterion("parent_id in", values, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdNotIn(List values) { + addCriterion("parent_id not in", values, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdBetween(Long value1, Long value2) { + addCriterion("parent_id between", value1, value2, "parentId"); + return (Criteria) this; + } + + public Criteria andParentIdNotBetween(Long value1, Long value2) { + addCriterion("parent_id not between", value1, value2, "parentId"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andLevelIsNull() { + addCriterion("level is null"); + return (Criteria) this; + } + + public Criteria andLevelIsNotNull() { + addCriterion("level is not null"); + return (Criteria) this; + } + + public Criteria andLevelEqualTo(Integer value) { + addCriterion("level =", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelNotEqualTo(Integer value) { + addCriterion("level <>", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelGreaterThan(Integer value) { + addCriterion("level >", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelGreaterThanOrEqualTo(Integer value) { + addCriterion("level >=", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelLessThan(Integer value) { + addCriterion("level <", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelLessThanOrEqualTo(Integer value) { + addCriterion("level <=", value, "level"); + return (Criteria) this; + } + + public Criteria andLevelIn(List values) { + addCriterion("level in", values, "level"); + return (Criteria) this; + } + + public Criteria andLevelNotIn(List values) { + addCriterion("level not in", values, "level"); + return (Criteria) this; + } + + public Criteria andLevelBetween(Integer value1, Integer value2) { + addCriterion("level between", value1, value2, "level"); + return (Criteria) this; + } + + public Criteria andLevelNotBetween(Integer value1, Integer value2) { + addCriterion("level not between", value1, value2, "level"); + return (Criteria) this; + } + + public Criteria andProductCountIsNull() { + addCriterion("product_count is null"); + return (Criteria) this; + } + + public Criteria andProductCountIsNotNull() { + addCriterion("product_count is not null"); + return (Criteria) this; + } + + public Criteria andProductCountEqualTo(Integer value) { + addCriterion("product_count =", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotEqualTo(Integer value) { + addCriterion("product_count <>", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountGreaterThan(Integer value) { + addCriterion("product_count >", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountGreaterThanOrEqualTo(Integer value) { + addCriterion("product_count >=", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountLessThan(Integer value) { + addCriterion("product_count <", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountLessThanOrEqualTo(Integer value) { + addCriterion("product_count <=", value, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountIn(List values) { + addCriterion("product_count in", values, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotIn(List values) { + addCriterion("product_count not in", values, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountBetween(Integer value1, Integer value2) { + addCriterion("product_count between", value1, value2, "productCount"); + return (Criteria) this; + } + + public Criteria andProductCountNotBetween(Integer value1, Integer value2) { + addCriterion("product_count not between", value1, value2, "productCount"); + return (Criteria) this; + } + + public Criteria andProductUnitIsNull() { + addCriterion("product_unit is null"); + return (Criteria) this; + } + + public Criteria andProductUnitIsNotNull() { + addCriterion("product_unit is not null"); + return (Criteria) this; + } + + public Criteria andProductUnitEqualTo(String value) { + addCriterion("product_unit =", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitNotEqualTo(String value) { + addCriterion("product_unit <>", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitGreaterThan(String value) { + addCriterion("product_unit >", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitGreaterThanOrEqualTo(String value) { + addCriterion("product_unit >=", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitLessThan(String value) { + addCriterion("product_unit <", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitLessThanOrEqualTo(String value) { + addCriterion("product_unit <=", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitLike(String value) { + addCriterion("product_unit like", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitNotLike(String value) { + addCriterion("product_unit not like", value, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitIn(List values) { + addCriterion("product_unit in", values, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitNotIn(List values) { + addCriterion("product_unit not in", values, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitBetween(String value1, String value2) { + addCriterion("product_unit between", value1, value2, "productUnit"); + return (Criteria) this; + } + + public Criteria andProductUnitNotBetween(String value1, String value2) { + addCriterion("product_unit not between", value1, value2, "productUnit"); + return (Criteria) this; + } + + public Criteria andNavStatusIsNull() { + addCriterion("nav_status is null"); + return (Criteria) this; + } + + public Criteria andNavStatusIsNotNull() { + addCriterion("nav_status is not null"); + return (Criteria) this; + } + + public Criteria andNavStatusEqualTo(Integer value) { + addCriterion("nav_status =", value, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusNotEqualTo(Integer value) { + addCriterion("nav_status <>", value, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusGreaterThan(Integer value) { + addCriterion("nav_status >", value, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("nav_status >=", value, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusLessThan(Integer value) { + addCriterion("nav_status <", value, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusLessThanOrEqualTo(Integer value) { + addCriterion("nav_status <=", value, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusIn(List values) { + addCriterion("nav_status in", values, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusNotIn(List values) { + addCriterion("nav_status not in", values, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusBetween(Integer value1, Integer value2) { + addCriterion("nav_status between", value1, value2, "navStatus"); + return (Criteria) this; + } + + public Criteria andNavStatusNotBetween(Integer value1, Integer value2) { + addCriterion("nav_status not between", value1, value2, "navStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNull() { + addCriterion("show_status is null"); + return (Criteria) this; + } + + public Criteria andShowStatusIsNotNull() { + addCriterion("show_status is not null"); + return (Criteria) this; + } + + public Criteria andShowStatusEqualTo(Integer value) { + addCriterion("show_status =", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotEqualTo(Integer value) { + addCriterion("show_status <>", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThan(Integer value) { + addCriterion("show_status >", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("show_status >=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThan(Integer value) { + addCriterion("show_status <", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusLessThanOrEqualTo(Integer value) { + addCriterion("show_status <=", value, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusIn(List values) { + addCriterion("show_status in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotIn(List values) { + addCriterion("show_status not in", values, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusBetween(Integer value1, Integer value2) { + addCriterion("show_status between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andShowStatusNotBetween(Integer value1, Integer value2) { + addCriterion("show_status not between", value1, value2, "showStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andKeywordsIsNull() { + addCriterion("keywords is null"); + return (Criteria) this; + } + + public Criteria andKeywordsIsNotNull() { + addCriterion("keywords is not null"); + return (Criteria) this; + } + + public Criteria andKeywordsEqualTo(String value) { + addCriterion("keywords =", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsNotEqualTo(String value) { + addCriterion("keywords <>", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsGreaterThan(String value) { + addCriterion("keywords >", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsGreaterThanOrEqualTo(String value) { + addCriterion("keywords >=", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsLessThan(String value) { + addCriterion("keywords <", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsLessThanOrEqualTo(String value) { + addCriterion("keywords <=", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsLike(String value) { + addCriterion("keywords like", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsNotLike(String value) { + addCriterion("keywords not like", value, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsIn(List values) { + addCriterion("keywords in", values, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsNotIn(List values) { + addCriterion("keywords not in", values, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsBetween(String value1, String value2) { + addCriterion("keywords between", value1, value2, "keywords"); + return (Criteria) this; + } + + public Criteria andKeywordsNotBetween(String value1, String value2) { + addCriterion("keywords not between", value1, value2, "keywords"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductExample.java new file mode 100644 index 0000000000..3ab3cfbd39 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductExample.java @@ -0,0 +1,2642 @@ +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 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(Integer value) { + addCriterion("flash_promotion_id =", value, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdNotEqualTo(Integer value) { + addCriterion("flash_promotion_id <>", value, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdGreaterThan(Integer value) { + addCriterion("flash_promotion_id >", value, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdGreaterThanOrEqualTo(Integer value) { + addCriterion("flash_promotion_id >=", value, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdLessThan(Integer value) { + addCriterion("flash_promotion_id <", value, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdLessThanOrEqualTo(Integer 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(Integer value1, Integer value2) { + addCriterion("flash_promotion_id between", value1, value2, "flashPromotionId"); + return (Criteria) this; + } + + public Criteria andFlashPromotionIdNotBetween(Integer value1, Integer value2) { + addCriterion("flash_promotion_id not between", value1, value2, "flashPromotionId"); + 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 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 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 andFlashPromotionSortIsNull() { + addCriterion("flash_promotion_sort is null"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSortIsNotNull() { + addCriterion("flash_promotion_sort is not null"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSortEqualTo(Integer value) { + addCriterion("flash_promotion_sort =", value, "flashPromotionSort"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSortNotEqualTo(Integer value) { + addCriterion("flash_promotion_sort <>", value, "flashPromotionSort"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSortGreaterThan(Integer value) { + addCriterion("flash_promotion_sort >", value, "flashPromotionSort"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSortGreaterThanOrEqualTo(Integer value) { + addCriterion("flash_promotion_sort >=", value, "flashPromotionSort"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSortLessThan(Integer value) { + addCriterion("flash_promotion_sort <", value, "flashPromotionSort"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSortLessThanOrEqualTo(Integer value) { + addCriterion("flash_promotion_sort <=", value, "flashPromotionSort"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSortIn(List values) { + addCriterion("flash_promotion_sort in", values, "flashPromotionSort"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSortNotIn(List values) { + addCriterion("flash_promotion_sort not in", values, "flashPromotionSort"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSortBetween(Integer value1, Integer value2) { + addCriterion("flash_promotion_sort between", value1, value2, "flashPromotionSort"); + return (Criteria) this; + } + + public Criteria andFlashPromotionSortNotBetween(Integer value1, Integer value2) { + addCriterion("flash_promotion_sort not between", value1, value2, "flashPromotionSort"); + 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 static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java new file mode 100644 index 0000000000..71285c7e37 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReduction.java @@ -0,0 +1,63 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class PmsProductFullReduction implements Serializable { + private Integer id; + + private Long productId; + + private BigDecimal fullPrice; + + private BigDecimal reducePrice; + + private static final long serialVersionUID = 1L; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public BigDecimal getFullPrice() { + return fullPrice; + } + + public void setFullPrice(BigDecimal fullPrice) { + this.fullPrice = fullPrice; + } + + public BigDecimal getReducePrice() { + return reducePrice; + } + + public void setReducePrice(BigDecimal reducePrice) { + this.reducePrice = reducePrice; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", fullPrice=").append(fullPrice); + sb.append(", reducePrice=").append(reducePrice); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java new file mode 100644 index 0000000000..86ede8d867 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductFullReductionExample.java @@ -0,0 +1,441 @@ +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(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 andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andFullPriceIsNull() { + addCriterion("full_price is null"); + return (Criteria) this; + } + + public Criteria andFullPriceIsNotNull() { + addCriterion("full_price is not null"); + return (Criteria) this; + } + + public Criteria andFullPriceEqualTo(BigDecimal value) { + addCriterion("full_price =", value, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceNotEqualTo(BigDecimal value) { + addCriterion("full_price <>", value, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceGreaterThan(BigDecimal value) { + addCriterion("full_price >", value, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("full_price >=", value, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceLessThan(BigDecimal value) { + addCriterion("full_price <", value, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("full_price <=", value, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceIn(List values) { + addCriterion("full_price in", values, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceNotIn(List values) { + addCriterion("full_price not in", values, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("full_price between", value1, value2, "fullPrice"); + return (Criteria) this; + } + + public Criteria andFullPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("full_price not between", value1, value2, "fullPrice"); + return (Criteria) this; + } + + public Criteria andReducePriceIsNull() { + addCriterion("reduce_price is null"); + return (Criteria) this; + } + + public Criteria andReducePriceIsNotNull() { + addCriterion("reduce_price is not null"); + return (Criteria) this; + } + + public Criteria andReducePriceEqualTo(BigDecimal value) { + addCriterion("reduce_price =", value, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceNotEqualTo(BigDecimal value) { + addCriterion("reduce_price <>", value, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceGreaterThan(BigDecimal value) { + addCriterion("reduce_price >", value, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("reduce_price >=", value, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceLessThan(BigDecimal value) { + addCriterion("reduce_price <", value, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("reduce_price <=", value, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceIn(List values) { + addCriterion("reduce_price in", values, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceNotIn(List values) { + addCriterion("reduce_price not in", values, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("reduce_price between", value1, value2, "reducePrice"); + return (Criteria) this; + } + + public Criteria andReducePriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("reduce_price not between", value1, value2, "reducePrice"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadder.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadder.java new file mode 100644 index 0000000000..2f16ac05c5 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadder.java @@ -0,0 +1,74 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class PmsProductLadder implements Serializable { + private Long id; + + private Long productId; + + private Integer count; + + private BigDecimal discount; + + private BigDecimal price; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public Integer getCount() { + return count; + } + + public void setCount(Integer count) { + this.count = count; + } + + public BigDecimal getDiscount() { + return discount; + } + + public void setDiscount(BigDecimal discount) { + this.discount = discount; + } + + public BigDecimal getPrice() { + return price; + } + + public void setPrice(BigDecimal price) { + this.price = price; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", count=").append(count); + sb.append(", discount=").append(discount); + sb.append(", price=").append(price); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadderExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadderExample.java new file mode 100644 index 0000000000..c2fc31e470 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductLadderExample.java @@ -0,0 +1,501 @@ +package com.macro.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class PmsProductLadderExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductLadderExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andCountIsNull() { + addCriterion("count is null"); + return (Criteria) this; + } + + public Criteria andCountIsNotNull() { + addCriterion("count is not null"); + return (Criteria) this; + } + + public Criteria andCountEqualTo(Integer value) { + addCriterion("count =", value, "count"); + return (Criteria) this; + } + + public Criteria andCountNotEqualTo(Integer value) { + addCriterion("count <>", value, "count"); + return (Criteria) this; + } + + public Criteria andCountGreaterThan(Integer value) { + addCriterion("count >", value, "count"); + return (Criteria) this; + } + + public Criteria andCountGreaterThanOrEqualTo(Integer value) { + addCriterion("count >=", value, "count"); + return (Criteria) this; + } + + public Criteria andCountLessThan(Integer value) { + addCriterion("count <", value, "count"); + return (Criteria) this; + } + + public Criteria andCountLessThanOrEqualTo(Integer value) { + addCriterion("count <=", value, "count"); + return (Criteria) this; + } + + public Criteria andCountIn(List values) { + addCriterion("count in", values, "count"); + return (Criteria) this; + } + + public Criteria andCountNotIn(List values) { + addCriterion("count not in", values, "count"); + return (Criteria) this; + } + + public Criteria andCountBetween(Integer value1, Integer value2) { + addCriterion("count between", value1, value2, "count"); + return (Criteria) this; + } + + public Criteria andCountNotBetween(Integer value1, Integer value2) { + addCriterion("count not between", value1, value2, "count"); + return (Criteria) this; + } + + public Criteria andDiscountIsNull() { + addCriterion("discount is null"); + return (Criteria) this; + } + + public Criteria andDiscountIsNotNull() { + addCriterion("discount is not null"); + return (Criteria) this; + } + + public Criteria andDiscountEqualTo(BigDecimal value) { + addCriterion("discount =", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotEqualTo(BigDecimal value) { + addCriterion("discount <>", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountGreaterThan(BigDecimal value) { + addCriterion("discount >", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("discount >=", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountLessThan(BigDecimal value) { + addCriterion("discount <", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountLessThanOrEqualTo(BigDecimal value) { + addCriterion("discount <=", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountIn(List values) { + addCriterion("discount in", values, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotIn(List values) { + addCriterion("discount not in", values, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("discount between", value1, value2, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("discount not between", value1, value2, "discount"); + return (Criteria) this; + } + + public Criteria andPriceIsNull() { + addCriterion("price is null"); + return (Criteria) this; + } + + public Criteria andPriceIsNotNull() { + addCriterion("price is not null"); + return (Criteria) this; + } + + public Criteria andPriceEqualTo(BigDecimal value) { + addCriterion("price =", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotEqualTo(BigDecimal value) { + addCriterion("price <>", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThan(BigDecimal value) { + addCriterion("price >", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("price >=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThan(BigDecimal value) { + addCriterion("price <", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThanOrEqualTo(BigDecimal value) { + addCriterion("price <=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceIn(List values) { + addCriterion("price in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotIn(List values) { + addCriterion("price not in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price not between", value1, value2, "price"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLog.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLog.java new file mode 100644 index 0000000000..9922cdefcd --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLog.java @@ -0,0 +1,152 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class PmsProductOperateLog implements Serializable { + private Long id; + + private Long productId; + + private BigDecimal priceOld; + + private BigDecimal priceNew; + + private BigDecimal salePriceOld; + + private BigDecimal salePriceNew; + + private Integer giftPointOld; + + private Integer giftPointNew; + + private Integer usePointLimitOld; + + private Integer usePointLimitNew; + + private String operateMan; + + private Date createTime; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public BigDecimal getPriceOld() { + return priceOld; + } + + public void setPriceOld(BigDecimal priceOld) { + this.priceOld = priceOld; + } + + public BigDecimal getPriceNew() { + return priceNew; + } + + public void setPriceNew(BigDecimal priceNew) { + this.priceNew = priceNew; + } + + public BigDecimal getSalePriceOld() { + return salePriceOld; + } + + public void setSalePriceOld(BigDecimal salePriceOld) { + this.salePriceOld = salePriceOld; + } + + public BigDecimal getSalePriceNew() { + return salePriceNew; + } + + public void setSalePriceNew(BigDecimal salePriceNew) { + this.salePriceNew = salePriceNew; + } + + public Integer getGiftPointOld() { + return giftPointOld; + } + + public void setGiftPointOld(Integer giftPointOld) { + this.giftPointOld = giftPointOld; + } + + public Integer getGiftPointNew() { + return giftPointNew; + } + + public void setGiftPointNew(Integer giftPointNew) { + this.giftPointNew = giftPointNew; + } + + public Integer getUsePointLimitOld() { + return usePointLimitOld; + } + + public void setUsePointLimitOld(Integer usePointLimitOld) { + this.usePointLimitOld = usePointLimitOld; + } + + public Integer getUsePointLimitNew() { + return usePointLimitNew; + } + + public void setUsePointLimitNew(Integer usePointLimitNew) { + this.usePointLimitNew = usePointLimitNew; + } + + public String getOperateMan() { + return operateMan; + } + + public void setOperateMan(String operateMan) { + this.operateMan = operateMan; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", priceOld=").append(priceOld); + sb.append(", priceNew=").append(priceNew); + sb.append(", salePriceOld=").append(salePriceOld); + sb.append(", salePriceNew=").append(salePriceNew); + sb.append(", giftPointOld=").append(giftPointOld); + sb.append(", giftPointNew=").append(giftPointNew); + sb.append(", usePointLimitOld=").append(usePointLimitOld); + sb.append(", usePointLimitNew=").append(usePointLimitNew); + sb.append(", operateMan=").append(operateMan); + sb.append(", createTime=").append(createTime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLogExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLogExample.java new file mode 100644 index 0000000000..df4042be0c --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductOperateLogExample.java @@ -0,0 +1,932 @@ +package com.macro.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class PmsProductOperateLogExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductOperateLogExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andPriceOldIsNull() { + addCriterion("price_old is null"); + return (Criteria) this; + } + + public Criteria andPriceOldIsNotNull() { + addCriterion("price_old is not null"); + return (Criteria) this; + } + + public Criteria andPriceOldEqualTo(BigDecimal value) { + addCriterion("price_old =", value, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldNotEqualTo(BigDecimal value) { + addCriterion("price_old <>", value, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldGreaterThan(BigDecimal value) { + addCriterion("price_old >", value, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("price_old >=", value, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldLessThan(BigDecimal value) { + addCriterion("price_old <", value, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldLessThanOrEqualTo(BigDecimal value) { + addCriterion("price_old <=", value, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldIn(List values) { + addCriterion("price_old in", values, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldNotIn(List values) { + addCriterion("price_old not in", values, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price_old between", value1, value2, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceOldNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price_old not between", value1, value2, "priceOld"); + return (Criteria) this; + } + + public Criteria andPriceNewIsNull() { + addCriterion("price_new is null"); + return (Criteria) this; + } + + public Criteria andPriceNewIsNotNull() { + addCriterion("price_new is not null"); + return (Criteria) this; + } + + public Criteria andPriceNewEqualTo(BigDecimal value) { + addCriterion("price_new =", value, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewNotEqualTo(BigDecimal value) { + addCriterion("price_new <>", value, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewGreaterThan(BigDecimal value) { + addCriterion("price_new >", value, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("price_new >=", value, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewLessThan(BigDecimal value) { + addCriterion("price_new <", value, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewLessThanOrEqualTo(BigDecimal value) { + addCriterion("price_new <=", value, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewIn(List values) { + addCriterion("price_new in", values, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewNotIn(List values) { + addCriterion("price_new not in", values, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price_new between", value1, value2, "priceNew"); + return (Criteria) this; + } + + public Criteria andPriceNewNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("price_new not between", value1, value2, "priceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceOldIsNull() { + addCriterion("sale_price_old is null"); + return (Criteria) this; + } + + public Criteria andSalePriceOldIsNotNull() { + addCriterion("sale_price_old is not null"); + return (Criteria) this; + } + + public Criteria andSalePriceOldEqualTo(BigDecimal value) { + addCriterion("sale_price_old =", value, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldNotEqualTo(BigDecimal value) { + addCriterion("sale_price_old <>", value, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldGreaterThan(BigDecimal value) { + addCriterion("sale_price_old >", value, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("sale_price_old >=", value, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldLessThan(BigDecimal value) { + addCriterion("sale_price_old <", value, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldLessThanOrEqualTo(BigDecimal value) { + addCriterion("sale_price_old <=", value, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldIn(List values) { + addCriterion("sale_price_old in", values, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldNotIn(List values) { + addCriterion("sale_price_old not in", values, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("sale_price_old between", value1, value2, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceOldNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("sale_price_old not between", value1, value2, "salePriceOld"); + return (Criteria) this; + } + + public Criteria andSalePriceNewIsNull() { + addCriterion("sale_price_new is null"); + return (Criteria) this; + } + + public Criteria andSalePriceNewIsNotNull() { + addCriterion("sale_price_new is not null"); + return (Criteria) this; + } + + public Criteria andSalePriceNewEqualTo(BigDecimal value) { + addCriterion("sale_price_new =", value, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewNotEqualTo(BigDecimal value) { + addCriterion("sale_price_new <>", value, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewGreaterThan(BigDecimal value) { + addCriterion("sale_price_new >", value, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("sale_price_new >=", value, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewLessThan(BigDecimal value) { + addCriterion("sale_price_new <", value, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewLessThanOrEqualTo(BigDecimal value) { + addCriterion("sale_price_new <=", value, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewIn(List values) { + addCriterion("sale_price_new in", values, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewNotIn(List values) { + addCriterion("sale_price_new not in", values, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("sale_price_new between", value1, value2, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andSalePriceNewNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("sale_price_new not between", value1, value2, "salePriceNew"); + return (Criteria) this; + } + + public Criteria andGiftPointOldIsNull() { + addCriterion("gift_point_old is null"); + return (Criteria) this; + } + + public Criteria andGiftPointOldIsNotNull() { + addCriterion("gift_point_old is not null"); + return (Criteria) this; + } + + public Criteria andGiftPointOldEqualTo(Integer value) { + addCriterion("gift_point_old =", value, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldNotEqualTo(Integer value) { + addCriterion("gift_point_old <>", value, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldGreaterThan(Integer value) { + addCriterion("gift_point_old >", value, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldGreaterThanOrEqualTo(Integer value) { + addCriterion("gift_point_old >=", value, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldLessThan(Integer value) { + addCriterion("gift_point_old <", value, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldLessThanOrEqualTo(Integer value) { + addCriterion("gift_point_old <=", value, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldIn(List values) { + addCriterion("gift_point_old in", values, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldNotIn(List values) { + addCriterion("gift_point_old not in", values, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldBetween(Integer value1, Integer value2) { + addCriterion("gift_point_old between", value1, value2, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointOldNotBetween(Integer value1, Integer value2) { + addCriterion("gift_point_old not between", value1, value2, "giftPointOld"); + return (Criteria) this; + } + + public Criteria andGiftPointNewIsNull() { + addCriterion("gift_point_new is null"); + return (Criteria) this; + } + + public Criteria andGiftPointNewIsNotNull() { + addCriterion("gift_point_new is not null"); + return (Criteria) this; + } + + public Criteria andGiftPointNewEqualTo(Integer value) { + addCriterion("gift_point_new =", value, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewNotEqualTo(Integer value) { + addCriterion("gift_point_new <>", value, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewGreaterThan(Integer value) { + addCriterion("gift_point_new >", value, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewGreaterThanOrEqualTo(Integer value) { + addCriterion("gift_point_new >=", value, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewLessThan(Integer value) { + addCriterion("gift_point_new <", value, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewLessThanOrEqualTo(Integer value) { + addCriterion("gift_point_new <=", value, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewIn(List values) { + addCriterion("gift_point_new in", values, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewNotIn(List values) { + addCriterion("gift_point_new not in", values, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewBetween(Integer value1, Integer value2) { + addCriterion("gift_point_new between", value1, value2, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andGiftPointNewNotBetween(Integer value1, Integer value2) { + addCriterion("gift_point_new not between", value1, value2, "giftPointNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldIsNull() { + addCriterion("use_point_limit_old is null"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldIsNotNull() { + addCriterion("use_point_limit_old is not null"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldEqualTo(Integer value) { + addCriterion("use_point_limit_old =", value, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldNotEqualTo(Integer value) { + addCriterion("use_point_limit_old <>", value, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldGreaterThan(Integer value) { + addCriterion("use_point_limit_old >", value, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldGreaterThanOrEqualTo(Integer value) { + addCriterion("use_point_limit_old >=", value, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldLessThan(Integer value) { + addCriterion("use_point_limit_old <", value, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldLessThanOrEqualTo(Integer value) { + addCriterion("use_point_limit_old <=", value, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldIn(List values) { + addCriterion("use_point_limit_old in", values, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldNotIn(List values) { + addCriterion("use_point_limit_old not in", values, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldBetween(Integer value1, Integer value2) { + addCriterion("use_point_limit_old between", value1, value2, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitOldNotBetween(Integer value1, Integer value2) { + addCriterion("use_point_limit_old not between", value1, value2, "usePointLimitOld"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewIsNull() { + addCriterion("use_point_limit_new is null"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewIsNotNull() { + addCriterion("use_point_limit_new is not null"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewEqualTo(Integer value) { + addCriterion("use_point_limit_new =", value, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewNotEqualTo(Integer value) { + addCriterion("use_point_limit_new <>", value, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewGreaterThan(Integer value) { + addCriterion("use_point_limit_new >", value, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewGreaterThanOrEqualTo(Integer value) { + addCriterion("use_point_limit_new >=", value, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewLessThan(Integer value) { + addCriterion("use_point_limit_new <", value, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewLessThanOrEqualTo(Integer value) { + addCriterion("use_point_limit_new <=", value, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewIn(List values) { + addCriterion("use_point_limit_new in", values, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewNotIn(List values) { + addCriterion("use_point_limit_new not in", values, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewBetween(Integer value1, Integer value2) { + addCriterion("use_point_limit_new between", value1, value2, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andUsePointLimitNewNotBetween(Integer value1, Integer value2) { + addCriterion("use_point_limit_new not between", value1, value2, "usePointLimitNew"); + return (Criteria) this; + } + + public Criteria andOperateManIsNull() { + addCriterion("operate_man is null"); + return (Criteria) this; + } + + public Criteria andOperateManIsNotNull() { + addCriterion("operate_man is not null"); + return (Criteria) this; + } + + public Criteria andOperateManEqualTo(String value) { + addCriterion("operate_man =", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotEqualTo(String value) { + addCriterion("operate_man <>", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThan(String value) { + addCriterion("operate_man >", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThanOrEqualTo(String value) { + addCriterion("operate_man >=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThan(String value) { + addCriterion("operate_man <", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThanOrEqualTo(String value) { + addCriterion("operate_man <=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLike(String value) { + addCriterion("operate_man like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotLike(String value) { + addCriterion("operate_man not like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManIn(List values) { + addCriterion("operate_man in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotIn(List values) { + addCriterion("operate_man not in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManBetween(String value1, String value2) { + addCriterion("operate_man between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotBetween(String value1, String value2) { + addCriterion("operate_man not between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecord.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecord.java new file mode 100644 index 0000000000..aa75a8bb23 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecord.java @@ -0,0 +1,85 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class PmsProductVertifyRecord implements Serializable { + private Long id; + + private Long productId; + + private Date createTime; + + private String vertifyMan; + + private Integer status; + + private String detail; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getVertifyMan() { + return vertifyMan; + } + + public void setVertifyMan(String vertifyMan) { + this.vertifyMan = vertifyMan; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public String getDetail() { + return detail; + } + + public void setDetail(String detail) { + this.detail = detail; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", createTime=").append(createTime); + sb.append(", vertifyMan=").append(vertifyMan); + sb.append(", status=").append(status); + sb.append(", detail=").append(detail); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecordExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecordExample.java new file mode 100644 index 0000000000..175def4795 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsProductVertifyRecordExample.java @@ -0,0 +1,581 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class PmsProductVertifyRecordExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public PmsProductVertifyRecordExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andVertifyManIsNull() { + addCriterion("vertify_man is null"); + return (Criteria) this; + } + + public Criteria andVertifyManIsNotNull() { + addCriterion("vertify_man is not null"); + return (Criteria) this; + } + + public Criteria andVertifyManEqualTo(String value) { + addCriterion("vertify_man =", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManNotEqualTo(String value) { + addCriterion("vertify_man <>", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManGreaterThan(String value) { + addCriterion("vertify_man >", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManGreaterThanOrEqualTo(String value) { + addCriterion("vertify_man >=", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManLessThan(String value) { + addCriterion("vertify_man <", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManLessThanOrEqualTo(String value) { + addCriterion("vertify_man <=", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManLike(String value) { + addCriterion("vertify_man like", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManNotLike(String value) { + addCriterion("vertify_man not like", value, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManIn(List values) { + addCriterion("vertify_man in", values, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManNotIn(List values) { + addCriterion("vertify_man not in", values, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManBetween(String value1, String value2) { + addCriterion("vertify_man between", value1, value2, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andVertifyManNotBetween(String value1, String value2) { + addCriterion("vertify_man not between", value1, value2, "vertifyMan"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andDetailIsNull() { + addCriterion("detail is null"); + return (Criteria) this; + } + + public Criteria andDetailIsNotNull() { + addCriterion("detail is not null"); + return (Criteria) this; + } + + public Criteria andDetailEqualTo(String value) { + addCriterion("detail =", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailNotEqualTo(String value) { + addCriterion("detail <>", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailGreaterThan(String value) { + addCriterion("detail >", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailGreaterThanOrEqualTo(String value) { + addCriterion("detail >=", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailLessThan(String value) { + addCriterion("detail <", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailLessThanOrEqualTo(String value) { + addCriterion("detail <=", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailLike(String value) { + addCriterion("detail like", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailNotLike(String value) { + addCriterion("detail not like", value, "detail"); + return (Criteria) this; + } + + public Criteria andDetailIn(List values) { + addCriterion("detail in", values, "detail"); + return (Criteria) this; + } + + public Criteria andDetailNotIn(List values) { + addCriterion("detail not in", values, "detail"); + return (Criteria) this; + } + + public Criteria andDetailBetween(String value1, String value2) { + addCriterion("detail between", value1, value2, "detail"); + return (Criteria) this; + } + + public Criteria andDetailNotBetween(String value1, String value2) { + addCriterion("detail not between", value1, value2, "detail"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStock.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStock.java new file mode 100644 index 0000000000..184356e544 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStock.java @@ -0,0 +1,140 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class PmsSkuStock implements Serializable { + private Long id; + + private Long productId; + + private String skuCode; + + private BigDecimal price; + + private Integer stock; + + private Integer lowStock; + + private String sp1; + + private String sp2; + + private String sp3; + + private String pic; + + private Integer sale; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public String getSkuCode() { + return skuCode; + } + + public void setSkuCode(String skuCode) { + this.skuCode = skuCode; + } + + public BigDecimal getPrice() { + return price; + } + + public void setPrice(BigDecimal price) { + this.price = price; + } + + public Integer getStock() { + return stock; + } + + public void setStock(Integer stock) { + this.stock = stock; + } + + public Integer getLowStock() { + return lowStock; + } + + public void setLowStock(Integer lowStock) { + this.lowStock = lowStock; + } + + public String getSp1() { + return sp1; + } + + public void setSp1(String sp1) { + this.sp1 = sp1; + } + + public String getSp2() { + return sp2; + } + + public void setSp2(String sp2) { + this.sp2 = sp2; + } + + public String getSp3() { + return sp3; + } + + public void setSp3(String sp3) { + this.sp3 = sp3; + } + + public String getPic() { + return pic; + } + + public void setPic(String pic) { + this.pic = pic; + } + + public Integer getSale() { + return sale; + } + + public void setSale(Integer sale) { + this.sale = sale; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", skuCode=").append(skuCode); + sb.append(", price=").append(price); + sb.append(", stock=").append(stock); + sb.append(", lowStock=").append(lowStock); + sb.append(", sp1=").append(sp1); + sb.append(", sp2=").append(sp2); + sb.append(", sp3=").append(sp3); + sb.append(", pic=").append(pic); + sb.append(", sale=").append(sale); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStockExample.java b/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStockExample.java new file mode 100644 index 0000000000..4ae581c2d1 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/PmsSkuStockExample.java @@ -0,0 +1,911 @@ +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 andSp1IsNull() { + addCriterion("sp1 is null"); + return (Criteria) this; + } + + public Criteria andSp1IsNotNull() { + addCriterion("sp1 is not null"); + return (Criteria) this; + } + + public Criteria andSp1EqualTo(String value) { + addCriterion("sp1 =", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotEqualTo(String value) { + addCriterion("sp1 <>", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1GreaterThan(String value) { + addCriterion("sp1 >", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1GreaterThanOrEqualTo(String value) { + addCriterion("sp1 >=", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1LessThan(String value) { + addCriterion("sp1 <", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1LessThanOrEqualTo(String value) { + addCriterion("sp1 <=", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1Like(String value) { + addCriterion("sp1 like", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotLike(String value) { + addCriterion("sp1 not like", value, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1In(List values) { + addCriterion("sp1 in", values, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotIn(List values) { + addCriterion("sp1 not in", values, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1Between(String value1, String value2) { + addCriterion("sp1 between", value1, value2, "sp1"); + return (Criteria) this; + } + + public Criteria andSp1NotBetween(String value1, String value2) { + addCriterion("sp1 not between", value1, value2, "sp1"); + return (Criteria) this; + } + + public Criteria andSp2IsNull() { + addCriterion("sp2 is null"); + return (Criteria) this; + } + + public Criteria andSp2IsNotNull() { + addCriterion("sp2 is not null"); + return (Criteria) this; + } + + public Criteria andSp2EqualTo(String value) { + addCriterion("sp2 =", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotEqualTo(String value) { + addCriterion("sp2 <>", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2GreaterThan(String value) { + addCriterion("sp2 >", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2GreaterThanOrEqualTo(String value) { + addCriterion("sp2 >=", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2LessThan(String value) { + addCriterion("sp2 <", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2LessThanOrEqualTo(String value) { + addCriterion("sp2 <=", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2Like(String value) { + addCriterion("sp2 like", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotLike(String value) { + addCriterion("sp2 not like", value, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2In(List values) { + addCriterion("sp2 in", values, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotIn(List values) { + addCriterion("sp2 not in", values, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2Between(String value1, String value2) { + addCriterion("sp2 between", value1, value2, "sp2"); + return (Criteria) this; + } + + public Criteria andSp2NotBetween(String value1, String value2) { + addCriterion("sp2 not between", value1, value2, "sp2"); + return (Criteria) this; + } + + public Criteria andSp3IsNull() { + addCriterion("sp3 is null"); + return (Criteria) this; + } + + public Criteria andSp3IsNotNull() { + addCriterion("sp3 is not null"); + return (Criteria) this; + } + + public Criteria andSp3EqualTo(String value) { + addCriterion("sp3 =", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotEqualTo(String value) { + addCriterion("sp3 <>", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3GreaterThan(String value) { + addCriterion("sp3 >", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3GreaterThanOrEqualTo(String value) { + addCriterion("sp3 >=", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3LessThan(String value) { + addCriterion("sp3 <", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3LessThanOrEqualTo(String value) { + addCriterion("sp3 <=", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3Like(String value) { + addCriterion("sp3 like", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotLike(String value) { + addCriterion("sp3 not like", value, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3In(List values) { + addCriterion("sp3 in", values, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotIn(List values) { + addCriterion("sp3 not in", values, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3Between(String value1, String value2) { + addCriterion("sp3 between", value1, value2, "sp3"); + return (Criteria) this; + } + + public Criteria andSp3NotBetween(String value1, String value2) { + addCriterion("sp3 not between", value1, value2, "sp3"); + return (Criteria) this; + } + + public Criteria andPicIsNull() { + addCriterion("pic is null"); + return (Criteria) this; + } + + public Criteria andPicIsNotNull() { + addCriterion("pic is not null"); + return (Criteria) this; + } + + public Criteria andPicEqualTo(String value) { + addCriterion("pic =", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotEqualTo(String value) { + addCriterion("pic <>", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThan(String value) { + addCriterion("pic >", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicGreaterThanOrEqualTo(String value) { + addCriterion("pic >=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThan(String value) { + addCriterion("pic <", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLessThanOrEqualTo(String value) { + addCriterion("pic <=", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicLike(String value) { + addCriterion("pic like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotLike(String value) { + addCriterion("pic not like", value, "pic"); + return (Criteria) this; + } + + public Criteria andPicIn(List values) { + addCriterion("pic in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotIn(List values) { + addCriterion("pic not in", values, "pic"); + return (Criteria) this; + } + + public Criteria andPicBetween(String value1, String value2) { + addCriterion("pic between", value1, value2, "pic"); + return (Criteria) this; + } + + public Criteria andPicNotBetween(String value1, String value2) { + addCriterion("pic not between", value1, value2, "pic"); + return (Criteria) this; + } + + public Criteria andSaleIsNull() { + addCriterion("sale is null"); + return (Criteria) this; + } + + public Criteria andSaleIsNotNull() { + addCriterion("sale is not null"); + return (Criteria) this; + } + + public Criteria andSaleEqualTo(Integer value) { + addCriterion("sale =", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleNotEqualTo(Integer value) { + addCriterion("sale <>", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleGreaterThan(Integer value) { + addCriterion("sale >", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleGreaterThanOrEqualTo(Integer value) { + addCriterion("sale >=", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleLessThan(Integer value) { + addCriterion("sale <", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleLessThanOrEqualTo(Integer value) { + addCriterion("sale <=", value, "sale"); + return (Criteria) this; + } + + public Criteria andSaleIn(List values) { + addCriterion("sale in", values, "sale"); + return (Criteria) this; + } + + public Criteria andSaleNotIn(List values) { + addCriterion("sale not in", values, "sale"); + return (Criteria) this; + } + + public Criteria andSaleBetween(Integer value1, Integer value2) { + addCriterion("sale between", value1, value2, "sale"); + return (Criteria) this; + } + + public Criteria andSaleNotBetween(Integer value1, Integer value2) { + addCriterion("sale not between", value1, value2, "sale"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCoupon.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCoupon.java new file mode 100644 index 0000000000..34fea48d4d --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCoupon.java @@ -0,0 +1,207 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class SmsCoupon implements Serializable { + private Long id; + + private Integer type; + + private String name; + + private String platform; + + private Integer count; + + private BigDecimal amount; + + private Integer perLimit; + + private BigDecimal minPoint; + + private Date startTime; + + private Date endTime; + + private Integer useType; + + private String note; + + private Integer publishCount; + + private Integer useCount; + + private Date enableTime; + + private String code; + + 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 String getPlatform() { + return platform; + } + + public void setPlatform(String 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 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(", enableTime=").append(enableTime); + sb.append(", code=").append(code); + sb.append(", memberLevel=").append(memberLevel); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java new file mode 100644 index 0000000000..2f4544fd83 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponExample.java @@ -0,0 +1,1262 @@ +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(String value) { + addCriterion("platform =", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformNotEqualTo(String value) { + addCriterion("platform <>", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformGreaterThan(String value) { + addCriterion("platform >", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformGreaterThanOrEqualTo(String value) { + addCriterion("platform >=", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformLessThan(String value) { + addCriterion("platform <", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformLessThanOrEqualTo(String value) { + addCriterion("platform <=", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformLike(String value) { + addCriterion("platform like", value, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformNotLike(String value) { + addCriterion("platform not like", 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(String value1, String value2) { + addCriterion("platform between", value1, value2, "platform"); + return (Criteria) this; + } + + public Criteria andPlatformNotBetween(String value1, String 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 andEnableTimeIsNull() { + addCriterion("enable_time is null"); + return (Criteria) this; + } + + public Criteria andEnableTimeIsNotNull() { + addCriterion("enable_time is not null"); + return (Criteria) this; + } + + public Criteria andEnableTimeEqualTo(Date value) { + addCriterion("enable_time =", value, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeNotEqualTo(Date value) { + addCriterion("enable_time <>", value, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeGreaterThan(Date value) { + addCriterion("enable_time >", value, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeGreaterThanOrEqualTo(Date value) { + addCriterion("enable_time >=", value, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeLessThan(Date value) { + addCriterion("enable_time <", value, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeLessThanOrEqualTo(Date value) { + addCriterion("enable_time <=", value, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeIn(List values) { + addCriterion("enable_time in", values, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeNotIn(List values) { + addCriterion("enable_time not in", values, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeBetween(Date value1, Date value2) { + addCriterion("enable_time between", value1, value2, "enableTime"); + return (Criteria) this; + } + + public Criteria andEnableTimeNotBetween(Date value1, Date value2) { + addCriterion("enable_time not between", value1, value2, "enableTime"); + return (Criteria) this; + } + + public Criteria andCodeIsNull() { + addCriterion("code is null"); + return (Criteria) this; + } + + public Criteria andCodeIsNotNull() { + addCriterion("code is not null"); + return (Criteria) this; + } + + public Criteria andCodeEqualTo(String value) { + addCriterion("code =", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeNotEqualTo(String value) { + addCriterion("code <>", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeGreaterThan(String value) { + addCriterion("code >", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeGreaterThanOrEqualTo(String value) { + addCriterion("code >=", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeLessThan(String value) { + addCriterion("code <", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeLessThanOrEqualTo(String value) { + addCriterion("code <=", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeLike(String value) { + addCriterion("code like", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeNotLike(String value) { + addCriterion("code not like", value, "code"); + return (Criteria) this; + } + + public Criteria andCodeIn(List values) { + addCriterion("code in", values, "code"); + return (Criteria) this; + } + + public Criteria andCodeNotIn(List values) { + addCriterion("code not in", values, "code"); + return (Criteria) this; + } + + public Criteria andCodeBetween(String value1, String value2) { + addCriterion("code between", value1, value2, "code"); + return (Criteria) this; + } + + public Criteria andCodeNotBetween(String value1, String value2) { + addCriterion("code not between", value1, value2, "code"); + return (Criteria) this; + } + + public Criteria andMemberLevelIsNull() { + addCriterion("member_level is null"); + return (Criteria) this; + } + + public Criteria andMemberLevelIsNotNull() { + addCriterion("member_level is not null"); + return (Criteria) this; + } + + public Criteria andMemberLevelEqualTo(Integer value) { + addCriterion("member_level =", value, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelNotEqualTo(Integer value) { + addCriterion("member_level <>", value, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelGreaterThan(Integer value) { + addCriterion("member_level >", value, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelGreaterThanOrEqualTo(Integer value) { + addCriterion("member_level >=", value, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelLessThan(Integer value) { + addCriterion("member_level <", value, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelLessThanOrEqualTo(Integer value) { + addCriterion("member_level <=", value, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelIn(List values) { + addCriterion("member_level in", values, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelNotIn(List values) { + addCriterion("member_level not in", values, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelBetween(Integer value1, Integer value2) { + addCriterion("member_level between", value1, value2, "memberLevel"); + return (Criteria) this; + } + + public Criteria andMemberLevelNotBetween(Integer value1, Integer value2) { + addCriterion("member_level not between", value1, value2, "memberLevel"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistory.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistory.java new file mode 100644 index 0000000000..8d588b6877 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistory.java @@ -0,0 +1,129 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class SmsCouponHistory implements Serializable { + private Long id; + + private Long couponId; + + private Long memberId; + + private String couponCode; + + private String memberNickname; + + private Integer getType; + + private Date createTime; + + private Integer useStatus; + + private Date useTime; + + private String orderId; + + 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 String getOrderId() { + return orderId; + } + + public void setOrderId(String orderId) { + this.orderId = orderId; + } + + @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(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistoryExample.java new file mode 100644 index 0000000000..cd70116fc1 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponHistoryExample.java @@ -0,0 +1,831 @@ +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(String value) { + addCriterion("order_id =", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotEqualTo(String value) { + addCriterion("order_id <>", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThan(String value) { + addCriterion("order_id >", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdGreaterThanOrEqualTo(String value) { + addCriterion("order_id >=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThan(String value) { + addCriterion("order_id <", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLessThanOrEqualTo(String value) { + addCriterion("order_id <=", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdLike(String value) { + addCriterion("order_id like", value, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotLike(String value) { + addCriterion("order_id not like", 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(String value1, String value2) { + addCriterion("order_id between", value1, value2, "orderId"); + return (Criteria) this; + } + + public Criteria andOrderIdNotBetween(String value1, String value2) { + addCriterion("order_id not between", value1, value2, "orderId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelation.java new file mode 100644 index 0000000000..70c840b5d9 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelation.java @@ -0,0 +1,51 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class SmsCouponProductCategoryRelation implements Serializable { + private Long id; + + private Long couponId; + + private Long productCategoryId; + + 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; + } + + @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(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelationExample.java new file mode 100644 index 0000000000..9b0c2ee358 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductCategoryRelationExample.java @@ -0,0 +1,380 @@ +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 static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java new file mode 100644 index 0000000000..9f4c8baea5 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelation.java @@ -0,0 +1,51 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class SmsCouponProductRelation implements Serializable { + private Long id; + + private Integer couponId; + + private Long productId; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Integer getCouponId() { + return couponId; + } + + public void setCouponId(Integer couponId) { + this.couponId = couponId; + } + + 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(", couponId=").append(couponId); + sb.append(", productId=").append(productId); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java new file mode 100644 index 0000000000..3f75c69f7f --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsCouponProductRelationExample.java @@ -0,0 +1,380 @@ +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(Integer value) { + addCriterion("coupon_id =", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotEqualTo(Integer value) { + addCriterion("coupon_id <>", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdGreaterThan(Integer value) { + addCriterion("coupon_id >", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdGreaterThanOrEqualTo(Integer value) { + addCriterion("coupon_id >=", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdLessThan(Integer value) { + addCriterion("coupon_id <", value, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdLessThanOrEqualTo(Integer 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(Integer value1, Integer value2) { + addCriterion("coupon_id between", value1, value2, "couponId"); + return (Criteria) this; + } + + public Criteria andCouponIdNotBetween(Integer value1, Integer 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 static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotion.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotion.java new file mode 100644 index 0000000000..d0bdef8c3b --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotion.java @@ -0,0 +1,85 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class SmsFlashPromotion implements Serializable { + private Integer id; + + private String title; + + private Date startTime; + + private Date endTime; + + private Integer status; + + private String timeName; + + private static final long serialVersionUID = 1L; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public String getTitle() { + return title; + } + + public void setTitle(String title) { + this.title = title; + } + + 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 String getTimeName() { + return timeName; + } + + public void setTimeName(String timeName) { + this.timeName = timeName; + } + + @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(", startTime=").append(startTime); + sb.append(", endTime=").append(endTime); + sb.append(", status=").append(status); + sb.append(", timeName=").append(timeName); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionExample.java new file mode 100644 index 0000000000..564b32e948 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionExample.java @@ -0,0 +1,581 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +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)); + } + + 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 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 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 andTimeNameIsNull() { + addCriterion("time_name is null"); + return (Criteria) this; + } + + public Criteria andTimeNameIsNotNull() { + addCriterion("time_name is not null"); + return (Criteria) this; + } + + public Criteria andTimeNameEqualTo(String value) { + addCriterion("time_name =", value, "timeName"); + return (Criteria) this; + } + + public Criteria andTimeNameNotEqualTo(String value) { + addCriterion("time_name <>", value, "timeName"); + return (Criteria) this; + } + + public Criteria andTimeNameGreaterThan(String value) { + addCriterion("time_name >", value, "timeName"); + return (Criteria) this; + } + + public Criteria andTimeNameGreaterThanOrEqualTo(String value) { + addCriterion("time_name >=", value, "timeName"); + return (Criteria) this; + } + + public Criteria andTimeNameLessThan(String value) { + addCriterion("time_name <", value, "timeName"); + return (Criteria) this; + } + + public Criteria andTimeNameLessThanOrEqualTo(String value) { + addCriterion("time_name <=", value, "timeName"); + return (Criteria) this; + } + + public Criteria andTimeNameLike(String value) { + addCriterion("time_name like", value, "timeName"); + return (Criteria) this; + } + + public Criteria andTimeNameNotLike(String value) { + addCriterion("time_name not like", value, "timeName"); + return (Criteria) this; + } + + public Criteria andTimeNameIn(List values) { + addCriterion("time_name in", values, "timeName"); + return (Criteria) this; + } + + public Criteria andTimeNameNotIn(List values) { + addCriterion("time_name not in", values, "timeName"); + return (Criteria) this; + } + + public Criteria andTimeNameBetween(String value1, String value2) { + addCriterion("time_name between", value1, value2, "timeName"); + return (Criteria) this; + } + + public Criteria andTimeNameNotBetween(String value1, String value2) { + addCriterion("time_name not between", value1, value2, "timeName"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLog.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLog.java new file mode 100644 index 0000000000..cb75355899 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLog.java @@ -0,0 +1,96 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class SmsFlashPromotionLog implements Serializable { + private Integer id; + + private Integer memberId; + + private Long productId; + + private String memberPhone; + + private String productName; + + private Date subscribeTime; + + private Date sendTime; + + private static final long serialVersionUID = 1L; + + public Integer getId() { + return id; + } + + public void setId(Integer id) { + this.id = id; + } + + public Integer getMemberId() { + return memberId; + } + + public void setMemberId(Integer memberId) { + this.memberId = memberId; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public String getMemberPhone() { + return memberPhone; + } + + public void setMemberPhone(String memberPhone) { + this.memberPhone = memberPhone; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public Date getSubscribeTime() { + return subscribeTime; + } + + public void setSubscribeTime(Date subscribeTime) { + this.subscribeTime = subscribeTime; + } + + public Date getSendTime() { + return sendTime; + } + + public void setSendTime(Date sendTime) { + this.sendTime = sendTime; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", productId=").append(productId); + sb.append(", memberPhone=").append(memberPhone); + sb.append(", productName=").append(productName); + sb.append(", subscribeTime=").append(subscribeTime); + sb.append(", sendTime=").append(sendTime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLogExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLogExample.java new file mode 100644 index 0000000000..b841274876 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsFlashPromotionLogExample.java @@ -0,0 +1,641 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class SmsFlashPromotionLogExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsFlashPromotionLogExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Integer value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Integer value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Integer value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Integer value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Integer value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Integer value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Integer value1, Integer value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Integer value1, Integer value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Integer value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Integer value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Integer value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Integer value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Integer value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Integer value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Integer value1, Integer value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Integer value1, Integer value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andMemberPhoneIsNull() { + addCriterion("member_phone is null"); + return (Criteria) this; + } + + public Criteria andMemberPhoneIsNotNull() { + addCriterion("member_phone is not null"); + return (Criteria) this; + } + + public Criteria andMemberPhoneEqualTo(String value) { + addCriterion("member_phone =", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneNotEqualTo(String value) { + addCriterion("member_phone <>", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneGreaterThan(String value) { + addCriterion("member_phone >", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneGreaterThanOrEqualTo(String value) { + addCriterion("member_phone >=", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneLessThan(String value) { + addCriterion("member_phone <", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneLessThanOrEqualTo(String value) { + addCriterion("member_phone <=", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneLike(String value) { + addCriterion("member_phone like", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneNotLike(String value) { + addCriterion("member_phone not like", value, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneIn(List values) { + addCriterion("member_phone in", values, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneNotIn(List values) { + addCriterion("member_phone not in", values, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneBetween(String value1, String value2) { + addCriterion("member_phone between", value1, value2, "memberPhone"); + return (Criteria) this; + } + + public Criteria andMemberPhoneNotBetween(String value1, String value2) { + addCriterion("member_phone not between", value1, value2, "memberPhone"); + return (Criteria) this; + } + + public Criteria andProductNameIsNull() { + addCriterion("product_name is null"); + return (Criteria) this; + } + + public Criteria andProductNameIsNotNull() { + addCriterion("product_name is not null"); + return (Criteria) this; + } + + public Criteria andProductNameEqualTo(String value) { + addCriterion("product_name =", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotEqualTo(String value) { + addCriterion("product_name <>", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThan(String value) { + addCriterion("product_name >", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThanOrEqualTo(String value) { + addCriterion("product_name >=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThan(String value) { + addCriterion("product_name <", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThanOrEqualTo(String value) { + addCriterion("product_name <=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLike(String value) { + addCriterion("product_name like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotLike(String value) { + addCriterion("product_name not like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameIn(List values) { + addCriterion("product_name in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotIn(List values) { + addCriterion("product_name not in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameBetween(String value1, String value2) { + addCriterion("product_name between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotBetween(String value1, String value2) { + addCriterion("product_name not between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeIsNull() { + addCriterion("subscribe_time is null"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeIsNotNull() { + addCriterion("subscribe_time is not null"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeEqualTo(Date value) { + addCriterion("subscribe_time =", value, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeNotEqualTo(Date value) { + addCriterion("subscribe_time <>", value, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeGreaterThan(Date value) { + addCriterion("subscribe_time >", value, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeGreaterThanOrEqualTo(Date value) { + addCriterion("subscribe_time >=", value, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeLessThan(Date value) { + addCriterion("subscribe_time <", value, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeLessThanOrEqualTo(Date value) { + addCriterion("subscribe_time <=", value, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeIn(List values) { + addCriterion("subscribe_time in", values, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeNotIn(List values) { + addCriterion("subscribe_time not in", values, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeBetween(Date value1, Date value2) { + addCriterion("subscribe_time between", value1, value2, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSubscribeTimeNotBetween(Date value1, Date value2) { + addCriterion("subscribe_time not between", value1, value2, "subscribeTime"); + return (Criteria) this; + } + + public Criteria andSendTimeIsNull() { + addCriterion("send_time is null"); + return (Criteria) this; + } + + public Criteria andSendTimeIsNotNull() { + addCriterion("send_time is not null"); + return (Criteria) this; + } + + public Criteria andSendTimeEqualTo(Date value) { + addCriterion("send_time =", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeNotEqualTo(Date value) { + addCriterion("send_time <>", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeGreaterThan(Date value) { + addCriterion("send_time >", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeGreaterThanOrEqualTo(Date value) { + addCriterion("send_time >=", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeLessThan(Date value) { + addCriterion("send_time <", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeLessThanOrEqualTo(Date value) { + addCriterion("send_time <=", value, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeIn(List values) { + addCriterion("send_time in", values, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeNotIn(List values) { + addCriterion("send_time not in", values, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeBetween(Date value1, Date value2) { + addCriterion("send_time between", value1, value2, "sendTime"); + return (Criteria) this; + } + + public Criteria andSendTimeNotBetween(Date value1, Date value2) { + addCriterion("send_time not between", value1, value2, "sendTime"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertise.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertise.java new file mode 100644 index 0000000000..ab8dd14ba9 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertise.java @@ -0,0 +1,140 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class SmsHomeAdvertise implements Serializable { + private Long id; + + private String name; + + private Integer type; + + private String pic; + + private Date startTime; + + private Date endTime; + + private Integer status; + + private Integer clickCount; + + private Integer orderCount; + + private String url; + + 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 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; + } + + @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(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertiseExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertiseExample.java new file mode 100644 index 0000000000..4692bbe4ea --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeAdvertiseExample.java @@ -0,0 +1,901 @@ +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 static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrand.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrand.java new file mode 100644 index 0000000000..3a999551bf --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrand.java @@ -0,0 +1,73 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class SmsHomeBrand implements Serializable { + private Long id; + + private Long brandId; + + private String brandName; + + private Integer recommendStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getBrandId() { + return brandId; + } + + public void setBrandId(Long brandId) { + this.brandId = brandId; + } + + public String getBrandName() { + return brandName; + } + + public void setBrandName(String brandName) { + this.brandName = brandName; + } + + public Integer getRecommendStatus() { + return recommendStatus; + } + + public void setRecommendStatus(Integer recommendStatus) { + this.recommendStatus = recommendStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", brandId=").append(brandId); + sb.append(", brandName=").append(brandName); + sb.append(", recommendStatus=").append(recommendStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrandExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrandExample.java new file mode 100644 index 0000000000..020d0e129b --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeBrandExample.java @@ -0,0 +1,510 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class SmsHomeBrandExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsHomeBrandExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andBrandIdIsNull() { + addCriterion("brand_id is null"); + return (Criteria) this; + } + + public Criteria andBrandIdIsNotNull() { + addCriterion("brand_id is not null"); + return (Criteria) this; + } + + public Criteria andBrandIdEqualTo(Long value) { + addCriterion("brand_id =", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdNotEqualTo(Long value) { + addCriterion("brand_id <>", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdGreaterThan(Long value) { + addCriterion("brand_id >", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdGreaterThanOrEqualTo(Long value) { + addCriterion("brand_id >=", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdLessThan(Long value) { + addCriterion("brand_id <", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdLessThanOrEqualTo(Long value) { + addCriterion("brand_id <=", value, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdIn(List values) { + addCriterion("brand_id in", values, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdNotIn(List values) { + addCriterion("brand_id not in", values, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdBetween(Long value1, Long value2) { + addCriterion("brand_id between", value1, value2, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandIdNotBetween(Long value1, Long value2) { + addCriterion("brand_id not between", value1, value2, "brandId"); + return (Criteria) this; + } + + public Criteria andBrandNameIsNull() { + addCriterion("brand_name is null"); + return (Criteria) this; + } + + public Criteria andBrandNameIsNotNull() { + addCriterion("brand_name is not null"); + return (Criteria) this; + } + + public Criteria andBrandNameEqualTo(String value) { + addCriterion("brand_name =", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameNotEqualTo(String value) { + addCriterion("brand_name <>", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameGreaterThan(String value) { + addCriterion("brand_name >", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameGreaterThanOrEqualTo(String value) { + addCriterion("brand_name >=", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameLessThan(String value) { + addCriterion("brand_name <", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameLessThanOrEqualTo(String value) { + addCriterion("brand_name <=", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameLike(String value) { + addCriterion("brand_name like", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameNotLike(String value) { + addCriterion("brand_name not like", value, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameIn(List values) { + addCriterion("brand_name in", values, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameNotIn(List values) { + addCriterion("brand_name not in", values, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameBetween(String value1, String value2) { + addCriterion("brand_name between", value1, value2, "brandName"); + return (Criteria) this; + } + + public Criteria andBrandNameNotBetween(String value1, String value2) { + addCriterion("brand_name not between", value1, value2, "brandName"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNull() { + addCriterion("recommend_status is null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNotNull() { + addCriterion("recommend_status is not null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusEqualTo(Integer value) { + addCriterion("recommend_status =", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotEqualTo(Integer value) { + addCriterion("recommend_status <>", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThan(Integer value) { + addCriterion("recommend_status >", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("recommend_status >=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThan(Integer value) { + addCriterion("recommend_status <", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { + addCriterion("recommend_status <=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIn(List values) { + addCriterion("recommend_status in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotIn(List values) { + addCriterion("recommend_status not in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { + addCriterion("recommend_status between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { + addCriterion("recommend_status not between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProduct.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProduct.java new file mode 100644 index 0000000000..7bc343903e --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProduct.java @@ -0,0 +1,73 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class SmsHomeNewProduct implements Serializable { + private Long id; + + private Long productId; + + private String productName; + + private Integer recommendStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public Integer getRecommendStatus() { + return recommendStatus; + } + + public void setRecommendStatus(Integer recommendStatus) { + this.recommendStatus = recommendStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", productName=").append(productName); + sb.append(", recommendStatus=").append(recommendStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProductExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProductExample.java new file mode 100644 index 0000000000..01d40f58dd --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeNewProductExample.java @@ -0,0 +1,510 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class SmsHomeNewProductExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsHomeNewProductExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductNameIsNull() { + addCriterion("product_name is null"); + return (Criteria) this; + } + + public Criteria andProductNameIsNotNull() { + addCriterion("product_name is not null"); + return (Criteria) this; + } + + public Criteria andProductNameEqualTo(String value) { + addCriterion("product_name =", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotEqualTo(String value) { + addCriterion("product_name <>", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThan(String value) { + addCriterion("product_name >", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThanOrEqualTo(String value) { + addCriterion("product_name >=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThan(String value) { + addCriterion("product_name <", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThanOrEqualTo(String value) { + addCriterion("product_name <=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLike(String value) { + addCriterion("product_name like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotLike(String value) { + addCriterion("product_name not like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameIn(List values) { + addCriterion("product_name in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotIn(List values) { + addCriterion("product_name not in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameBetween(String value1, String value2) { + addCriterion("product_name between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotBetween(String value1, String value2) { + addCriterion("product_name not between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNull() { + addCriterion("recommend_status is null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNotNull() { + addCriterion("recommend_status is not null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusEqualTo(Integer value) { + addCriterion("recommend_status =", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotEqualTo(Integer value) { + addCriterion("recommend_status <>", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThan(Integer value) { + addCriterion("recommend_status >", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("recommend_status >=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThan(Integer value) { + addCriterion("recommend_status <", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { + addCriterion("recommend_status <=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIn(List values) { + addCriterion("recommend_status in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotIn(List values) { + addCriterion("recommend_status not in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { + addCriterion("recommend_status between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { + addCriterion("recommend_status not between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProduct.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProduct.java new file mode 100644 index 0000000000..d3015fdad5 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProduct.java @@ -0,0 +1,73 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class SmsHomeRecommendProduct implements Serializable { + private Long id; + + private Long productId; + + private String productName; + + private Integer recommendStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getProductId() { + return productId; + } + + public void setProductId(Long productId) { + this.productId = productId; + } + + public String getProductName() { + return productName; + } + + public void setProductName(String productName) { + this.productName = productName; + } + + public Integer getRecommendStatus() { + return recommendStatus; + } + + public void setRecommendStatus(Integer recommendStatus) { + this.recommendStatus = recommendStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", productId=").append(productId); + sb.append(", productName=").append(productName); + sb.append(", recommendStatus=").append(recommendStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProductExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProductExample.java new file mode 100644 index 0000000000..13a1259f95 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendProductExample.java @@ -0,0 +1,510 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class SmsHomeRecommendProductExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsHomeRecommendProductExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andProductIdIsNull() { + addCriterion("product_id is null"); + return (Criteria) this; + } + + public Criteria andProductIdIsNotNull() { + addCriterion("product_id is not null"); + return (Criteria) this; + } + + public Criteria andProductIdEqualTo(Long value) { + addCriterion("product_id =", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotEqualTo(Long value) { + addCriterion("product_id <>", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThan(Long value) { + addCriterion("product_id >", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_id >=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThan(Long value) { + addCriterion("product_id <", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdLessThanOrEqualTo(Long value) { + addCriterion("product_id <=", value, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdIn(List values) { + addCriterion("product_id in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotIn(List values) { + addCriterion("product_id not in", values, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdBetween(Long value1, Long value2) { + addCriterion("product_id between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductIdNotBetween(Long value1, Long value2) { + addCriterion("product_id not between", value1, value2, "productId"); + return (Criteria) this; + } + + public Criteria andProductNameIsNull() { + addCriterion("product_name is null"); + return (Criteria) this; + } + + public Criteria andProductNameIsNotNull() { + addCriterion("product_name is not null"); + return (Criteria) this; + } + + public Criteria andProductNameEqualTo(String value) { + addCriterion("product_name =", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotEqualTo(String value) { + addCriterion("product_name <>", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThan(String value) { + addCriterion("product_name >", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameGreaterThanOrEqualTo(String value) { + addCriterion("product_name >=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThan(String value) { + addCriterion("product_name <", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLessThanOrEqualTo(String value) { + addCriterion("product_name <=", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameLike(String value) { + addCriterion("product_name like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotLike(String value) { + addCriterion("product_name not like", value, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameIn(List values) { + addCriterion("product_name in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotIn(List values) { + addCriterion("product_name not in", values, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameBetween(String value1, String value2) { + addCriterion("product_name between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andProductNameNotBetween(String value1, String value2) { + addCriterion("product_name not between", value1, value2, "productName"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNull() { + addCriterion("recommend_status is null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNotNull() { + addCriterion("recommend_status is not null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusEqualTo(Integer value) { + addCriterion("recommend_status =", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotEqualTo(Integer value) { + addCriterion("recommend_status <>", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThan(Integer value) { + addCriterion("recommend_status >", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("recommend_status >=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThan(Integer value) { + addCriterion("recommend_status <", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { + addCriterion("recommend_status <=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIn(List values) { + addCriterion("recommend_status in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotIn(List values) { + addCriterion("recommend_status not in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { + addCriterion("recommend_status between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { + addCriterion("recommend_status not between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubject.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubject.java new file mode 100644 index 0000000000..6ab35333ec --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubject.java @@ -0,0 +1,73 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class SmsHomeRecommendSubject implements Serializable { + private Long id; + + private Long subjectId; + + private String subjectName; + + private Integer recommendStatus; + + private Integer sort; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getSubjectId() { + return subjectId; + } + + public void setSubjectId(Long subjectId) { + this.subjectId = subjectId; + } + + public String getSubjectName() { + return subjectName; + } + + public void setSubjectName(String subjectName) { + this.subjectName = subjectName; + } + + public Integer getRecommendStatus() { + return recommendStatus; + } + + public void setRecommendStatus(Integer recommendStatus) { + this.recommendStatus = recommendStatus; + } + + public Integer getSort() { + return sort; + } + + public void setSort(Integer sort) { + this.sort = sort; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", subjectId=").append(subjectId); + sb.append(", subjectName=").append(subjectName); + sb.append(", recommendStatus=").append(recommendStatus); + sb.append(", sort=").append(sort); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubjectExample.java b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubjectExample.java new file mode 100644 index 0000000000..625a56a2da --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/SmsHomeRecommendSubjectExample.java @@ -0,0 +1,510 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class SmsHomeRecommendSubjectExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public SmsHomeRecommendSubjectExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andSubjectIdIsNull() { + addCriterion("subject_id is null"); + return (Criteria) this; + } + + public Criteria andSubjectIdIsNotNull() { + addCriterion("subject_id is not null"); + return (Criteria) this; + } + + public Criteria andSubjectIdEqualTo(Long value) { + addCriterion("subject_id =", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotEqualTo(Long value) { + addCriterion("subject_id <>", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdGreaterThan(Long value) { + addCriterion("subject_id >", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdGreaterThanOrEqualTo(Long value) { + addCriterion("subject_id >=", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdLessThan(Long value) { + addCriterion("subject_id <", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdLessThanOrEqualTo(Long value) { + addCriterion("subject_id <=", value, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdIn(List values) { + addCriterion("subject_id in", values, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotIn(List values) { + addCriterion("subject_id not in", values, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdBetween(Long value1, Long value2) { + addCriterion("subject_id between", value1, value2, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectIdNotBetween(Long value1, Long value2) { + addCriterion("subject_id not between", value1, value2, "subjectId"); + return (Criteria) this; + } + + public Criteria andSubjectNameIsNull() { + addCriterion("subject_name is null"); + return (Criteria) this; + } + + public Criteria andSubjectNameIsNotNull() { + addCriterion("subject_name is not null"); + return (Criteria) this; + } + + public Criteria andSubjectNameEqualTo(String value) { + addCriterion("subject_name =", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameNotEqualTo(String value) { + addCriterion("subject_name <>", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameGreaterThan(String value) { + addCriterion("subject_name >", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameGreaterThanOrEqualTo(String value) { + addCriterion("subject_name >=", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameLessThan(String value) { + addCriterion("subject_name <", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameLessThanOrEqualTo(String value) { + addCriterion("subject_name <=", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameLike(String value) { + addCriterion("subject_name like", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameNotLike(String value) { + addCriterion("subject_name not like", value, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameIn(List values) { + addCriterion("subject_name in", values, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameNotIn(List values) { + addCriterion("subject_name not in", values, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameBetween(String value1, String value2) { + addCriterion("subject_name between", value1, value2, "subjectName"); + return (Criteria) this; + } + + public Criteria andSubjectNameNotBetween(String value1, String value2) { + addCriterion("subject_name not between", value1, value2, "subjectName"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNull() { + addCriterion("recommend_status is null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIsNotNull() { + addCriterion("recommend_status is not null"); + return (Criteria) this; + } + + public Criteria andRecommendStatusEqualTo(Integer value) { + addCriterion("recommend_status =", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotEqualTo(Integer value) { + addCriterion("recommend_status <>", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThan(Integer value) { + addCriterion("recommend_status >", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("recommend_status >=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThan(Integer value) { + addCriterion("recommend_status <", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusLessThanOrEqualTo(Integer value) { + addCriterion("recommend_status <=", value, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusIn(List values) { + addCriterion("recommend_status in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotIn(List values) { + addCriterion("recommend_status not in", values, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusBetween(Integer value1, Integer value2) { + addCriterion("recommend_status between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andRecommendStatusNotBetween(Integer value1, Integer value2) { + addCriterion("recommend_status not between", value1, value2, "recommendStatus"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(Integer value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(Integer value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(Integer value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(Integer value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(Integer value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(Integer value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(Integer value1, Integer value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(Integer value1, Integer value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdmin.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdmin.java new file mode 100644 index 0000000000..faf597b775 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdmin.java @@ -0,0 +1,73 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class UmsAdmin implements Serializable { + private Long id; + + private String username; + + private String password; + + private String icon; + + private String email; + + 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; + } + + @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(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminExample.java new file mode 100644 index 0000000000..c45280296e --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminExample.java @@ -0,0 +1,540 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +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 static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLog.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLog.java new file mode 100644 index 0000000000..d729dddc0e --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLog.java @@ -0,0 +1,85 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class UmsAdminLoginLog implements Serializable { + private Long id; + + private Long adminId; + + private Date createTime; + + private String ip; + + private String address; + + private String userAgent; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getAdminId() { + return adminId; + } + + public void setAdminId(Long adminId) { + this.adminId = adminId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public String getAddress() { + return address; + } + + public void setAddress(String address) { + this.address = address; + } + + public String getUserAgent() { + return userAgent; + } + + public void setUserAgent(String userAgent) { + this.userAgent = userAgent; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", adminId=").append(adminId); + sb.append(", createTime=").append(createTime); + sb.append(", ip=").append(ip); + sb.append(", address=").append(address); + sb.append(", userAgent=").append(userAgent); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLogExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLogExample.java new file mode 100644 index 0000000000..64f3924b0d --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsAdminLoginLogExample.java @@ -0,0 +1,591 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsAdminLoginLogExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsAdminLoginLogExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andAdminIdIsNull() { + addCriterion("admin_id is null"); + return (Criteria) this; + } + + public Criteria andAdminIdIsNotNull() { + addCriterion("admin_id is not null"); + return (Criteria) this; + } + + public Criteria andAdminIdEqualTo(Long value) { + addCriterion("admin_id =", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdNotEqualTo(Long value) { + addCriterion("admin_id <>", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdGreaterThan(Long value) { + addCriterion("admin_id >", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdGreaterThanOrEqualTo(Long value) { + addCriterion("admin_id >=", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdLessThan(Long value) { + addCriterion("admin_id <", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdLessThanOrEqualTo(Long value) { + addCriterion("admin_id <=", value, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdIn(List values) { + addCriterion("admin_id in", values, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdNotIn(List values) { + addCriterion("admin_id not in", values, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdBetween(Long value1, Long value2) { + addCriterion("admin_id between", value1, value2, "adminId"); + return (Criteria) this; + } + + public Criteria andAdminIdNotBetween(Long value1, Long value2) { + addCriterion("admin_id not between", value1, value2, "adminId"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andIpIsNull() { + addCriterion("ip is null"); + return (Criteria) this; + } + + public Criteria andIpIsNotNull() { + addCriterion("ip is not null"); + return (Criteria) this; + } + + public Criteria andIpEqualTo(String value) { + addCriterion("ip =", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotEqualTo(String value) { + addCriterion("ip <>", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpGreaterThan(String value) { + addCriterion("ip >", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpGreaterThanOrEqualTo(String value) { + addCriterion("ip >=", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpLessThan(String value) { + addCriterion("ip <", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpLessThanOrEqualTo(String value) { + addCriterion("ip <=", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpLike(String value) { + addCriterion("ip like", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotLike(String value) { + addCriterion("ip not like", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpIn(List values) { + addCriterion("ip in", values, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotIn(List values) { + addCriterion("ip not in", values, "ip"); + return (Criteria) this; + } + + public Criteria andIpBetween(String value1, String value2) { + addCriterion("ip between", value1, value2, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotBetween(String value1, String value2) { + addCriterion("ip not between", value1, value2, "ip"); + return (Criteria) this; + } + + public Criteria andAddressIsNull() { + addCriterion("address is null"); + return (Criteria) this; + } + + public Criteria andAddressIsNotNull() { + addCriterion("address is not null"); + return (Criteria) this; + } + + public Criteria andAddressEqualTo(String value) { + addCriterion("address =", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotEqualTo(String value) { + addCriterion("address <>", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThan(String value) { + addCriterion("address >", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThanOrEqualTo(String value) { + addCriterion("address >=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThan(String value) { + addCriterion("address <", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThanOrEqualTo(String value) { + addCriterion("address <=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLike(String value) { + addCriterion("address like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotLike(String value) { + addCriterion("address not like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressIn(List values) { + addCriterion("address in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotIn(List values) { + addCriterion("address not in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressBetween(String value1, String value2) { + addCriterion("address between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotBetween(String value1, String value2) { + addCriterion("address not between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andUserAgentIsNull() { + addCriterion("user_agent is null"); + return (Criteria) this; + } + + public Criteria andUserAgentIsNotNull() { + addCriterion("user_agent is not null"); + return (Criteria) this; + } + + public Criteria andUserAgentEqualTo(String value) { + addCriterion("user_agent =", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentNotEqualTo(String value) { + addCriterion("user_agent <>", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentGreaterThan(String value) { + addCriterion("user_agent >", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentGreaterThanOrEqualTo(String value) { + addCriterion("user_agent >=", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentLessThan(String value) { + addCriterion("user_agent <", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentLessThanOrEqualTo(String value) { + addCriterion("user_agent <=", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentLike(String value) { + addCriterion("user_agent like", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentNotLike(String value) { + addCriterion("user_agent not like", value, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentIn(List values) { + addCriterion("user_agent in", values, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentNotIn(List values) { + addCriterion("user_agent not in", values, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentBetween(String value1, String value2) { + addCriterion("user_agent between", value1, value2, "userAgent"); + return (Criteria) this; + } + + public Criteria andUserAgentNotBetween(String value1, String value2) { + addCriterion("user_agent not between", value1, value2, "userAgent"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistory.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistory.java new file mode 100644 index 0000000000..f5c142cfd9 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistory.java @@ -0,0 +1,107 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class UmsGrowthChangeHistory implements Serializable { + private Long id; + + private Long memberId; + + private Date createTime; + + private Integer changeType; + + private Integer changeCount; + + private String operateMan; + + private String operateNote; + + private Integer sourceType; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getChangeType() { + return changeType; + } + + public void setChangeType(Integer changeType) { + this.changeType = changeType; + } + + public Integer getChangeCount() { + return changeCount; + } + + public void setChangeCount(Integer changeCount) { + this.changeCount = changeCount; + } + + public String getOperateMan() { + return operateMan; + } + + public void setOperateMan(String operateMan) { + this.operateMan = operateMan; + } + + public String getOperateNote() { + return operateNote; + } + + public void setOperateNote(String operateNote) { + this.operateNote = operateNote; + } + + public Integer getSourceType() { + return sourceType; + } + + public void setSourceType(Integer sourceType) { + this.sourceType = sourceType; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", createTime=").append(createTime); + sb.append(", changeType=").append(changeType); + sb.append(", changeCount=").append(changeCount); + sb.append(", operateMan=").append(operateMan); + sb.append(", operateNote=").append(operateNote); + sb.append(", sourceType=").append(sourceType); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistoryExample.java new file mode 100644 index 0000000000..cb3985c37c --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsGrowthChangeHistoryExample.java @@ -0,0 +1,701 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsGrowthChangeHistoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsGrowthChangeHistoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andChangeTypeIsNull() { + addCriterion("change_type is null"); + return (Criteria) this; + } + + public Criteria andChangeTypeIsNotNull() { + addCriterion("change_type is not null"); + return (Criteria) this; + } + + public Criteria andChangeTypeEqualTo(Integer value) { + addCriterion("change_type =", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeNotEqualTo(Integer value) { + addCriterion("change_type <>", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeGreaterThan(Integer value) { + addCriterion("change_type >", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("change_type >=", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeLessThan(Integer value) { + addCriterion("change_type <", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeLessThanOrEqualTo(Integer value) { + addCriterion("change_type <=", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeIn(List values) { + addCriterion("change_type in", values, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeNotIn(List values) { + addCriterion("change_type not in", values, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeBetween(Integer value1, Integer value2) { + addCriterion("change_type between", value1, value2, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeNotBetween(Integer value1, Integer value2) { + addCriterion("change_type not between", value1, value2, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeCountIsNull() { + addCriterion("change_count is null"); + return (Criteria) this; + } + + public Criteria andChangeCountIsNotNull() { + addCriterion("change_count is not null"); + return (Criteria) this; + } + + public Criteria andChangeCountEqualTo(Integer value) { + addCriterion("change_count =", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountNotEqualTo(Integer value) { + addCriterion("change_count <>", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountGreaterThan(Integer value) { + addCriterion("change_count >", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountGreaterThanOrEqualTo(Integer value) { + addCriterion("change_count >=", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountLessThan(Integer value) { + addCriterion("change_count <", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountLessThanOrEqualTo(Integer value) { + addCriterion("change_count <=", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountIn(List values) { + addCriterion("change_count in", values, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountNotIn(List values) { + addCriterion("change_count not in", values, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountBetween(Integer value1, Integer value2) { + addCriterion("change_count between", value1, value2, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountNotBetween(Integer value1, Integer value2) { + addCriterion("change_count not between", value1, value2, "changeCount"); + return (Criteria) this; + } + + public Criteria andOperateManIsNull() { + addCriterion("operate_man is null"); + return (Criteria) this; + } + + public Criteria andOperateManIsNotNull() { + addCriterion("operate_man is not null"); + return (Criteria) this; + } + + public Criteria andOperateManEqualTo(String value) { + addCriterion("operate_man =", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotEqualTo(String value) { + addCriterion("operate_man <>", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThan(String value) { + addCriterion("operate_man >", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThanOrEqualTo(String value) { + addCriterion("operate_man >=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThan(String value) { + addCriterion("operate_man <", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThanOrEqualTo(String value) { + addCriterion("operate_man <=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLike(String value) { + addCriterion("operate_man like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotLike(String value) { + addCriterion("operate_man not like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManIn(List values) { + addCriterion("operate_man in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotIn(List values) { + addCriterion("operate_man not in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManBetween(String value1, String value2) { + addCriterion("operate_man between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotBetween(String value1, String value2) { + addCriterion("operate_man not between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateNoteIsNull() { + addCriterion("operate_note is null"); + return (Criteria) this; + } + + public Criteria andOperateNoteIsNotNull() { + addCriterion("operate_note is not null"); + return (Criteria) this; + } + + public Criteria andOperateNoteEqualTo(String value) { + addCriterion("operate_note =", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotEqualTo(String value) { + addCriterion("operate_note <>", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteGreaterThan(String value) { + addCriterion("operate_note >", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteGreaterThanOrEqualTo(String value) { + addCriterion("operate_note >=", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteLessThan(String value) { + addCriterion("operate_note <", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteLessThanOrEqualTo(String value) { + addCriterion("operate_note <=", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteLike(String value) { + addCriterion("operate_note like", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotLike(String value) { + addCriterion("operate_note not like", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteIn(List values) { + addCriterion("operate_note in", values, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotIn(List values) { + addCriterion("operate_note not in", values, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteBetween(String value1, String value2) { + addCriterion("operate_note between", value1, value2, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotBetween(String value1, String value2) { + addCriterion("operate_note not between", value1, value2, "operateNote"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNull() { + addCriterion("source_type is null"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNotNull() { + addCriterion("source_type is not null"); + return (Criteria) this; + } + + public Criteria andSourceTypeEqualTo(Integer value) { + addCriterion("source_type =", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotEqualTo(Integer value) { + addCriterion("source_type <>", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThan(Integer value) { + addCriterion("source_type >", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("source_type >=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThan(Integer value) { + addCriterion("source_type <", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThanOrEqualTo(Integer value) { + addCriterion("source_type <=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeIn(List values) { + addCriterion("source_type in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotIn(List values) { + addCriterion("source_type not in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeBetween(Integer value1, Integer value2) { + addCriterion("source_type between", value1, value2, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotBetween(Integer value1, Integer value2) { + addCriterion("source_type not between", value1, value2, "sourceType"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistory.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistory.java new file mode 100644 index 0000000000..f6c5803211 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistory.java @@ -0,0 +1,107 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class UmsIntegrationChangeHistory implements Serializable { + private Long id; + + private Long memberId; + + private Date createTime; + + private Integer changeType; + + private Integer changeCount; + + private String operateMan; + + private String operateNote; + + private Integer sourceType; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public Integer getChangeType() { + return changeType; + } + + public void setChangeType(Integer changeType) { + this.changeType = changeType; + } + + public Integer getChangeCount() { + return changeCount; + } + + public void setChangeCount(Integer changeCount) { + this.changeCount = changeCount; + } + + public String getOperateMan() { + return operateMan; + } + + public void setOperateMan(String operateMan) { + this.operateMan = operateMan; + } + + public String getOperateNote() { + return operateNote; + } + + public void setOperateNote(String operateNote) { + this.operateNote = operateNote; + } + + public Integer getSourceType() { + return sourceType; + } + + public void setSourceType(Integer sourceType) { + this.sourceType = sourceType; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", createTime=").append(createTime); + sb.append(", changeType=").append(changeType); + sb.append(", changeCount=").append(changeCount); + sb.append(", operateMan=").append(operateMan); + sb.append(", operateNote=").append(operateNote); + sb.append(", sourceType=").append(sourceType); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistoryExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistoryExample.java new file mode 100644 index 0000000000..4c528840c3 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntegrationChangeHistoryExample.java @@ -0,0 +1,701 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsIntegrationChangeHistoryExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsIntegrationChangeHistoryExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andChangeTypeIsNull() { + addCriterion("change_type is null"); + return (Criteria) this; + } + + public Criteria andChangeTypeIsNotNull() { + addCriterion("change_type is not null"); + return (Criteria) this; + } + + public Criteria andChangeTypeEqualTo(Integer value) { + addCriterion("change_type =", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeNotEqualTo(Integer value) { + addCriterion("change_type <>", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeGreaterThan(Integer value) { + addCriterion("change_type >", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("change_type >=", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeLessThan(Integer value) { + addCriterion("change_type <", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeLessThanOrEqualTo(Integer value) { + addCriterion("change_type <=", value, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeIn(List values) { + addCriterion("change_type in", values, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeNotIn(List values) { + addCriterion("change_type not in", values, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeBetween(Integer value1, Integer value2) { + addCriterion("change_type between", value1, value2, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeTypeNotBetween(Integer value1, Integer value2) { + addCriterion("change_type not between", value1, value2, "changeType"); + return (Criteria) this; + } + + public Criteria andChangeCountIsNull() { + addCriterion("change_count is null"); + return (Criteria) this; + } + + public Criteria andChangeCountIsNotNull() { + addCriterion("change_count is not null"); + return (Criteria) this; + } + + public Criteria andChangeCountEqualTo(Integer value) { + addCriterion("change_count =", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountNotEqualTo(Integer value) { + addCriterion("change_count <>", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountGreaterThan(Integer value) { + addCriterion("change_count >", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountGreaterThanOrEqualTo(Integer value) { + addCriterion("change_count >=", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountLessThan(Integer value) { + addCriterion("change_count <", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountLessThanOrEqualTo(Integer value) { + addCriterion("change_count <=", value, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountIn(List values) { + addCriterion("change_count in", values, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountNotIn(List values) { + addCriterion("change_count not in", values, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountBetween(Integer value1, Integer value2) { + addCriterion("change_count between", value1, value2, "changeCount"); + return (Criteria) this; + } + + public Criteria andChangeCountNotBetween(Integer value1, Integer value2) { + addCriterion("change_count not between", value1, value2, "changeCount"); + return (Criteria) this; + } + + public Criteria andOperateManIsNull() { + addCriterion("operate_man is null"); + return (Criteria) this; + } + + public Criteria andOperateManIsNotNull() { + addCriterion("operate_man is not null"); + return (Criteria) this; + } + + public Criteria andOperateManEqualTo(String value) { + addCriterion("operate_man =", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotEqualTo(String value) { + addCriterion("operate_man <>", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThan(String value) { + addCriterion("operate_man >", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManGreaterThanOrEqualTo(String value) { + addCriterion("operate_man >=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThan(String value) { + addCriterion("operate_man <", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLessThanOrEqualTo(String value) { + addCriterion("operate_man <=", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManLike(String value) { + addCriterion("operate_man like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotLike(String value) { + addCriterion("operate_man not like", value, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManIn(List values) { + addCriterion("operate_man in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotIn(List values) { + addCriterion("operate_man not in", values, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManBetween(String value1, String value2) { + addCriterion("operate_man between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateManNotBetween(String value1, String value2) { + addCriterion("operate_man not between", value1, value2, "operateMan"); + return (Criteria) this; + } + + public Criteria andOperateNoteIsNull() { + addCriterion("operate_note is null"); + return (Criteria) this; + } + + public Criteria andOperateNoteIsNotNull() { + addCriterion("operate_note is not null"); + return (Criteria) this; + } + + public Criteria andOperateNoteEqualTo(String value) { + addCriterion("operate_note =", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotEqualTo(String value) { + addCriterion("operate_note <>", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteGreaterThan(String value) { + addCriterion("operate_note >", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteGreaterThanOrEqualTo(String value) { + addCriterion("operate_note >=", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteLessThan(String value) { + addCriterion("operate_note <", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteLessThanOrEqualTo(String value) { + addCriterion("operate_note <=", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteLike(String value) { + addCriterion("operate_note like", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotLike(String value) { + addCriterion("operate_note not like", value, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteIn(List values) { + addCriterion("operate_note in", values, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotIn(List values) { + addCriterion("operate_note not in", values, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteBetween(String value1, String value2) { + addCriterion("operate_note between", value1, value2, "operateNote"); + return (Criteria) this; + } + + public Criteria andOperateNoteNotBetween(String value1, String value2) { + addCriterion("operate_note not between", value1, value2, "operateNote"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNull() { + addCriterion("source_type is null"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNotNull() { + addCriterion("source_type is not null"); + return (Criteria) this; + } + + public Criteria andSourceTypeEqualTo(Integer value) { + addCriterion("source_type =", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotEqualTo(Integer value) { + addCriterion("source_type <>", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThan(Integer value) { + addCriterion("source_type >", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("source_type >=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThan(Integer value) { + addCriterion("source_type <", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThanOrEqualTo(Integer value) { + addCriterion("source_type <=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeIn(List values) { + addCriterion("source_type in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotIn(List values) { + addCriterion("source_type not in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeBetween(Integer value1, Integer value2) { + addCriterion("source_type between", value1, value2, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotBetween(Integer value1, Integer value2) { + addCriterion("source_type not between", value1, value2, "sourceType"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsIntergrationConsumeSetting.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntergrationConsumeSetting.java new file mode 100644 index 0000000000..3c9b9a5836 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntergrationConsumeSetting.java @@ -0,0 +1,73 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class UmsIntergrationConsumeSetting implements Serializable { + private Long id; + + private Integer deductionPerAmount; + + private Integer maxPercentPerOrder; + + private Integer useUnit; + + private Integer couponStatus; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Integer getDeductionPerAmount() { + return deductionPerAmount; + } + + public void setDeductionPerAmount(Integer deductionPerAmount) { + this.deductionPerAmount = deductionPerAmount; + } + + public Integer getMaxPercentPerOrder() { + return maxPercentPerOrder; + } + + public void setMaxPercentPerOrder(Integer maxPercentPerOrder) { + this.maxPercentPerOrder = maxPercentPerOrder; + } + + public Integer getUseUnit() { + return useUnit; + } + + public void setUseUnit(Integer useUnit) { + this.useUnit = useUnit; + } + + public Integer getCouponStatus() { + return couponStatus; + } + + public void setCouponStatus(Integer couponStatus) { + this.couponStatus = couponStatus; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", deductionPerAmount=").append(deductionPerAmount); + sb.append(", maxPercentPerOrder=").append(maxPercentPerOrder); + sb.append(", useUnit=").append(useUnit); + sb.append(", couponStatus=").append(couponStatus); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsIntergrationConsumeSettingExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntergrationConsumeSettingExample.java new file mode 100644 index 0000000000..3bc45a83a7 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsIntergrationConsumeSettingExample.java @@ -0,0 +1,500 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class UmsIntergrationConsumeSettingExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsIntergrationConsumeSettingExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountIsNull() { + addCriterion("deduction_per_amount is null"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountIsNotNull() { + addCriterion("deduction_per_amount is not null"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountEqualTo(Integer value) { + addCriterion("deduction_per_amount =", value, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountNotEqualTo(Integer value) { + addCriterion("deduction_per_amount <>", value, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountGreaterThan(Integer value) { + addCriterion("deduction_per_amount >", value, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountGreaterThanOrEqualTo(Integer value) { + addCriterion("deduction_per_amount >=", value, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountLessThan(Integer value) { + addCriterion("deduction_per_amount <", value, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountLessThanOrEqualTo(Integer value) { + addCriterion("deduction_per_amount <=", value, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountIn(List values) { + addCriterion("deduction_per_amount in", values, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountNotIn(List values) { + addCriterion("deduction_per_amount not in", values, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountBetween(Integer value1, Integer value2) { + addCriterion("deduction_per_amount between", value1, value2, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andDeductionPerAmountNotBetween(Integer value1, Integer value2) { + addCriterion("deduction_per_amount not between", value1, value2, "deductionPerAmount"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderIsNull() { + addCriterion("max_percent_per_order is null"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderIsNotNull() { + addCriterion("max_percent_per_order is not null"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderEqualTo(Integer value) { + addCriterion("max_percent_per_order =", value, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderNotEqualTo(Integer value) { + addCriterion("max_percent_per_order <>", value, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderGreaterThan(Integer value) { + addCriterion("max_percent_per_order >", value, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderGreaterThanOrEqualTo(Integer value) { + addCriterion("max_percent_per_order >=", value, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderLessThan(Integer value) { + addCriterion("max_percent_per_order <", value, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderLessThanOrEqualTo(Integer value) { + addCriterion("max_percent_per_order <=", value, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderIn(List values) { + addCriterion("max_percent_per_order in", values, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderNotIn(List values) { + addCriterion("max_percent_per_order not in", values, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderBetween(Integer value1, Integer value2) { + addCriterion("max_percent_per_order between", value1, value2, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPercentPerOrderNotBetween(Integer value1, Integer value2) { + addCriterion("max_percent_per_order not between", value1, value2, "maxPercentPerOrder"); + return (Criteria) this; + } + + public Criteria andUseUnitIsNull() { + addCriterion("use_unit is null"); + return (Criteria) this; + } + + public Criteria andUseUnitIsNotNull() { + addCriterion("use_unit is not null"); + return (Criteria) this; + } + + public Criteria andUseUnitEqualTo(Integer value) { + addCriterion("use_unit =", value, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitNotEqualTo(Integer value) { + addCriterion("use_unit <>", value, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitGreaterThan(Integer value) { + addCriterion("use_unit >", value, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitGreaterThanOrEqualTo(Integer value) { + addCriterion("use_unit >=", value, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitLessThan(Integer value) { + addCriterion("use_unit <", value, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitLessThanOrEqualTo(Integer value) { + addCriterion("use_unit <=", value, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitIn(List values) { + addCriterion("use_unit in", values, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitNotIn(List values) { + addCriterion("use_unit not in", values, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitBetween(Integer value1, Integer value2) { + addCriterion("use_unit between", value1, value2, "useUnit"); + return (Criteria) this; + } + + public Criteria andUseUnitNotBetween(Integer value1, Integer value2) { + addCriterion("use_unit not between", value1, value2, "useUnit"); + return (Criteria) this; + } + + public Criteria andCouponStatusIsNull() { + addCriterion("coupon_status is null"); + return (Criteria) this; + } + + public Criteria andCouponStatusIsNotNull() { + addCriterion("coupon_status is not null"); + return (Criteria) this; + } + + public Criteria andCouponStatusEqualTo(Integer value) { + addCriterion("coupon_status =", value, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusNotEqualTo(Integer value) { + addCriterion("coupon_status <>", value, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusGreaterThan(Integer value) { + addCriterion("coupon_status >", value, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("coupon_status >=", value, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusLessThan(Integer value) { + addCriterion("coupon_status <", value, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusLessThanOrEqualTo(Integer value) { + addCriterion("coupon_status <=", value, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusIn(List values) { + addCriterion("coupon_status in", values, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusNotIn(List values) { + addCriterion("coupon_status not in", values, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusBetween(Integer value1, Integer value2) { + addCriterion("coupon_status between", value1, value2, "couponStatus"); + return (Criteria) this; + } + + public Criteria andCouponStatusNotBetween(Integer value1, Integer value2) { + addCriterion("coupon_status not between", value1, value2, "couponStatus"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMember.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMember.java new file mode 100644 index 0000000000..f5513c0d19 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMember.java @@ -0,0 +1,228 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class UmsMember implements Serializable { + private Long id; + + private Long memberLevelId; + + private String username; + + private String password; + + private String nickname; + + private String phone; + + private Integer status; + + private Date createTime; + + private String icon; + + private Integer gender; + + private Date birthday; + + private String city; + + private String job; + + private String personalizedSignature; + + private Integer sourceType; + + private Integer integration; + + private Integer growth; + + private Integer luckeyCount; + + private Integer historyIntegration; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberLevelId() { + return memberLevelId; + } + + public void setMemberLevelId(Long memberLevelId) { + this.memberLevelId = memberLevelId; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + + public String getNickname() { + return nickname; + } + + public void setNickname(String nickname) { + this.nickname = nickname; + } + + public String getPhone() { + return phone; + } + + public void setPhone(String phone) { + this.phone = phone; + } + + public Integer getStatus() { + return status; + } + + public void setStatus(Integer status) { + this.status = status; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getIcon() { + return icon; + } + + public void setIcon(String icon) { + this.icon = icon; + } + + public Integer getGender() { + return gender; + } + + public void setGender(Integer gender) { + this.gender = gender; + } + + public Date getBirthday() { + return birthday; + } + + public void setBirthday(Date birthday) { + this.birthday = birthday; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public String getJob() { + return job; + } + + public void setJob(String job) { + this.job = job; + } + + public String getPersonalizedSignature() { + return personalizedSignature; + } + + public void setPersonalizedSignature(String personalizedSignature) { + this.personalizedSignature = personalizedSignature; + } + + public Integer getSourceType() { + return sourceType; + } + + public void setSourceType(Integer sourceType) { + this.sourceType = sourceType; + } + + public Integer getIntegration() { + return integration; + } + + public void setIntegration(Integer integration) { + this.integration = integration; + } + + public Integer getGrowth() { + return growth; + } + + public void setGrowth(Integer growth) { + this.growth = growth; + } + + public Integer getLuckeyCount() { + return luckeyCount; + } + + public void setLuckeyCount(Integer luckeyCount) { + this.luckeyCount = luckeyCount; + } + + public Integer getHistoryIntegration() { + return historyIntegration; + } + + public void setHistoryIntegration(Integer historyIntegration) { + this.historyIntegration = historyIntegration; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberLevelId=").append(memberLevelId); + sb.append(", username=").append(username); + sb.append(", password=").append(password); + sb.append(", nickname=").append(nickname); + sb.append(", phone=").append(phone); + sb.append(", status=").append(status); + sb.append(", createTime=").append(createTime); + sb.append(", icon=").append(icon); + sb.append(", gender=").append(gender); + sb.append(", birthday=").append(birthday); + sb.append(", city=").append(city); + sb.append(", job=").append(job); + sb.append(", personalizedSignature=").append(personalizedSignature); + sb.append(", sourceType=").append(sourceType); + sb.append(", integration=").append(integration); + sb.append(", growth=").append(growth); + sb.append(", luckeyCount=").append(luckeyCount); + sb.append(", historyIntegration=").append(historyIntegration); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberExample.java new file mode 100644 index 0000000000..363ae063ed --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberExample.java @@ -0,0 +1,1448 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.Iterator; +import java.util.List; + +public class UmsMemberExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + protected void addCriterionForJDBCDate(String condition, Date value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Date(value.getTime()), property); + } + + protected void addCriterionForJDBCDate(String condition, List values, String property) { + if (values == null || values.size() == 0) { + throw new RuntimeException("Value list for " + property + " cannot be null or empty"); + } + List dateList = new ArrayList(); + Iterator iter = values.iterator(); + while (iter.hasNext()) { + dateList.add(new java.sql.Date(iter.next().getTime())); + } + addCriterion(condition, dateList, property); + } + + protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdIsNull() { + addCriterion("member_level_id is null"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdIsNotNull() { + addCriterion("member_level_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdEqualTo(Long value) { + addCriterion("member_level_id =", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdNotEqualTo(Long value) { + addCriterion("member_level_id <>", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdGreaterThan(Long value) { + addCriterion("member_level_id >", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_level_id >=", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdLessThan(Long value) { + addCriterion("member_level_id <", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdLessThanOrEqualTo(Long value) { + addCriterion("member_level_id <=", value, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdIn(List values) { + addCriterion("member_level_id in", values, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdNotIn(List values) { + addCriterion("member_level_id not in", values, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdBetween(Long value1, Long value2) { + addCriterion("member_level_id between", value1, value2, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andMemberLevelIdNotBetween(Long value1, Long value2) { + addCriterion("member_level_id not between", value1, value2, "memberLevelId"); + return (Criteria) this; + } + + public Criteria andUsernameIsNull() { + addCriterion("username is null"); + return (Criteria) this; + } + + public Criteria andUsernameIsNotNull() { + addCriterion("username is not null"); + return (Criteria) this; + } + + public Criteria andUsernameEqualTo(String value) { + addCriterion("username =", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotEqualTo(String value) { + addCriterion("username <>", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameGreaterThan(String value) { + addCriterion("username >", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameGreaterThanOrEqualTo(String value) { + addCriterion("username >=", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLessThan(String value) { + addCriterion("username <", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLessThanOrEqualTo(String value) { + addCriterion("username <=", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLike(String value) { + addCriterion("username like", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotLike(String value) { + addCriterion("username not like", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameIn(List values) { + addCriterion("username in", values, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotIn(List values) { + addCriterion("username not in", values, "username"); + return (Criteria) this; + } + + public Criteria andUsernameBetween(String value1, String value2) { + addCriterion("username between", value1, value2, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotBetween(String value1, String value2) { + addCriterion("username not between", value1, value2, "username"); + return (Criteria) this; + } + + public Criteria andPasswordIsNull() { + addCriterion("password is null"); + return (Criteria) this; + } + + public Criteria andPasswordIsNotNull() { + addCriterion("password is not null"); + return (Criteria) this; + } + + public Criteria andPasswordEqualTo(String value) { + addCriterion("password =", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotEqualTo(String value) { + addCriterion("password <>", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThan(String value) { + addCriterion("password >", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThanOrEqualTo(String value) { + addCriterion("password >=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThan(String value) { + addCriterion("password <", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThanOrEqualTo(String value) { + addCriterion("password <=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLike(String value) { + addCriterion("password like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotLike(String value) { + addCriterion("password not like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordIn(List values) { + addCriterion("password in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotIn(List values) { + addCriterion("password not in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordBetween(String value1, String value2) { + addCriterion("password between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotBetween(String value1, String value2) { + addCriterion("password not between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andNicknameIsNull() { + addCriterion("nickname is null"); + return (Criteria) this; + } + + public Criteria andNicknameIsNotNull() { + addCriterion("nickname is not null"); + return (Criteria) this; + } + + public Criteria andNicknameEqualTo(String value) { + addCriterion("nickname =", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameNotEqualTo(String value) { + addCriterion("nickname <>", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameGreaterThan(String value) { + addCriterion("nickname >", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameGreaterThanOrEqualTo(String value) { + addCriterion("nickname >=", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameLessThan(String value) { + addCriterion("nickname <", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameLessThanOrEqualTo(String value) { + addCriterion("nickname <=", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameLike(String value) { + addCriterion("nickname like", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameNotLike(String value) { + addCriterion("nickname not like", value, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameIn(List values) { + addCriterion("nickname in", values, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameNotIn(List values) { + addCriterion("nickname not in", values, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameBetween(String value1, String value2) { + addCriterion("nickname between", value1, value2, "nickname"); + return (Criteria) this; + } + + public Criteria andNicknameNotBetween(String value1, String value2) { + addCriterion("nickname not between", value1, value2, "nickname"); + return (Criteria) this; + } + + public Criteria andPhoneIsNull() { + addCriterion("phone is null"); + return (Criteria) this; + } + + public Criteria andPhoneIsNotNull() { + addCriterion("phone is not null"); + return (Criteria) this; + } + + public Criteria andPhoneEqualTo(String value) { + addCriterion("phone =", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotEqualTo(String value) { + addCriterion("phone <>", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneGreaterThan(String value) { + addCriterion("phone >", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneGreaterThanOrEqualTo(String value) { + addCriterion("phone >=", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneLessThan(String value) { + addCriterion("phone <", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneLessThanOrEqualTo(String value) { + addCriterion("phone <=", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneLike(String value) { + addCriterion("phone like", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotLike(String value) { + addCriterion("phone not like", value, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneIn(List values) { + addCriterion("phone in", values, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotIn(List values) { + addCriterion("phone not in", values, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneBetween(String value1, String value2) { + addCriterion("phone between", value1, value2, "phone"); + return (Criteria) this; + } + + public Criteria andPhoneNotBetween(String value1, String value2) { + addCriterion("phone not between", value1, value2, "phone"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Integer value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Integer value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Integer value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Integer value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Integer value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Integer value1, Integer value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Integer value1, Integer value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andGenderIsNull() { + addCriterion("gender is null"); + return (Criteria) this; + } + + public Criteria andGenderIsNotNull() { + addCriterion("gender is not null"); + return (Criteria) this; + } + + public Criteria andGenderEqualTo(Integer value) { + addCriterion("gender =", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotEqualTo(Integer value) { + addCriterion("gender <>", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderGreaterThan(Integer value) { + addCriterion("gender >", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderGreaterThanOrEqualTo(Integer value) { + addCriterion("gender >=", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderLessThan(Integer value) { + addCriterion("gender <", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderLessThanOrEqualTo(Integer value) { + addCriterion("gender <=", value, "gender"); + return (Criteria) this; + } + + public Criteria andGenderIn(List values) { + addCriterion("gender in", values, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotIn(List values) { + addCriterion("gender not in", values, "gender"); + return (Criteria) this; + } + + public Criteria andGenderBetween(Integer value1, Integer value2) { + addCriterion("gender between", value1, value2, "gender"); + return (Criteria) this; + } + + public Criteria andGenderNotBetween(Integer value1, Integer value2) { + addCriterion("gender not between", value1, value2, "gender"); + return (Criteria) this; + } + + public Criteria andBirthdayIsNull() { + addCriterion("birthday is null"); + return (Criteria) this; + } + + public Criteria andBirthdayIsNotNull() { + addCriterion("birthday is not null"); + return (Criteria) this; + } + + public Criteria andBirthdayEqualTo(Date value) { + addCriterionForJDBCDate("birthday =", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayNotEqualTo(Date value) { + addCriterionForJDBCDate("birthday <>", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayGreaterThan(Date value) { + addCriterionForJDBCDate("birthday >", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayGreaterThanOrEqualTo(Date value) { + addCriterionForJDBCDate("birthday >=", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayLessThan(Date value) { + addCriterionForJDBCDate("birthday <", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayLessThanOrEqualTo(Date value) { + addCriterionForJDBCDate("birthday <=", value, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayIn(List values) { + addCriterionForJDBCDate("birthday in", values, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayNotIn(List values) { + addCriterionForJDBCDate("birthday not in", values, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayBetween(Date value1, Date value2) { + addCriterionForJDBCDate("birthday between", value1, value2, "birthday"); + return (Criteria) this; + } + + public Criteria andBirthdayNotBetween(Date value1, Date value2) { + addCriterionForJDBCDate("birthday not between", value1, value2, "birthday"); + return (Criteria) this; + } + + public Criteria andCityIsNull() { + addCriterion("city is null"); + return (Criteria) this; + } + + public Criteria andCityIsNotNull() { + addCriterion("city is not null"); + return (Criteria) this; + } + + public Criteria andCityEqualTo(String value) { + addCriterion("city =", value, "city"); + return (Criteria) this; + } + + public Criteria andCityNotEqualTo(String value) { + addCriterion("city <>", value, "city"); + return (Criteria) this; + } + + public Criteria andCityGreaterThan(String value) { + addCriterion("city >", value, "city"); + return (Criteria) this; + } + + public Criteria andCityGreaterThanOrEqualTo(String value) { + addCriterion("city >=", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLessThan(String value) { + addCriterion("city <", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLessThanOrEqualTo(String value) { + addCriterion("city <=", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLike(String value) { + addCriterion("city like", value, "city"); + return (Criteria) this; + } + + public Criteria andCityNotLike(String value) { + addCriterion("city not like", value, "city"); + return (Criteria) this; + } + + public Criteria andCityIn(List values) { + addCriterion("city in", values, "city"); + return (Criteria) this; + } + + public Criteria andCityNotIn(List values) { + addCriterion("city not in", values, "city"); + return (Criteria) this; + } + + public Criteria andCityBetween(String value1, String value2) { + addCriterion("city between", value1, value2, "city"); + return (Criteria) this; + } + + public Criteria andCityNotBetween(String value1, String value2) { + addCriterion("city not between", value1, value2, "city"); + return (Criteria) this; + } + + public Criteria andJobIsNull() { + addCriterion("job is null"); + return (Criteria) this; + } + + public Criteria andJobIsNotNull() { + addCriterion("job is not null"); + return (Criteria) this; + } + + public Criteria andJobEqualTo(String value) { + addCriterion("job =", value, "job"); + return (Criteria) this; + } + + public Criteria andJobNotEqualTo(String value) { + addCriterion("job <>", value, "job"); + return (Criteria) this; + } + + public Criteria andJobGreaterThan(String value) { + addCriterion("job >", value, "job"); + return (Criteria) this; + } + + public Criteria andJobGreaterThanOrEqualTo(String value) { + addCriterion("job >=", value, "job"); + return (Criteria) this; + } + + public Criteria andJobLessThan(String value) { + addCriterion("job <", value, "job"); + return (Criteria) this; + } + + public Criteria andJobLessThanOrEqualTo(String value) { + addCriterion("job <=", value, "job"); + return (Criteria) this; + } + + public Criteria andJobLike(String value) { + addCriterion("job like", value, "job"); + return (Criteria) this; + } + + public Criteria andJobNotLike(String value) { + addCriterion("job not like", value, "job"); + return (Criteria) this; + } + + public Criteria andJobIn(List values) { + addCriterion("job in", values, "job"); + return (Criteria) this; + } + + public Criteria andJobNotIn(List values) { + addCriterion("job not in", values, "job"); + return (Criteria) this; + } + + public Criteria andJobBetween(String value1, String value2) { + addCriterion("job between", value1, value2, "job"); + return (Criteria) this; + } + + public Criteria andJobNotBetween(String value1, String value2) { + addCriterion("job not between", value1, value2, "job"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureIsNull() { + addCriterion("personalized_signature is null"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureIsNotNull() { + addCriterion("personalized_signature is not null"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureEqualTo(String value) { + addCriterion("personalized_signature =", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureNotEqualTo(String value) { + addCriterion("personalized_signature <>", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureGreaterThan(String value) { + addCriterion("personalized_signature >", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureGreaterThanOrEqualTo(String value) { + addCriterion("personalized_signature >=", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureLessThan(String value) { + addCriterion("personalized_signature <", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureLessThanOrEqualTo(String value) { + addCriterion("personalized_signature <=", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureLike(String value) { + addCriterion("personalized_signature like", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureNotLike(String value) { + addCriterion("personalized_signature not like", value, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureIn(List values) { + addCriterion("personalized_signature in", values, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureNotIn(List values) { + addCriterion("personalized_signature not in", values, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureBetween(String value1, String value2) { + addCriterion("personalized_signature between", value1, value2, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andPersonalizedSignatureNotBetween(String value1, String value2) { + addCriterion("personalized_signature not between", value1, value2, "personalizedSignature"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNull() { + addCriterion("source_type is null"); + return (Criteria) this; + } + + public Criteria andSourceTypeIsNotNull() { + addCriterion("source_type is not null"); + return (Criteria) this; + } + + public Criteria andSourceTypeEqualTo(Integer value) { + addCriterion("source_type =", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotEqualTo(Integer value) { + addCriterion("source_type <>", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThan(Integer value) { + addCriterion("source_type >", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("source_type >=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThan(Integer value) { + addCriterion("source_type <", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeLessThanOrEqualTo(Integer value) { + addCriterion("source_type <=", value, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeIn(List values) { + addCriterion("source_type in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotIn(List values) { + addCriterion("source_type not in", values, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeBetween(Integer value1, Integer value2) { + addCriterion("source_type between", value1, value2, "sourceType"); + return (Criteria) this; + } + + public Criteria andSourceTypeNotBetween(Integer value1, Integer value2) { + addCriterion("source_type not between", value1, value2, "sourceType"); + return (Criteria) this; + } + + public Criteria andIntegrationIsNull() { + addCriterion("integration is null"); + return (Criteria) this; + } + + public Criteria andIntegrationIsNotNull() { + addCriterion("integration is not null"); + return (Criteria) this; + } + + public Criteria andIntegrationEqualTo(Integer value) { + addCriterion("integration =", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationNotEqualTo(Integer value) { + addCriterion("integration <>", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationGreaterThan(Integer value) { + addCriterion("integration >", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationGreaterThanOrEqualTo(Integer value) { + addCriterion("integration >=", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationLessThan(Integer value) { + addCriterion("integration <", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationLessThanOrEqualTo(Integer value) { + addCriterion("integration <=", value, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationIn(List values) { + addCriterion("integration in", values, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationNotIn(List values) { + addCriterion("integration not in", values, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationBetween(Integer value1, Integer value2) { + addCriterion("integration between", value1, value2, "integration"); + return (Criteria) this; + } + + public Criteria andIntegrationNotBetween(Integer value1, Integer value2) { + addCriterion("integration not between", value1, value2, "integration"); + return (Criteria) this; + } + + public Criteria andGrowthIsNull() { + addCriterion("growth is null"); + return (Criteria) this; + } + + public Criteria andGrowthIsNotNull() { + addCriterion("growth is not null"); + return (Criteria) this; + } + + public Criteria andGrowthEqualTo(Integer value) { + addCriterion("growth =", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotEqualTo(Integer value) { + addCriterion("growth <>", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthGreaterThan(Integer value) { + addCriterion("growth >", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthGreaterThanOrEqualTo(Integer value) { + addCriterion("growth >=", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthLessThan(Integer value) { + addCriterion("growth <", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthLessThanOrEqualTo(Integer value) { + addCriterion("growth <=", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthIn(List values) { + addCriterion("growth in", values, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotIn(List values) { + addCriterion("growth not in", values, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthBetween(Integer value1, Integer value2) { + addCriterion("growth between", value1, value2, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotBetween(Integer value1, Integer value2) { + addCriterion("growth not between", value1, value2, "growth"); + return (Criteria) this; + } + + public Criteria andLuckeyCountIsNull() { + addCriterion("luckey_count is null"); + return (Criteria) this; + } + + public Criteria andLuckeyCountIsNotNull() { + addCriterion("luckey_count is not null"); + return (Criteria) this; + } + + public Criteria andLuckeyCountEqualTo(Integer value) { + addCriterion("luckey_count =", value, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountNotEqualTo(Integer value) { + addCriterion("luckey_count <>", value, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountGreaterThan(Integer value) { + addCriterion("luckey_count >", value, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountGreaterThanOrEqualTo(Integer value) { + addCriterion("luckey_count >=", value, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountLessThan(Integer value) { + addCriterion("luckey_count <", value, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountLessThanOrEqualTo(Integer value) { + addCriterion("luckey_count <=", value, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountIn(List values) { + addCriterion("luckey_count in", values, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountNotIn(List values) { + addCriterion("luckey_count not in", values, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountBetween(Integer value1, Integer value2) { + addCriterion("luckey_count between", value1, value2, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andLuckeyCountNotBetween(Integer value1, Integer value2) { + addCriterion("luckey_count not between", value1, value2, "luckeyCount"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationIsNull() { + addCriterion("history_integration is null"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationIsNotNull() { + addCriterion("history_integration is not null"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationEqualTo(Integer value) { + addCriterion("history_integration =", value, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationNotEqualTo(Integer value) { + addCriterion("history_integration <>", value, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationGreaterThan(Integer value) { + addCriterion("history_integration >", value, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationGreaterThanOrEqualTo(Integer value) { + addCriterion("history_integration >=", value, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationLessThan(Integer value) { + addCriterion("history_integration <", value, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationLessThanOrEqualTo(Integer value) { + addCriterion("history_integration <=", value, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationIn(List values) { + addCriterion("history_integration in", values, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationNotIn(List values) { + addCriterion("history_integration not in", values, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationBetween(Integer value1, Integer value2) { + addCriterion("history_integration between", value1, value2, "historyIntegration"); + return (Criteria) this; + } + + public Criteria andHistoryIntegrationNotBetween(Integer value1, Integer value2) { + addCriterion("history_integration not between", value1, value2, "historyIntegration"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevel.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevel.java new file mode 100644 index 0000000000..641779bc39 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevel.java @@ -0,0 +1,162 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class UmsMemberLevel implements Serializable { + private Long id; + + private String name; + + private Integer growthPoint; + + private Integer defaultStatus; + + private BigDecimal freeFreightPoint; + + private Integer commentGrowthPoint; + + private Integer priviledgeFreeFreight; + + private Integer priviledgeSignIn; + + private Integer priviledgeComment; + + private Integer priviledgePromotion; + + private Integer priviledgeMemberPrice; + + private Integer priviledgeBirthday; + + private String note; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getGrowthPoint() { + return growthPoint; + } + + public void setGrowthPoint(Integer growthPoint) { + this.growthPoint = growthPoint; + } + + public Integer getDefaultStatus() { + return defaultStatus; + } + + public void setDefaultStatus(Integer defaultStatus) { + this.defaultStatus = defaultStatus; + } + + public BigDecimal getFreeFreightPoint() { + return freeFreightPoint; + } + + public void setFreeFreightPoint(BigDecimal freeFreightPoint) { + this.freeFreightPoint = freeFreightPoint; + } + + public Integer getCommentGrowthPoint() { + return commentGrowthPoint; + } + + public void setCommentGrowthPoint(Integer commentGrowthPoint) { + this.commentGrowthPoint = commentGrowthPoint; + } + + public Integer getPriviledgeFreeFreight() { + return priviledgeFreeFreight; + } + + public void setPriviledgeFreeFreight(Integer priviledgeFreeFreight) { + this.priviledgeFreeFreight = priviledgeFreeFreight; + } + + public Integer getPriviledgeSignIn() { + return priviledgeSignIn; + } + + public void setPriviledgeSignIn(Integer priviledgeSignIn) { + this.priviledgeSignIn = priviledgeSignIn; + } + + public Integer getPriviledgeComment() { + return priviledgeComment; + } + + public void setPriviledgeComment(Integer priviledgeComment) { + this.priviledgeComment = priviledgeComment; + } + + public Integer getPriviledgePromotion() { + return priviledgePromotion; + } + + public void setPriviledgePromotion(Integer priviledgePromotion) { + this.priviledgePromotion = priviledgePromotion; + } + + public Integer getPriviledgeMemberPrice() { + return priviledgeMemberPrice; + } + + public void setPriviledgeMemberPrice(Integer priviledgeMemberPrice) { + this.priviledgeMemberPrice = priviledgeMemberPrice; + } + + public Integer getPriviledgeBirthday() { + return priviledgeBirthday; + } + + public void setPriviledgeBirthday(Integer priviledgeBirthday) { + this.priviledgeBirthday = priviledgeBirthday; + } + + public String getNote() { + return note; + } + + public void setNote(String note) { + this.note = note; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", growthPoint=").append(growthPoint); + sb.append(", defaultStatus=").append(defaultStatus); + sb.append(", freeFreightPoint=").append(freeFreightPoint); + sb.append(", commentGrowthPoint=").append(commentGrowthPoint); + sb.append(", priviledgeFreeFreight=").append(priviledgeFreeFreight); + sb.append(", priviledgeSignIn=").append(priviledgeSignIn); + sb.append(", priviledgeComment=").append(priviledgeComment); + sb.append(", priviledgePromotion=").append(priviledgePromotion); + sb.append(", priviledgeMemberPrice=").append(priviledgeMemberPrice); + sb.append(", priviledgeBirthday=").append(priviledgeBirthday); + sb.append(", note=").append(note); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevelExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevelExample.java new file mode 100644 index 0000000000..1358b3b387 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLevelExample.java @@ -0,0 +1,1001 @@ +package com.macro.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class UmsMemberLevelExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberLevelExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andGrowthPointIsNull() { + addCriterion("growth_point is null"); + return (Criteria) this; + } + + public Criteria andGrowthPointIsNotNull() { + addCriterion("growth_point is not null"); + return (Criteria) this; + } + + public Criteria andGrowthPointEqualTo(Integer value) { + addCriterion("growth_point =", value, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointNotEqualTo(Integer value) { + addCriterion("growth_point <>", value, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointGreaterThan(Integer value) { + addCriterion("growth_point >", value, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointGreaterThanOrEqualTo(Integer value) { + addCriterion("growth_point >=", value, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointLessThan(Integer value) { + addCriterion("growth_point <", value, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointLessThanOrEqualTo(Integer value) { + addCriterion("growth_point <=", value, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointIn(List values) { + addCriterion("growth_point in", values, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointNotIn(List values) { + addCriterion("growth_point not in", values, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointBetween(Integer value1, Integer value2) { + addCriterion("growth_point between", value1, value2, "growthPoint"); + return (Criteria) this; + } + + public Criteria andGrowthPointNotBetween(Integer value1, Integer value2) { + addCriterion("growth_point not between", value1, value2, "growthPoint"); + return (Criteria) this; + } + + public Criteria andDefaultStatusIsNull() { + addCriterion("default_status is null"); + return (Criteria) this; + } + + public Criteria andDefaultStatusIsNotNull() { + addCriterion("default_status is not null"); + return (Criteria) this; + } + + public Criteria andDefaultStatusEqualTo(Integer value) { + addCriterion("default_status =", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusNotEqualTo(Integer value) { + addCriterion("default_status <>", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusGreaterThan(Integer value) { + addCriterion("default_status >", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusGreaterThanOrEqualTo(Integer value) { + addCriterion("default_status >=", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusLessThan(Integer value) { + addCriterion("default_status <", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusLessThanOrEqualTo(Integer value) { + addCriterion("default_status <=", value, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusIn(List values) { + addCriterion("default_status in", values, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusNotIn(List values) { + addCriterion("default_status not in", values, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusBetween(Integer value1, Integer value2) { + addCriterion("default_status between", value1, value2, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andDefaultStatusNotBetween(Integer value1, Integer value2) { + addCriterion("default_status not between", value1, value2, "defaultStatus"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointIsNull() { + addCriterion("free_freight_point is null"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointIsNotNull() { + addCriterion("free_freight_point is not null"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointEqualTo(BigDecimal value) { + addCriterion("free_freight_point =", value, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointNotEqualTo(BigDecimal value) { + addCriterion("free_freight_point <>", value, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointGreaterThan(BigDecimal value) { + addCriterion("free_freight_point >", value, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("free_freight_point >=", value, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointLessThan(BigDecimal value) { + addCriterion("free_freight_point <", value, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointLessThanOrEqualTo(BigDecimal value) { + addCriterion("free_freight_point <=", value, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointIn(List values) { + addCriterion("free_freight_point in", values, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointNotIn(List values) { + addCriterion("free_freight_point not in", values, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("free_freight_point between", value1, value2, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andFreeFreightPointNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("free_freight_point not between", value1, value2, "freeFreightPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointIsNull() { + addCriterion("comment_growth_point is null"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointIsNotNull() { + addCriterion("comment_growth_point is not null"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointEqualTo(Integer value) { + addCriterion("comment_growth_point =", value, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointNotEqualTo(Integer value) { + addCriterion("comment_growth_point <>", value, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointGreaterThan(Integer value) { + addCriterion("comment_growth_point >", value, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointGreaterThanOrEqualTo(Integer value) { + addCriterion("comment_growth_point >=", value, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointLessThan(Integer value) { + addCriterion("comment_growth_point <", value, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointLessThanOrEqualTo(Integer value) { + addCriterion("comment_growth_point <=", value, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointIn(List values) { + addCriterion("comment_growth_point in", values, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointNotIn(List values) { + addCriterion("comment_growth_point not in", values, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointBetween(Integer value1, Integer value2) { + addCriterion("comment_growth_point between", value1, value2, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andCommentGrowthPointNotBetween(Integer value1, Integer value2) { + addCriterion("comment_growth_point not between", value1, value2, "commentGrowthPoint"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightIsNull() { + addCriterion("priviledge_free_freight is null"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightIsNotNull() { + addCriterion("priviledge_free_freight is not null"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightEqualTo(Integer value) { + addCriterion("priviledge_free_freight =", value, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightNotEqualTo(Integer value) { + addCriterion("priviledge_free_freight <>", value, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightGreaterThan(Integer value) { + addCriterion("priviledge_free_freight >", value, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightGreaterThanOrEqualTo(Integer value) { + addCriterion("priviledge_free_freight >=", value, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightLessThan(Integer value) { + addCriterion("priviledge_free_freight <", value, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightLessThanOrEqualTo(Integer value) { + addCriterion("priviledge_free_freight <=", value, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightIn(List values) { + addCriterion("priviledge_free_freight in", values, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightNotIn(List values) { + addCriterion("priviledge_free_freight not in", values, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightBetween(Integer value1, Integer value2) { + addCriterion("priviledge_free_freight between", value1, value2, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeFreeFreightNotBetween(Integer value1, Integer value2) { + addCriterion("priviledge_free_freight not between", value1, value2, "priviledgeFreeFreight"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInIsNull() { + addCriterion("priviledge_sign_in is null"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInIsNotNull() { + addCriterion("priviledge_sign_in is not null"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInEqualTo(Integer value) { + addCriterion("priviledge_sign_in =", value, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInNotEqualTo(Integer value) { + addCriterion("priviledge_sign_in <>", value, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInGreaterThan(Integer value) { + addCriterion("priviledge_sign_in >", value, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInGreaterThanOrEqualTo(Integer value) { + addCriterion("priviledge_sign_in >=", value, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInLessThan(Integer value) { + addCriterion("priviledge_sign_in <", value, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInLessThanOrEqualTo(Integer value) { + addCriterion("priviledge_sign_in <=", value, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInIn(List values) { + addCriterion("priviledge_sign_in in", values, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInNotIn(List values) { + addCriterion("priviledge_sign_in not in", values, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInBetween(Integer value1, Integer value2) { + addCriterion("priviledge_sign_in between", value1, value2, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeSignInNotBetween(Integer value1, Integer value2) { + addCriterion("priviledge_sign_in not between", value1, value2, "priviledgeSignIn"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentIsNull() { + addCriterion("priviledge_comment is null"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentIsNotNull() { + addCriterion("priviledge_comment is not null"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentEqualTo(Integer value) { + addCriterion("priviledge_comment =", value, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentNotEqualTo(Integer value) { + addCriterion("priviledge_comment <>", value, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentGreaterThan(Integer value) { + addCriterion("priviledge_comment >", value, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentGreaterThanOrEqualTo(Integer value) { + addCriterion("priviledge_comment >=", value, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentLessThan(Integer value) { + addCriterion("priviledge_comment <", value, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentLessThanOrEqualTo(Integer value) { + addCriterion("priviledge_comment <=", value, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentIn(List values) { + addCriterion("priviledge_comment in", values, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentNotIn(List values) { + addCriterion("priviledge_comment not in", values, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentBetween(Integer value1, Integer value2) { + addCriterion("priviledge_comment between", value1, value2, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgeCommentNotBetween(Integer value1, Integer value2) { + addCriterion("priviledge_comment not between", value1, value2, "priviledgeComment"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionIsNull() { + addCriterion("priviledge_promotion is null"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionIsNotNull() { + addCriterion("priviledge_promotion is not null"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionEqualTo(Integer value) { + addCriterion("priviledge_promotion =", value, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionNotEqualTo(Integer value) { + addCriterion("priviledge_promotion <>", value, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionGreaterThan(Integer value) { + addCriterion("priviledge_promotion >", value, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionGreaterThanOrEqualTo(Integer value) { + addCriterion("priviledge_promotion >=", value, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionLessThan(Integer value) { + addCriterion("priviledge_promotion <", value, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionLessThanOrEqualTo(Integer value) { + addCriterion("priviledge_promotion <=", value, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionIn(List values) { + addCriterion("priviledge_promotion in", values, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionNotIn(List values) { + addCriterion("priviledge_promotion not in", values, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionBetween(Integer value1, Integer value2) { + addCriterion("priviledge_promotion between", value1, value2, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgePromotionNotBetween(Integer value1, Integer value2) { + addCriterion("priviledge_promotion not between", value1, value2, "priviledgePromotion"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceIsNull() { + addCriterion("priviledge_member_price is null"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceIsNotNull() { + addCriterion("priviledge_member_price is not null"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceEqualTo(Integer value) { + addCriterion("priviledge_member_price =", value, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceNotEqualTo(Integer value) { + addCriterion("priviledge_member_price <>", value, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceGreaterThan(Integer value) { + addCriterion("priviledge_member_price >", value, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceGreaterThanOrEqualTo(Integer value) { + addCriterion("priviledge_member_price >=", value, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceLessThan(Integer value) { + addCriterion("priviledge_member_price <", value, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceLessThanOrEqualTo(Integer value) { + addCriterion("priviledge_member_price <=", value, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceIn(List values) { + addCriterion("priviledge_member_price in", values, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceNotIn(List values) { + addCriterion("priviledge_member_price not in", values, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceBetween(Integer value1, Integer value2) { + addCriterion("priviledge_member_price between", value1, value2, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeMemberPriceNotBetween(Integer value1, Integer value2) { + addCriterion("priviledge_member_price not between", value1, value2, "priviledgeMemberPrice"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayIsNull() { + addCriterion("priviledge_birthday is null"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayIsNotNull() { + addCriterion("priviledge_birthday is not null"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayEqualTo(Integer value) { + addCriterion("priviledge_birthday =", value, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayNotEqualTo(Integer value) { + addCriterion("priviledge_birthday <>", value, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayGreaterThan(Integer value) { + addCriterion("priviledge_birthday >", value, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayGreaterThanOrEqualTo(Integer value) { + addCriterion("priviledge_birthday >=", value, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayLessThan(Integer value) { + addCriterion("priviledge_birthday <", value, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayLessThanOrEqualTo(Integer value) { + addCriterion("priviledge_birthday <=", value, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayIn(List values) { + addCriterion("priviledge_birthday in", values, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayNotIn(List values) { + addCriterion("priviledge_birthday not in", values, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayBetween(Integer value1, Integer value2) { + addCriterion("priviledge_birthday between", value1, value2, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andPriviledgeBirthdayNotBetween(Integer value1, Integer value2) { + addCriterion("priviledge_birthday not between", value1, value2, "priviledgeBirthday"); + return (Criteria) this; + } + + public Criteria andNoteIsNull() { + addCriterion("note is null"); + return (Criteria) this; + } + + public Criteria andNoteIsNotNull() { + addCriterion("note is not null"); + return (Criteria) this; + } + + public Criteria andNoteEqualTo(String value) { + addCriterion("note =", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotEqualTo(String value) { + addCriterion("note <>", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThan(String value) { + addCriterion("note >", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteGreaterThanOrEqualTo(String value) { + addCriterion("note >=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThan(String value) { + addCriterion("note <", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLessThanOrEqualTo(String value) { + addCriterion("note <=", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteLike(String value) { + addCriterion("note like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotLike(String value) { + addCriterion("note not like", value, "note"); + return (Criteria) this; + } + + public Criteria andNoteIn(List values) { + addCriterion("note in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotIn(List values) { + addCriterion("note not in", values, "note"); + return (Criteria) this; + } + + public Criteria andNoteBetween(String value1, String value2) { + addCriterion("note between", value1, value2, "note"); + return (Criteria) this; + } + + public Criteria andNoteNotBetween(String value1, String value2) { + addCriterion("note not between", value1, value2, "note"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLog.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLog.java new file mode 100644 index 0000000000..410910ad43 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLog.java @@ -0,0 +1,96 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.util.Date; + +public class UmsMemberLoginLog implements Serializable { + private Long id; + + private Long memberId; + + private Date createTime; + + private String ip; + + private String city; + + private Integer loginType; + + private String province; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + public String getIp() { + return ip; + } + + public void setIp(String ip) { + this.ip = ip; + } + + public String getCity() { + return city; + } + + public void setCity(String city) { + this.city = city; + } + + public Integer getLoginType() { + return loginType; + } + + public void setLoginType(Integer loginType) { + this.loginType = loginType; + } + + public String getProvince() { + return province; + } + + public void setProvince(String province) { + this.province = province; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", createTime=").append(createTime); + sb.append(", ip=").append(ip); + sb.append(", city=").append(city); + sb.append(", loginType=").append(loginType); + sb.append(", province=").append(province); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLogExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLogExample.java new file mode 100644 index 0000000000..261b4bf086 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberLoginLogExample.java @@ -0,0 +1,651 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsMemberLoginLogExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberLoginLogExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNull() { + addCriterion("create_time is null"); + return (Criteria) this; + } + + public Criteria andCreateTimeIsNotNull() { + addCriterion("create_time is not null"); + return (Criteria) this; + } + + public Criteria andCreateTimeEqualTo(Date value) { + addCriterion("create_time =", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotEqualTo(Date value) { + addCriterion("create_time <>", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThan(Date value) { + addCriterion("create_time >", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) { + addCriterion("create_time >=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThan(Date value) { + addCriterion("create_time <", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeLessThanOrEqualTo(Date value) { + addCriterion("create_time <=", value, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeIn(List values) { + addCriterion("create_time in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotIn(List values) { + addCriterion("create_time not in", values, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeBetween(Date value1, Date value2) { + addCriterion("create_time between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andCreateTimeNotBetween(Date value1, Date value2) { + addCriterion("create_time not between", value1, value2, "createTime"); + return (Criteria) this; + } + + public Criteria andIpIsNull() { + addCriterion("ip is null"); + return (Criteria) this; + } + + public Criteria andIpIsNotNull() { + addCriterion("ip is not null"); + return (Criteria) this; + } + + public Criteria andIpEqualTo(String value) { + addCriterion("ip =", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotEqualTo(String value) { + addCriterion("ip <>", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpGreaterThan(String value) { + addCriterion("ip >", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpGreaterThanOrEqualTo(String value) { + addCriterion("ip >=", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpLessThan(String value) { + addCriterion("ip <", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpLessThanOrEqualTo(String value) { + addCriterion("ip <=", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpLike(String value) { + addCriterion("ip like", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotLike(String value) { + addCriterion("ip not like", value, "ip"); + return (Criteria) this; + } + + public Criteria andIpIn(List values) { + addCriterion("ip in", values, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotIn(List values) { + addCriterion("ip not in", values, "ip"); + return (Criteria) this; + } + + public Criteria andIpBetween(String value1, String value2) { + addCriterion("ip between", value1, value2, "ip"); + return (Criteria) this; + } + + public Criteria andIpNotBetween(String value1, String value2) { + addCriterion("ip not between", value1, value2, "ip"); + return (Criteria) this; + } + + public Criteria andCityIsNull() { + addCriterion("city is null"); + return (Criteria) this; + } + + public Criteria andCityIsNotNull() { + addCriterion("city is not null"); + return (Criteria) this; + } + + public Criteria andCityEqualTo(String value) { + addCriterion("city =", value, "city"); + return (Criteria) this; + } + + public Criteria andCityNotEqualTo(String value) { + addCriterion("city <>", value, "city"); + return (Criteria) this; + } + + public Criteria andCityGreaterThan(String value) { + addCriterion("city >", value, "city"); + return (Criteria) this; + } + + public Criteria andCityGreaterThanOrEqualTo(String value) { + addCriterion("city >=", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLessThan(String value) { + addCriterion("city <", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLessThanOrEqualTo(String value) { + addCriterion("city <=", value, "city"); + return (Criteria) this; + } + + public Criteria andCityLike(String value) { + addCriterion("city like", value, "city"); + return (Criteria) this; + } + + public Criteria andCityNotLike(String value) { + addCriterion("city not like", value, "city"); + return (Criteria) this; + } + + public Criteria andCityIn(List values) { + addCriterion("city in", values, "city"); + return (Criteria) this; + } + + public Criteria andCityNotIn(List values) { + addCriterion("city not in", values, "city"); + return (Criteria) this; + } + + public Criteria andCityBetween(String value1, String value2) { + addCriterion("city between", value1, value2, "city"); + return (Criteria) this; + } + + public Criteria andCityNotBetween(String value1, String value2) { + addCriterion("city not between", value1, value2, "city"); + return (Criteria) this; + } + + public Criteria andLoginTypeIsNull() { + addCriterion("login_type is null"); + return (Criteria) this; + } + + public Criteria andLoginTypeIsNotNull() { + addCriterion("login_type is not null"); + return (Criteria) this; + } + + public Criteria andLoginTypeEqualTo(Integer value) { + addCriterion("login_type =", value, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeNotEqualTo(Integer value) { + addCriterion("login_type <>", value, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeGreaterThan(Integer value) { + addCriterion("login_type >", value, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("login_type >=", value, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeLessThan(Integer value) { + addCriterion("login_type <", value, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeLessThanOrEqualTo(Integer value) { + addCriterion("login_type <=", value, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeIn(List values) { + addCriterion("login_type in", values, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeNotIn(List values) { + addCriterion("login_type not in", values, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeBetween(Integer value1, Integer value2) { + addCriterion("login_type between", value1, value2, "loginType"); + return (Criteria) this; + } + + public Criteria andLoginTypeNotBetween(Integer value1, Integer value2) { + addCriterion("login_type not between", value1, value2, "loginType"); + return (Criteria) this; + } + + public Criteria andProvinceIsNull() { + addCriterion("province is null"); + return (Criteria) this; + } + + public Criteria andProvinceIsNotNull() { + addCriterion("province is not null"); + return (Criteria) this; + } + + public Criteria andProvinceEqualTo(String value) { + addCriterion("province =", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotEqualTo(String value) { + addCriterion("province <>", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceGreaterThan(String value) { + addCriterion("province >", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceGreaterThanOrEqualTo(String value) { + addCriterion("province >=", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceLessThan(String value) { + addCriterion("province <", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceLessThanOrEqualTo(String value) { + addCriterion("province <=", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceLike(String value) { + addCriterion("province like", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotLike(String value) { + addCriterion("province not like", value, "province"); + return (Criteria) this; + } + + public Criteria andProvinceIn(List values) { + addCriterion("province in", values, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotIn(List values) { + addCriterion("province not in", values, "province"); + return (Criteria) this; + } + + public Criteria andProvinceBetween(String value1, String value2) { + addCriterion("province between", value1, value2, "province"); + return (Criteria) this; + } + + public Criteria andProvinceNotBetween(String value1, String value2) { + addCriterion("province not between", value1, value2, "province"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelation.java new file mode 100644 index 0000000000..b3764eabe5 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelation.java @@ -0,0 +1,51 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class UmsMemberMemberTagRelation implements Serializable { + private Long id; + + private Long memberId; + + private Long tagId; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public Long getTagId() { + return tagId; + } + + public void setTagId(Long tagId) { + this.tagId = tagId; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", tagId=").append(tagId); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelationExample.java new file mode 100644 index 0000000000..60a7c6720e --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberMemberTagRelationExample.java @@ -0,0 +1,380 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class UmsMemberMemberTagRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberMemberTagRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andTagIdIsNull() { + addCriterion("tag_id is null"); + return (Criteria) this; + } + + public Criteria andTagIdIsNotNull() { + addCriterion("tag_id is not null"); + return (Criteria) this; + } + + public Criteria andTagIdEqualTo(Long value) { + addCriterion("tag_id =", value, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdNotEqualTo(Long value) { + addCriterion("tag_id <>", value, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdGreaterThan(Long value) { + addCriterion("tag_id >", value, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdGreaterThanOrEqualTo(Long value) { + addCriterion("tag_id >=", value, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdLessThan(Long value) { + addCriterion("tag_id <", value, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdLessThanOrEqualTo(Long value) { + addCriterion("tag_id <=", value, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdIn(List values) { + addCriterion("tag_id in", values, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdNotIn(List values) { + addCriterion("tag_id not in", values, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdBetween(Long value1, Long value2) { + addCriterion("tag_id between", value1, value2, "tagId"); + return (Criteria) this; + } + + public Criteria andTagIdNotBetween(Long value1, Long value2) { + addCriterion("tag_id not between", value1, value2, "tagId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelation.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelation.java new file mode 100644 index 0000000000..016f10fbbb --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelation.java @@ -0,0 +1,51 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class UmsMemberProductCategoryRelation implements Serializable { + private Long id; + + private Long memberId; + + private Long productCategoryId; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public Long getProductCategoryId() { + return productCategoryId; + } + + public void setProductCategoryId(Long productCategoryId) { + this.productCategoryId = productCategoryId; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", productCategoryId=").append(productCategoryId); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelationExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelationExample.java new file mode 100644 index 0000000000..46e539096e --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberProductCategoryRelationExample.java @@ -0,0 +1,380 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class UmsMemberProductCategoryRelationExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberProductCategoryRelationExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNull() { + addCriterion("product_category_id is null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIsNotNull() { + addCriterion("product_category_id is not null"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdEqualTo(Long value) { + addCriterion("product_category_id =", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotEqualTo(Long value) { + addCriterion("product_category_id <>", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThan(Long value) { + addCriterion("product_category_id >", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdGreaterThanOrEqualTo(Long value) { + addCriterion("product_category_id >=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThan(Long value) { + addCriterion("product_category_id <", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdLessThanOrEqualTo(Long value) { + addCriterion("product_category_id <=", value, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdIn(List values) { + addCriterion("product_category_id in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotIn(List values) { + addCriterion("product_category_id not in", values, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdBetween(Long value1, Long value2) { + addCriterion("product_category_id between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + + public Criteria andProductCategoryIdNotBetween(Long value1, Long value2) { + addCriterion("product_category_id not between", value1, value2, "productCategoryId"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddress.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddress.java new file mode 100644 index 0000000000..cb4b21243f --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddress.java @@ -0,0 +1,95 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class UmsMemberReceiveAddress implements Serializable { + private Long id; + + private Long memberId; + + private String name; + + private String phoneNumber; + + private String address; + + private String postCode; + + private Integer defaultStatus; + + 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 String getAddress() { + return address; + } + + public void setAddress(String address) { + this.address = address; + } + + public String getPostCode() { + return postCode; + } + + public void setPostCode(String postCode) { + this.postCode = postCode; + } + + public Integer getDefaultStatus() { + return defaultStatus; + } + + public void setDefaultStatus(Integer defaultStatus) { + this.defaultStatus = defaultStatus; + } + + @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(", address=").append(address); + sb.append(", postCode=").append(postCode); + sb.append(", defaultStatus=").append(defaultStatus); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddressExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddressExample.java new file mode 100644 index 0000000000..bd5a101d7d --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberReceiveAddressExample.java @@ -0,0 +1,660 @@ +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 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 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 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 static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSetting.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSetting.java new file mode 100644 index 0000000000..622915d6b5 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSetting.java @@ -0,0 +1,96 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class UmsMemberRuleSetting implements Serializable { + private Long id; + + private Integer continueSignDay; + + private Integer continueSignPoint; + + private BigDecimal consumePerPoint; + + private BigDecimal lowOrderAmount; + + private Integer maxPointPerOrder; + + private Integer type; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Integer getContinueSignDay() { + return continueSignDay; + } + + public void setContinueSignDay(Integer continueSignDay) { + this.continueSignDay = continueSignDay; + } + + public Integer getContinueSignPoint() { + return continueSignPoint; + } + + public void setContinueSignPoint(Integer continueSignPoint) { + this.continueSignPoint = continueSignPoint; + } + + public BigDecimal getConsumePerPoint() { + return consumePerPoint; + } + + public void setConsumePerPoint(BigDecimal consumePerPoint) { + this.consumePerPoint = consumePerPoint; + } + + public BigDecimal getLowOrderAmount() { + return lowOrderAmount; + } + + public void setLowOrderAmount(BigDecimal lowOrderAmount) { + this.lowOrderAmount = lowOrderAmount; + } + + public Integer getMaxPointPerOrder() { + return maxPointPerOrder; + } + + public void setMaxPointPerOrder(Integer maxPointPerOrder) { + this.maxPointPerOrder = maxPointPerOrder; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", continueSignDay=").append(continueSignDay); + sb.append(", continueSignPoint=").append(continueSignPoint); + sb.append(", consumePerPoint=").append(consumePerPoint); + sb.append(", lowOrderAmount=").append(lowOrderAmount); + sb.append(", maxPointPerOrder=").append(maxPointPerOrder); + sb.append(", type=").append(type); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSettingExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSettingExample.java new file mode 100644 index 0000000000..5c531a7251 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberRuleSettingExample.java @@ -0,0 +1,621 @@ +package com.macro.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class UmsMemberRuleSettingExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberRuleSettingExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andContinueSignDayIsNull() { + addCriterion("continue_sign_day is null"); + return (Criteria) this; + } + + public Criteria andContinueSignDayIsNotNull() { + addCriterion("continue_sign_day is not null"); + return (Criteria) this; + } + + public Criteria andContinueSignDayEqualTo(Integer value) { + addCriterion("continue_sign_day =", value, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayNotEqualTo(Integer value) { + addCriterion("continue_sign_day <>", value, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayGreaterThan(Integer value) { + addCriterion("continue_sign_day >", value, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayGreaterThanOrEqualTo(Integer value) { + addCriterion("continue_sign_day >=", value, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayLessThan(Integer value) { + addCriterion("continue_sign_day <", value, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayLessThanOrEqualTo(Integer value) { + addCriterion("continue_sign_day <=", value, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayIn(List values) { + addCriterion("continue_sign_day in", values, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayNotIn(List values) { + addCriterion("continue_sign_day not in", values, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayBetween(Integer value1, Integer value2) { + addCriterion("continue_sign_day between", value1, value2, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignDayNotBetween(Integer value1, Integer value2) { + addCriterion("continue_sign_day not between", value1, value2, "continueSignDay"); + return (Criteria) this; + } + + public Criteria andContinueSignPointIsNull() { + addCriterion("continue_sign_point is null"); + return (Criteria) this; + } + + public Criteria andContinueSignPointIsNotNull() { + addCriterion("continue_sign_point is not null"); + return (Criteria) this; + } + + public Criteria andContinueSignPointEqualTo(Integer value) { + addCriterion("continue_sign_point =", value, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointNotEqualTo(Integer value) { + addCriterion("continue_sign_point <>", value, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointGreaterThan(Integer value) { + addCriterion("continue_sign_point >", value, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointGreaterThanOrEqualTo(Integer value) { + addCriterion("continue_sign_point >=", value, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointLessThan(Integer value) { + addCriterion("continue_sign_point <", value, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointLessThanOrEqualTo(Integer value) { + addCriterion("continue_sign_point <=", value, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointIn(List values) { + addCriterion("continue_sign_point in", values, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointNotIn(List values) { + addCriterion("continue_sign_point not in", values, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointBetween(Integer value1, Integer value2) { + addCriterion("continue_sign_point between", value1, value2, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andContinueSignPointNotBetween(Integer value1, Integer value2) { + addCriterion("continue_sign_point not between", value1, value2, "continueSignPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointIsNull() { + addCriterion("consume_per_point is null"); + return (Criteria) this; + } + + public Criteria andConsumePerPointIsNotNull() { + addCriterion("consume_per_point is not null"); + return (Criteria) this; + } + + public Criteria andConsumePerPointEqualTo(BigDecimal value) { + addCriterion("consume_per_point =", value, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointNotEqualTo(BigDecimal value) { + addCriterion("consume_per_point <>", value, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointGreaterThan(BigDecimal value) { + addCriterion("consume_per_point >", value, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("consume_per_point >=", value, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointLessThan(BigDecimal value) { + addCriterion("consume_per_point <", value, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointLessThanOrEqualTo(BigDecimal value) { + addCriterion("consume_per_point <=", value, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointIn(List values) { + addCriterion("consume_per_point in", values, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointNotIn(List values) { + addCriterion("consume_per_point not in", values, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("consume_per_point between", value1, value2, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andConsumePerPointNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("consume_per_point not between", value1, value2, "consumePerPoint"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountIsNull() { + addCriterion("low_order_amount is null"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountIsNotNull() { + addCriterion("low_order_amount is not null"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountEqualTo(BigDecimal value) { + addCriterion("low_order_amount =", value, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountNotEqualTo(BigDecimal value) { + addCriterion("low_order_amount <>", value, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountGreaterThan(BigDecimal value) { + addCriterion("low_order_amount >", value, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("low_order_amount >=", value, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountLessThan(BigDecimal value) { + addCriterion("low_order_amount <", value, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("low_order_amount <=", value, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountIn(List values) { + addCriterion("low_order_amount in", values, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountNotIn(List values) { + addCriterion("low_order_amount not in", values, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("low_order_amount between", value1, value2, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andLowOrderAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("low_order_amount not between", value1, value2, "lowOrderAmount"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderIsNull() { + addCriterion("max_point_per_order is null"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderIsNotNull() { + addCriterion("max_point_per_order is not null"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderEqualTo(Integer value) { + addCriterion("max_point_per_order =", value, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderNotEqualTo(Integer value) { + addCriterion("max_point_per_order <>", value, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderGreaterThan(Integer value) { + addCriterion("max_point_per_order >", value, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderGreaterThanOrEqualTo(Integer value) { + addCriterion("max_point_per_order >=", value, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderLessThan(Integer value) { + addCriterion("max_point_per_order <", value, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderLessThanOrEqualTo(Integer value) { + addCriterion("max_point_per_order <=", value, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderIn(List values) { + addCriterion("max_point_per_order in", values, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderNotIn(List values) { + addCriterion("max_point_per_order not in", values, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderBetween(Integer value1, Integer value2) { + addCriterion("max_point_per_order between", value1, value2, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andMaxPointPerOrderNotBetween(Integer value1, Integer value2) { + addCriterion("max_point_per_order not between", value1, value2, "maxPointPerOrder"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfo.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfo.java new file mode 100644 index 0000000000..5e9ba1ba6f --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfo.java @@ -0,0 +1,196 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.util.Date; + +public class UmsMemberStatisticsInfo implements Serializable { + private Long id; + + private Long memberId; + + private BigDecimal consumeAmount; + + private Integer orderCount; + + private Integer couponCount; + + private Integer commentCount; + + private Integer returnOrderCount; + + private Integer loginCount; + + private Integer attendCount; + + private Integer fansCount; + + private Integer collectProductCount; + + private Integer collectSubjectCount; + + private Integer collectTopicCount; + + private Integer collectCommentCount; + + private Integer inviteFriendCount; + + private Date recentOrderTime; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getMemberId() { + return memberId; + } + + public void setMemberId(Long memberId) { + this.memberId = memberId; + } + + public BigDecimal getConsumeAmount() { + return consumeAmount; + } + + public void setConsumeAmount(BigDecimal consumeAmount) { + this.consumeAmount = consumeAmount; + } + + public Integer getOrderCount() { + return orderCount; + } + + public void setOrderCount(Integer orderCount) { + this.orderCount = orderCount; + } + + public Integer getCouponCount() { + return couponCount; + } + + public void setCouponCount(Integer couponCount) { + this.couponCount = couponCount; + } + + public Integer getCommentCount() { + return commentCount; + } + + public void setCommentCount(Integer commentCount) { + this.commentCount = commentCount; + } + + public Integer getReturnOrderCount() { + return returnOrderCount; + } + + public void setReturnOrderCount(Integer returnOrderCount) { + this.returnOrderCount = returnOrderCount; + } + + public Integer getLoginCount() { + return loginCount; + } + + public void setLoginCount(Integer loginCount) { + this.loginCount = loginCount; + } + + public Integer getAttendCount() { + return attendCount; + } + + public void setAttendCount(Integer attendCount) { + this.attendCount = attendCount; + } + + public Integer getFansCount() { + return fansCount; + } + + public void setFansCount(Integer fansCount) { + this.fansCount = fansCount; + } + + public Integer getCollectProductCount() { + return collectProductCount; + } + + public void setCollectProductCount(Integer collectProductCount) { + this.collectProductCount = collectProductCount; + } + + public Integer getCollectSubjectCount() { + return collectSubjectCount; + } + + public void setCollectSubjectCount(Integer collectSubjectCount) { + this.collectSubjectCount = collectSubjectCount; + } + + public Integer getCollectTopicCount() { + return collectTopicCount; + } + + public void setCollectTopicCount(Integer collectTopicCount) { + this.collectTopicCount = collectTopicCount; + } + + public Integer getCollectCommentCount() { + return collectCommentCount; + } + + public void setCollectCommentCount(Integer collectCommentCount) { + this.collectCommentCount = collectCommentCount; + } + + public Integer getInviteFriendCount() { + return inviteFriendCount; + } + + public void setInviteFriendCount(Integer inviteFriendCount) { + this.inviteFriendCount = inviteFriendCount; + } + + public Date getRecentOrderTime() { + return recentOrderTime; + } + + public void setRecentOrderTime(Date recentOrderTime) { + this.recentOrderTime = recentOrderTime; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", memberId=").append(memberId); + sb.append(", consumeAmount=").append(consumeAmount); + sb.append(", orderCount=").append(orderCount); + sb.append(", couponCount=").append(couponCount); + sb.append(", commentCount=").append(commentCount); + sb.append(", returnOrderCount=").append(returnOrderCount); + sb.append(", loginCount=").append(loginCount); + sb.append(", attendCount=").append(attendCount); + sb.append(", fansCount=").append(fansCount); + sb.append(", collectProductCount=").append(collectProductCount); + sb.append(", collectSubjectCount=").append(collectSubjectCount); + sb.append(", collectTopicCount=").append(collectTopicCount); + sb.append(", collectCommentCount=").append(collectCommentCount); + sb.append(", inviteFriendCount=").append(inviteFriendCount); + sb.append(", recentOrderTime=").append(recentOrderTime); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfoExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfoExample.java new file mode 100644 index 0000000000..d1ab932b2c --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberStatisticsInfoExample.java @@ -0,0 +1,1162 @@ +package com.macro.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class UmsMemberStatisticsInfoExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberStatisticsInfoExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNull() { + addCriterion("member_id is null"); + return (Criteria) this; + } + + public Criteria andMemberIdIsNotNull() { + addCriterion("member_id is not null"); + return (Criteria) this; + } + + public Criteria andMemberIdEqualTo(Long value) { + addCriterion("member_id =", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotEqualTo(Long value) { + addCriterion("member_id <>", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThan(Long value) { + addCriterion("member_id >", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdGreaterThanOrEqualTo(Long value) { + addCriterion("member_id >=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThan(Long value) { + addCriterion("member_id <", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdLessThanOrEqualTo(Long value) { + addCriterion("member_id <=", value, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdIn(List values) { + addCriterion("member_id in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotIn(List values) { + addCriterion("member_id not in", values, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdBetween(Long value1, Long value2) { + addCriterion("member_id between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andMemberIdNotBetween(Long value1, Long value2) { + addCriterion("member_id not between", value1, value2, "memberId"); + return (Criteria) this; + } + + public Criteria andConsumeAmountIsNull() { + addCriterion("consume_amount is null"); + return (Criteria) this; + } + + public Criteria andConsumeAmountIsNotNull() { + addCriterion("consume_amount is not null"); + return (Criteria) this; + } + + public Criteria andConsumeAmountEqualTo(BigDecimal value) { + addCriterion("consume_amount =", value, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountNotEqualTo(BigDecimal value) { + addCriterion("consume_amount <>", value, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountGreaterThan(BigDecimal value) { + addCriterion("consume_amount >", value, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("consume_amount >=", value, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountLessThan(BigDecimal value) { + addCriterion("consume_amount <", value, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("consume_amount <=", value, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountIn(List values) { + addCriterion("consume_amount in", values, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountNotIn(List values) { + addCriterion("consume_amount not in", values, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("consume_amount between", value1, value2, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andConsumeAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("consume_amount not between", value1, value2, "consumeAmount"); + return (Criteria) this; + } + + public Criteria andOrderCountIsNull() { + addCriterion("order_count is null"); + return (Criteria) this; + } + + public Criteria andOrderCountIsNotNull() { + addCriterion("order_count is not null"); + return (Criteria) this; + } + + public Criteria andOrderCountEqualTo(Integer value) { + addCriterion("order_count =", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountNotEqualTo(Integer value) { + addCriterion("order_count <>", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountGreaterThan(Integer value) { + addCriterion("order_count >", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountGreaterThanOrEqualTo(Integer value) { + addCriterion("order_count >=", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountLessThan(Integer value) { + addCriterion("order_count <", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountLessThanOrEqualTo(Integer value) { + addCriterion("order_count <=", value, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountIn(List values) { + addCriterion("order_count in", values, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountNotIn(List values) { + addCriterion("order_count not in", values, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountBetween(Integer value1, Integer value2) { + addCriterion("order_count between", value1, value2, "orderCount"); + return (Criteria) this; + } + + public Criteria andOrderCountNotBetween(Integer value1, Integer value2) { + addCriterion("order_count not between", value1, value2, "orderCount"); + return (Criteria) this; + } + + public Criteria andCouponCountIsNull() { + addCriterion("coupon_count is null"); + return (Criteria) this; + } + + public Criteria andCouponCountIsNotNull() { + addCriterion("coupon_count is not null"); + return (Criteria) this; + } + + public Criteria andCouponCountEqualTo(Integer value) { + addCriterion("coupon_count =", value, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountNotEqualTo(Integer value) { + addCriterion("coupon_count <>", value, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountGreaterThan(Integer value) { + addCriterion("coupon_count >", value, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountGreaterThanOrEqualTo(Integer value) { + addCriterion("coupon_count >=", value, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountLessThan(Integer value) { + addCriterion("coupon_count <", value, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountLessThanOrEqualTo(Integer value) { + addCriterion("coupon_count <=", value, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountIn(List values) { + addCriterion("coupon_count in", values, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountNotIn(List values) { + addCriterion("coupon_count not in", values, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountBetween(Integer value1, Integer value2) { + addCriterion("coupon_count between", value1, value2, "couponCount"); + return (Criteria) this; + } + + public Criteria andCouponCountNotBetween(Integer value1, Integer value2) { + addCriterion("coupon_count not between", value1, value2, "couponCount"); + return (Criteria) this; + } + + public Criteria andCommentCountIsNull() { + addCriterion("comment_count is null"); + return (Criteria) this; + } + + public Criteria andCommentCountIsNotNull() { + addCriterion("comment_count is not null"); + return (Criteria) this; + } + + public Criteria andCommentCountEqualTo(Integer value) { + addCriterion("comment_count =", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountNotEqualTo(Integer value) { + addCriterion("comment_count <>", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountGreaterThan(Integer value) { + addCriterion("comment_count >", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountGreaterThanOrEqualTo(Integer value) { + addCriterion("comment_count >=", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountLessThan(Integer value) { + addCriterion("comment_count <", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountLessThanOrEqualTo(Integer value) { + addCriterion("comment_count <=", value, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountIn(List values) { + addCriterion("comment_count in", values, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountNotIn(List values) { + addCriterion("comment_count not in", values, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountBetween(Integer value1, Integer value2) { + addCriterion("comment_count between", value1, value2, "commentCount"); + return (Criteria) this; + } + + public Criteria andCommentCountNotBetween(Integer value1, Integer value2) { + addCriterion("comment_count not between", value1, value2, "commentCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountIsNull() { + addCriterion("return_order_count is null"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountIsNotNull() { + addCriterion("return_order_count is not null"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountEqualTo(Integer value) { + addCriterion("return_order_count =", value, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountNotEqualTo(Integer value) { + addCriterion("return_order_count <>", value, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountGreaterThan(Integer value) { + addCriterion("return_order_count >", value, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountGreaterThanOrEqualTo(Integer value) { + addCriterion("return_order_count >=", value, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountLessThan(Integer value) { + addCriterion("return_order_count <", value, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountLessThanOrEqualTo(Integer value) { + addCriterion("return_order_count <=", value, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountIn(List values) { + addCriterion("return_order_count in", values, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountNotIn(List values) { + addCriterion("return_order_count not in", values, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountBetween(Integer value1, Integer value2) { + addCriterion("return_order_count between", value1, value2, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andReturnOrderCountNotBetween(Integer value1, Integer value2) { + addCriterion("return_order_count not between", value1, value2, "returnOrderCount"); + return (Criteria) this; + } + + public Criteria andLoginCountIsNull() { + addCriterion("login_count is null"); + return (Criteria) this; + } + + public Criteria andLoginCountIsNotNull() { + addCriterion("login_count is not null"); + return (Criteria) this; + } + + public Criteria andLoginCountEqualTo(Integer value) { + addCriterion("login_count =", value, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountNotEqualTo(Integer value) { + addCriterion("login_count <>", value, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountGreaterThan(Integer value) { + addCriterion("login_count >", value, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountGreaterThanOrEqualTo(Integer value) { + addCriterion("login_count >=", value, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountLessThan(Integer value) { + addCriterion("login_count <", value, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountLessThanOrEqualTo(Integer value) { + addCriterion("login_count <=", value, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountIn(List values) { + addCriterion("login_count in", values, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountNotIn(List values) { + addCriterion("login_count not in", values, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountBetween(Integer value1, Integer value2) { + addCriterion("login_count between", value1, value2, "loginCount"); + return (Criteria) this; + } + + public Criteria andLoginCountNotBetween(Integer value1, Integer value2) { + addCriterion("login_count not between", value1, value2, "loginCount"); + return (Criteria) this; + } + + public Criteria andAttendCountIsNull() { + addCriterion("attend_count is null"); + return (Criteria) this; + } + + public Criteria andAttendCountIsNotNull() { + addCriterion("attend_count is not null"); + return (Criteria) this; + } + + public Criteria andAttendCountEqualTo(Integer value) { + addCriterion("attend_count =", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountNotEqualTo(Integer value) { + addCriterion("attend_count <>", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountGreaterThan(Integer value) { + addCriterion("attend_count >", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountGreaterThanOrEqualTo(Integer value) { + addCriterion("attend_count >=", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountLessThan(Integer value) { + addCriterion("attend_count <", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountLessThanOrEqualTo(Integer value) { + addCriterion("attend_count <=", value, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountIn(List values) { + addCriterion("attend_count in", values, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountNotIn(List values) { + addCriterion("attend_count not in", values, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountBetween(Integer value1, Integer value2) { + addCriterion("attend_count between", value1, value2, "attendCount"); + return (Criteria) this; + } + + public Criteria andAttendCountNotBetween(Integer value1, Integer value2) { + addCriterion("attend_count not between", value1, value2, "attendCount"); + return (Criteria) this; + } + + public Criteria andFansCountIsNull() { + addCriterion("fans_count is null"); + return (Criteria) this; + } + + public Criteria andFansCountIsNotNull() { + addCriterion("fans_count is not null"); + return (Criteria) this; + } + + public Criteria andFansCountEqualTo(Integer value) { + addCriterion("fans_count =", value, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountNotEqualTo(Integer value) { + addCriterion("fans_count <>", value, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountGreaterThan(Integer value) { + addCriterion("fans_count >", value, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountGreaterThanOrEqualTo(Integer value) { + addCriterion("fans_count >=", value, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountLessThan(Integer value) { + addCriterion("fans_count <", value, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountLessThanOrEqualTo(Integer value) { + addCriterion("fans_count <=", value, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountIn(List values) { + addCriterion("fans_count in", values, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountNotIn(List values) { + addCriterion("fans_count not in", values, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountBetween(Integer value1, Integer value2) { + addCriterion("fans_count between", value1, value2, "fansCount"); + return (Criteria) this; + } + + public Criteria andFansCountNotBetween(Integer value1, Integer value2) { + addCriterion("fans_count not between", value1, value2, "fansCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountIsNull() { + addCriterion("collect_product_count is null"); + return (Criteria) this; + } + + public Criteria andCollectProductCountIsNotNull() { + addCriterion("collect_product_count is not null"); + return (Criteria) this; + } + + public Criteria andCollectProductCountEqualTo(Integer value) { + addCriterion("collect_product_count =", value, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountNotEqualTo(Integer value) { + addCriterion("collect_product_count <>", value, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountGreaterThan(Integer value) { + addCriterion("collect_product_count >", value, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountGreaterThanOrEqualTo(Integer value) { + addCriterion("collect_product_count >=", value, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountLessThan(Integer value) { + addCriterion("collect_product_count <", value, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountLessThanOrEqualTo(Integer value) { + addCriterion("collect_product_count <=", value, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountIn(List values) { + addCriterion("collect_product_count in", values, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountNotIn(List values) { + addCriterion("collect_product_count not in", values, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountBetween(Integer value1, Integer value2) { + addCriterion("collect_product_count between", value1, value2, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectProductCountNotBetween(Integer value1, Integer value2) { + addCriterion("collect_product_count not between", value1, value2, "collectProductCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountIsNull() { + addCriterion("collect_subject_count is null"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountIsNotNull() { + addCriterion("collect_subject_count is not null"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountEqualTo(Integer value) { + addCriterion("collect_subject_count =", value, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountNotEqualTo(Integer value) { + addCriterion("collect_subject_count <>", value, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountGreaterThan(Integer value) { + addCriterion("collect_subject_count >", value, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountGreaterThanOrEqualTo(Integer value) { + addCriterion("collect_subject_count >=", value, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountLessThan(Integer value) { + addCriterion("collect_subject_count <", value, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountLessThanOrEqualTo(Integer value) { + addCriterion("collect_subject_count <=", value, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountIn(List values) { + addCriterion("collect_subject_count in", values, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountNotIn(List values) { + addCriterion("collect_subject_count not in", values, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountBetween(Integer value1, Integer value2) { + addCriterion("collect_subject_count between", value1, value2, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectSubjectCountNotBetween(Integer value1, Integer value2) { + addCriterion("collect_subject_count not between", value1, value2, "collectSubjectCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountIsNull() { + addCriterion("collect_topic_count is null"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountIsNotNull() { + addCriterion("collect_topic_count is not null"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountEqualTo(Integer value) { + addCriterion("collect_topic_count =", value, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountNotEqualTo(Integer value) { + addCriterion("collect_topic_count <>", value, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountGreaterThan(Integer value) { + addCriterion("collect_topic_count >", value, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountGreaterThanOrEqualTo(Integer value) { + addCriterion("collect_topic_count >=", value, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountLessThan(Integer value) { + addCriterion("collect_topic_count <", value, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountLessThanOrEqualTo(Integer value) { + addCriterion("collect_topic_count <=", value, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountIn(List values) { + addCriterion("collect_topic_count in", values, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountNotIn(List values) { + addCriterion("collect_topic_count not in", values, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountBetween(Integer value1, Integer value2) { + addCriterion("collect_topic_count between", value1, value2, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectTopicCountNotBetween(Integer value1, Integer value2) { + addCriterion("collect_topic_count not between", value1, value2, "collectTopicCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountIsNull() { + addCriterion("collect_comment_count is null"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountIsNotNull() { + addCriterion("collect_comment_count is not null"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountEqualTo(Integer value) { + addCriterion("collect_comment_count =", value, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountNotEqualTo(Integer value) { + addCriterion("collect_comment_count <>", value, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountGreaterThan(Integer value) { + addCriterion("collect_comment_count >", value, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountGreaterThanOrEqualTo(Integer value) { + addCriterion("collect_comment_count >=", value, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountLessThan(Integer value) { + addCriterion("collect_comment_count <", value, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountLessThanOrEqualTo(Integer value) { + addCriterion("collect_comment_count <=", value, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountIn(List values) { + addCriterion("collect_comment_count in", values, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountNotIn(List values) { + addCriterion("collect_comment_count not in", values, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountBetween(Integer value1, Integer value2) { + addCriterion("collect_comment_count between", value1, value2, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andCollectCommentCountNotBetween(Integer value1, Integer value2) { + addCriterion("collect_comment_count not between", value1, value2, "collectCommentCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountIsNull() { + addCriterion("invite_friend_count is null"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountIsNotNull() { + addCriterion("invite_friend_count is not null"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountEqualTo(Integer value) { + addCriterion("invite_friend_count =", value, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountNotEqualTo(Integer value) { + addCriterion("invite_friend_count <>", value, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountGreaterThan(Integer value) { + addCriterion("invite_friend_count >", value, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountGreaterThanOrEqualTo(Integer value) { + addCriterion("invite_friend_count >=", value, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountLessThan(Integer value) { + addCriterion("invite_friend_count <", value, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountLessThanOrEqualTo(Integer value) { + addCriterion("invite_friend_count <=", value, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountIn(List values) { + addCriterion("invite_friend_count in", values, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountNotIn(List values) { + addCriterion("invite_friend_count not in", values, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountBetween(Integer value1, Integer value2) { + addCriterion("invite_friend_count between", value1, value2, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andInviteFriendCountNotBetween(Integer value1, Integer value2) { + addCriterion("invite_friend_count not between", value1, value2, "inviteFriendCount"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeIsNull() { + addCriterion("recent_order_time is null"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeIsNotNull() { + addCriterion("recent_order_time is not null"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeEqualTo(Date value) { + addCriterion("recent_order_time =", value, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeNotEqualTo(Date value) { + addCriterion("recent_order_time <>", value, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeGreaterThan(Date value) { + addCriterion("recent_order_time >", value, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeGreaterThanOrEqualTo(Date value) { + addCriterion("recent_order_time >=", value, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeLessThan(Date value) { + addCriterion("recent_order_time <", value, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeLessThanOrEqualTo(Date value) { + addCriterion("recent_order_time <=", value, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeIn(List values) { + addCriterion("recent_order_time in", values, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeNotIn(List values) { + addCriterion("recent_order_time not in", values, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeBetween(Date value1, Date value2) { + addCriterion("recent_order_time between", value1, value2, "recentOrderTime"); + return (Criteria) this; + } + + public Criteria andRecentOrderTimeNotBetween(Date value1, Date value2) { + addCriterion("recent_order_time not between", value1, value2, "recentOrderTime"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTag.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTag.java new file mode 100644 index 0000000000..23b8f77329 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTag.java @@ -0,0 +1,63 @@ +package com.macro.mall.model; + +import java.io.Serializable; +import java.math.BigDecimal; + +public class UmsMemberTag implements Serializable { + private Long id; + + private String name; + + private Integer finishOrderCount; + + private BigDecimal finishOrderAmount; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getFinishOrderCount() { + return finishOrderCount; + } + + public void setFinishOrderCount(Integer finishOrderCount) { + this.finishOrderCount = finishOrderCount; + } + + public BigDecimal getFinishOrderAmount() { + return finishOrderAmount; + } + + public void setFinishOrderAmount(BigDecimal finishOrderAmount) { + this.finishOrderAmount = finishOrderAmount; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", finishOrderCount=").append(finishOrderCount); + sb.append(", finishOrderAmount=").append(finishOrderAmount); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTagExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTagExample.java new file mode 100644 index 0000000000..de717cd321 --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTagExample.java @@ -0,0 +1,451 @@ +package com.macro.mall.model; + +import java.math.BigDecimal; +import java.util.ArrayList; +import java.util.List; + +public class UmsMemberTagExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberTagExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountIsNull() { + addCriterion("finish_order_count is null"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountIsNotNull() { + addCriterion("finish_order_count is not null"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountEqualTo(Integer value) { + addCriterion("finish_order_count =", value, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountNotEqualTo(Integer value) { + addCriterion("finish_order_count <>", value, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountGreaterThan(Integer value) { + addCriterion("finish_order_count >", value, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountGreaterThanOrEqualTo(Integer value) { + addCriterion("finish_order_count >=", value, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountLessThan(Integer value) { + addCriterion("finish_order_count <", value, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountLessThanOrEqualTo(Integer value) { + addCriterion("finish_order_count <=", value, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountIn(List values) { + addCriterion("finish_order_count in", values, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountNotIn(List values) { + addCriterion("finish_order_count not in", values, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountBetween(Integer value1, Integer value2) { + addCriterion("finish_order_count between", value1, value2, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderCountNotBetween(Integer value1, Integer value2) { + addCriterion("finish_order_count not between", value1, value2, "finishOrderCount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountIsNull() { + addCriterion("finish_order_amount is null"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountIsNotNull() { + addCriterion("finish_order_amount is not null"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountEqualTo(BigDecimal value) { + addCriterion("finish_order_amount =", value, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountNotEqualTo(BigDecimal value) { + addCriterion("finish_order_amount <>", value, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountGreaterThan(BigDecimal value) { + addCriterion("finish_order_amount >", value, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("finish_order_amount >=", value, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountLessThan(BigDecimal value) { + addCriterion("finish_order_amount <", value, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountLessThanOrEqualTo(BigDecimal value) { + addCriterion("finish_order_amount <=", value, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountIn(List values) { + addCriterion("finish_order_amount in", values, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountNotIn(List values) { + addCriterion("finish_order_amount not in", values, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("finish_order_amount between", value1, value2, "finishOrderAmount"); + return (Criteria) this; + } + + public Criteria andFinishOrderAmountNotBetween(BigDecimal value1, BigDecimal value2) { + addCriterion("finish_order_amount not between", value1, value2, "finishOrderAmount"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTask.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTask.java new file mode 100644 index 0000000000..8919493e5a --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTask.java @@ -0,0 +1,73 @@ +package com.macro.mall.model; + +import java.io.Serializable; + +public class UmsMemberTask implements Serializable { + private Long id; + + private String name; + + private Integer growth; + + private Integer intergration; + + private Integer type; + + private static final long serialVersionUID = 1L; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public Integer getGrowth() { + return growth; + } + + public void setGrowth(Integer growth) { + this.growth = growth; + } + + public Integer getIntergration() { + return intergration; + } + + public void setIntergration(Integer intergration) { + this.intergration = intergration; + } + + public Integer getType() { + return type; + } + + public void setType(Integer type) { + this.type = type; + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append(getClass().getSimpleName()); + sb.append(" ["); + sb.append("Hash = ").append(hashCode()); + sb.append(", id=").append(id); + sb.append(", name=").append(name); + sb.append(", growth=").append(growth); + sb.append(", intergration=").append(intergration); + sb.append(", type=").append(type); + sb.append(", serialVersionUID=").append(serialVersionUID); + sb.append("]"); + return sb.toString(); + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTaskExample.java b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTaskExample.java new file mode 100644 index 0000000000..581d2add6a --- /dev/null +++ b/mall-mbg/src/main/java/com/macro/mall/model/UmsMemberTaskExample.java @@ -0,0 +1,510 @@ +package com.macro.mall.model; + +import java.util.ArrayList; +import java.util.List; + +public class UmsMemberTaskExample { + protected String orderByClause; + + protected boolean distinct; + + protected List oredCriteria; + + public UmsMemberTaskExample() { + oredCriteria = new ArrayList(); + } + + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + public String getOrderByClause() { + return orderByClause; + } + + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + public boolean isDistinct() { + return distinct; + } + + public List getOredCriteria() { + return oredCriteria; + } + + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andGrowthIsNull() { + addCriterion("growth is null"); + return (Criteria) this; + } + + public Criteria andGrowthIsNotNull() { + addCriterion("growth is not null"); + return (Criteria) this; + } + + public Criteria andGrowthEqualTo(Integer value) { + addCriterion("growth =", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotEqualTo(Integer value) { + addCriterion("growth <>", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthGreaterThan(Integer value) { + addCriterion("growth >", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthGreaterThanOrEqualTo(Integer value) { + addCriterion("growth >=", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthLessThan(Integer value) { + addCriterion("growth <", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthLessThanOrEqualTo(Integer value) { + addCriterion("growth <=", value, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthIn(List values) { + addCriterion("growth in", values, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotIn(List values) { + addCriterion("growth not in", values, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthBetween(Integer value1, Integer value2) { + addCriterion("growth between", value1, value2, "growth"); + return (Criteria) this; + } + + public Criteria andGrowthNotBetween(Integer value1, Integer value2) { + addCriterion("growth not between", value1, value2, "growth"); + return (Criteria) this; + } + + public Criteria andIntergrationIsNull() { + addCriterion("intergration is null"); + return (Criteria) this; + } + + public Criteria andIntergrationIsNotNull() { + addCriterion("intergration is not null"); + return (Criteria) this; + } + + public Criteria andIntergrationEqualTo(Integer value) { + addCriterion("intergration =", value, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationNotEqualTo(Integer value) { + addCriterion("intergration <>", value, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationGreaterThan(Integer value) { + addCriterion("intergration >", value, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationGreaterThanOrEqualTo(Integer value) { + addCriterion("intergration >=", value, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationLessThan(Integer value) { + addCriterion("intergration <", value, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationLessThanOrEqualTo(Integer value) { + addCriterion("intergration <=", value, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationIn(List values) { + addCriterion("intergration in", values, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationNotIn(List values) { + addCriterion("intergration not in", values, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationBetween(Integer value1, Integer value2) { + addCriterion("intergration between", value1, value2, "intergration"); + return (Criteria) this; + } + + public Criteria andIntergrationNotBetween(Integer value1, Integer value2) { + addCriterion("intergration not between", value1, value2, "intergration"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + } + + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml new file mode 100644 index 0000000000..516b1f3042 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpCategoryMapper.xml @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, name, icon, + help_count, show_status, sort + ) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, + #{helpCount,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_help_category + + id, + + name, + + + icon, + + + help_count, + + + show_status, + + + sort, + + + + #{id,jdbcType=BIGINT}, + + #{name,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{helpCount,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update cms_help_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + help_count = #{record.helpCount,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update cms_help_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + help_count = #{record.helpCount,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update cms_help_category + + + name = #{name,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + help_count = #{helpCount,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_help_category + set name = #{name,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + help_count = #{helpCount,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml new file mode 100644 index 0000000000..190e9aa990 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsHelpMapper.xml @@ -0,0 +1,306 @@ + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, category_id, icon, + title, show_status, create_time, + read_count, content) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + category_id, + + + icon, + + + title, + + + show_status, + + + create_time, + + + read_count, + + + content, + + + + #{id,jdbcType=BIGINT}, + + #{categoryId,jdbcType=BIGINT}, + + + #{icon,jdbcType=VARCHAR}, + + + #{title,jdbcType=VARCHAR}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{readCount,jdbcType=INTEGER}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update cms_help + + + id = #{record.id,jdbcType=BIGINT}, + + + category_id = #{record.categoryId,jdbcType=BIGINT}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + title = #{record.title,jdbcType=VARCHAR}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update cms_help + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + icon = #{record.icon,jdbcType=VARCHAR}, + title = #{record.title,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + read_count = #{record.readCount,jdbcType=INTEGER}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update cms_help + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + icon = #{record.icon,jdbcType=VARCHAR}, + title = #{record.title,jdbcType=VARCHAR}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + read_count = #{record.readCount,jdbcType=INTEGER} + + + + + + update cms_help + + + category_id = #{categoryId,jdbcType=BIGINT}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + title = #{title,jdbcType=VARCHAR}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_help + set category_id = #{categoryId,jdbcType=BIGINT}, + icon = #{icon,jdbcType=VARCHAR}, + title = #{title,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + read_count = #{readCount,jdbcType=INTEGER}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update cms_help + set category_id = #{categoryId,jdbcType=BIGINT}, + icon = #{icon,jdbcType=VARCHAR}, + title = #{title,jdbcType=VARCHAR}, + show_status = #{showStatus,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + read_count = #{readCount,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml new file mode 100644 index 0000000000..30b0f91353 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsMemberReportMapper.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, report_type, report_member_name, + create_time, report_object, report_status, + handle_status, note) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + report_type, + + + report_member_name, + + + create_time, + + + report_object, + + + report_status, + + + handle_status, + + + note, + + + + #{id,jdbcType=BIGINT}, + + #{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} + + + + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml new file mode 100644 index 0000000000..5162205923 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaMapper.xml @@ -0,0 +1,272 @@ + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, name, sub_title, + sort, show_status, pic + ) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{subTitle,jdbcType=VARCHAR}, + #{sort,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{pic,jdbcType=VARBINARY} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area + + id, + + name, + + + sub_title, + + + sort, + + + show_status, + + + pic, + + + + #{id,jdbcType=BIGINT}, + + #{name,jdbcType=VARCHAR}, + + + #{subTitle,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{pic,jdbcType=VARBINARY}, + + + + + + update cms_prefrence_area + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + pic = #{record.pic,jdbcType=VARBINARY}, + + + + + + + + update cms_prefrence_area + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + pic = #{record.pic,jdbcType=VARBINARY} + + + + + + update cms_prefrence_area + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + sub_title = #{record.subTitle,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER} + + + + + + update cms_prefrence_area + + + name = #{name,jdbcType=VARCHAR}, + + + sub_title = #{subTitle,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + pic = #{pic,jdbcType=VARBINARY}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_prefrence_area + set name = #{name,jdbcType=VARCHAR}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + pic = #{pic,jdbcType=VARBINARY} + where id = #{id,jdbcType=BIGINT} + + + update cms_prefrence_area + set name = #{name,jdbcType=VARCHAR}, + sub_title = #{subTitle,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml new file mode 100644 index 0000000000..5185c5db77 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsPrefrenceAreaProductRelationMapper.xml @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, prefrence_area_id, product_id + ) + values (#{id,jdbcType=BIGINT}, #{prefrenceAreaId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_prefrence_area_product_relation + + id, + + prefrence_area_id, + + + product_id, + + + + #{id,jdbcType=BIGINT}, + + #{prefrenceAreaId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + + + + update cms_prefrence_area_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + + + + + + update cms_prefrence_area_product_relation + set id = #{record.id,jdbcType=BIGINT}, + prefrence_area_id = #{record.prefrenceAreaId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT} + + + + + + update cms_prefrence_area_product_relation + + + prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_prefrence_area_product_relation + set prefrence_area_id = #{prefrenceAreaId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml new file mode 100644 index 0000000000..35330c406e --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCategoryMapper.xml @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, name, icon, + subject_count, show_status, sort + ) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, + #{subjectCount,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_category + + id, + + name, + + + icon, + + + subject_count, + + + show_status, + + + sort, + + + + #{id,jdbcType=BIGINT}, + + #{name,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{subjectCount,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update cms_subject_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update cms_subject_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update cms_subject_category + + + name = #{name,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + subject_count = #{subjectCount,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject_category + set name = #{name,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + subject_count = #{subjectCount,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml new file mode 100644 index 0000000000..a027049f74 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectCommentMapper.xml @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, subject_id, member_nick_name, + member_icon, content, create_time, + show_status) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + subject_id, + + + member_nick_name, + + + member_icon, + + + content, + + + create_time, + + + show_status, + + + + #{id,jdbcType=BIGINT}, + + #{subjectId,jdbcType=BIGINT}, + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{content,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{showStatus,jdbcType=INTEGER}, + + + + + + update cms_subject_comment + + + id = #{record.id,jdbcType=BIGINT}, + + + subject_id = #{record.subjectId,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + + + + + + update cms_subject_comment + set id = #{record.id,jdbcType=BIGINT}, + subject_id = #{record.subjectId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER} + + + + + + update cms_subject_comment + + + subject_id = #{subjectId,jdbcType=BIGINT}, + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject_comment + set subject_id = #{subjectId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + content = #{content,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml new file mode 100644 index 0000000000..caae553aca --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectMapper.xml @@ -0,0 +1,432 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 + + + content + + + + + + delete from cms_subject + where id = #{id,jdbcType=BIGINT} + + + delete from cms_subject + + + + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject (id, category_id, title, + pic, product_count, recommend_status, + create_time, collect_count, read_count, + comment_count, album_pics, description, + show_status, forward_count, content + ) + values (#{id,jdbcType=BIGINT}, #{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}, #{content,jdbcType=LONGVARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject + + id, + + category_id, + + + title, + + + pic, + + + product_count, + + + recommend_status, + + + create_time, + + + collect_count, + + + read_count, + + + comment_count, + + + album_pics, + + + description, + + + show_status, + + + forward_count, + + + content, + + + + #{id,jdbcType=BIGINT}, + + #{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}, + + + #{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}, + + + 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}, + 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} + + + + + + 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}, + + + 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}, + 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} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml new file mode 100644 index 0000000000..c9b23ee35e --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsSubjectProductRelationMapper.xml @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, subject_id, product_id + ) + values (#{id,jdbcType=BIGINT}, #{subjectId,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_subject_product_relation + + id, + + subject_id, + + + product_id, + + + + #{id,jdbcType=BIGINT}, + + #{subjectId,jdbcType=BIGINT}, + + + #{productId,jdbcType=BIGINT}, + + + + + + update cms_subject_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + subject_id = #{record.subjectId,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + + + + + + update cms_subject_product_relation + set id = #{record.id,jdbcType=BIGINT}, + subject_id = #{record.subjectId,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT} + + + + + + update cms_subject_product_relation + + + subject_id = #{subjectId,jdbcType=BIGINT}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_subject_product_relation + set subject_id = #{subjectId,jdbcType=BIGINT}, + product_id = #{productId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml new file mode 100644 index 0000000000..aec075d5aa --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCategoryMapper.xml @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, name, icon, + subject_count, show_status, sort + ) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, + #{subjectCount,jdbcType=INTEGER}, #{showStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into cms_topic_category + + id, + + name, + + + icon, + + + subject_count, + + + show_status, + + + sort, + + + + #{id,jdbcType=BIGINT}, + + #{name,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{subjectCount,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update cms_topic_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update cms_topic_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + icon = #{record.icon,jdbcType=VARCHAR}, + subject_count = #{record.subjectCount,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update cms_topic_category + + + name = #{name,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + subject_count = #{subjectCount,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_topic_category + set name = #{name,jdbcType=VARCHAR}, + icon = #{icon,jdbcType=VARCHAR}, + subject_count = #{subjectCount,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml new file mode 100644 index 0000000000..65cf04efac --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicCommentMapper.xml @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, member_nick_name, topic_id, + member_icon, content, create_time, + show_status) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + member_nick_name, + + + topic_id, + + + member_icon, + + + content, + + + create_time, + + + show_status, + + + + #{id,jdbcType=BIGINT}, + + #{memberNickName,jdbcType=VARCHAR}, + + + #{topicId,jdbcType=BIGINT}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{content,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{showStatus,jdbcType=INTEGER}, + + + + + + update cms_topic_comment + + + id = #{record.id,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + topic_id = #{record.topicId,jdbcType=BIGINT}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + + + + + + update cms_topic_comment + set id = #{record.id,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + topic_id = #{record.topicId,jdbcType=BIGINT}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER} + + + + + + update cms_topic_comment + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + topic_id = #{topicId,jdbcType=BIGINT}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_topic_comment + set member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + topic_id = #{topicId,jdbcType=BIGINT}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + content = #{content,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml new file mode 100644 index 0000000000..01d790c4a6 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/CmsTopicMapper.xml @@ -0,0 +1,379 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, category_id, name, + create_time, start_time, end_time, + attend_count, attention_count, read_count, + award_name, attend_type, content + ) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + category_id, + + + name, + + + create_time, + + + start_time, + + + end_time, + + + attend_count, + + + attention_count, + + + read_count, + + + award_name, + + + attend_type, + + + content, + + + + #{id,jdbcType=BIGINT}, + + #{categoryId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{startTime,jdbcType=TIMESTAMP}, + + + #{endTime,jdbcType=TIMESTAMP}, + + + #{attendCount,jdbcType=INTEGER}, + + + #{attentionCount,jdbcType=INTEGER}, + + + #{readCount,jdbcType=INTEGER}, + + + #{awardName,jdbcType=VARCHAR}, + + + #{attendType,jdbcType=VARCHAR}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update cms_topic + + + id = #{record.id,jdbcType=BIGINT}, + + + category_id = #{record.categoryId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + + + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + + + attend_count = #{record.attendCount,jdbcType=INTEGER}, + + + attention_count = #{record.attentionCount,jdbcType=INTEGER}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + award_name = #{record.awardName,jdbcType=VARCHAR}, + + + attend_type = #{record.attendType,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update cms_topic + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + attend_count = #{record.attendCount,jdbcType=INTEGER}, + attention_count = #{record.attentionCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + award_name = #{record.awardName,jdbcType=VARCHAR}, + attend_type = #{record.attendType,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update cms_topic + set id = #{record.id,jdbcType=BIGINT}, + category_id = #{record.categoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + attend_count = #{record.attendCount,jdbcType=INTEGER}, + attention_count = #{record.attentionCount,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + award_name = #{record.awardName,jdbcType=VARCHAR}, + attend_type = #{record.attendType,jdbcType=VARCHAR} + + + + + + update cms_topic + + + category_id = #{categoryId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + start_time = #{startTime,jdbcType=TIMESTAMP}, + + + end_time = #{endTime,jdbcType=TIMESTAMP}, + + + attend_count = #{attendCount,jdbcType=INTEGER}, + + + attention_count = #{attentionCount,jdbcType=INTEGER}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + award_name = #{awardName,jdbcType=VARCHAR}, + + + attend_type = #{attendType,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update cms_topic + set category_id = #{categoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + attend_count = #{attendCount,jdbcType=INTEGER}, + attention_count = #{attentionCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + award_name = #{awardName,jdbcType=VARCHAR}, + attend_type = #{attendType,jdbcType=VARCHAR}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update cms_topic + set category_id = #{categoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + attend_count = #{attendCount,jdbcType=INTEGER}, + attention_count = #{attentionCount,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + award_name = #{awardName,jdbcType=VARCHAR}, + attend_type = #{attendType,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml new file mode 100644 index 0000000000..c3ea1c57a2 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsCompanyAddressMapper.xml @@ -0,0 +1,277 @@ + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 + + + + + delete from oms_company_address + where id = #{id,jdbcType=BIGINT} + + + delete from oms_company_address + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_company_address (id, address_name, send_status, + receive_status, name, phone, + province, city, region + ) + values (#{id,jdbcType=BIGINT}, #{addressName,jdbcType=VARCHAR}, #{sendStatus,jdbcType=INTEGER}, + #{receiveStatus,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR}, + #{province,jdbcType=VARCHAR}, #{city,jdbcType=VARCHAR}, #{region,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into oms_company_address + + id, + + address_name, + + + send_status, + + + receive_status, + + + name, + + + phone, + + + province, + + + city, + + + region, + + + + #{id,jdbcType=BIGINT}, + + #{addressName,jdbcType=VARCHAR}, + + + #{sendStatus,jdbcType=INTEGER}, + + + #{receiveStatus,jdbcType=INTEGER}, + + + #{name,jdbcType=VARCHAR}, + + + #{phone,jdbcType=VARCHAR}, + + + #{province,jdbcType=VARCHAR}, + + + #{city,jdbcType=VARCHAR}, + + + #{region,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}, + + + + + + + + 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} + + + + + + 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}, + + + 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} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml new file mode 100644 index 0000000000..23dc506fd5 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderItemMapper.xml @@ -0,0 +1,355 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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, proudct_pic, product_name, product_brand, product_sn, + product_amount, product_count, product_real_amount, sp1, sp2, sp3 + + + + + delete from oms_order_item + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order_item + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_item (id, order_id, order_sn, + product_id, proudct_pic, product_name, + product_brand, product_sn, product_amount, + product_count, product_real_amount, sp1, + sp2, sp3) + values (#{id,jdbcType=BIGINT}, #{orderId,jdbcType=BIGINT}, #{orderSn,jdbcType=VARCHAR}, + #{productId,jdbcType=BIGINT}, #{proudctPic,jdbcType=VARCHAR}, #{productName,jdbcType=VARCHAR}, + #{productBrand,jdbcType=VARCHAR}, #{productSn,jdbcType=VARCHAR}, #{productAmount,jdbcType=DECIMAL}, + #{productCount,jdbcType=INTEGER}, #{productRealAmount,jdbcType=DECIMAL}, #{sp1,jdbcType=VARCHAR}, + #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_item + + id, + + order_id, + + + order_sn, + + + product_id, + + + proudct_pic, + + + product_name, + + + product_brand, + + + product_sn, + + + product_amount, + + + product_count, + + + product_real_amount, + + + sp1, + + + sp2, + + + sp3, + + + + #{id,jdbcType=BIGINT}, + + #{orderId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + #{productId,jdbcType=BIGINT}, + + + #{proudctPic,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{productBrand,jdbcType=VARCHAR}, + + + #{productSn,jdbcType=VARCHAR}, + + + #{productAmount,jdbcType=DECIMAL}, + + + #{productCount,jdbcType=INTEGER}, + + + #{productRealAmount,jdbcType=DECIMAL}, + + + #{sp1,jdbcType=VARCHAR}, + + + #{sp2,jdbcType=VARCHAR}, + + + #{sp3,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}, + + + proudct_pic = #{record.proudctPic,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + + + product_sn = #{record.productSn,jdbcType=VARCHAR}, + + + product_amount = #{record.productAmount,jdbcType=DECIMAL}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + product_real_amount = #{record.productRealAmount,jdbcType=DECIMAL}, + + + sp1 = #{record.sp1,jdbcType=VARCHAR}, + + + sp2 = #{record.sp2,jdbcType=VARCHAR}, + + + sp3 = #{record.sp3,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}, + proudct_pic = #{record.proudctPic,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + product_brand = #{record.productBrand,jdbcType=VARCHAR}, + product_sn = #{record.productSn,jdbcType=VARCHAR}, + product_amount = #{record.productAmount,jdbcType=DECIMAL}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_real_amount = #{record.productRealAmount,jdbcType=DECIMAL}, + sp1 = #{record.sp1,jdbcType=VARCHAR}, + sp2 = #{record.sp2,jdbcType=VARCHAR}, + sp3 = #{record.sp3,jdbcType=VARCHAR} + + + + + + update oms_order_item + + + order_id = #{orderId,jdbcType=BIGINT}, + + + order_sn = #{orderSn,jdbcType=VARCHAR}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + proudct_pic = #{proudctPic,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + product_brand = #{productBrand,jdbcType=VARCHAR}, + + + product_sn = #{productSn,jdbcType=VARCHAR}, + + + product_amount = #{productAmount,jdbcType=DECIMAL}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + product_real_amount = #{productRealAmount,jdbcType=DECIMAL}, + + + sp1 = #{sp1,jdbcType=VARCHAR}, + + + sp2 = #{sp2,jdbcType=VARCHAR}, + + + sp3 = #{sp3,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}, + proudct_pic = #{proudctPic,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + product_brand = #{productBrand,jdbcType=VARCHAR}, + product_sn = #{productSn,jdbcType=VARCHAR}, + product_amount = #{productAmount,jdbcType=DECIMAL}, + product_count = #{productCount,jdbcType=INTEGER}, + product_real_amount = #{productRealAmount,jdbcType=DECIMAL}, + sp1 = #{sp1,jdbcType=VARCHAR}, + sp2 = #{sp2,jdbcType=VARCHAR}, + sp3 = #{sp3,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml new file mode 100644 index 0000000000..da97e14829 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderMapper.xml @@ -0,0 +1,705 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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, 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 from oms_order + where id = #{id,jdbcType=BIGINT} + + + delete from oms_order + + + + + + + SELECT LAST_INSERT_ID() + + insert into oms_order (id, member_id, coupon_id, + order_sn, create_time, member_username, + total_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 + ) + values (#{id,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, + #{orderSn,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{memberUsername,jdbcType=VARCHAR}, + #{totalAmount,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} + ) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order + + id, + + member_id, + + + coupon_id, + + + order_sn, + + + create_time, + + + member_username, + + + total_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, + + + + #{id,jdbcType=BIGINT}, + + #{memberId,jdbcType=BIGINT}, + + + #{couponId,jdbcType=BIGINT}, + + + #{orderSn,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{memberUsername,jdbcType=VARCHAR}, + + + #{totalAmount,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}, + + + + + + 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}, + + + 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}, + + + + + + + + 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}, + 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} + + + + + + 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}, + + + 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}, + + + 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}, + 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} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml new file mode 100644 index 0000000000..8b68199d58 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderOperateHistoryMapper.xml @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, order_id, operate_man, + create_time, order_status, note + ) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + order_id, + + + operate_man, + + + create_time, + + + order_status, + + + note, + + + + #{id,jdbcType=BIGINT}, + + #{orderId,jdbcType=BIGINT}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{orderStatus,jdbcType=INTEGER}, + + + #{note,jdbcType=VARCHAR}, + + + + + + update oms_order_operate_history + + + id = #{record.id,jdbcType=BIGINT}, + + + order_id = #{record.orderId,jdbcType=BIGINT}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + order_status = #{record.orderStatus,jdbcType=INTEGER}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + + + + + + update oms_order_operate_history + set id = #{record.id,jdbcType=BIGINT}, + order_id = #{record.orderId,jdbcType=BIGINT}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + order_status = #{record.orderStatus,jdbcType=INTEGER}, + note = #{record.note,jdbcType=VARCHAR} + + + + + + update oms_order_operate_history + + + order_id = #{orderId,jdbcType=BIGINT}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + order_status = #{orderStatus,jdbcType=INTEGER}, + + + note = #{note,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_operate_history + set order_id = #{orderId,jdbcType=BIGINT}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + order_status = #{orderStatus,jdbcType=INTEGER}, + note = #{note,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml new file mode 100644 index 0000000000..b44a18b8be --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnApplyMapper.xml @@ -0,0 +1,563 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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, order_sn, create_time, member_username, return_amount, + return_name, return_phone, status, handle_time, product_pic, product_name, brand_name, + product_attr, product_count, reason, description, proof_pics, return_post_amount, + return_post_status, confirm_return_amount, 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 (id, order_id, company_address_id, + order_sn, create_time, member_username, + return_amount, return_name, return_phone, + status, handle_time, product_pic, + product_name, brand_name, product_attr, + product_count, reason, description, + proof_pics, return_post_amount, return_post_status, + confirm_return_amount, handle_note, handle_man, + receive_man, receive_time, receive_note + ) + values (#{id,jdbcType=BIGINT}, #{orderId,jdbcType=BIGINT}, #{companyAddressId,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}, #{brandName,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR}, + #{productCount,jdbcType=INTEGER}, #{reason,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, + #{proofPics,jdbcType=VARCHAR}, #{returnPostAmount,jdbcType=DECIMAL}, #{returnPostStatus,jdbcType=INTEGER}, + #{confirmReturnAmount,jdbcType=DECIMAL}, #{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 + + id, + + order_id, + + + company_address_id, + + + order_sn, + + + create_time, + + + member_username, + + + return_amount, + + + return_name, + + + return_phone, + + + status, + + + handle_time, + + + product_pic, + + + product_name, + + + brand_name, + + + product_attr, + + + product_count, + + + reason, + + + description, + + + proof_pics, + + + return_post_amount, + + + return_post_status, + + + confirm_return_amount, + + + handle_note, + + + handle_man, + + + receive_man, + + + receive_time, + + + receive_note, + + + + #{id,jdbcType=BIGINT}, + + #{orderId,jdbcType=BIGINT}, + + + #{companyAddressId,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}, + + + #{brandName,jdbcType=VARCHAR}, + + + #{productAttr,jdbcType=VARCHAR}, + + + #{productCount,jdbcType=INTEGER}, + + + #{reason,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + #{proofPics,jdbcType=VARCHAR}, + + + #{returnPostAmount,jdbcType=DECIMAL}, + + + #{returnPostStatus,jdbcType=INTEGER}, + + + #{confirmReturnAmount,jdbcType=DECIMAL}, + + + #{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}, + + + 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}, + + + brand_name = #{record.brandName,jdbcType=VARCHAR}, + + + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + reason = #{record.reason,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + proof_pics = #{record.proofPics,jdbcType=VARCHAR}, + + + return_post_amount = #{record.returnPostAmount,jdbcType=DECIMAL}, + + + return_post_status = #{record.returnPostStatus,jdbcType=INTEGER}, + + + confirm_return_amount = #{record.confirmReturnAmount,jdbcType=DECIMAL}, + + + 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}, + 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}, + brand_name = #{record.brandName,jdbcType=VARCHAR}, + product_attr = #{record.productAttr,jdbcType=VARCHAR}, + product_count = #{record.productCount,jdbcType=INTEGER}, + reason = #{record.reason,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + proof_pics = #{record.proofPics,jdbcType=VARCHAR}, + return_post_amount = #{record.returnPostAmount,jdbcType=DECIMAL}, + return_post_status = #{record.returnPostStatus,jdbcType=INTEGER}, + confirm_return_amount = #{record.confirmReturnAmount,jdbcType=DECIMAL}, + 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}, + + + 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}, + + + brand_name = #{brandName,jdbcType=VARCHAR}, + + + product_attr = #{productAttr,jdbcType=VARCHAR}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + reason = #{reason,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + proof_pics = #{proofPics,jdbcType=VARCHAR}, + + + return_post_amount = #{returnPostAmount,jdbcType=DECIMAL}, + + + return_post_status = #{returnPostStatus,jdbcType=INTEGER}, + + + confirm_return_amount = #{confirmReturnAmount,jdbcType=DECIMAL}, + + + 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}, + 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}, + brand_name = #{brandName,jdbcType=VARCHAR}, + product_attr = #{productAttr,jdbcType=VARCHAR}, + product_count = #{productCount,jdbcType=INTEGER}, + reason = #{reason,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + proof_pics = #{proofPics,jdbcType=VARCHAR}, + return_post_amount = #{returnPostAmount,jdbcType=DECIMAL}, + return_post_status = #{returnPostStatus,jdbcType=INTEGER}, + confirm_return_amount = #{confirmReturnAmount,jdbcType=DECIMAL}, + handle_note = #{handleNote,jdbcType=VARCHAR}, + handle_man = #{handleMan,jdbcType=VARCHAR}, + receive_man = #{receiveMan,jdbcType=VARCHAR}, + receive_time = #{receiveTime,jdbcType=TIMESTAMP}, + receive_note = #{receiveNote,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml new file mode 100644 index 0000000000..2927e7c8e5 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderReturnReasonMapper.xml @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 + + + + + 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 (id, name, sort, + status) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, + #{status,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_return_reason + + id, + + name, + + + sort, + + + status, + + + + #{id,jdbcType=BIGINT}, + + #{name,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{status,jdbcType=INTEGER}, + + + + + + 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}, + + + + + + + + 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} + + + + + + update oms_order_return_reason + + + name = #{name,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + status = #{status,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_return_reason + set name = #{name,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + status = #{status,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml new file mode 100644 index 0000000000..a128b13454 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/OmsOrderSettingMapper.xml @@ -0,0 +1,231 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, flash_order_overtime, normal_order_overtime, + confirm_overtime, finish_overtime, comment_overtime + ) + values (#{id,jdbcType=BIGINT}, #{flashOrderOvertime,jdbcType=INTEGER}, #{normalOrderOvertime,jdbcType=INTEGER}, + #{confirmOvertime,jdbcType=INTEGER}, #{finishOvertime,jdbcType=INTEGER}, #{commentOvertime,jdbcType=INTEGER} + ) + + + + SELECT LAST_INSERT_ID() + + insert into oms_order_setting + + id, + + flash_order_overtime, + + + normal_order_overtime, + + + confirm_overtime, + + + finish_overtime, + + + comment_overtime, + + + + #{id,jdbcType=BIGINT}, + + #{flashOrderOvertime,jdbcType=INTEGER}, + + + #{normalOrderOvertime,jdbcType=INTEGER}, + + + #{confirmOvertime,jdbcType=INTEGER}, + + + #{finishOvertime,jdbcType=INTEGER}, + + + #{commentOvertime,jdbcType=INTEGER}, + + + + + + update oms_order_setting + + + id = #{record.id,jdbcType=BIGINT}, + + + flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, + + + normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, + + + confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, + + + finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, + + + comment_overtime = #{record.commentOvertime,jdbcType=INTEGER}, + + + + + + + + update oms_order_setting + set id = #{record.id,jdbcType=BIGINT}, + flash_order_overtime = #{record.flashOrderOvertime,jdbcType=INTEGER}, + normal_order_overtime = #{record.normalOrderOvertime,jdbcType=INTEGER}, + confirm_overtime = #{record.confirmOvertime,jdbcType=INTEGER}, + finish_overtime = #{record.finishOvertime,jdbcType=INTEGER}, + comment_overtime = #{record.commentOvertime,jdbcType=INTEGER} + + + + + + update oms_order_setting + + + flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, + + + normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, + + + confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, + + + finish_overtime = #{finishOvertime,jdbcType=INTEGER}, + + + comment_overtime = #{commentOvertime,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update oms_order_setting + set flash_order_overtime = #{flashOrderOvertime,jdbcType=INTEGER}, + normal_order_overtime = #{normalOrderOvertime,jdbcType=INTEGER}, + confirm_overtime = #{confirmOvertime,jdbcType=INTEGER}, + finish_overtime = #{finishOvertime,jdbcType=INTEGER}, + comment_overtime = #{commentOvertime,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml new file mode 100644 index 0000000000..e8a52f0dcf --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumMapper.xml @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, name, cover_pic, + pic_count, sort, description + ) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{coverPic,jdbcType=VARCHAR}, + #{picCount,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_album + + id, + + name, + + + cover_pic, + + + pic_count, + + + sort, + + + description, + + + + #{id,jdbcType=BIGINT}, + + #{name,jdbcType=VARCHAR}, + + + #{coverPic,jdbcType=VARCHAR}, + + + #{picCount,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + #{description,jdbcType=VARCHAR}, + + + + + + update pms_album + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + cover_pic = #{record.coverPic,jdbcType=VARCHAR}, + + + pic_count = #{record.picCount,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + + + + + + update pms_album + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + cover_pic = #{record.coverPic,jdbcType=VARCHAR}, + pic_count = #{record.picCount,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + description = #{record.description,jdbcType=VARCHAR} + + + + + + update pms_album + + + name = #{name,jdbcType=VARCHAR}, + + + cover_pic = #{coverPic,jdbcType=VARCHAR}, + + + pic_count = #{picCount,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + description = #{description,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_album + set name = #{name,jdbcType=VARCHAR}, + cover_pic = #{coverPic,jdbcType=VARCHAR}, + pic_count = #{picCount,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + description = #{description,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml new file mode 100644 index 0000000000..3d3e18a119 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsAlbumPicMapper.xml @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, album_id, pic + ) + values (#{id,jdbcType=BIGINT}, #{albumId,jdbcType=BIGINT}, #{pic,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_album_pic + + id, + + album_id, + + + pic, + + + + #{id,jdbcType=BIGINT}, + + #{albumId,jdbcType=BIGINT}, + + + #{pic,jdbcType=VARCHAR}, + + + + + + update pms_album_pic + + + id = #{record.id,jdbcType=BIGINT}, + + + album_id = #{record.albumId,jdbcType=BIGINT}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + + + + + + update pms_album_pic + set id = #{record.id,jdbcType=BIGINT}, + album_id = #{record.albumId,jdbcType=BIGINT}, + pic = #{record.pic,jdbcType=VARCHAR} + + + + + + update pms_album_pic + + + album_id = #{albumId,jdbcType=BIGINT}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_album_pic + set album_id = #{albumId,jdbcType=BIGINT}, + pic = #{pic,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml new file mode 100644 index 0000000000..fb1e50d461 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsBrandMapper.xml @@ -0,0 +1,360 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, name, first_letter, + sort, factory_status, show_status, + product_count, product_comment_count, logo, + big_pic, brand_story) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + name, + + + first_letter, + + + sort, + + + factory_status, + + + show_status, + + + product_count, + + + product_comment_count, + + + logo, + + + big_pic, + + + brand_story, + + + + #{id,jdbcType=BIGINT}, + + #{name,jdbcType=VARCHAR}, + + + #{firstLetter,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{factoryStatus,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{productCount,jdbcType=INTEGER}, + + + #{productCommentCount,jdbcType=INTEGER}, + + + #{logo,jdbcType=VARCHAR}, + + + #{bigPic,jdbcType=VARCHAR}, + + + #{brandStory,jdbcType=LONGVARCHAR}, + + + + + + update pms_brand + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + first_letter = #{record.firstLetter,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + factory_status = #{record.factoryStatus,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, + + + logo = #{record.logo,jdbcType=VARCHAR}, + + + big_pic = #{record.bigPic,jdbcType=VARCHAR}, + + + brand_story = #{record.brandStory,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_brand + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + first_letter = #{record.firstLetter,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + factory_status = #{record.factoryStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, + logo = #{record.logo,jdbcType=VARCHAR}, + big_pic = #{record.bigPic,jdbcType=VARCHAR}, + brand_story = #{record.brandStory,jdbcType=LONGVARCHAR} + + + + + + update pms_brand + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + first_letter = #{record.firstLetter,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + factory_status = #{record.factoryStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_comment_count = #{record.productCommentCount,jdbcType=INTEGER}, + logo = #{record.logo,jdbcType=VARCHAR}, + big_pic = #{record.bigPic,jdbcType=VARCHAR} + + + + + + update pms_brand + + + name = #{name,jdbcType=VARCHAR}, + + + first_letter = #{firstLetter,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + factory_status = #{factoryStatus,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + product_comment_count = #{productCommentCount,jdbcType=INTEGER}, + + + logo = #{logo,jdbcType=VARCHAR}, + + + big_pic = #{bigPic,jdbcType=VARCHAR}, + + + brand_story = #{brandStory,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_brand + set name = #{name,jdbcType=VARCHAR}, + first_letter = #{firstLetter,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + factory_status = #{factoryStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_comment_count = #{productCommentCount,jdbcType=INTEGER}, + logo = #{logo,jdbcType=VARCHAR}, + big_pic = #{bigPic,jdbcType=VARCHAR}, + brand_story = #{brandStory,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_brand + set name = #{name,jdbcType=VARCHAR}, + first_letter = #{firstLetter,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + factory_status = #{factoryStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_comment_count = #{productCommentCount,jdbcType=INTEGER}, + logo = #{logo,jdbcType=VARCHAR}, + big_pic = #{bigPic,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml new file mode 100644 index 0000000000..7a5ec28e2c --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentMapper.xml @@ -0,0 +1,432 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (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 + ) + values (#{id,jdbcType=BIGINT}, #{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 + + 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, + + + + #{id,jdbcType=BIGINT}, + + #{productId,jdbcType=BIGINT}, + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{star,jdbcType=INTEGER}, + + + #{memberIp,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{productAttribute,jdbcType=VARCHAR}, + + + #{collectCouont,jdbcType=INTEGER}, + + + #{readCount,jdbcType=INTEGER}, + + + #{pics,jdbcType=VARCHAR}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{replayCount,jdbcType=INTEGER}, + + + #{content,jdbcType=LONGVARCHAR}, + + + + + + update pms_comment + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + star = #{record.star,jdbcType=INTEGER}, + + + member_ip = #{record.memberIp,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, + + + collect_couont = #{record.collectCouont,jdbcType=INTEGER}, + + + read_count = #{record.readCount,jdbcType=INTEGER}, + + + pics = #{record.pics,jdbcType=VARCHAR}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + replay_count = #{record.replayCount,jdbcType=INTEGER}, + + + content = #{record.content,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_comment + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + star = #{record.star,jdbcType=INTEGER}, + member_ip = #{record.memberIp,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, + collect_couont = #{record.collectCouont,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + pics = #{record.pics,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + replay_count = #{record.replayCount,jdbcType=INTEGER}, + content = #{record.content,jdbcType=LONGVARCHAR} + + + + + + update pms_comment + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + star = #{record.star,jdbcType=INTEGER}, + member_ip = #{record.memberIp,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + product_attribute = #{record.productAttribute,jdbcType=VARCHAR}, + collect_couont = #{record.collectCouont,jdbcType=INTEGER}, + read_count = #{record.readCount,jdbcType=INTEGER}, + pics = #{record.pics,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + replay_count = #{record.replayCount,jdbcType=INTEGER} + + + + + + update pms_comment + + + product_id = #{productId,jdbcType=BIGINT}, + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + star = #{star,jdbcType=INTEGER}, + + + member_ip = #{memberIp,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + product_attribute = #{productAttribute,jdbcType=VARCHAR}, + + + collect_couont = #{collectCouont,jdbcType=INTEGER}, + + + read_count = #{readCount,jdbcType=INTEGER}, + + + pics = #{pics,jdbcType=VARCHAR}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + replay_count = #{replayCount,jdbcType=INTEGER}, + + + content = #{content,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_comment + set product_id = #{productId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + star = #{star,jdbcType=INTEGER}, + member_ip = #{memberIp,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_attribute = #{productAttribute,jdbcType=VARCHAR}, + collect_couont = #{collectCouont,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + pics = #{pics,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + replay_count = #{replayCount,jdbcType=INTEGER}, + content = #{content,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_comment + set product_id = #{productId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + star = #{star,jdbcType=INTEGER}, + member_ip = #{memberIp,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + show_status = #{showStatus,jdbcType=INTEGER}, + product_attribute = #{productAttribute,jdbcType=VARCHAR}, + collect_couont = #{collectCouont,jdbcType=INTEGER}, + read_count = #{readCount,jdbcType=INTEGER}, + pics = #{pics,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + replay_count = #{replayCount,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml new file mode 100644 index 0000000000..c4675ce857 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsCommentReplayMapper.xml @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, comment_id, member_nick_name, + member_icon, content, create_time, + type) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + comment_id, + + + member_nick_name, + + + member_icon, + + + content, + + + create_time, + + + type, + + + + #{id,jdbcType=BIGINT}, + + #{commentId,jdbcType=BIGINT}, + + + #{memberNickName,jdbcType=VARCHAR}, + + + #{memberIcon,jdbcType=VARCHAR}, + + + #{content,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{type,jdbcType=INTEGER}, + + + + + + update pms_comment_replay + + + id = #{record.id,jdbcType=BIGINT}, + + + comment_id = #{record.commentId,jdbcType=BIGINT}, + + + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + + + content = #{record.content,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update pms_comment_replay + set id = #{record.id,jdbcType=BIGINT}, + comment_id = #{record.commentId,jdbcType=BIGINT}, + member_nick_name = #{record.memberNickName,jdbcType=VARCHAR}, + member_icon = #{record.memberIcon,jdbcType=VARCHAR}, + content = #{record.content,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update pms_comment_replay + + + comment_id = #{commentId,jdbcType=BIGINT}, + + + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + + + member_icon = #{memberIcon,jdbcType=VARCHAR}, + + + content = #{content,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_comment_replay + set comment_id = #{commentId,jdbcType=BIGINT}, + member_nick_name = #{memberNickName,jdbcType=VARCHAR}, + member_icon = #{memberIcon,jdbcType=VARCHAR}, + content = #{content,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml new file mode 100644 index 0000000000..efa05a7e5d --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsFeightTemplateMapper.xml @@ -0,0 +1,260 @@ + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, name, charge_type, + first_weight, first_fee, continue_weight, + continme_fee, dest) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + name, + + + charge_type, + + + first_weight, + + + first_fee, + + + continue_weight, + + + continme_fee, + + + dest, + + + + #{id,jdbcType=BIGINT}, + + #{name,jdbcType=VARCHAR}, + + + #{chargeType,jdbcType=INTEGER}, + + + #{firstWeight,jdbcType=DECIMAL}, + + + #{firstFee,jdbcType=DECIMAL}, + + + #{continueWeight,jdbcType=DECIMAL}, + + + #{continmeFee,jdbcType=DECIMAL}, + + + #{dest,jdbcType=VARCHAR}, + + + + + + update pms_feight_template + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + charge_type = #{record.chargeType,jdbcType=INTEGER}, + + + first_weight = #{record.firstWeight,jdbcType=DECIMAL}, + + + first_fee = #{record.firstFee,jdbcType=DECIMAL}, + + + continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, + + + continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, + + + dest = #{record.dest,jdbcType=VARCHAR}, + + + + + + + + update pms_feight_template + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + charge_type = #{record.chargeType,jdbcType=INTEGER}, + first_weight = #{record.firstWeight,jdbcType=DECIMAL}, + first_fee = #{record.firstFee,jdbcType=DECIMAL}, + continue_weight = #{record.continueWeight,jdbcType=DECIMAL}, + continme_fee = #{record.continmeFee,jdbcType=DECIMAL}, + dest = #{record.dest,jdbcType=VARCHAR} + + + + + + update pms_feight_template + + + name = #{name,jdbcType=VARCHAR}, + + + charge_type = #{chargeType,jdbcType=INTEGER}, + + + first_weight = #{firstWeight,jdbcType=DECIMAL}, + + + first_fee = #{firstFee,jdbcType=DECIMAL}, + + + continue_weight = #{continueWeight,jdbcType=DECIMAL}, + + + continme_fee = #{continmeFee,jdbcType=DECIMAL}, + + + dest = #{dest,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_feight_template + set name = #{name,jdbcType=VARCHAR}, + charge_type = #{chargeType,jdbcType=INTEGER}, + first_weight = #{firstWeight,jdbcType=DECIMAL}, + first_fee = #{firstFee,jdbcType=DECIMAL}, + continue_weight = #{continueWeight,jdbcType=DECIMAL}, + continme_fee = #{continmeFee,jdbcType=DECIMAL}, + dest = #{dest,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml new file mode 100644 index 0000000000..bff630b54d --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsMemberPriceMapper.xml @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 + + + + + delete from pms_member_price + where id = #{id,jdbcType=BIGINT} + + + delete from pms_member_price + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_member_price (id, product_id, member_level_id, + member_price) + values (#{id,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{memberLevelId,jdbcType=BIGINT}, + #{memberPrice,jdbcType=DECIMAL}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_member_price + + id, + + product_id, + + + member_level_id, + + + member_price, + + + + #{id,jdbcType=BIGINT}, + + #{productId,jdbcType=BIGINT}, + + + #{memberLevelId,jdbcType=BIGINT}, + + + #{memberPrice,jdbcType=DECIMAL}, + + + + + + 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}, + + + + + + + + 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} + + + + + + update pms_member_price + + + product_id = #{productId,jdbcType=BIGINT}, + + + member_level_id = #{memberLevelId,jdbcType=BIGINT}, + + + member_price = #{memberPrice,jdbcType=DECIMAL}, + + + 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} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml new file mode 100644 index 0000000000..1966c1237a --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeCategoryMapper.xml @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, name, attribute_count, + param_count) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{attributeCount,jdbcType=INTEGER}, + #{paramCount,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_category + + id, + + name, + + + attribute_count, + + + param_count, + + + + #{id,jdbcType=BIGINT}, + + #{name,jdbcType=VARCHAR}, + + + #{attributeCount,jdbcType=INTEGER}, + + + #{paramCount,jdbcType=INTEGER}, + + + + + + update pms_product_attribute_category + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + attribute_count = #{record.attributeCount,jdbcType=INTEGER}, + + + param_count = #{record.paramCount,jdbcType=INTEGER}, + + + + + + + + update pms_product_attribute_category + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + attribute_count = #{record.attributeCount,jdbcType=INTEGER}, + param_count = #{record.paramCount,jdbcType=INTEGER} + + + + + + update pms_product_attribute_category + + + name = #{name,jdbcType=VARCHAR}, + + + attribute_count = #{attributeCount,jdbcType=INTEGER}, + + + param_count = #{paramCount,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_attribute_category + set name = #{name,jdbcType=VARCHAR}, + attribute_count = #{attributeCount,jdbcType=INTEGER}, + param_count = #{paramCount,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml new file mode 100644 index 0000000000..9279998910 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeMapper.xml @@ -0,0 +1,325 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, product_attribute_category_id, name, + select_type, input_type, input_list, + sort, filter_type, search_type, + related_status, hand_add_status, type + ) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + product_attribute_category_id, + + + name, + + + select_type, + + + input_type, + + + input_list, + + + sort, + + + filter_type, + + + search_type, + + + related_status, + + + hand_add_status, + + + type, + + + + #{id,jdbcType=BIGINT}, + + #{productAttributeCategoryId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{selectType,jdbcType=INTEGER}, + + + #{inputType,jdbcType=INTEGER}, + + + #{inputList,jdbcType=VARCHAR}, + + + #{sort,jdbcType=INTEGER}, + + + #{filterType,jdbcType=INTEGER}, + + + #{searchType,jdbcType=INTEGER}, + + + #{relatedStatus,jdbcType=INTEGER}, + + + #{handAddStatus,jdbcType=INTEGER}, + + + #{type,jdbcType=INTEGER}, + + + + + + update pms_product_attribute + + + id = #{record.id,jdbcType=BIGINT}, + + + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + select_type = #{record.selectType,jdbcType=INTEGER}, + + + input_type = #{record.inputType,jdbcType=INTEGER}, + + + input_list = #{record.inputList,jdbcType=VARCHAR}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + filter_type = #{record.filterType,jdbcType=INTEGER}, + + + search_type = #{record.searchType,jdbcType=INTEGER}, + + + related_status = #{record.relatedStatus,jdbcType=INTEGER}, + + + hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update pms_product_attribute + set id = #{record.id,jdbcType=BIGINT}, + product_attribute_category_id = #{record.productAttributeCategoryId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + select_type = #{record.selectType,jdbcType=INTEGER}, + input_type = #{record.inputType,jdbcType=INTEGER}, + input_list = #{record.inputList,jdbcType=VARCHAR}, + sort = #{record.sort,jdbcType=INTEGER}, + filter_type = #{record.filterType,jdbcType=INTEGER}, + search_type = #{record.searchType,jdbcType=INTEGER}, + related_status = #{record.relatedStatus,jdbcType=INTEGER}, + hand_add_status = #{record.handAddStatus,jdbcType=INTEGER}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update pms_product_attribute + + + product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + select_type = #{selectType,jdbcType=INTEGER}, + + + input_type = #{inputType,jdbcType=INTEGER}, + + + input_list = #{inputList,jdbcType=VARCHAR}, + + + sort = #{sort,jdbcType=INTEGER}, + + + filter_type = #{filterType,jdbcType=INTEGER}, + + + search_type = #{searchType,jdbcType=INTEGER}, + + + related_status = #{relatedStatus,jdbcType=INTEGER}, + + + hand_add_status = #{handAddStatus,jdbcType=INTEGER}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_attribute + set product_attribute_category_id = #{productAttributeCategoryId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + select_type = #{selectType,jdbcType=INTEGER}, + input_type = #{inputType,jdbcType=INTEGER}, + input_list = #{inputList,jdbcType=VARCHAR}, + sort = #{sort,jdbcType=INTEGER}, + filter_type = #{filterType,jdbcType=INTEGER}, + search_type = #{searchType,jdbcType=INTEGER}, + related_status = #{relatedStatus,jdbcType=INTEGER}, + hand_add_status = #{handAddStatus,jdbcType=INTEGER}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml new file mode 100644 index 0000000000..2eff1c46cb --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductAttributeValueMapper.xml @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, pms_product_id, pms_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 (id, pms_product_id, pms_product_attribute_id, + value) + values (#{id,jdbcType=BIGINT}, #{pmsProductId,jdbcType=BIGINT}, #{pmsProductAttributeId,jdbcType=BIGINT}, + #{value,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_attribute_value + + id, + + pms_product_id, + + + pms_product_attribute_id, + + + value, + + + + #{id,jdbcType=BIGINT}, + + #{pmsProductId,jdbcType=BIGINT}, + + + #{pmsProductAttributeId,jdbcType=BIGINT}, + + + #{value,jdbcType=VARCHAR}, + + + + + + update pms_product_attribute_value + + + id = #{record.id,jdbcType=BIGINT}, + + + pms_product_id = #{record.pmsProductId,jdbcType=BIGINT}, + + + pms_product_attribute_id = #{record.pmsProductAttributeId,jdbcType=BIGINT}, + + + value = #{record.value,jdbcType=VARCHAR}, + + + + + + + + update pms_product_attribute_value + set id = #{record.id,jdbcType=BIGINT}, + pms_product_id = #{record.pmsProductId,jdbcType=BIGINT}, + pms_product_attribute_id = #{record.pmsProductAttributeId,jdbcType=BIGINT}, + value = #{record.value,jdbcType=VARCHAR} + + + + + + update pms_product_attribute_value + + + pms_product_id = #{pmsProductId,jdbcType=BIGINT}, + + + pms_product_attribute_id = #{pmsProductAttributeId,jdbcType=BIGINT}, + + + value = #{value,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_attribute_value + set pms_product_id = #{pmsProductId,jdbcType=BIGINT}, + pms_product_attribute_id = #{pmsProductAttributeId,jdbcType=BIGINT}, + value = #{value,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml new file mode 100644 index 0000000000..a0882f8ea1 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryAttributeRelationMapper.xml @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, product_category_id, product_attribute_id + ) + values (#{id,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, #{productAttributeId,jdbcType=BIGINT} + ) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_category_attribute_relation + + id, + + product_category_id, + + + product_attribute_id, + + + + #{id,jdbcType=BIGINT}, + + #{productCategoryId,jdbcType=BIGINT}, + + + #{productAttributeId,jdbcType=BIGINT}, + + + + + + update pms_product_category_attribute_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT}, + + + + + + + + update pms_product_category_attribute_relation + set id = #{record.id,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + product_attribute_id = #{record.productAttributeId,jdbcType=BIGINT} + + + + + + update pms_product_category_attribute_relation + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + product_attribute_id = #{productAttributeId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_category_attribute_relation + set product_category_id = #{productCategoryId,jdbcType=BIGINT}, + product_attribute_id = #{productAttributeId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml new file mode 100644 index 0000000000..24bf27b85c --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductCategoryMapper.xml @@ -0,0 +1,379 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, parent_id, name, + level, product_count, product_unit, + nav_status, show_status, sort, + icon, keywords, description + ) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + parent_id, + + + name, + + + level, + + + product_count, + + + product_unit, + + + nav_status, + + + show_status, + + + sort, + + + icon, + + + keywords, + + + description, + + + + #{id,jdbcType=BIGINT}, + + #{parentId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{level,jdbcType=INTEGER}, + + + #{productCount,jdbcType=INTEGER}, + + + #{productUnit,jdbcType=VARCHAR}, + + + #{navStatus,jdbcType=INTEGER}, + + + #{showStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + #{icon,jdbcType=VARCHAR}, + + + #{keywords,jdbcType=VARCHAR}, + + + #{description,jdbcType=LONGVARCHAR}, + + + + + + update pms_product_category + + + id = #{record.id,jdbcType=BIGINT}, + + + parent_id = #{record.parentId,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + level = #{record.level,jdbcType=INTEGER}, + + + product_count = #{record.productCount,jdbcType=INTEGER}, + + + product_unit = #{record.productUnit,jdbcType=VARCHAR}, + + + nav_status = #{record.navStatus,jdbcType=INTEGER}, + + + show_status = #{record.showStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + keywords = #{record.keywords,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=LONGVARCHAR}, + + + + + + + + update pms_product_category + set id = #{record.id,jdbcType=BIGINT}, + parent_id = #{record.parentId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + level = #{record.level,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_unit = #{record.productUnit,jdbcType=VARCHAR}, + nav_status = #{record.navStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + icon = #{record.icon,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=LONGVARCHAR} + + + + + + update pms_product_category + set id = #{record.id,jdbcType=BIGINT}, + parent_id = #{record.parentId,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + level = #{record.level,jdbcType=INTEGER}, + product_count = #{record.productCount,jdbcType=INTEGER}, + product_unit = #{record.productUnit,jdbcType=VARCHAR}, + nav_status = #{record.navStatus,jdbcType=INTEGER}, + show_status = #{record.showStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER}, + icon = #{record.icon,jdbcType=VARCHAR}, + keywords = #{record.keywords,jdbcType=VARCHAR} + + + + + + update pms_product_category + + + parent_id = #{parentId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + level = #{level,jdbcType=INTEGER}, + + + product_count = #{productCount,jdbcType=INTEGER}, + + + product_unit = #{productUnit,jdbcType=VARCHAR}, + + + nav_status = #{navStatus,jdbcType=INTEGER}, + + + show_status = #{showStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + keywords = #{keywords,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_category + set parent_id = #{parentId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + level = #{level,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_unit = #{productUnit,jdbcType=VARCHAR}, + nav_status = #{navStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + icon = #{icon,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR}, + description = #{description,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + update pms_product_category + set parent_id = #{parentId,jdbcType=BIGINT}, + name = #{name,jdbcType=VARCHAR}, + level = #{level,jdbcType=INTEGER}, + product_count = #{productCount,jdbcType=INTEGER}, + product_unit = #{productUnit,jdbcType=VARCHAR}, + nav_status = #{navStatus,jdbcType=INTEGER}, + show_status = #{showStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER}, + icon = #{icon,jdbcType=VARCHAR}, + keywords = #{keywords,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml new file mode 100644 index 0000000000..efe609ed95 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductFullReductionMapper.xml @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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=INTEGER} + + + delete from pms_product_full_reduction + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_full_reduction (id, product_id, full_price, + reduce_price) + values (#{id,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT}, #{fullPrice,jdbcType=DECIMAL}, + #{reducePrice,jdbcType=DECIMAL}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_full_reduction + + id, + + product_id, + + + full_price, + + + reduce_price, + + + + #{id,jdbcType=INTEGER}, + + #{productId,jdbcType=BIGINT}, + + + #{fullPrice,jdbcType=DECIMAL}, + + + #{reducePrice,jdbcType=DECIMAL}, + + + + + + update pms_product_full_reduction + + + id = #{record.id,jdbcType=INTEGER}, + + + 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=INTEGER}, + 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=INTEGER} + + + 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=INTEGER} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml new file mode 100644 index 0000000000..b7ca22ca24 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductLadderMapper.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, product_id, count, + discount, price) + values (#{id,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{count,jdbcType=INTEGER}, + #{discount,jdbcType=DECIMAL}, #{price,jdbcType=DECIMAL}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product_ladder + + id, + + product_id, + + + count, + + + discount, + + + price, + + + + #{id,jdbcType=BIGINT}, + + #{productId,jdbcType=BIGINT}, + + + #{count,jdbcType=INTEGER}, + + + #{discount,jdbcType=DECIMAL}, + + + #{price,jdbcType=DECIMAL}, + + + + + + update pms_product_ladder + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + count = #{record.count,jdbcType=INTEGER}, + + + discount = #{record.discount,jdbcType=DECIMAL}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + + + + + + update pms_product_ladder + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + count = #{record.count,jdbcType=INTEGER}, + discount = #{record.discount,jdbcType=DECIMAL}, + price = #{record.price,jdbcType=DECIMAL} + + + + + + update pms_product_ladder + + + product_id = #{productId,jdbcType=BIGINT}, + + + count = #{count,jdbcType=INTEGER}, + + + discount = #{discount,jdbcType=DECIMAL}, + + + price = #{price,jdbcType=DECIMAL}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_ladder + set product_id = #{productId,jdbcType=BIGINT}, + count = #{count,jdbcType=INTEGER}, + discount = #{discount,jdbcType=DECIMAL}, + price = #{price,jdbcType=DECIMAL} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml new file mode 100644 index 0000000000..9db7e7dff4 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductMapper.xml @@ -0,0 +1,927 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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, + flash_promotion_id, name, pic, product_sn, delete_status, publish_status, new_status, + recommand_status, verify_status, sort, sale, price, promotion_price, gift_point, + use_point_limit, sub_title, original_price, stock, low_stock, unit, weight, preview_status, + service_ids, keywords, note, album_pics, detail_title, flash_promotion_price, flash_promotion_count, + flash_promotion_sort, promotion_start_time, promotion_end_time, promotion_per_limit, + promotion_type + + + 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 (id, brand_id, product_category_id, + feight_template_id, product_attribute_category_id, + flash_promotion_id, name, pic, + product_sn, delete_status, publish_status, + new_status, recommand_status, verify_status, + sort, sale, price, + promotion_price, gift_point, use_point_limit, + sub_title, original_price, stock, + low_stock, unit, weight, + preview_status, service_ids, keywords, + note, album_pics, detail_title, + flash_promotion_price, flash_promotion_count, + flash_promotion_sort, promotion_start_time, + promotion_end_time, promotion_per_limit, + promotion_type, description, detail_desc, + detail_html, detail_mobile_html) + values (#{id,jdbcType=BIGINT}, #{brandId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT}, + #{feightTemplateId,jdbcType=BIGINT}, #{productAttributeCategoryId,jdbcType=BIGINT}, + #{flashPromotionId,jdbcType=INTEGER}, #{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}, #{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}, + #{flashPromotionPrice,jdbcType=DECIMAL}, #{flashPromotionCount,jdbcType=INTEGER}, + #{flashPromotionSort,jdbcType=INTEGER}, #{promotionStartTime,jdbcType=TIMESTAMP}, + #{promotionEndTime,jdbcType=TIMESTAMP}, #{promotionPerLimit,jdbcType=INTEGER}, + #{promotionType,jdbcType=INTEGER}, #{description,jdbcType=LONGVARCHAR}, #{detailDesc,jdbcType=LONGVARCHAR}, + #{detailHtml,jdbcType=LONGVARCHAR}, #{detailMobileHtml,jdbcType=LONGVARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_product + + id, + + brand_id, + + + product_category_id, + + + feight_template_id, + + + product_attribute_category_id, + + + flash_promotion_id, + + + name, + + + pic, + + + product_sn, + + + delete_status, + + + publish_status, + + + new_status, + + + recommand_status, + + + verify_status, + + + sort, + + + sale, + + + price, + + + promotion_price, + + + gift_point, + + + use_point_limit, + + + sub_title, + + + original_price, + + + stock, + + + low_stock, + + + unit, + + + weight, + + + preview_status, + + + service_ids, + + + keywords, + + + note, + + + album_pics, + + + detail_title, + + + flash_promotion_price, + + + flash_promotion_count, + + + flash_promotion_sort, + + + promotion_start_time, + + + promotion_end_time, + + + promotion_per_limit, + + + promotion_type, + + + description, + + + detail_desc, + + + detail_html, + + + detail_mobile_html, + + + + #{id,jdbcType=BIGINT}, + + #{brandId,jdbcType=BIGINT}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + #{feightTemplateId,jdbcType=BIGINT}, + + + #{productAttributeCategoryId,jdbcType=BIGINT}, + + + #{flashPromotionId,jdbcType=INTEGER}, + + + #{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}, + + + #{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}, + + + #{flashPromotionPrice,jdbcType=DECIMAL}, + + + #{flashPromotionCount,jdbcType=INTEGER}, + + + #{flashPromotionSort,jdbcType=INTEGER}, + + + #{promotionStartTime,jdbcType=TIMESTAMP}, + + + #{promotionEndTime,jdbcType=TIMESTAMP}, + + + #{promotionPerLimit,jdbcType=INTEGER}, + + + #{promotionType,jdbcType=INTEGER}, + + + #{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}, + + + flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER}, + + + 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_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}, + + + flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, + + + flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, + + + flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER}, + + + 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}, + + + 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}, + flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER}, + 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_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}, + flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, + flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, + flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER}, + 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}, + 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}, + flash_promotion_id = #{record.flashPromotionId,jdbcType=INTEGER}, + 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_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}, + flash_promotion_price = #{record.flashPromotionPrice,jdbcType=DECIMAL}, + flash_promotion_count = #{record.flashPromotionCount,jdbcType=INTEGER}, + flash_promotion_sort = #{record.flashPromotionSort,jdbcType=INTEGER}, + 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} + + + + + + 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}, + + + flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER}, + + + 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_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}, + + + flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, + + + flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, + + + flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER}, + + + promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, + + + promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, + + + promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, + + + promotion_type = #{promotionType,jdbcType=INTEGER}, + + + 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}, + flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER}, + 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_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}, + flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, + flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, + flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER}, + promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{promotionType,jdbcType=INTEGER}, + 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}, + flash_promotion_id = #{flashPromotionId,jdbcType=INTEGER}, + 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_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}, + flash_promotion_price = #{flashPromotionPrice,jdbcType=DECIMAL}, + flash_promotion_count = #{flashPromotionCount,jdbcType=INTEGER}, + flash_promotion_sort = #{flashPromotionSort,jdbcType=INTEGER}, + promotion_start_time = #{promotionStartTime,jdbcType=TIMESTAMP}, + promotion_end_time = #{promotionEndTime,jdbcType=TIMESTAMP}, + promotion_per_limit = #{promotionPerLimit,jdbcType=INTEGER}, + promotion_type = #{promotionType,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml new file mode 100644 index 0000000000..3859cc777a --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductOperateLogMapper.xml @@ -0,0 +1,325 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (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 + ) + values (#{id,jdbcType=BIGINT}, #{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 + + 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, + + + + #{id,jdbcType=BIGINT}, + + #{productId,jdbcType=BIGINT}, + + + #{priceOld,jdbcType=DECIMAL}, + + + #{priceNew,jdbcType=DECIMAL}, + + + #{salePriceOld,jdbcType=DECIMAL}, + + + #{salePriceNew,jdbcType=DECIMAL}, + + + #{giftPointOld,jdbcType=INTEGER}, + + + #{giftPointNew,jdbcType=INTEGER}, + + + #{usePointLimitOld,jdbcType=INTEGER}, + + + #{usePointLimitNew,jdbcType=INTEGER}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + + + + update pms_product_operate_log + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + price_old = #{record.priceOld,jdbcType=DECIMAL}, + + + price_new = #{record.priceNew,jdbcType=DECIMAL}, + + + sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, + + + sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, + + + gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, + + + gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, + + + use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, + + + use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + + + + + + update pms_product_operate_log + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + price_old = #{record.priceOld,jdbcType=DECIMAL}, + price_new = #{record.priceNew,jdbcType=DECIMAL}, + sale_price_old = #{record.salePriceOld,jdbcType=DECIMAL}, + sale_price_new = #{record.salePriceNew,jdbcType=DECIMAL}, + gift_point_old = #{record.giftPointOld,jdbcType=INTEGER}, + gift_point_new = #{record.giftPointNew,jdbcType=INTEGER}, + use_point_limit_old = #{record.usePointLimitOld,jdbcType=INTEGER}, + use_point_limit_new = #{record.usePointLimitNew,jdbcType=INTEGER}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + create_time = #{record.createTime,jdbcType=TIMESTAMP} + + + + + + update pms_product_operate_log + + + product_id = #{productId,jdbcType=BIGINT}, + + + price_old = #{priceOld,jdbcType=DECIMAL}, + + + price_new = #{priceNew,jdbcType=DECIMAL}, + + + sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, + + + sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, + + + gift_point_old = #{giftPointOld,jdbcType=INTEGER}, + + + gift_point_new = #{giftPointNew,jdbcType=INTEGER}, + + + use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, + + + use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_operate_log + set product_id = #{productId,jdbcType=BIGINT}, + price_old = #{priceOld,jdbcType=DECIMAL}, + price_new = #{priceNew,jdbcType=DECIMAL}, + sale_price_old = #{salePriceOld,jdbcType=DECIMAL}, + sale_price_new = #{salePriceNew,jdbcType=DECIMAL}, + gift_point_old = #{giftPointOld,jdbcType=INTEGER}, + gift_point_new = #{giftPointNew,jdbcType=INTEGER}, + use_point_limit_old = #{usePointLimitOld,jdbcType=INTEGER}, + use_point_limit_new = #{usePointLimitNew,jdbcType=INTEGER}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + create_time = #{createTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml new file mode 100644 index 0000000000..fb98e2c6b2 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsProductVertifyRecordMapper.xml @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, product_id, create_time, + vertify_man, status, detail + ) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + product_id, + + + create_time, + + + vertify_man, + + + status, + + + detail, + + + + #{id,jdbcType=BIGINT}, + + #{productId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{vertifyMan,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{detail,jdbcType=VARCHAR}, + + + + + + update pms_product_vertify_record + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + detail = #{record.detail,jdbcType=VARCHAR}, + + + + + + + + update pms_product_vertify_record + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + vertify_man = #{record.vertifyMan,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + detail = #{record.detail,jdbcType=VARCHAR} + + + + + + update pms_product_vertify_record + + + product_id = #{productId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + vertify_man = #{vertifyMan,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + detail = #{detail,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_product_vertify_record + set product_id = #{productId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + vertify_man = #{vertifyMan,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + detail = #{detail,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml new file mode 100644 index 0000000000..e36408a250 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/PmsSkuStockMapper.xml @@ -0,0 +1,307 @@ + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + id, product_id, sku_code, price, stock, low_stock, sp1, sp2, sp3, pic, sale + + + + + delete from pms_sku_stock + where id = #{id,jdbcType=BIGINT} + + + delete from pms_sku_stock + + + + + + + SELECT LAST_INSERT_ID() + + insert into pms_sku_stock (id, product_id, sku_code, + price, stock, low_stock, + sp1, sp2, sp3, pic, + sale) + values (#{id,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{skuCode,jdbcType=VARCHAR}, + #{price,jdbcType=DECIMAL}, #{stock,jdbcType=INTEGER}, #{lowStock,jdbcType=INTEGER}, + #{sp1,jdbcType=VARCHAR}, #{sp2,jdbcType=VARCHAR}, #{sp3,jdbcType=VARCHAR}, #{pic,jdbcType=VARCHAR}, + #{sale,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into pms_sku_stock + + id, + + product_id, + + + sku_code, + + + price, + + + stock, + + + low_stock, + + + sp1, + + + sp2, + + + sp3, + + + pic, + + + sale, + + + + #{id,jdbcType=BIGINT}, + + #{productId,jdbcType=BIGINT}, + + + #{skuCode,jdbcType=VARCHAR}, + + + #{price,jdbcType=DECIMAL}, + + + #{stock,jdbcType=INTEGER}, + + + #{lowStock,jdbcType=INTEGER}, + + + #{sp1,jdbcType=VARCHAR}, + + + #{sp2,jdbcType=VARCHAR}, + + + #{sp3,jdbcType=VARCHAR}, + + + #{pic,jdbcType=VARCHAR}, + + + #{sale,jdbcType=INTEGER}, + + + + + + update pms_sku_stock + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + sku_code = #{record.skuCode,jdbcType=VARCHAR}, + + + price = #{record.price,jdbcType=DECIMAL}, + + + stock = #{record.stock,jdbcType=INTEGER}, + + + low_stock = #{record.lowStock,jdbcType=INTEGER}, + + + sp1 = #{record.sp1,jdbcType=VARCHAR}, + + + sp2 = #{record.sp2,jdbcType=VARCHAR}, + + + sp3 = #{record.sp3,jdbcType=VARCHAR}, + + + pic = #{record.pic,jdbcType=VARCHAR}, + + + sale = #{record.sale,jdbcType=INTEGER}, + + + + + + + + update pms_sku_stock + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + sku_code = #{record.skuCode,jdbcType=VARCHAR}, + price = #{record.price,jdbcType=DECIMAL}, + stock = #{record.stock,jdbcType=INTEGER}, + low_stock = #{record.lowStock,jdbcType=INTEGER}, + sp1 = #{record.sp1,jdbcType=VARCHAR}, + sp2 = #{record.sp2,jdbcType=VARCHAR}, + sp3 = #{record.sp3,jdbcType=VARCHAR}, + pic = #{record.pic,jdbcType=VARCHAR}, + sale = #{record.sale,jdbcType=INTEGER} + + + + + + update pms_sku_stock + + + product_id = #{productId,jdbcType=BIGINT}, + + + sku_code = #{skuCode,jdbcType=VARCHAR}, + + + price = #{price,jdbcType=DECIMAL}, + + + stock = #{stock,jdbcType=INTEGER}, + + + low_stock = #{lowStock,jdbcType=INTEGER}, + + + sp1 = #{sp1,jdbcType=VARCHAR}, + + + sp2 = #{sp2,jdbcType=VARCHAR}, + + + sp3 = #{sp3,jdbcType=VARCHAR}, + + + pic = #{pic,jdbcType=VARCHAR}, + + + sale = #{sale,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update pms_sku_stock + set product_id = #{productId,jdbcType=BIGINT}, + sku_code = #{skuCode,jdbcType=VARCHAR}, + price = #{price,jdbcType=DECIMAL}, + stock = #{stock,jdbcType=INTEGER}, + low_stock = #{lowStock,jdbcType=INTEGER}, + sp1 = #{sp1,jdbcType=VARCHAR}, + sp2 = #{sp2,jdbcType=VARCHAR}, + sp3 = #{sp3,jdbcType=VARCHAR}, + pic = #{pic,jdbcType=VARCHAR}, + sale = #{sale,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml new file mode 100644 index 0000000000..c3f586719f --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponHistoryMapper.xml @@ -0,0 +1,293 @@ + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 + + + + + delete from sms_coupon_history + where id = #{id,jdbcType=BIGINT} + + + delete from sms_coupon_history + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_history (id, coupon_id, member_id, + coupon_code, member_nickname, get_type, + create_time, use_status, use_time, + order_id) + values (#{id,jdbcType=BIGINT}, #{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=CHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_history + + id, + + coupon_id, + + + member_id, + + + coupon_code, + + + member_nickname, + + + get_type, + + + create_time, + + + use_status, + + + use_time, + + + order_id, + + + + #{id,jdbcType=BIGINT}, + + #{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=CHAR}, + + + + + + 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=CHAR}, + + + + + + + + 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=CHAR} + + + + + + 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=CHAR}, + + + 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=CHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml new file mode 100644 index 0000000000..e2dd18b7ed --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponMapper.xml @@ -0,0 +1,402 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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, 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 (id, type, name, + platform, count, amount, + per_limit, min_point, start_time, + end_time, use_type, note, + publish_count, use_count, enable_time, + code, member_level) + values (#{id,jdbcType=BIGINT}, #{type,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, + #{platform,jdbcType=VARCHAR}, #{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}, #{enableTime,jdbcType=TIMESTAMP}, + #{code,jdbcType=VARCHAR}, #{memberLevel,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon + + id, + + type, + + + name, + + + platform, + + + count, + + + amount, + + + per_limit, + + + min_point, + + + start_time, + + + end_time, + + + use_type, + + + note, + + + publish_count, + + + use_count, + + + enable_time, + + + code, + + + member_level, + + + + #{id,jdbcType=BIGINT}, + + #{type,jdbcType=INTEGER}, + + + #{name,jdbcType=VARCHAR}, + + + #{platform,jdbcType=VARCHAR}, + + + #{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}, + + + #{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=VARCHAR}, + + + 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}, + + + 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=VARCHAR}, + 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}, + 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=VARCHAR}, + + + 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}, + + + 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=VARCHAR}, + 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}, + enable_time = #{enableTime,jdbcType=TIMESTAMP}, + code = #{code,jdbcType=VARCHAR}, + member_level = #{memberLevel,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml new file mode 100644 index 0000000000..29fe447077 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductCategoryRelationMapper.xml @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 + + + + + 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 (id, coupon_id, product_category_id + ) + values (#{id,jdbcType=BIGINT}, #{couponId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT} + ) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_category_relation + + id, + + coupon_id, + + + product_category_id, + + + + #{id,jdbcType=BIGINT}, + + #{couponId,jdbcType=BIGINT}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + + + + update sms_coupon_product_category_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + + + + + + 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} + + + + + + update sms_coupon_product_category_relation + + + coupon_id = #{couponId,jdbcType=BIGINT}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon_product_category_relation + set coupon_id = #{couponId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml new file mode 100644 index 0000000000..10c8bd9fb5 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsCouponProductRelationMapper.xml @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 + + + + + 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 (id, coupon_id, product_id + ) + values (#{id,jdbcType=BIGINT}, #{couponId,jdbcType=INTEGER}, #{productId,jdbcType=BIGINT} + ) + + + + SELECT LAST_INSERT_ID() + + insert into sms_coupon_product_relation + + id, + + coupon_id, + + + product_id, + + + + #{id,jdbcType=BIGINT}, + + #{couponId,jdbcType=INTEGER}, + + + #{productId,jdbcType=BIGINT}, + + + + + + update sms_coupon_product_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + coupon_id = #{record.couponId,jdbcType=INTEGER}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + + + + + + update sms_coupon_product_relation + set id = #{record.id,jdbcType=BIGINT}, + coupon_id = #{record.couponId,jdbcType=INTEGER}, + product_id = #{record.productId,jdbcType=BIGINT} + + + + + + update sms_coupon_product_relation + + + coupon_id = #{couponId,jdbcType=INTEGER}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_coupon_product_relation + set coupon_id = #{couponId,jdbcType=INTEGER}, + product_id = #{productId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml new file mode 100644 index 0000000000..acd228c536 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionLogMapper.xml @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, member_id, product_id, + member_phone, product_name, subscribe_time, + send_time) + values (#{id,jdbcType=INTEGER}, #{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 + + id, + + member_id, + + + product_id, + + + member_phone, + + + product_name, + + + subscribe_time, + + + send_time, + + + + #{id,jdbcType=INTEGER}, + + #{memberId,jdbcType=INTEGER}, + + + #{productId,jdbcType=BIGINT}, + + + #{memberPhone,jdbcType=VARCHAR}, + + + #{productName,jdbcType=VARCHAR}, + + + #{subscribeTime,jdbcType=TIMESTAMP}, + + + #{sendTime,jdbcType=TIMESTAMP}, + + + + + + update sms_flash_promotion_log + + + id = #{record.id,jdbcType=INTEGER}, + + + member_id = #{record.memberId,jdbcType=INTEGER}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + member_phone = #{record.memberPhone,jdbcType=VARCHAR}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, + + + send_time = #{record.sendTime,jdbcType=TIMESTAMP}, + + + + + + + + update sms_flash_promotion_log + set id = #{record.id,jdbcType=INTEGER}, + member_id = #{record.memberId,jdbcType=INTEGER}, + product_id = #{record.productId,jdbcType=BIGINT}, + member_phone = #{record.memberPhone,jdbcType=VARCHAR}, + product_name = #{record.productName,jdbcType=VARCHAR}, + subscribe_time = #{record.subscribeTime,jdbcType=TIMESTAMP}, + send_time = #{record.sendTime,jdbcType=TIMESTAMP} + + + + + + update sms_flash_promotion_log + + + member_id = #{memberId,jdbcType=INTEGER}, + + + product_id = #{productId,jdbcType=BIGINT}, + + + member_phone = #{memberPhone,jdbcType=VARCHAR}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, + + + send_time = #{sendTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=INTEGER} + + + update sms_flash_promotion_log + set member_id = #{memberId,jdbcType=INTEGER}, + product_id = #{productId,jdbcType=BIGINT}, + member_phone = #{memberPhone,jdbcType=VARCHAR}, + product_name = #{productName,jdbcType=VARCHAR}, + subscribe_time = #{subscribeTime,jdbcType=TIMESTAMP}, + send_time = #{sendTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=INTEGER} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml new file mode 100644 index 0000000000..13cf427640 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsFlashPromotionMapper.xml @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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_time, end_time, status, time_name + + + + + delete from sms_flash_promotion + where id = #{id,jdbcType=INTEGER} + + + delete from sms_flash_promotion + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion (id, title, start_time, + end_time, status, time_name + ) + values (#{id,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR}, #{startTime,jdbcType=TIMESTAMP}, + #{endTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, #{timeName,jdbcType=VARCHAR} + ) + + + + SELECT LAST_INSERT_ID() + + insert into sms_flash_promotion + + id, + + title, + + + start_time, + + + end_time, + + + status, + + + time_name, + + + + #{id,jdbcType=INTEGER}, + + #{title,jdbcType=VARCHAR}, + + + #{startTime,jdbcType=TIMESTAMP}, + + + #{endTime,jdbcType=TIMESTAMP}, + + + #{status,jdbcType=INTEGER}, + + + #{timeName,jdbcType=VARCHAR}, + + + + + + update sms_flash_promotion + + + id = #{record.id,jdbcType=INTEGER}, + + + title = #{record.title,jdbcType=VARCHAR}, + + + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + + + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + + + status = #{record.status,jdbcType=INTEGER}, + + + time_name = #{record.timeName,jdbcType=VARCHAR}, + + + + + + + + update sms_flash_promotion + set id = #{record.id,jdbcType=INTEGER}, + title = #{record.title,jdbcType=VARCHAR}, + start_time = #{record.startTime,jdbcType=TIMESTAMP}, + end_time = #{record.endTime,jdbcType=TIMESTAMP}, + status = #{record.status,jdbcType=INTEGER}, + time_name = #{record.timeName,jdbcType=VARCHAR} + + + + + + update sms_flash_promotion + + + title = #{title,jdbcType=VARCHAR}, + + + start_time = #{startTime,jdbcType=TIMESTAMP}, + + + end_time = #{endTime,jdbcType=TIMESTAMP}, + + + status = #{status,jdbcType=INTEGER}, + + + time_name = #{timeName,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=INTEGER} + + + update sms_flash_promotion + set title = #{title,jdbcType=VARCHAR}, + start_time = #{startTime,jdbcType=TIMESTAMP}, + end_time = #{endTime,jdbcType=TIMESTAMP}, + status = #{status,jdbcType=INTEGER}, + time_name = #{timeName,jdbcType=VARCHAR} + where id = #{id,jdbcType=INTEGER} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml new file mode 100644 index 0000000000..38b36b0b9f --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeAdvertiseMapper.xml @@ -0,0 +1,308 @@ + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 + + + + + delete from sms_home_advertise + where id = #{id,jdbcType=BIGINT} + + + delete from sms_home_advertise + + + + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_advertise (id, name, type, + pic, start_time, end_time, + status, click_count, order_count, + url, note) + values (#{id,jdbcType=BIGINT}, #{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}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_advertise + + id, + + name, + + + type, + + + pic, + + + start_time, + + + end_time, + + + status, + + + click_count, + + + order_count, + + + url, + + + note, + + + + #{id,jdbcType=BIGINT}, + + #{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}, + + + + + + 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}, + + + + + + + + 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} + + + + + + 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}, + + + 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} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml new file mode 100644 index 0000000000..81b352ddc1 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeBrandMapper.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, brand_id, brand_name, + recommend_status, sort) + values (#{id,jdbcType=BIGINT}, #{brandId,jdbcType=BIGINT}, #{brandName,jdbcType=VARCHAR}, + #{recommendStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_brand + + id, + + brand_id, + + + brand_name, + + + recommend_status, + + + sort, + + + + #{id,jdbcType=BIGINT}, + + #{brandId,jdbcType=BIGINT}, + + + #{brandName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_brand + + + id = #{record.id,jdbcType=BIGINT}, + + + brand_id = #{record.brandId,jdbcType=BIGINT}, + + + brand_name = #{record.brandName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_brand + set id = #{record.id,jdbcType=BIGINT}, + brand_id = #{record.brandId,jdbcType=BIGINT}, + brand_name = #{record.brandName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_brand + + + brand_id = #{brandId,jdbcType=BIGINT}, + + + brand_name = #{brandName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_brand + set brand_id = #{brandId,jdbcType=BIGINT}, + brand_name = #{brandName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml new file mode 100644 index 0000000000..9f9bdec7a9 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeNewProductMapper.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, product_id, product_name, + recommend_status, sort) + values (#{id,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, + #{recommendStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_new_product + + id, + + product_id, + + + product_name, + + + recommend_status, + + + sort, + + + + #{id,jdbcType=BIGINT}, + + #{productId,jdbcType=BIGINT}, + + + #{productName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_new_product + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_new_product + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_name = #{record.productName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_new_product + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_new_product + set product_id = #{productId,jdbcType=BIGINT}, + product_name = #{productName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml new file mode 100644 index 0000000000..d1a574cce3 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendProductMapper.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, product_id, product_name, + recommend_status, sort) + values (#{id,jdbcType=BIGINT}, #{productId,jdbcType=BIGINT}, #{productName,jdbcType=VARCHAR}, + #{recommendStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_product + + id, + + product_id, + + + product_name, + + + recommend_status, + + + sort, + + + + #{id,jdbcType=BIGINT}, + + #{productId,jdbcType=BIGINT}, + + + #{productName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_recommend_product + + + id = #{record.id,jdbcType=BIGINT}, + + + product_id = #{record.productId,jdbcType=BIGINT}, + + + product_name = #{record.productName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_recommend_product + set id = #{record.id,jdbcType=BIGINT}, + product_id = #{record.productId,jdbcType=BIGINT}, + product_name = #{record.productName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_recommend_product + + + product_id = #{productId,jdbcType=BIGINT}, + + + product_name = #{productName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_recommend_product + set product_id = #{productId,jdbcType=BIGINT}, + product_name = #{productName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml new file mode 100644 index 0000000000..744f667fb1 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/SmsHomeRecommendSubjectMapper.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, subject_id, subject_name, + recommend_status, sort) + values (#{id,jdbcType=BIGINT}, #{subjectId,jdbcType=BIGINT}, #{subjectName,jdbcType=VARCHAR}, + #{recommendStatus,jdbcType=INTEGER}, #{sort,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into sms_home_recommend_subject + + id, + + subject_id, + + + subject_name, + + + recommend_status, + + + sort, + + + + #{id,jdbcType=BIGINT}, + + #{subjectId,jdbcType=BIGINT}, + + + #{subjectName,jdbcType=VARCHAR}, + + + #{recommendStatus,jdbcType=INTEGER}, + + + #{sort,jdbcType=INTEGER}, + + + + + + update sms_home_recommend_subject + + + id = #{record.id,jdbcType=BIGINT}, + + + subject_id = #{record.subjectId,jdbcType=BIGINT}, + + + subject_name = #{record.subjectName,jdbcType=VARCHAR}, + + + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=INTEGER}, + + + + + + + + update sms_home_recommend_subject + set id = #{record.id,jdbcType=BIGINT}, + subject_id = #{record.subjectId,jdbcType=BIGINT}, + subject_name = #{record.subjectName,jdbcType=VARCHAR}, + recommend_status = #{record.recommendStatus,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=INTEGER} + + + + + + update sms_home_recommend_subject + + + subject_id = #{subjectId,jdbcType=BIGINT}, + + + subject_name = #{subjectName,jdbcType=VARCHAR}, + + + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update sms_home_recommend_subject + set subject_id = #{subjectId,jdbcType=BIGINT}, + subject_name = #{subjectName,jdbcType=VARCHAR}, + recommend_status = #{recommendStatus,jdbcType=INTEGER}, + sort = #{sort,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml new file mode 100644 index 0000000000..befc1fec0f --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminLoginLogMapper.xml @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, admin_id, create_time, + ip, address, user_agent + ) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + admin_id, + + + create_time, + + + ip, + + + address, + + + user_agent, + + + + #{id,jdbcType=BIGINT}, + + #{adminId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{ip,jdbcType=VARCHAR}, + + + #{address,jdbcType=VARCHAR}, + + + #{userAgent,jdbcType=VARCHAR}, + + + + + + update ums_admin_login_log + + + id = #{record.id,jdbcType=BIGINT}, + + + admin_id = #{record.adminId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + ip = #{record.ip,jdbcType=VARCHAR}, + + + address = #{record.address,jdbcType=VARCHAR}, + + + user_agent = #{record.userAgent,jdbcType=VARCHAR}, + + + + + + + + update ums_admin_login_log + set id = #{record.id,jdbcType=BIGINT}, + admin_id = #{record.adminId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + ip = #{record.ip,jdbcType=VARCHAR}, + address = #{record.address,jdbcType=VARCHAR}, + user_agent = #{record.userAgent,jdbcType=VARCHAR} + + + + + + update ums_admin_login_log + + + admin_id = #{adminId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + ip = #{ip,jdbcType=VARCHAR}, + + + address = #{address,jdbcType=VARCHAR}, + + + user_agent = #{userAgent,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_admin_login_log + set admin_id = #{adminId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + ip = #{ip,jdbcType=VARCHAR}, + address = #{address,jdbcType=VARCHAR}, + user_agent = #{userAgent,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml new file mode 100644 index 0000000000..ae7577d52c --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsAdminMapper.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 + + + + + delete from ums_admin + where id = #{id,jdbcType=BIGINT} + + + delete from ums_admin + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin (id, username, password, + icon, email) + values (#{id,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{password,jdbcType=VARCHAR}, + #{icon,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_admin + + id, + + username, + + + password, + + + icon, + + + email, + + + + #{id,jdbcType=BIGINT}, + + #{username,jdbcType=VARCHAR}, + + + #{password,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{email,jdbcType=VARCHAR}, + + + + + + 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}, + + + + + + + + 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} + + + + + + update ums_admin + + + username = #{username,jdbcType=VARCHAR}, + + + password = #{password,jdbcType=VARCHAR}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + email = #{email,jdbcType=VARCHAR}, + + + 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} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml new file mode 100644 index 0000000000..d42f149022 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsGrowthChangeHistoryMapper.xml @@ -0,0 +1,261 @@ + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, member_id, create_time, + change_type, change_count, operate_man, + operate_note, source_type) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + member_id, + + + create_time, + + + change_type, + + + change_count, + + + operate_man, + + + operate_note, + + + source_type, + + + + #{id,jdbcType=BIGINT}, + + #{memberId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{changeType,jdbcType=INTEGER}, + + + #{changeCount,jdbcType=INTEGER}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{operateNote,jdbcType=VARCHAR}, + + + #{sourceType,jdbcType=INTEGER}, + + + + + + update ums_growth_change_history + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + change_type = #{record.changeType,jdbcType=INTEGER}, + + + change_count = #{record.changeCount,jdbcType=INTEGER}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + + + + + + update ums_growth_change_history + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + change_type = #{record.changeType,jdbcType=INTEGER}, + change_count = #{record.changeCount,jdbcType=INTEGER}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + source_type = #{record.sourceType,jdbcType=INTEGER} + + + + + + update ums_growth_change_history + + + member_id = #{memberId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + change_type = #{changeType,jdbcType=INTEGER}, + + + change_count = #{changeCount,jdbcType=INTEGER}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + operate_note = #{operateNote,jdbcType=VARCHAR}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_growth_change_history + set member_id = #{memberId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + change_type = #{changeType,jdbcType=INTEGER}, + change_count = #{changeCount,jdbcType=INTEGER}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + operate_note = #{operateNote,jdbcType=VARCHAR}, + source_type = #{sourceType,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml new file mode 100644 index 0000000000..fd66380a54 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntegrationChangeHistoryMapper.xml @@ -0,0 +1,261 @@ + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, member_id, create_time, + change_type, change_count, operate_man, + operate_note, source_type) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + member_id, + + + create_time, + + + change_type, + + + change_count, + + + operate_man, + + + operate_note, + + + source_type, + + + + #{id,jdbcType=BIGINT}, + + #{memberId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{changeType,jdbcType=INTEGER}, + + + #{changeCount,jdbcType=INTEGER}, + + + #{operateMan,jdbcType=VARCHAR}, + + + #{operateNote,jdbcType=VARCHAR}, + + + #{sourceType,jdbcType=INTEGER}, + + + + + + update ums_integration_change_history + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + change_type = #{record.changeType,jdbcType=INTEGER}, + + + change_count = #{record.changeCount,jdbcType=INTEGER}, + + + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + + + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + + + + + + update ums_integration_change_history + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + change_type = #{record.changeType,jdbcType=INTEGER}, + change_count = #{record.changeCount,jdbcType=INTEGER}, + operate_man = #{record.operateMan,jdbcType=VARCHAR}, + operate_note = #{record.operateNote,jdbcType=VARCHAR}, + source_type = #{record.sourceType,jdbcType=INTEGER} + + + + + + update ums_integration_change_history + + + member_id = #{memberId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + change_type = #{changeType,jdbcType=INTEGER}, + + + change_count = #{changeCount,jdbcType=INTEGER}, + + + operate_man = #{operateMan,jdbcType=VARCHAR}, + + + operate_note = #{operateNote,jdbcType=VARCHAR}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_integration_change_history + set member_id = #{memberId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + change_type = #{changeType,jdbcType=INTEGER}, + change_count = #{changeCount,jdbcType=INTEGER}, + operate_man = #{operateMan,jdbcType=VARCHAR}, + operate_note = #{operateNote,jdbcType=VARCHAR}, + source_type = #{sourceType,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.xml new file mode 100644 index 0000000000..b6e1eef548 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsIntergrationConsumeSettingMapper.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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_intergration_consume_setting + where id = #{id,jdbcType=BIGINT} + + + delete from ums_intergration_consume_setting + + + + + + + SELECT LAST_INSERT_ID() + + insert into ums_intergration_consume_setting (id, deduction_per_amount, max_percent_per_order, + use_unit, coupon_status) + values (#{id,jdbcType=BIGINT}, #{deductionPerAmount,jdbcType=INTEGER}, #{maxPercentPerOrder,jdbcType=INTEGER}, + #{useUnit,jdbcType=INTEGER}, #{couponStatus,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_intergration_consume_setting + + id, + + deduction_per_amount, + + + max_percent_per_order, + + + use_unit, + + + coupon_status, + + + + #{id,jdbcType=BIGINT}, + + #{deductionPerAmount,jdbcType=INTEGER}, + + + #{maxPercentPerOrder,jdbcType=INTEGER}, + + + #{useUnit,jdbcType=INTEGER}, + + + #{couponStatus,jdbcType=INTEGER}, + + + + + + update ums_intergration_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_intergration_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_intergration_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_intergration_consume_setting + set deduction_per_amount = #{deductionPerAmount,jdbcType=INTEGER}, + max_percent_per_order = #{maxPercentPerOrder,jdbcType=INTEGER}, + use_unit = #{useUnit,jdbcType=INTEGER}, + coupon_status = #{couponStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml new file mode 100644 index 0000000000..ed3ace742e --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLevelMapper.xml @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (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) + values (#{id,jdbcType=BIGINT}, #{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 + + 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, + + + + #{id,jdbcType=BIGINT}, + + #{name,jdbcType=VARCHAR}, + + + #{growthPoint,jdbcType=INTEGER}, + + + #{defaultStatus,jdbcType=INTEGER}, + + + #{freeFreightPoint,jdbcType=DECIMAL}, + + + #{commentGrowthPoint,jdbcType=INTEGER}, + + + #{priviledgeFreeFreight,jdbcType=INTEGER}, + + + #{priviledgeSignIn,jdbcType=INTEGER}, + + + #{priviledgeComment,jdbcType=INTEGER}, + + + #{priviledgePromotion,jdbcType=INTEGER}, + + + #{priviledgeMemberPrice,jdbcType=INTEGER}, + + + #{priviledgeBirthday,jdbcType=INTEGER}, + + + #{note,jdbcType=VARCHAR}, + + + + + + update ums_member_level + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + growth_point = #{record.growthPoint,jdbcType=INTEGER}, + + + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + + + free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, + + + comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, + + + priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, + + + priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, + + + priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, + + + priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, + + + priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, + + + priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, + + + note = #{record.note,jdbcType=VARCHAR}, + + + + + + + + update ums_member_level + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + growth_point = #{record.growthPoint,jdbcType=INTEGER}, + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + free_freight_point = #{record.freeFreightPoint,jdbcType=DECIMAL}, + comment_growth_point = #{record.commentGrowthPoint,jdbcType=INTEGER}, + priviledge_free_freight = #{record.priviledgeFreeFreight,jdbcType=INTEGER}, + priviledge_sign_in = #{record.priviledgeSignIn,jdbcType=INTEGER}, + priviledge_comment = #{record.priviledgeComment,jdbcType=INTEGER}, + priviledge_promotion = #{record.priviledgePromotion,jdbcType=INTEGER}, + priviledge_member_price = #{record.priviledgeMemberPrice,jdbcType=INTEGER}, + priviledge_birthday = #{record.priviledgeBirthday,jdbcType=INTEGER}, + note = #{record.note,jdbcType=VARCHAR} + + + + + + update ums_member_level + + + name = #{name,jdbcType=VARCHAR}, + + + growth_point = #{growthPoint,jdbcType=INTEGER}, + + + default_status = #{defaultStatus,jdbcType=INTEGER}, + + + free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, + + + comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, + + + priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, + + + priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, + + + priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, + + + priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, + + + priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, + + + priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, + + + note = #{note,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_level + set name = #{name,jdbcType=VARCHAR}, + growth_point = #{growthPoint,jdbcType=INTEGER}, + default_status = #{defaultStatus,jdbcType=INTEGER}, + free_freight_point = #{freeFreightPoint,jdbcType=DECIMAL}, + comment_growth_point = #{commentGrowthPoint,jdbcType=INTEGER}, + priviledge_free_freight = #{priviledgeFreeFreight,jdbcType=INTEGER}, + priviledge_sign_in = #{priviledgeSignIn,jdbcType=INTEGER}, + priviledge_comment = #{priviledgeComment,jdbcType=INTEGER}, + priviledge_promotion = #{priviledgePromotion,jdbcType=INTEGER}, + priviledge_member_price = #{priviledgeMemberPrice,jdbcType=INTEGER}, + priviledge_birthday = #{priviledgeBirthday,jdbcType=INTEGER}, + note = #{note,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml new file mode 100644 index 0000000000..13ab8f111e --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberLoginLogMapper.xml @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, member_id, create_time, + ip, city, login_type, + province) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + member_id, + + + create_time, + + + ip, + + + city, + + + login_type, + + + province, + + + + #{id,jdbcType=BIGINT}, + + #{memberId,jdbcType=BIGINT}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{ip,jdbcType=VARCHAR}, + + + #{city,jdbcType=VARCHAR}, + + + #{loginType,jdbcType=INTEGER}, + + + #{province,jdbcType=VARCHAR}, + + + + + + update ums_member_login_log + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + ip = #{record.ip,jdbcType=VARCHAR}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + login_type = #{record.loginType,jdbcType=INTEGER}, + + + province = #{record.province,jdbcType=VARCHAR}, + + + + + + + + update ums_member_login_log + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + ip = #{record.ip,jdbcType=VARCHAR}, + city = #{record.city,jdbcType=VARCHAR}, + login_type = #{record.loginType,jdbcType=INTEGER}, + province = #{record.province,jdbcType=VARCHAR} + + + + + + update ums_member_login_log + + + member_id = #{memberId,jdbcType=BIGINT}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + ip = #{ip,jdbcType=VARCHAR}, + + + city = #{city,jdbcType=VARCHAR}, + + + login_type = #{loginType,jdbcType=INTEGER}, + + + province = #{province,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_login_log + set member_id = #{memberId,jdbcType=BIGINT}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + ip = #{ip,jdbcType=VARCHAR}, + city = #{city,jdbcType=VARCHAR}, + login_type = #{loginType,jdbcType=INTEGER}, + province = #{province,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml new file mode 100644 index 0000000000..9d2b7de111 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMapper.xml @@ -0,0 +1,435 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (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) + values (#{id,jdbcType=BIGINT}, #{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 + + 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, + + + + #{id,jdbcType=BIGINT}, + + #{memberLevelId,jdbcType=BIGINT}, + + + #{username,jdbcType=VARCHAR}, + + + #{password,jdbcType=VARCHAR}, + + + #{nickname,jdbcType=VARCHAR}, + + + #{phone,jdbcType=VARCHAR}, + + + #{status,jdbcType=INTEGER}, + + + #{createTime,jdbcType=TIMESTAMP}, + + + #{icon,jdbcType=VARCHAR}, + + + #{gender,jdbcType=INTEGER}, + + + #{birthday,jdbcType=DATE}, + + + #{city,jdbcType=VARCHAR}, + + + #{job,jdbcType=VARCHAR}, + + + #{personalizedSignature,jdbcType=VARCHAR}, + + + #{sourceType,jdbcType=INTEGER}, + + + #{integration,jdbcType=INTEGER}, + + + #{growth,jdbcType=INTEGER}, + + + #{luckeyCount,jdbcType=INTEGER}, + + + #{historyIntegration,jdbcType=INTEGER}, + + + + + + update ums_member + + + id = #{record.id,jdbcType=BIGINT}, + + + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + + + username = #{record.username,jdbcType=VARCHAR}, + + + password = #{record.password,jdbcType=VARCHAR}, + + + nickname = #{record.nickname,jdbcType=VARCHAR}, + + + phone = #{record.phone,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=INTEGER}, + + + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + + + icon = #{record.icon,jdbcType=VARCHAR}, + + + gender = #{record.gender,jdbcType=INTEGER}, + + + birthday = #{record.birthday,jdbcType=DATE}, + + + city = #{record.city,jdbcType=VARCHAR}, + + + job = #{record.job,jdbcType=VARCHAR}, + + + personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, + + + source_type = #{record.sourceType,jdbcType=INTEGER}, + + + integration = #{record.integration,jdbcType=INTEGER}, + + + growth = #{record.growth,jdbcType=INTEGER}, + + + luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, + + + history_integration = #{record.historyIntegration,jdbcType=INTEGER}, + + + + + + + + update ums_member + set id = #{record.id,jdbcType=BIGINT}, + member_level_id = #{record.memberLevelId,jdbcType=BIGINT}, + username = #{record.username,jdbcType=VARCHAR}, + password = #{record.password,jdbcType=VARCHAR}, + nickname = #{record.nickname,jdbcType=VARCHAR}, + phone = #{record.phone,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=INTEGER}, + create_time = #{record.createTime,jdbcType=TIMESTAMP}, + icon = #{record.icon,jdbcType=VARCHAR}, + gender = #{record.gender,jdbcType=INTEGER}, + birthday = #{record.birthday,jdbcType=DATE}, + city = #{record.city,jdbcType=VARCHAR}, + job = #{record.job,jdbcType=VARCHAR}, + personalized_signature = #{record.personalizedSignature,jdbcType=VARCHAR}, + source_type = #{record.sourceType,jdbcType=INTEGER}, + integration = #{record.integration,jdbcType=INTEGER}, + growth = #{record.growth,jdbcType=INTEGER}, + luckey_count = #{record.luckeyCount,jdbcType=INTEGER}, + history_integration = #{record.historyIntegration,jdbcType=INTEGER} + + + + + + update ums_member + + + member_level_id = #{memberLevelId,jdbcType=BIGINT}, + + + username = #{username,jdbcType=VARCHAR}, + + + password = #{password,jdbcType=VARCHAR}, + + + nickname = #{nickname,jdbcType=VARCHAR}, + + + phone = #{phone,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=INTEGER}, + + + create_time = #{createTime,jdbcType=TIMESTAMP}, + + + icon = #{icon,jdbcType=VARCHAR}, + + + gender = #{gender,jdbcType=INTEGER}, + + + birthday = #{birthday,jdbcType=DATE}, + + + city = #{city,jdbcType=VARCHAR}, + + + job = #{job,jdbcType=VARCHAR}, + + + personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, + + + source_type = #{sourceType,jdbcType=INTEGER}, + + + integration = #{integration,jdbcType=INTEGER}, + + + growth = #{growth,jdbcType=INTEGER}, + + + luckey_count = #{luckeyCount,jdbcType=INTEGER}, + + + history_integration = #{historyIntegration,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member + set member_level_id = #{memberLevelId,jdbcType=BIGINT}, + username = #{username,jdbcType=VARCHAR}, + password = #{password,jdbcType=VARCHAR}, + nickname = #{nickname,jdbcType=VARCHAR}, + phone = #{phone,jdbcType=VARCHAR}, + status = #{status,jdbcType=INTEGER}, + create_time = #{createTime,jdbcType=TIMESTAMP}, + icon = #{icon,jdbcType=VARCHAR}, + gender = #{gender,jdbcType=INTEGER}, + birthday = #{birthday,jdbcType=DATE}, + city = #{city,jdbcType=VARCHAR}, + job = #{job,jdbcType=VARCHAR}, + personalized_signature = #{personalizedSignature,jdbcType=VARCHAR}, + source_type = #{sourceType,jdbcType=INTEGER}, + integration = #{integration,jdbcType=INTEGER}, + growth = #{growth,jdbcType=INTEGER}, + luckey_count = #{luckeyCount,jdbcType=INTEGER}, + history_integration = #{historyIntegration,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml new file mode 100644 index 0000000000..348add3b2a --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberMemberTagRelationMapper.xml @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, member_id, tag_id + ) + values (#{id,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{tagId,jdbcType=BIGINT} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_member_tag_relation + + id, + + member_id, + + + tag_id, + + + + #{id,jdbcType=BIGINT}, + + #{memberId,jdbcType=BIGINT}, + + + #{tagId,jdbcType=BIGINT}, + + + + + + update ums_member_member_tag_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + tag_id = #{record.tagId,jdbcType=BIGINT}, + + + + + + + + update ums_member_member_tag_relation + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + tag_id = #{record.tagId,jdbcType=BIGINT} + + + + + + update ums_member_member_tag_relation + + + member_id = #{memberId,jdbcType=BIGINT}, + + + tag_id = #{tagId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_member_tag_relation + set member_id = #{memberId,jdbcType=BIGINT}, + tag_id = #{tagId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml new file mode 100644 index 0000000000..38eed8779e --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberProductCategoryRelationMapper.xml @@ -0,0 +1,183 @@ + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, member_id, product_category_id + ) + values (#{id,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{productCategoryId,jdbcType=BIGINT} + ) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_product_category_relation + + id, + + member_id, + + + product_category_id, + + + + #{id,jdbcType=BIGINT}, + + #{memberId,jdbcType=BIGINT}, + + + #{productCategoryId,jdbcType=BIGINT}, + + + + + + update ums_member_product_category_relation + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + product_category_id = #{record.productCategoryId,jdbcType=BIGINT}, + + + + + + + + update ums_member_product_category_relation + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + product_category_id = #{record.productCategoryId,jdbcType=BIGINT} + + + + + + update ums_member_product_category_relation + + + member_id = #{memberId,jdbcType=BIGINT}, + + + product_category_id = #{productCategoryId,jdbcType=BIGINT}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_product_category_relation + set member_id = #{memberId,jdbcType=BIGINT}, + product_category_id = #{productCategoryId,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml new file mode 100644 index 0000000000..d4788016d0 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberReceiveAddressMapper.xml @@ -0,0 +1,245 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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, address, post_code, default_status + + + + + 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 (id, member_id, name, + phone_number, address, post_code, + default_status) + values (#{id,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, + #{phoneNumber,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{postCode,jdbcType=VARCHAR}, + #{defaultStatus,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_receive_address + + id, + + member_id, + + + name, + + + phone_number, + + + address, + + + post_code, + + + default_status, + + + + #{id,jdbcType=BIGINT}, + + #{memberId,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{phoneNumber,jdbcType=VARCHAR}, + + + #{address,jdbcType=VARCHAR}, + + + #{postCode,jdbcType=VARCHAR}, + + + #{defaultStatus,jdbcType=INTEGER}, + + + + + + 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}, + + + address = #{record.address,jdbcType=VARCHAR}, + + + post_code = #{record.postCode,jdbcType=VARCHAR}, + + + default_status = #{record.defaultStatus,jdbcType=INTEGER}, + + + + + + + + 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}, + address = #{record.address,jdbcType=VARCHAR}, + post_code = #{record.postCode,jdbcType=VARCHAR}, + default_status = #{record.defaultStatus,jdbcType=INTEGER} + + + + + + update ums_member_receive_address + + + member_id = #{memberId,jdbcType=BIGINT}, + + + name = #{name,jdbcType=VARCHAR}, + + + phone_number = #{phoneNumber,jdbcType=VARCHAR}, + + + address = #{address,jdbcType=VARCHAR}, + + + post_code = #{postCode,jdbcType=VARCHAR}, + + + default_status = #{defaultStatus,jdbcType=INTEGER}, + + + 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}, + address = #{address,jdbcType=VARCHAR}, + post_code = #{postCode,jdbcType=VARCHAR}, + default_status = #{defaultStatus,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml new file mode 100644 index 0000000000..48bd16f085 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberRuleSettingMapper.xml @@ -0,0 +1,246 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, continue_sign_day, continue_sign_point, + consume_per_point, low_order_amount, max_point_per_order, + type) + values (#{id,jdbcType=BIGINT}, #{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 + + id, + + continue_sign_day, + + + continue_sign_point, + + + consume_per_point, + + + low_order_amount, + + + max_point_per_order, + + + type, + + + + #{id,jdbcType=BIGINT}, + + #{continueSignDay,jdbcType=INTEGER}, + + + #{continueSignPoint,jdbcType=INTEGER}, + + + #{consumePerPoint,jdbcType=DECIMAL}, + + + #{lowOrderAmount,jdbcType=DECIMAL}, + + + #{maxPointPerOrder,jdbcType=INTEGER}, + + + #{type,jdbcType=INTEGER}, + + + + + + update ums_member_rule_setting + + + id = #{record.id,jdbcType=BIGINT}, + + + continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, + + + continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, + + + consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, + + + low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, + + + max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update ums_member_rule_setting + set id = #{record.id,jdbcType=BIGINT}, + continue_sign_day = #{record.continueSignDay,jdbcType=INTEGER}, + continue_sign_point = #{record.continueSignPoint,jdbcType=INTEGER}, + consume_per_point = #{record.consumePerPoint,jdbcType=DECIMAL}, + low_order_amount = #{record.lowOrderAmount,jdbcType=DECIMAL}, + max_point_per_order = #{record.maxPointPerOrder,jdbcType=INTEGER}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update ums_member_rule_setting + + + continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, + + + continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, + + + consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, + + + low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, + + + max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_rule_setting + set continue_sign_day = #{continueSignDay,jdbcType=INTEGER}, + continue_sign_point = #{continueSignPoint,jdbcType=INTEGER}, + consume_per_point = #{consumePerPoint,jdbcType=DECIMAL}, + low_order_amount = #{lowOrderAmount,jdbcType=DECIMAL}, + max_point_per_order = #{maxPointPerOrder,jdbcType=INTEGER}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml new file mode 100644 index 0000000000..bcae4300e1 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberStatisticsInfoMapper.xml @@ -0,0 +1,388 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (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) + values (#{id,jdbcType=BIGINT}, #{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 + + 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, + + + + #{id,jdbcType=BIGINT}, + + #{memberId,jdbcType=BIGINT}, + + + #{consumeAmount,jdbcType=DECIMAL}, + + + #{orderCount,jdbcType=INTEGER}, + + + #{couponCount,jdbcType=INTEGER}, + + + #{commentCount,jdbcType=INTEGER}, + + + #{returnOrderCount,jdbcType=INTEGER}, + + + #{loginCount,jdbcType=INTEGER}, + + + #{attendCount,jdbcType=INTEGER}, + + + #{fansCount,jdbcType=INTEGER}, + + + #{collectProductCount,jdbcType=INTEGER}, + + + #{collectSubjectCount,jdbcType=INTEGER}, + + + #{collectTopicCount,jdbcType=INTEGER}, + + + #{collectCommentCount,jdbcType=INTEGER}, + + + #{inviteFriendCount,jdbcType=INTEGER}, + + + #{recentOrderTime,jdbcType=TIMESTAMP}, + + + + + + update ums_member_statistics_info + + + id = #{record.id,jdbcType=BIGINT}, + + + member_id = #{record.memberId,jdbcType=BIGINT}, + + + consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, + + + order_count = #{record.orderCount,jdbcType=INTEGER}, + + + coupon_count = #{record.couponCount,jdbcType=INTEGER}, + + + comment_count = #{record.commentCount,jdbcType=INTEGER}, + + + return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, + + + login_count = #{record.loginCount,jdbcType=INTEGER}, + + + attend_count = #{record.attendCount,jdbcType=INTEGER}, + + + fans_count = #{record.fansCount,jdbcType=INTEGER}, + + + collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, + + + collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, + + + collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, + + + collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, + + + invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, + + + recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP}, + + + + + + + + update ums_member_statistics_info + set id = #{record.id,jdbcType=BIGINT}, + member_id = #{record.memberId,jdbcType=BIGINT}, + consume_amount = #{record.consumeAmount,jdbcType=DECIMAL}, + order_count = #{record.orderCount,jdbcType=INTEGER}, + coupon_count = #{record.couponCount,jdbcType=INTEGER}, + comment_count = #{record.commentCount,jdbcType=INTEGER}, + return_order_count = #{record.returnOrderCount,jdbcType=INTEGER}, + login_count = #{record.loginCount,jdbcType=INTEGER}, + attend_count = #{record.attendCount,jdbcType=INTEGER}, + fans_count = #{record.fansCount,jdbcType=INTEGER}, + collect_product_count = #{record.collectProductCount,jdbcType=INTEGER}, + collect_subject_count = #{record.collectSubjectCount,jdbcType=INTEGER}, + collect_topic_count = #{record.collectTopicCount,jdbcType=INTEGER}, + collect_comment_count = #{record.collectCommentCount,jdbcType=INTEGER}, + invite_friend_count = #{record.inviteFriendCount,jdbcType=INTEGER}, + recent_order_time = #{record.recentOrderTime,jdbcType=TIMESTAMP} + + + + + + update ums_member_statistics_info + + + member_id = #{memberId,jdbcType=BIGINT}, + + + consume_amount = #{consumeAmount,jdbcType=DECIMAL}, + + + order_count = #{orderCount,jdbcType=INTEGER}, + + + coupon_count = #{couponCount,jdbcType=INTEGER}, + + + comment_count = #{commentCount,jdbcType=INTEGER}, + + + return_order_count = #{returnOrderCount,jdbcType=INTEGER}, + + + login_count = #{loginCount,jdbcType=INTEGER}, + + + attend_count = #{attendCount,jdbcType=INTEGER}, + + + fans_count = #{fansCount,jdbcType=INTEGER}, + + + collect_product_count = #{collectProductCount,jdbcType=INTEGER}, + + + collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, + + + collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, + + + collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, + + + invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, + + + recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_statistics_info + set member_id = #{memberId,jdbcType=BIGINT}, + consume_amount = #{consumeAmount,jdbcType=DECIMAL}, + order_count = #{orderCount,jdbcType=INTEGER}, + coupon_count = #{couponCount,jdbcType=INTEGER}, + comment_count = #{commentCount,jdbcType=INTEGER}, + return_order_count = #{returnOrderCount,jdbcType=INTEGER}, + login_count = #{loginCount,jdbcType=INTEGER}, + attend_count = #{attendCount,jdbcType=INTEGER}, + fans_count = #{fansCount,jdbcType=INTEGER}, + collect_product_count = #{collectProductCount,jdbcType=INTEGER}, + collect_subject_count = #{collectSubjectCount,jdbcType=INTEGER}, + collect_topic_count = #{collectTopicCount,jdbcType=INTEGER}, + collect_comment_count = #{collectCommentCount,jdbcType=INTEGER}, + invite_friend_count = #{inviteFriendCount,jdbcType=INTEGER}, + recent_order_time = #{recentOrderTime,jdbcType=TIMESTAMP} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml new file mode 100644 index 0000000000..382733209f --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTagMapper.xml @@ -0,0 +1,198 @@ + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, name, finish_order_count, + finish_order_amount) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{finishOrderCount,jdbcType=INTEGER}, + #{finishOrderAmount,jdbcType=DECIMAL}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_tag + + id, + + name, + + + finish_order_count, + + + finish_order_amount, + + + + #{id,jdbcType=BIGINT}, + + #{name,jdbcType=VARCHAR}, + + + #{finishOrderCount,jdbcType=INTEGER}, + + + #{finishOrderAmount,jdbcType=DECIMAL}, + + + + + + update ums_member_tag + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, + + + finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL}, + + + + + + + + update ums_member_tag + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + finish_order_count = #{record.finishOrderCount,jdbcType=INTEGER}, + finish_order_amount = #{record.finishOrderAmount,jdbcType=DECIMAL} + + + + + + update ums_member_tag + + + name = #{name,jdbcType=VARCHAR}, + + + finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, + + + finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_tag + set name = #{name,jdbcType=VARCHAR}, + finish_order_count = #{finishOrderCount,jdbcType=INTEGER}, + finish_order_amount = #{finishOrderAmount,jdbcType=DECIMAL} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml new file mode 100644 index 0000000000..74269e1cf2 --- /dev/null +++ b/mall-mbg/src/main/resources/com/macro/mall/mapper/UmsMemberTaskMapper.xml @@ -0,0 +1,213 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${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 (id, name, growth, + intergration, type) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{growth,jdbcType=INTEGER}, + #{intergration,jdbcType=INTEGER}, #{type,jdbcType=INTEGER}) + + + + SELECT LAST_INSERT_ID() + + insert into ums_member_task + + id, + + name, + + + growth, + + + intergration, + + + type, + + + + #{id,jdbcType=BIGINT}, + + #{name,jdbcType=VARCHAR}, + + + #{growth,jdbcType=INTEGER}, + + + #{intergration,jdbcType=INTEGER}, + + + #{type,jdbcType=INTEGER}, + + + + + + update ums_member_task + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + growth = #{record.growth,jdbcType=INTEGER}, + + + intergration = #{record.intergration,jdbcType=INTEGER}, + + + type = #{record.type,jdbcType=INTEGER}, + + + + + + + + update ums_member_task + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + growth = #{record.growth,jdbcType=INTEGER}, + intergration = #{record.intergration,jdbcType=INTEGER}, + type = #{record.type,jdbcType=INTEGER} + + + + + + update ums_member_task + + + name = #{name,jdbcType=VARCHAR}, + + + growth = #{growth,jdbcType=INTEGER}, + + + intergration = #{intergration,jdbcType=INTEGER}, + + + type = #{type,jdbcType=INTEGER}, + + + where id = #{id,jdbcType=BIGINT} + + + update ums_member_task + set name = #{name,jdbcType=VARCHAR}, + growth = #{growth,jdbcType=INTEGER}, + intergration = #{intergration,jdbcType=INTEGER}, + type = #{type,jdbcType=INTEGER} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/mall-mbg/src/main/resources/generator.properties b/mall-mbg/src/main/resources/generator.properties new file mode 100644 index 0000000000..95c8f90015 --- /dev/null +++ b/mall-mbg/src/main/resources/generator.properties @@ -0,0 +1,4 @@ +jdbc.driverClass=com.mysql.jdbc.Driver +jdbc.connectionURL=jdbc:mysql://localhost:3306/mall +jdbc.userId=root +jdbc.password=root \ No newline at end of file diff --git a/mall-mbg/src/main/resources/generatorConfig.xml b/mall-mbg/src/main/resources/generatorConfig.xml new file mode 100644 index 0000000000..71a5ce5820 --- /dev/null +++ b/mall-mbg/src/main/resources/generatorConfig.xml @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
\ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000000..7d00705848 --- /dev/null +++ b/pom.xml @@ -0,0 +1,15 @@ + + + 4.0.0 + com.macro + mall + pom + 1.0-SNAPSHOT + + mall-admin + mall-mbg + + + \ No newline at end of file