Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
chnmuseum-party
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liqin
chnmuseum-party
Commits
c9a69a15
Commit
c9a69a15
authored
Mar 16, 2021
by
liqin
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fixed
parent
d9c5bb47
Hide whitespace changes
Inline
Side-by-side
Showing
73 changed files
with
1735 additions
and
99 deletions
+1735
-99
pom.xml
pom.xml
+1
-0
CodeGenerator.java
...senergy/chnmuseum/party/common/mybatis/CodeGenerator.java
+14
-13
MysqlGenerator.java
...energy/chnmuseum/party/common/mybatis/MysqlGenerator.java
+16
-1
AssetMapper.java
...java/cn/wisenergy/chnmuseum/party/mapper/AssetMapper.java
+16
-0
AssetTypeMapper.java
.../cn/wisenergy/chnmuseum/party/mapper/AssetTypeMapper.java
+16
-0
BoardTalkingMapper.java
.../wisenergy/chnmuseum/party/mapper/BoardTalkingMapper.java
+16
-0
CopyrightOwnerMapper.java
...isenergy/chnmuseum/party/mapper/CopyrightOwnerMapper.java
+16
-0
CopytightOwnerAssetTypeMapper.java
...chnmuseum/party/mapper/CopytightOwnerAssetTypeMapper.java
+16
-0
CopytightOwnerBoardTypeMapper.java
...chnmuseum/party/mapper/CopytightOwnerBoardTypeMapper.java
+16
-0
ExhibitionBoardCatMapper.java
...ergy/chnmuseum/party/mapper/ExhibitionBoardCatMapper.java
+16
-0
ExhibitionBoardMapper.java
...senergy/chnmuseum/party/mapper/ExhibitionBoardMapper.java
+16
-0
LearningContentBoardCatMapper.java
...chnmuseum/party/mapper/LearningContentBoardCatMapper.java
+16
-0
LearningContentBoardMapper.java
...gy/chnmuseum/party/mapper/LearningContentBoardMapper.java
+16
-0
LearningContentCopyrightOwnerMapper.java
...eum/party/mapper/LearningContentCopyrightOwnerMapper.java
+16
-0
LearningContentMapper.java
...senergy/chnmuseum/party/mapper/LearningContentMapper.java
+16
-0
RunLogMapper.java
...ava/cn/wisenergy/chnmuseum/party/mapper/RunLogMapper.java
+16
-0
SysLogMapper.java
...ava/cn/wisenergy/chnmuseum/party/mapper/SysLogMapper.java
+3
-3
Asset.java
src/main/java/cn/wisenergy/chnmuseum/party/model/Asset.java
+64
-0
AssetType.java
...in/java/cn/wisenergy/chnmuseum/party/model/AssetType.java
+52
-0
BoardTalking.java
...java/cn/wisenergy/chnmuseum/party/model/BoardTalking.java
+52
-0
CopyrightOwner.java
...va/cn/wisenergy/chnmuseum/party/model/CopyrightOwner.java
+60
-0
CopytightOwnerAssetType.java
...energy/chnmuseum/party/model/CopytightOwnerAssetType.java
+41
-0
CopytightOwnerBoardType.java
...energy/chnmuseum/party/model/CopytightOwnerBoardType.java
+41
-0
ExhibitionBoard.java
...a/cn/wisenergy/chnmuseum/party/model/ExhibitionBoard.java
+88
-0
ExhibitionBoardCat.java
...n/wisenergy/chnmuseum/party/model/ExhibitionBoardCat.java
+51
-0
LearningContent.java
...a/cn/wisenergy/chnmuseum/party/model/LearningContent.java
+56
-0
LearningContentBoard.java
...wisenergy/chnmuseum/party/model/LearningContentBoard.java
+41
-0
LearningContentBoardCat.java
...energy/chnmuseum/party/model/LearningContentBoardCat.java
+41
-0
LearningContentCopyrightOwner.java
.../chnmuseum/party/model/LearningContentCopyrightOwner.java
+41
-0
RunLog.java
src/main/java/cn/wisenergy/chnmuseum/party/model/RunLog.java
+55
-0
SysLog.java
src/main/java/cn/wisenergy/chnmuseum/party/model/SysLog.java
+31
-73
AssetService.java
...va/cn/wisenergy/chnmuseum/party/service/AssetService.java
+16
-0
AssetTypeService.java
...n/wisenergy/chnmuseum/party/service/AssetTypeService.java
+16
-0
BoardTalkingService.java
...isenergy/chnmuseum/party/service/BoardTalkingService.java
+16
-0
CopyrightOwnerService.java
...energy/chnmuseum/party/service/CopyrightOwnerService.java
+16
-0
CopytightOwnerAssetTypeService.java
...nmuseum/party/service/CopytightOwnerAssetTypeService.java
+16
-0
CopytightOwnerBoardTypeService.java
...nmuseum/party/service/CopytightOwnerBoardTypeService.java
+16
-0
ExhibitionBoardCatService.java
...gy/chnmuseum/party/service/ExhibitionBoardCatService.java
+16
-0
ExhibitionBoardService.java
...nergy/chnmuseum/party/service/ExhibitionBoardService.java
+16
-0
LearningContentBoardCatService.java
...nmuseum/party/service/LearningContentBoardCatService.java
+16
-0
LearningContentBoardService.java
.../chnmuseum/party/service/LearningContentBoardService.java
+16
-0
LearningContentCopyrightOwnerService.java
...m/party/service/LearningContentCopyrightOwnerService.java
+16
-0
LearningContentService.java
...nergy/chnmuseum/party/service/LearningContentService.java
+16
-0
RunLogService.java
...a/cn/wisenergy/chnmuseum/party/service/RunLogService.java
+16
-0
SysLogService.java
...a/cn/wisenergy/chnmuseum/party/service/SysLogService.java
+16
-0
AssetServiceImpl.java
...energy/chnmuseum/party/service/impl/AssetServiceImpl.java
+20
-0
AssetTypeServiceImpl.java
...gy/chnmuseum/party/service/impl/AssetTypeServiceImpl.java
+20
-0
BoardTalkingServiceImpl.java
...chnmuseum/party/service/impl/BoardTalkingServiceImpl.java
+20
-0
CopyrightOwnerServiceImpl.java
...nmuseum/party/service/impl/CopyrightOwnerServiceImpl.java
+20
-0
CopytightOwnerAssetTypeServiceImpl.java
...arty/service/impl/CopytightOwnerAssetTypeServiceImpl.java
+20
-0
CopytightOwnerBoardTypeServiceImpl.java
...arty/service/impl/CopytightOwnerBoardTypeServiceImpl.java
+20
-0
ExhibitionBoardCatServiceImpl.java
...eum/party/service/impl/ExhibitionBoardCatServiceImpl.java
+20
-0
ExhibitionBoardServiceImpl.java
...museum/party/service/impl/ExhibitionBoardServiceImpl.java
+20
-0
LearningContentBoardCatServiceImpl.java
...arty/service/impl/LearningContentBoardCatServiceImpl.java
+20
-0
LearningContentBoardServiceImpl.java
...m/party/service/impl/LearningContentBoardServiceImpl.java
+20
-0
LearningContentCopyrightOwnerServiceImpl.java
...ervice/impl/LearningContentCopyrightOwnerServiceImpl.java
+20
-0
LearningContentServiceImpl.java
...museum/party/service/impl/LearningContentServiceImpl.java
+20
-0
RunLogServiceImpl.java
...nergy/chnmuseum/party/service/impl/RunLogServiceImpl.java
+20
-0
SysLogServiceImpl.java
...nergy/chnmuseum/party/service/impl/SysLogServiceImpl.java
+7
-7
AssetController.java
...nergy/chnmuseum/party/web/controller/AssetController.java
+22
-0
AssetTypeController.java
...y/chnmuseum/party/web/controller/AssetTypeController.java
+22
-0
BoardTalkingController.java
...hnmuseum/party/web/controller/BoardTalkingController.java
+22
-0
CopyrightOwnerController.java
...museum/party/web/controller/CopyrightOwnerController.java
+22
-0
CopytightOwnerAssetTypeController.java
...rty/web/controller/CopytightOwnerAssetTypeController.java
+22
-0
CopytightOwnerBoardTypeController.java
...rty/web/controller/CopytightOwnerBoardTypeController.java
+22
-0
ExhibitionBoardCatController.java
...um/party/web/controller/ExhibitionBoardCatController.java
+22
-0
ExhibitionBoardController.java
...useum/party/web/controller/ExhibitionBoardController.java
+22
-0
LearningContentBoardCatController.java
...rty/web/controller/LearningContentBoardCatController.java
+22
-0
LearningContentBoardController.java
.../party/web/controller/LearningContentBoardController.java
+22
-0
LearningContentController.java
...useum/party/web/controller/LearningContentController.java
+22
-0
LearningContentCopyrightOwnerController.java
...b/controller/LearningContentCopyrightOwnerController.java
+22
-0
RunLogController.java
...ergy/chnmuseum/party/web/controller/RunLogController.java
+22
-0
SysLogController.java
...ergy/chnmuseum/party/web/controller/SysLogController.java
+2
-2
No files found.
pom.xml
View file @
c9a69a15
...
...
@@ -289,6 +289,7 @@
<include>
**/*.jpg
</include>
<include>
**/*.ico
</include>
<include>
**/*.key
</include>
<include>
**/*.vm
</include>
</includes>
<filtering>
false
</filtering>
</resource>
...
...
src/main/java/cn/wisenergy/chnmuseum/party/common/mybatis/CodeGenerator.java
View file @
c9a69a15
...
...
@@ -13,7 +13,10 @@ import com.baomidou.mybatisplus.generator.config.rules.NamingStrategy;
import
org.apache.commons.lang3.StringUtils
;
import
java.io.File
;
import
java.util.*
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
public
class
CodeGenerator
{
...
...
@@ -187,7 +190,7 @@ public class CodeGenerator {
// 数据源配置
DataSourceConfig
dsc
=
new
DataSourceConfig
();
dsc
.
setUrl
(
"jdbc:mysql://192.168.110.93:3306/
national_museum
?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&useSSL=false&serverTimezone=Asia/Shanghai"
);
dsc
.
setUrl
(
"jdbc:mysql://192.168.110.93:3306/
chnmuseum-party
?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=CONVERT_TO_NULL&allowMultiQueries=true&useSSL=false&serverTimezone=Asia/Shanghai"
);
dsc
.
setDriverName
(
"com.mysql.cj.jdbc.Driver"
);
dsc
.
setUsername
(
"root"
);
dsc
.
setPassword
(
"password"
);
...
...
@@ -207,8 +210,8 @@ public class CodeGenerator {
// 自定义需要填充的字段 数据库中的字段
List
<
TableFill
>
tableFillList
=
new
ArrayList
<>();
tableFillList
.
add
(
new
TableFill
(
"CREATE_
DAT
E"
,
FieldFill
.
INSERT
));
tableFillList
.
add
(
new
TableFill
(
"
MODIFY_DAT
E"
,
FieldFill
.
INSERT_UPDATE
));
tableFillList
.
add
(
new
TableFill
(
"CREATE_
TIM
E"
,
FieldFill
.
INSERT
));
tableFillList
.
add
(
new
TableFill
(
"
UPDATE_TIM
E"
,
FieldFill
.
INSERT_UPDATE
));
tableFillList
.
add
(
new
TableFill
(
"VERSION"
,
FieldFill
.
INSERT
));
// 策略配置
...
...
@@ -227,7 +230,7 @@ public class CodeGenerator {
sc
.
setVersionFieldName
(
GeneratorConstant
.
VERSION
);
sc
.
setLogicDeleteFieldName
(
GeneratorConstant
.
DELETED
);
sc
.
setTablePrefix
(
"M_"
);
//表前缀
//
sc.setTablePrefix("M_");//表前缀
// 表名生成策略(下划线转驼峰命名)
sc
.
setNaming
(
NamingStrategy
.
underline_to_camel
);
// 列名生成策略(下划线转驼峰命名)
...
...
@@ -243,8 +246,8 @@ public class CodeGenerator {
InjectionConfig
injectionConfig
=
new
InjectionConfig
()
{
@Override
public
void
initMap
()
{
Set
<
String
>
tablePrefixSet
=
this
.
getConfig
().
getStrategyConfig
().
getTablePrefix
();
String
entityName
=
StringUtils
.
removeStart
(
tableName
,
tablePrefixSet
.
stream
().
findFirst
().
get
())
;
// Set<String> tablePrefixSet = this.getConfig().getStrategyConfig().getInclude
();
String
entityName
=
tableName
;
String
camelTableName
=
underlineToCamel
(
entityName
);
String
pascalTableName
=
underlineToPascal
(
entityName
);
String
colonTableName
=
underlineToColon
(
entityName
);
...
...
@@ -259,7 +262,6 @@ public class CodeGenerator {
map
.
put
(
"pageParamPath"
,
paramPackage
+
StringPool
.
DOT
+
pascalTableName
+
"PageParam"
);
// 查询参数共公包路径
System
.
out
.
println
(
"superPageParam = "
+
superPageParam
);
map
.
put
(
"superPageParamPath"
,
superPageParam
);
map
.
put
(
"superPageOrderParamPath"
,
superPageOrderParam
);
map
.
put
(
"commonPageUtilPath"
,
commonPageUtil
);
...
...
@@ -302,25 +304,24 @@ public class CodeGenerator {
this
.
setMap
(
map
);
}
};
List
<
FileOutConfig
>
focList
=
new
ArrayList
<>();
focList
.
add
(
new
FileOutConfig
(
"/templates/mapper.xml.vm"
)
{
@Override
public
String
outputFile
(
TableInfo
tableInfo
)
{
return
projectPath
+
"/src/main/resources/mapper/
app/
"
+
tableInfo
.
getEntityName
()
+
"Mapper"
+
StringPool
.
DOT_XML
;
return
projectPath
+
"/src/main/resources/mapper/"
+
tableInfo
.
getEntityName
()
+
"Mapper"
+
StringPool
.
DOT_XML
;
}
});
focList
.
add
(
new
FileOutConfig
(
"/templates/controller.java.vm"
)
{
@Override
public
String
outputFile
(
TableInfo
tableInfo
)
{
return
projectPath
+
"/src/main/java/cn/wisenergy/chnmuseum/party/web/
api/standard/design/
controller/"
+
tableInfo
.
getEntityName
()
+
"Controller"
+
StringPool
.
DOT_JAVA
;
return
projectPath
+
"/src/main/java/cn/wisenergy/chnmuseum/party/web/controller/"
+
tableInfo
.
getEntityName
()
+
"Controller"
+
StringPool
.
DOT_JAVA
;
}
});
injectionConfig
.
setFileOutConfigList
(
focList
);
TemplateConfig
templateConfig
=
new
TemplateConfig
();
templateConfig
.
setController
(
null
);
templateConfig
.
setXml
(
null
);
templateConfig
.
setController
(
"/templates/controller.java.vm"
);
templateConfig
.
setXml
(
"/templates/mapper.java.vm"
);
templateConfig
.
setEntity
(
"/templates/entity.java.vm"
);
new
AutoGenerator
()
...
...
src/main/java/cn/wisenergy/chnmuseum/party/common/mybatis/MysqlGenerator.java
View file @
c9a69a15
...
...
@@ -2,7 +2,22 @@ package cn.wisenergy.chnmuseum.party.common.mybatis;
public
class
MysqlGenerator
{
private
static
final
String
[]
tableNames
=
new
String
[]{
"M_QUALITY_JOB"
};
private
static
final
String
[]
tableNames
=
new
String
[]
{
"asset"
,
"asset_type"
,
"board_talking"
,
"copyright_owner"
,
"copytight_owner_asset_type"
,
"copytight_owner_board_type"
,
"exhibition_board"
,
"exhibition_board_cat"
,
"learning_content"
,
"learning_content_board"
,
"learning_content_board_cat"
,
"learning_content_copyright_owner"
,
"sys_log"
,
"run_log"
};
private
static
final
String
projectPath
=
"/opt/ss"
;
public
static
void
main
(
String
[]
args
)
{
...
...
src/main/java/cn/wisenergy/chnmuseum/party/mapper/AssetMapper.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
mapper
;
import
cn.wisenergy.chnmuseum.party.model.Asset
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 视频 Mapper 接口
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
AssetMapper
extends
BaseMapper
<
Asset
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/mapper/AssetTypeMapper.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
mapper
;
import
cn.wisenergy.chnmuseum.party.model.AssetType
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 视频分类 Mapper 接口
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
AssetTypeMapper
extends
BaseMapper
<
AssetType
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/mapper/BoardTalkingMapper.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
mapper
;
import
cn.wisenergy.chnmuseum.party.model.BoardTalking
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 展板互动 Mapper 接口
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
BoardTalkingMapper
extends
BaseMapper
<
BoardTalking
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/mapper/CopyrightOwnerMapper.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
mapper
;
import
cn.wisenergy.chnmuseum.party.model.CopyrightOwner
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 版权方 Mapper 接口
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
CopyrightOwnerMapper
extends
BaseMapper
<
CopyrightOwner
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/mapper/CopytightOwnerAssetTypeMapper.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
mapper
;
import
cn.wisenergy.chnmuseum.party.model.CopytightOwnerAssetType
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 版权方视频分类 Mapper 接口
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
CopytightOwnerAssetTypeMapper
extends
BaseMapper
<
CopytightOwnerAssetType
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/mapper/CopytightOwnerBoardTypeMapper.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
mapper
;
import
cn.wisenergy.chnmuseum.party.model.CopytightOwnerBoardType
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 版权方展板分类 Mapper 接口
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
CopytightOwnerBoardTypeMapper
extends
BaseMapper
<
CopytightOwnerBoardType
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/mapper/ExhibitionBoardCatMapper.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
mapper
;
import
cn.wisenergy.chnmuseum.party.model.ExhibitionBoardCat
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 展板分类 Mapper 接口
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
ExhibitionBoardCatMapper
extends
BaseMapper
<
ExhibitionBoardCat
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/mapper/ExhibitionBoardMapper.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
mapper
;
import
cn.wisenergy.chnmuseum.party.model.ExhibitionBoard
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 展板 Mapper 接口
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
ExhibitionBoardMapper
extends
BaseMapper
<
ExhibitionBoard
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/mapper/LearningContentBoardCatMapper.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
mapper
;
import
cn.wisenergy.chnmuseum.party.model.LearningContentBoardCat
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 学习内容展板分类 Mapper 接口
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
LearningContentBoardCatMapper
extends
BaseMapper
<
LearningContentBoardCat
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/mapper/LearningContentBoardMapper.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
mapper
;
import
cn.wisenergy.chnmuseum.party.model.LearningContentBoard
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 学习内容展板 Mapper 接口
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
LearningContentBoardMapper
extends
BaseMapper
<
LearningContentBoard
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/mapper/LearningContentCopyrightOwnerMapper.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
mapper
;
import
cn.wisenergy.chnmuseum.party.model.LearningContentCopyrightOwner
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 学习内容版权方 Mapper 接口
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
LearningContentCopyrightOwnerMapper
extends
BaseMapper
<
LearningContentCopyrightOwner
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/mapper/LearningContentMapper.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
mapper
;
import
cn.wisenergy.chnmuseum.party.model.LearningContent
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 学习内容 Mapper 接口
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
LearningContentMapper
extends
BaseMapper
<
LearningContent
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/mapper/RunLogMapper.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
mapper
;
import
cn.wisenergy.chnmuseum.party.model.RunLog
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* Mapper 接口
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
RunLogMapper
extends
BaseMapper
<
RunLog
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/mapper/SysLogMapper.java
View file @
c9a69a15
...
...
@@ -5,11 +5,11 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* Mapper 接口
*
用户/平台操作日志
Mapper 接口
* </p>
*
* @author
杨智平
* @since 20
18-09-03
* @author
Danny Lee
* @since 20
21-03-16
*/
public
interface
SysLogMapper
extends
BaseMapper
<
SysLog
>
{
...
...
src/main/java/cn/wisenergy/chnmuseum/party/model/Asset.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
model
;
import
com.baomidou.mybatisplus.annotation.*
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 视频
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"asset"
)
@ApiModel
(
value
=
"Asset对象"
,
description
=
"视频"
)
public
class
Asset
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"视频ID"
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
@ApiModelProperty
(
value
=
"视频名称"
)
@TableField
(
"name"
)
private
String
name
;
@ApiModelProperty
(
value
=
"视频版权方ID"
)
@TableField
(
"asset_copyright_owner_id"
)
private
String
assetCopyrightOwnerId
;
@ApiModelProperty
(
value
=
"视频类别ID"
)
@TableField
(
"asset_type_id"
)
private
String
assetTypeId
;
@ApiModelProperty
(
value
=
"视频缩略图"
)
@TableField
(
"thumbnail"
)
private
String
thumbnail
;
@ApiModelProperty
(
value
=
"视频链接"
)
@TableField
(
"video_url"
)
private
String
videoUrl
;
@ApiModelProperty
(
value
=
"审核状态"
)
@TableField
(
"audit_status"
)
private
Integer
auditStatus
;
@ApiModelProperty
(
value
=
"创建日期"
)
@TableField
(
value
=
"create_time"
,
fill
=
FieldFill
.
INSERT
)
private
LocalDateTime
createTime
;
@ApiModelProperty
(
value
=
"修改日期"
)
@TableField
(
value
=
"update_time"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
private
LocalDateTime
updateTime
;
}
src/main/java/cn/wisenergy/chnmuseum/party/model/AssetType.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
model
;
import
com.baomidou.mybatisplus.annotation.*
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 视频分类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"asset_type"
)
@ApiModel
(
value
=
"AssetType对象"
,
description
=
"视频分类"
)
public
class
AssetType
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"视频分类ID"
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
@ApiModelProperty
(
value
=
"视频分类名称"
)
@TableField
(
"name"
)
private
String
name
;
@ApiModelProperty
(
value
=
"备注"
)
@TableField
(
"remarks"
)
private
String
remarks
;
@ApiModelProperty
(
value
=
"版权方ID"
)
@TableField
(
"copyright_owner_id"
)
private
String
copyrightOwnerId
;
@ApiModelProperty
(
value
=
"创建日期"
)
@TableField
(
value
=
"create_time"
,
fill
=
FieldFill
.
INSERT
)
private
LocalDateTime
createTime
;
@ApiModelProperty
(
value
=
"更新日期"
)
@TableField
(
value
=
"update_time"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
private
LocalDateTime
updateTime
;
}
src/main/java/cn/wisenergy/chnmuseum/party/model/BoardTalking.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
model
;
import
com.baomidou.mybatisplus.annotation.*
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 展板互动
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"board_talking"
)
@ApiModel
(
value
=
"BoardTalking对象"
,
description
=
"展板互动"
)
public
class
BoardTalking
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"展板互动信息ID"
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
@ApiModelProperty
(
value
=
"展板ID"
)
@TableField
(
"board_id"
)
private
String
boardId
;
@ApiModelProperty
(
value
=
"真实姓名"
)
@TableField
(
"real_name"
)
private
String
realName
;
@ApiModelProperty
(
value
=
"评论"
)
@TableField
(
"comment"
)
private
String
comment
;
@ApiModelProperty
(
value
=
"附件URL"
)
@TableField
(
"asset"
)
private
String
asset
;
@ApiModelProperty
(
value
=
"创建日期"
)
@TableField
(
value
=
"create_time"
,
fill
=
FieldFill
.
INSERT
)
private
LocalDateTime
createTime
;
}
src/main/java/cn/wisenergy/chnmuseum/party/model/CopyrightOwner.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
model
;
import
com.baomidou.mybatisplus.annotation.*
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 版权方
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"copyright_owner"
)
@ApiModel
(
value
=
"CopyrightOwner对象"
,
description
=
"版权方"
)
public
class
CopyrightOwner
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"版权方ID"
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
@ApiModelProperty
(
value
=
"版权方名称"
)
@TableField
(
"name"
)
private
String
name
;
@ApiModelProperty
(
value
=
"版权方类型"
)
@TableField
(
"owner_type"
)
private
Integer
ownerType
;
@ApiModelProperty
(
value
=
"版权方有效期开始"
)
@TableField
(
"expire_date_start"
)
private
LocalDateTime
expireDateStart
;
@ApiModelProperty
(
value
=
"版权方有效期结束"
)
@TableField
(
"expire_date_end"
)
private
LocalDateTime
expireDateEnd
;
@ApiModelProperty
(
value
=
"备注"
)
@TableField
(
"remarks"
)
private
String
remarks
;
@ApiModelProperty
(
value
=
"创建日期"
)
@TableField
(
value
=
"create_time"
,
fill
=
FieldFill
.
INSERT
)
private
LocalDateTime
createTime
;
@ApiModelProperty
(
value
=
"更新日期"
)
@TableField
(
value
=
"update_time"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
private
LocalDateTime
updateTime
;
}
src/main/java/cn/wisenergy/chnmuseum/party/model/CopytightOwnerAssetType.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
model
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
/**
* <p>
* 版权方视频分类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"copytight_owner_asset_type"
)
@ApiModel
(
value
=
"CopytightOwnerAssetType对象"
,
description
=
"版权方视频分类"
)
public
class
CopytightOwnerAssetType
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
@ApiModelProperty
(
value
=
"版权方ID"
)
@TableField
(
"copyright_owner_id"
)
private
String
copyrightOwnerId
;
@ApiModelProperty
(
value
=
"视频分类ID"
)
@TableField
(
"asset_type_id"
)
private
String
assetTypeId
;
}
src/main/java/cn/wisenergy/chnmuseum/party/model/CopytightOwnerBoardType.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
model
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
/**
* <p>
* 版权方展板分类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"copytight_owner_board_type"
)
@ApiModel
(
value
=
"CopytightOwnerBoardType对象"
,
description
=
"版权方展板分类"
)
public
class
CopytightOwnerBoardType
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
@ApiModelProperty
(
value
=
"版权方ID"
)
@TableField
(
"copyright_owner_id"
)
private
String
copyrightOwnerId
;
@ApiModelProperty
(
value
=
"展板分类ID"
)
@TableField
(
"board_type_id"
)
private
String
boardTypeId
;
}
src/main/java/cn/wisenergy/chnmuseum/party/model/ExhibitionBoard.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
model
;
import
com.baomidou.mybatisplus.annotation.*
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 展板
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"exhibition_board"
)
@ApiModel
(
value
=
"ExhibitionBoard对象"
,
description
=
"展板"
)
public
class
ExhibitionBoard
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"展板内容ID"
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
@ApiModelProperty
(
value
=
"展板分类名称"
)
@TableField
(
"name"
)
private
String
name
;
@ApiModelProperty
(
value
=
"展板版权方ID"
)
@TableField
(
"board_copyright_owner_id"
)
private
String
boardCopyrightOwnerId
;
@ApiModelProperty
(
value
=
"展板分类ID"
)
@TableField
(
"exhibition_board_cat_id"
)
private
String
exhibitionBoardCatId
;
@ApiModelProperty
(
value
=
"展板图片URL"
)
@TableField
(
"board_img_url"
)
private
String
boardImgUrl
;
@ApiModelProperty
(
value
=
"展板二维码URL"
)
@TableField
(
"board_qrcode_url"
)
private
String
boardQrcodeUrl
;
@ApiModelProperty
(
value
=
"简介"
)
@TableField
(
"introduction"
)
private
String
introduction
;
@ApiModelProperty
(
value
=
"视频版权方ID"
)
@TableField
(
"asset_copyright_owner_id"
)
private
String
assetCopyrightOwnerId
;
@ApiModelProperty
(
value
=
"视频类别ID"
)
@TableField
(
"asset_type"
)
private
String
assetType
;
@ApiModelProperty
(
value
=
"视频ID"
)
@TableField
(
"asset_id"
)
private
String
assetId
;
@ApiModelProperty
(
value
=
"导览音频URL"
)
@TableField
(
"guide_audio_url"
)
private
String
guideAudioUrl
;
@ApiModelProperty
(
value
=
"参考资料"
)
@TableField
(
"reference_material"
)
private
String
referenceMaterial
;
@ApiModelProperty
(
value
=
"创建日期"
)
@TableField
(
value
=
"create_time"
,
fill
=
FieldFill
.
INSERT
)
private
LocalDateTime
createTime
;
@ApiModelProperty
(
value
=
"修改日期"
)
@TableField
(
value
=
"update_time"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
private
LocalDateTime
updateTime
;
@ApiModelProperty
(
value
=
"审核状态"
)
@TableField
(
"audit_status"
)
private
Integer
auditStatus
;
}
src/main/java/cn/wisenergy/chnmuseum/party/model/ExhibitionBoardCat.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
model
;
import
com.baomidou.mybatisplus.annotation.*
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 展板分类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"exhibition_board_cat"
)
@ApiModel
(
value
=
"ExhibitionBoardCat对象"
,
description
=
"展板分类"
)
public
class
ExhibitionBoardCat
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
@ApiModelProperty
(
value
=
"展板分类名称"
)
@TableField
(
"name"
)
private
String
name
;
@ApiModelProperty
(
value
=
"所属版权方ID"
)
@TableField
(
"copyright_owner"
)
private
String
copyrightOwner
;
@ApiModelProperty
(
value
=
"创建日期"
)
@TableField
(
value
=
"create_time"
,
fill
=
FieldFill
.
INSERT
)
private
LocalDateTime
createTime
;
@ApiModelProperty
(
value
=
"修改日期"
)
@TableField
(
value
=
"update_time"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
private
LocalDateTime
updateTime
;
@ApiModelProperty
(
value
=
"备注"
)
@TableField
(
"remarks"
)
private
String
remarks
;
}
src/main/java/cn/wisenergy/chnmuseum/party/model/LearningContent.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
model
;
import
com.baomidou.mybatisplus.annotation.*
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
* 学习内容
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"learning_content"
)
@ApiModel
(
value
=
"LearningContent对象"
,
description
=
"学习内容"
)
public
class
LearningContent
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"学习内容ID"
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
@ApiModelProperty
(
value
=
"学习内容名称"
)
@TableField
(
"name"
)
private
String
name
;
@ApiModelProperty
(
value
=
"学习内容宣传图"
)
@TableField
(
"avartar"
)
private
String
avartar
;
@ApiModelProperty
(
value
=
"适用范围"
)
@TableField
(
"applicable_scope"
)
private
Integer
applicableScope
;
@ApiModelProperty
(
value
=
"审核状态"
)
@TableField
(
"audit_status"
)
private
Integer
auditStatus
;
@ApiModelProperty
(
value
=
"创建日期"
)
@TableField
(
value
=
"create_time"
,
fill
=
FieldFill
.
INSERT
)
private
LocalDateTime
createTime
;
@ApiModelProperty
(
value
=
"更新日期"
)
@TableField
(
value
=
"update_time"
,
fill
=
FieldFill
.
INSERT_UPDATE
)
private
LocalDateTime
updateTime
;
}
src/main/java/cn/wisenergy/chnmuseum/party/model/LearningContentBoard.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
model
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
/**
* <p>
* 学习内容展板
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"learning_content_board"
)
@ApiModel
(
value
=
"LearningContentBoard对象"
,
description
=
"学习内容展板"
)
public
class
LearningContentBoard
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
@ApiModelProperty
(
value
=
"学习内容ID"
)
@TableField
(
"learning_content_id"
)
private
String
learningContentId
;
@ApiModelProperty
(
value
=
"展板ID"
)
@TableField
(
"exhibition_board_id"
)
private
String
exhibitionBoardId
;
}
src/main/java/cn/wisenergy/chnmuseum/party/model/LearningContentBoardCat.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
model
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
/**
* <p>
* 学习内容展板分类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"learning_content_board_cat"
)
@ApiModel
(
value
=
"LearningContentBoardCat对象"
,
description
=
"学习内容展板分类"
)
public
class
LearningContentBoardCat
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
@ApiModelProperty
(
value
=
"学习内容ID"
)
@TableField
(
"learning_content_id"
)
private
String
learningContentId
;
@ApiModelProperty
(
value
=
"展板类别ID"
)
@TableField
(
"exhibition_board_cat_id"
)
private
String
exhibitionBoardCatId
;
}
src/main/java/cn/wisenergy/chnmuseum/party/model/LearningContentCopyrightOwner.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
model
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
/**
* <p>
* 学习内容版权方
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"learning_content_copyright_owner"
)
@ApiModel
(
value
=
"LearningContentCopyrightOwner对象"
,
description
=
"学习内容版权方"
)
public
class
LearningContentCopyrightOwner
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
@ApiModelProperty
(
value
=
"学习内容ID"
)
@TableField
(
"learning_content_id"
)
private
String
learningContentId
;
@ApiModelProperty
(
value
=
"版权方ID"
)
@TableField
(
"copyright_owner_id"
)
private
String
copyrightOwnerId
;
}
src/main/java/cn/wisenergy/chnmuseum/party/model/RunLog.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
model
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* <p>
*
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"run_log"
)
@ApiModel
(
value
=
"RunLog对象"
,
description
=
""
)
public
class
RunLog
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"运行日志ID"
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_ID
)
private
String
id
;
@ApiModelProperty
(
value
=
"机顶盒MAC地址"
)
@TableField
(
"mac_addr"
)
private
String
macAddr
;
@ApiModelProperty
(
value
=
"所属单位ID"
)
@TableField
(
"organ_id"
)
private
String
organId
;
@ApiModelProperty
(
value
=
"学习内容ID"
)
@TableField
(
"learning_content_id"
)
private
String
learningContentId
;
@ApiModelProperty
(
value
=
"开始时间"
)
@TableField
(
"start_time"
)
private
LocalDateTime
startTime
;
@ApiModelProperty
(
value
=
"结束时间"
)
@TableField
(
"end_time"
)
private
LocalDateTime
endTime
;
}
src/main/java/cn/wisenergy/chnmuseum/party/model/SysLog.java
View file @
c9a69a15
...
...
@@ -4,98 +4,56 @@ import com.baomidou.mybatisplus.annotation.IdType;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.extension.activerecord.
Model
;
import
io.swagger.annotations.Api
Model
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.io.Serializable
;
import
java.
util.Dat
e
;
import
java.
time.LocalDateTim
e
;
/**
* <p>
*
*
用户/平台操作日志
* </p>
*
* @author
杨智平
* @since 20
18-09-03
* @author
Danny Lee
* @since 20
21-03-16
*/
@Data
@EqualsAndHashCode
(
callSuper
=
false
)
@TableName
(
"sys_log"
)
public
class
SysLog
extends
Model
<
SysLog
>
{
@ApiModel
(
value
=
"SysLog对象"
,
description
=
"用户/平台操作日志"
)
public
class
SysLog
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
"唯一标识
"
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
UU
ID
)
@ApiModelProperty
(
value
=
"操作日志ID
"
)
@TableId
(
value
=
"id"
,
type
=
IdType
.
ASSIGN_
ID
)
private
String
id
;
@TableField
(
"operation_content"
)
private
String
operationContent
;
/**
* 操作者
*/
private
String
operator
;
/**
* 操作时间
*/
@TableField
(
"operation_time"
)
private
Date
operationTime
;
/**
* 操作电脑IP
*/
@TableField
(
"operation_ip"
)
private
String
operationIp
;
public
String
getId
()
{
return
id
;
}
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
public
String
getOperationContent
()
{
return
operationContent
;
}
public
void
setOperationContent
(
String
operationContent
)
{
this
.
operationContent
=
operationContent
;
}
public
String
getOperator
()
{
return
operator
;
}
public
void
setOperator
(
String
operator
)
{
this
.
operator
=
operator
;
}
@ApiModelProperty
(
value
=
"操作者"
)
@TableField
(
"operator"
)
private
String
operator
;
public
Date
getOperationTime
()
{
return
operationTime
;
}
@ApiModelProperty
(
value
=
"操作类型"
)
@TableField
(
"operation_type"
)
private
String
operationType
;
public
void
setOperationTime
(
Date
operationTime
)
{
this
.
operationTime
=
operationTime
;
}
@ApiModelProperty
(
value
=
"操作对象"
)
@TableField
(
"operation_object"
)
private
String
operationObject
;
public
String
getOperationIp
()
{
return
operationIp
;
}
@ApiModelProperty
(
value
=
"操作内容"
)
@TableField
(
"operation_content"
)
private
String
operationContent
;
public
void
setOperationIp
(
String
operationIp
)
{
this
.
operationIp
=
operationIp
;
}
@ApiModelProperty
(
value
=
"操作时间"
)
@TableField
(
"operation_time"
)
private
LocalDateTime
operationTime
;
@Override
protected
Serializable
pkVal
()
{
return
this
.
id
;
}
@ApiModelProperty
(
value
=
"远程IP"
)
@TableField
(
"operation_ip"
)
private
String
operationIp
;
@Override
public
String
toString
()
{
return
"SysLog{"
+
", id="
+
id
+
", operationContent="
+
operationContent
+
", operator="
+
operator
+
", operationTime="
+
operationTime
+
", operationIp="
+
operationIp
+
"}"
;
}
}
src/main/java/cn/wisenergy/chnmuseum/party/service/AssetService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.Asset
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 视频 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
AssetService
extends
IService
<
Asset
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/AssetTypeService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.AssetType
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 视频分类 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
AssetTypeService
extends
IService
<
AssetType
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/BoardTalkingService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.BoardTalking
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 展板互动 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
BoardTalkingService
extends
IService
<
BoardTalking
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/CopyrightOwnerService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.CopyrightOwner
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 版权方 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
CopyrightOwnerService
extends
IService
<
CopyrightOwner
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/CopytightOwnerAssetTypeService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.CopytightOwnerAssetType
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 版权方视频分类 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
CopytightOwnerAssetTypeService
extends
IService
<
CopytightOwnerAssetType
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/CopytightOwnerBoardTypeService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.CopytightOwnerBoardType
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 版权方展板分类 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
CopytightOwnerBoardTypeService
extends
IService
<
CopytightOwnerBoardType
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/ExhibitionBoardCatService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.ExhibitionBoardCat
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 展板分类 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
ExhibitionBoardCatService
extends
IService
<
ExhibitionBoardCat
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/ExhibitionBoardService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.ExhibitionBoard
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 展板 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
ExhibitionBoardService
extends
IService
<
ExhibitionBoard
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/LearningContentBoardCatService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.LearningContentBoardCat
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 学习内容展板分类 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
LearningContentBoardCatService
extends
IService
<
LearningContentBoardCat
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/LearningContentBoardService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.LearningContentBoard
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 学习内容展板 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
LearningContentBoardService
extends
IService
<
LearningContentBoard
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/LearningContentCopyrightOwnerService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.LearningContentCopyrightOwner
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 学习内容版权方 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
LearningContentCopyrightOwnerService
extends
IService
<
LearningContentCopyrightOwner
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/LearningContentService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.LearningContent
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 学习内容 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
LearningContentService
extends
IService
<
LearningContent
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/RunLogService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.RunLog
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
RunLogService
extends
IService
<
RunLog
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/SysLogService.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
;
import
cn.wisenergy.chnmuseum.party.model.SysLog
;
import
com.baomidou.mybatisplus.extension.service.IService
;
/**
* <p>
* 用户/平台操作日志 服务类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
public
interface
SysLogService
extends
IService
<
SysLog
>
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/AssetServiceImpl.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.model.Asset
;
import
cn.wisenergy.chnmuseum.party.mapper.AssetMapper
;
import
cn.wisenergy.chnmuseum.party.service.AssetService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 视频 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public
class
AssetServiceImpl
extends
ServiceImpl
<
AssetMapper
,
Asset
>
implements
AssetService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/AssetTypeServiceImpl.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.model.AssetType
;
import
cn.wisenergy.chnmuseum.party.mapper.AssetTypeMapper
;
import
cn.wisenergy.chnmuseum.party.service.AssetTypeService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 视频分类 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public
class
AssetTypeServiceImpl
extends
ServiceImpl
<
AssetTypeMapper
,
AssetType
>
implements
AssetTypeService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/BoardTalkingServiceImpl.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.model.BoardTalking
;
import
cn.wisenergy.chnmuseum.party.mapper.BoardTalkingMapper
;
import
cn.wisenergy.chnmuseum.party.service.BoardTalkingService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 展板互动 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public
class
BoardTalkingServiceImpl
extends
ServiceImpl
<
BoardTalkingMapper
,
BoardTalking
>
implements
BoardTalkingService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/CopyrightOwnerServiceImpl.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.model.CopyrightOwner
;
import
cn.wisenergy.chnmuseum.party.mapper.CopyrightOwnerMapper
;
import
cn.wisenergy.chnmuseum.party.service.CopyrightOwnerService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 版权方 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public
class
CopyrightOwnerServiceImpl
extends
ServiceImpl
<
CopyrightOwnerMapper
,
CopyrightOwner
>
implements
CopyrightOwnerService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/CopytightOwnerAssetTypeServiceImpl.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.model.CopytightOwnerAssetType
;
import
cn.wisenergy.chnmuseum.party.mapper.CopytightOwnerAssetTypeMapper
;
import
cn.wisenergy.chnmuseum.party.service.CopytightOwnerAssetTypeService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 版权方视频分类 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public
class
CopytightOwnerAssetTypeServiceImpl
extends
ServiceImpl
<
CopytightOwnerAssetTypeMapper
,
CopytightOwnerAssetType
>
implements
CopytightOwnerAssetTypeService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/CopytightOwnerBoardTypeServiceImpl.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.model.CopytightOwnerBoardType
;
import
cn.wisenergy.chnmuseum.party.mapper.CopytightOwnerBoardTypeMapper
;
import
cn.wisenergy.chnmuseum.party.service.CopytightOwnerBoardTypeService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 版权方展板分类 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public
class
CopytightOwnerBoardTypeServiceImpl
extends
ServiceImpl
<
CopytightOwnerBoardTypeMapper
,
CopytightOwnerBoardType
>
implements
CopytightOwnerBoardTypeService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/ExhibitionBoardCatServiceImpl.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.model.ExhibitionBoardCat
;
import
cn.wisenergy.chnmuseum.party.mapper.ExhibitionBoardCatMapper
;
import
cn.wisenergy.chnmuseum.party.service.ExhibitionBoardCatService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 展板分类 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public
class
ExhibitionBoardCatServiceImpl
extends
ServiceImpl
<
ExhibitionBoardCatMapper
,
ExhibitionBoardCat
>
implements
ExhibitionBoardCatService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/ExhibitionBoardServiceImpl.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.model.ExhibitionBoard
;
import
cn.wisenergy.chnmuseum.party.mapper.ExhibitionBoardMapper
;
import
cn.wisenergy.chnmuseum.party.service.ExhibitionBoardService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 展板 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public
class
ExhibitionBoardServiceImpl
extends
ServiceImpl
<
ExhibitionBoardMapper
,
ExhibitionBoard
>
implements
ExhibitionBoardService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/LearningContentBoardCatServiceImpl.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.model.LearningContentBoardCat
;
import
cn.wisenergy.chnmuseum.party.mapper.LearningContentBoardCatMapper
;
import
cn.wisenergy.chnmuseum.party.service.LearningContentBoardCatService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 学习内容展板分类 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public
class
LearningContentBoardCatServiceImpl
extends
ServiceImpl
<
LearningContentBoardCatMapper
,
LearningContentBoardCat
>
implements
LearningContentBoardCatService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/LearningContentBoardServiceImpl.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.model.LearningContentBoard
;
import
cn.wisenergy.chnmuseum.party.mapper.LearningContentBoardMapper
;
import
cn.wisenergy.chnmuseum.party.service.LearningContentBoardService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 学习内容展板 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public
class
LearningContentBoardServiceImpl
extends
ServiceImpl
<
LearningContentBoardMapper
,
LearningContentBoard
>
implements
LearningContentBoardService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/LearningContentCopyrightOwnerServiceImpl.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.model.LearningContentCopyrightOwner
;
import
cn.wisenergy.chnmuseum.party.mapper.LearningContentCopyrightOwnerMapper
;
import
cn.wisenergy.chnmuseum.party.service.LearningContentCopyrightOwnerService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 学习内容版权方 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public
class
LearningContentCopyrightOwnerServiceImpl
extends
ServiceImpl
<
LearningContentCopyrightOwnerMapper
,
LearningContentCopyrightOwner
>
implements
LearningContentCopyrightOwnerService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/LearningContentServiceImpl.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.model.LearningContent
;
import
cn.wisenergy.chnmuseum.party.mapper.LearningContentMapper
;
import
cn.wisenergy.chnmuseum.party.service.LearningContentService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 学习内容 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public
class
LearningContentServiceImpl
extends
ServiceImpl
<
LearningContentMapper
,
LearningContent
>
implements
LearningContentService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/RunLogServiceImpl.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.model.RunLog
;
import
cn.wisenergy.chnmuseum.party.mapper.RunLogMapper
;
import
cn.wisenergy.chnmuseum.party.service.RunLogService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 服务实现类
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@Service
public
class
RunLogServiceImpl
extends
ServiceImpl
<
RunLogMapper
,
RunLog
>
implements
RunLogService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/service/impl/SysLogServiceImpl.java
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
service
.
impl
;
import
cn.wisenergy.chnmuseum.party.service.ISysLogService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
cn.wisenergy.chnmuseum.party.mapper.SysLogMapper
;
import
cn.wisenergy.chnmuseum.party.model.SysLog
;
import
cn.wisenergy.chnmuseum.party.mapper.SysLogMapper
;
import
cn.wisenergy.chnmuseum.party.service.SysLogService
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* <p>
* 服务实现类
*
用户/平台操作日志
服务实现类
* </p>
*
* @author
杨智平
* @since 20
18-09-03
* @author
Danny Lee
* @since 20
21-03-16
*/
@Service
public
class
SysLogServiceImpl
extends
ServiceImpl
<
SysLogMapper
,
SysLog
>
implements
I
SysLogService
{
public
class
SysLogServiceImpl
extends
ServiceImpl
<
SysLogMapper
,
SysLog
>
implements
SysLogService
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/AssetController.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 视频 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/asset"
)
public
class
AssetController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/AssetTypeController.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 视频分类 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/asset-type"
)
public
class
AssetTypeController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/BoardTalkingController.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 展板互动 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/board-talking"
)
public
class
BoardTalkingController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/CopyrightOwnerController.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 版权方 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/copyright-owner"
)
public
class
CopyrightOwnerController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/CopytightOwnerAssetTypeController.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 版权方视频分类 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/copytight-owner-asset-type"
)
public
class
CopytightOwnerAssetTypeController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/CopytightOwnerBoardTypeController.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 版权方展板分类 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/copytight-owner-board-type"
)
public
class
CopytightOwnerBoardTypeController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/ExhibitionBoardCatController.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 展板分类 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/exhibition-board-cat"
)
public
class
ExhibitionBoardCatController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/ExhibitionBoardController.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 展板 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/exhibition-board"
)
public
class
ExhibitionBoardController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/LearningContentBoardCatController.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 学习内容展板分类 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/learning-content-board-cat"
)
public
class
LearningContentBoardCatController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/LearningContentBoardController.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 学习内容展板 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/learning-content-board"
)
public
class
LearningContentBoardController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/LearningContentController.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 学习内容 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/learning-content"
)
public
class
LearningContentController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/LearningContentCopyrightOwnerController.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 学习内容版权方 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/learning-content-copyright-owner"
)
public
class
LearningContentCopyrightOwnerController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/RunLogController.java
0 → 100644
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
cn.wisenergy.chnmuseum.party.web.controller.base.BaseController
;
/**
* <p>
* 前端控制器
* </p>
*
* @author Danny Lee
* @since 2021-03-16
*/
@RestController
@RequestMapping
(
"/party/run-log"
)
public
class
RunLogController
extends
BaseController
{
}
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/SysLogController.java
View file @
c9a69a15
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
cn.wisenergy.chnmuseum.party.common.util.DateUtil80
;
import
cn.wisenergy.chnmuseum.party.common.util.NetWorkUtil
;
import
cn.wisenergy.chnmuseum.party.model.SysLog
;
import
cn.wisenergy.chnmuseum.party.service.impl.SysLogServiceImpl
;
...
...
@@ -21,7 +22,6 @@ import org.springframework.web.context.request.ServletRequestAttributes;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
import
java.util.Date
;
@RestController
@RequestMapping
(
"/sysLog"
)
...
...
@@ -38,7 +38,7 @@ public class SysLogController extends BaseController {
public
Boolean
insertSysLog
(
String
operationContent
,
String
username
)
{
SysLog
sysLog
=
new
SysLog
();
//日志时间
sysLog
.
setOperationTime
(
new
Date
(
System
.
currentTimeMillis
()));
sysLog
.
setOperationTime
(
DateUtil80
.
getDateTimeOfTimestamp
(
System
.
currentTimeMillis
()));
//获取登录IP并插入
ServletRequestAttributes
attributes
=
(
ServletRequestAttributes
)
RequestContextHolder
.
getRequestAttributes
();
HttpServletRequest
request
=
attributes
.
getRequest
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment