Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tanpu-community
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
探普后端
tanpu-community
Commits
02259a59
Commit
02259a59
authored
Jun 23, 2021
by
刘基明
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
产品、短视频、直播详情Tab
parent
882eec9e
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
1907 additions
and
7 deletions
+1907
-7
ThemeDTO.java
...src/main/java/com/tanpu/community/api/beans/ThemeDTO.java
+1
-0
CodeAutoGenerator.java
.../main/java/com/tanpu/community/dao/CodeAutoGenerator.java
+5
-5
CurriculumResEntity.java
.../tanpu/community/dao/entity/user/CurriculumResEntity.java
+305
-0
FinProResEntity.java
.../com/tanpu/community/dao/entity/user/FinProResEntity.java
+463
-0
ZhiboThemeEntity.java
...om/tanpu/community/dao/entity/zhibo/ZhiboThemeEntity.java
+986
-0
CurriculumResMapper.java
.../tanpu/community/dao/mapper/user/CurriculumResMapper.java
+16
-0
FinProResMapper.java
.../com/tanpu/community/dao/mapper/user/FinProResMapper.java
+16
-0
ZhiboThemeMapper.java
...om/tanpu/community/dao/mapper/zhibo/ZhiboThemeMapper.java
+16
-0
ThemeManager.java
...c/main/java/com/tanpu/community/manager/ThemeManager.java
+36
-2
CurriculumResService.java
...ava/com/tanpu/community/service/CurriculumResService.java
+21
-0
FinProResService.java
...in/java/com/tanpu/community/service/FinProResService.java
+21
-0
ZhiboService.java
...c/main/java/com/tanpu/community/service/ZhiboService.java
+21
-0
No files found.
community-api/src/main/java/com/tanpu/community/api/beans/ThemeDTO.java
View file @
02259a59
...
...
@@ -68,4 +68,5 @@ public class ThemeDTO {
private
Integer
deleteTag
;
private
Object
attachmentInfo
;
}
community-service/src/main/java/com/tanpu/community/dao/CodeAutoGenerator.java
View file @
02259a59
...
...
@@ -21,13 +21,13 @@ public class CodeAutoGenerator {
String
author
=
"xudong"
;
String
mysqlUserName
=
"tamp_admin"
;
String
mysqlPassword
=
"@imeng123"
;
String
jdbcUrl
=
"jdbc:mysql://rm-uf6r22t3d798q4kmkao.mysql.rds.aliyuncs.com:3306/tamp_
community
"
;
String
[]
tables
=
new
String
[]{
"
topic
"
};
String
jdbcUrl
=
"jdbc:mysql://rm-uf6r22t3d798q4kmkao.mysql.rds.aliyuncs.com:3306/tamp_
user
"
;
String
[]
tables
=
new
String
[]{
"
curriculum_res
"
};
// String[] tables = new String[]{"visit_summary", "black_list","collection","comment","fans_rel","file_record","home_page","theme","topic"};
String
basePackage
=
"com.tanpu.community"
;
String
mapperPackage
=
"dao.mapper.
community
"
;
String
entityPackage
=
"dao.entity.
community
"
;
String
xmlPath
=
"D:\\code\\backend\\tanpu-community\\community-service\\src\\main\\resources\\mapper\\
community
"
;
String
mapperPackage
=
"dao.mapper.
user
"
;
String
entityPackage
=
"dao.entity.
user
"
;
String
xmlPath
=
"D:\\code\\backend\\tanpu-community\\community-service\\src\\main\\resources\\mapper\\
user
"
;
AutoGenerator
autoGenerator
=
new
AutoGenerator
();
//全局配置
GlobalConfig
gc
=
new
GlobalConfig
();
...
...
community-service/src/main/java/com/tanpu/community/dao/entity/user/CurriculumResEntity.java
0 → 100644
View file @
02259a59
package
com
.
tanpu
.
community
.
dao
.
entity
.
user
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.time.LocalDateTime
;
import
java.io.Serializable
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
/**
* <p>
* 课程资源
* </p>
*
* @author xudong
* @since 2021-06-23
*/
@TableName
(
"curriculum_res"
)
@ApiModel
(
value
=
"CurriculumResEntity对象"
,
description
=
"课程资源"
)
public
class
CurriculumResEntity
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"主键id"
)
private
String
id
;
@ApiModelProperty
(
value
=
"课程名称"
)
private
String
title
;
@ApiModelProperty
(
value
=
"课程音视频"
)
private
String
audio
;
@ApiModelProperty
(
value
=
"音/视频类型 1:音频 2:视频 3:小视频"
)
private
Integer
audioType
;
@ApiModelProperty
(
value
=
"讲师id"
)
private
String
teacherId
;
@ApiModelProperty
(
value
=
"讲师姓名"
)
private
String
teacherName
;
@ApiModelProperty
(
value
=
"文稿内容"
)
private
String
content
;
@ApiModelProperty
(
value
=
"时长"
)
private
Integer
duration
;
@ApiModelProperty
(
value
=
"文件大小KB"
)
private
Integer
fileSize
;
@ApiModelProperty
(
value
=
"组织id"
)
private
String
orgId
;
@ApiModelProperty
(
value
=
"房间密码"
)
private
String
roomPwd
;
@ApiModelProperty
(
value
=
"白名单 1:白名单 2:黑名单"
)
private
Integer
whiteList
;
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
@ApiModelProperty
(
value
=
"阅读数"
)
private
Integer
readNum
;
@ApiModelProperty
(
value
=
"阅读基础数"
)
private
Integer
readBaseNum
;
@ApiModelProperty
(
value
=
"创建时间"
)
private
LocalDateTime
createTime
;
@ApiModelProperty
(
value
=
"更新人"
)
private
String
updateBy
;
@ApiModelProperty
(
value
=
"更新时间"
)
private
LocalDateTime
updateTime
;
@ApiModelProperty
(
value
=
"删除标识"
)
private
Integer
deleteTag
;
@ApiModelProperty
(
value
=
"状态"
)
private
Integer
status
;
@ApiModelProperty
(
value
=
"排序"
)
private
Integer
sort
;
@ApiModelProperty
(
value
=
"简介"
)
private
String
info
;
@ApiModelProperty
(
value
=
"封面"
)
private
String
cover
;
public
String
getId
()
{
return
id
;
}
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
public
String
getTitle
()
{
return
title
;
}
public
void
setTitle
(
String
title
)
{
this
.
title
=
title
;
}
public
String
getAudio
()
{
return
audio
;
}
public
void
setAudio
(
String
audio
)
{
this
.
audio
=
audio
;
}
public
Integer
getAudioType
()
{
return
audioType
;
}
public
void
setAudioType
(
Integer
audioType
)
{
this
.
audioType
=
audioType
;
}
public
String
getTeacherId
()
{
return
teacherId
;
}
public
void
setTeacherId
(
String
teacherId
)
{
this
.
teacherId
=
teacherId
;
}
public
String
getTeacherName
()
{
return
teacherName
;
}
public
void
setTeacherName
(
String
teacherName
)
{
this
.
teacherName
=
teacherName
;
}
public
String
getContent
()
{
return
content
;
}
public
void
setContent
(
String
content
)
{
this
.
content
=
content
;
}
public
Integer
getDuration
()
{
return
duration
;
}
public
void
setDuration
(
Integer
duration
)
{
this
.
duration
=
duration
;
}
public
Integer
getFileSize
()
{
return
fileSize
;
}
public
void
setFileSize
(
Integer
fileSize
)
{
this
.
fileSize
=
fileSize
;
}
public
String
getOrgId
()
{
return
orgId
;
}
public
void
setOrgId
(
String
orgId
)
{
this
.
orgId
=
orgId
;
}
public
String
getRoomPwd
()
{
return
roomPwd
;
}
public
void
setRoomPwd
(
String
roomPwd
)
{
this
.
roomPwd
=
roomPwd
;
}
public
Integer
getWhiteList
()
{
return
whiteList
;
}
public
void
setWhiteList
(
Integer
whiteList
)
{
this
.
whiteList
=
whiteList
;
}
public
String
getCreateBy
()
{
return
createBy
;
}
public
void
setCreateBy
(
String
createBy
)
{
this
.
createBy
=
createBy
;
}
public
Integer
getReadNum
()
{
return
readNum
;
}
public
void
setReadNum
(
Integer
readNum
)
{
this
.
readNum
=
readNum
;
}
public
Integer
getReadBaseNum
()
{
return
readBaseNum
;
}
public
void
setReadBaseNum
(
Integer
readBaseNum
)
{
this
.
readBaseNum
=
readBaseNum
;
}
public
LocalDateTime
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
LocalDateTime
createTime
)
{
this
.
createTime
=
createTime
;
}
public
String
getUpdateBy
()
{
return
updateBy
;
}
public
void
setUpdateBy
(
String
updateBy
)
{
this
.
updateBy
=
updateBy
;
}
public
LocalDateTime
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
LocalDateTime
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
public
Integer
getDeleteTag
()
{
return
deleteTag
;
}
public
void
setDeleteTag
(
Integer
deleteTag
)
{
this
.
deleteTag
=
deleteTag
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
public
Integer
getSort
()
{
return
sort
;
}
public
void
setSort
(
Integer
sort
)
{
this
.
sort
=
sort
;
}
public
String
getInfo
()
{
return
info
;
}
public
void
setInfo
(
String
info
)
{
this
.
info
=
info
;
}
public
String
getCover
()
{
return
cover
;
}
public
void
setCover
(
String
cover
)
{
this
.
cover
=
cover
;
}
@Override
public
String
toString
()
{
return
"CurriculumResEntity{"
+
"id="
+
id
+
", title="
+
title
+
", audio="
+
audio
+
", audioType="
+
audioType
+
", teacherId="
+
teacherId
+
", teacherName="
+
teacherName
+
", content="
+
content
+
", duration="
+
duration
+
", fileSize="
+
fileSize
+
", orgId="
+
orgId
+
", roomPwd="
+
roomPwd
+
", whiteList="
+
whiteList
+
", createBy="
+
createBy
+
", readNum="
+
readNum
+
", readBaseNum="
+
readBaseNum
+
", createTime="
+
createTime
+
", updateBy="
+
updateBy
+
", updateTime="
+
updateTime
+
", deleteTag="
+
deleteTag
+
", status="
+
status
+
", sort="
+
sort
+
", info="
+
info
+
", cover="
+
cover
+
"}"
;
}
}
community-service/src/main/java/com/tanpu/community/dao/entity/user/FinProResEntity.java
0 → 100644
View file @
02259a59
package
com
.
tanpu
.
community
.
dao
.
entity
.
user
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.time.LocalDateTime
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
java.io.Serializable
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
/**
* <p>
*
* </p>
*
* @author xudong
* @since 2021-06-23
*/
@TableName
(
"fin_pro_res"
)
@ApiModel
(
value
=
"FinProResEntity对象"
,
description
=
""
)
public
class
FinProResEntity
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"唯一主键"
)
private
String
id
;
@ApiModelProperty
(
value
=
"名称"
)
private
String
name
;
@ApiModelProperty
(
value
=
"名称简拼"
)
private
String
abbr
;
@ApiModelProperty
(
value
=
"备注"
)
private
String
bak
;
@ApiModelProperty
(
value
=
"状态"
)
private
Integer
status
;
@ApiModelProperty
(
value
=
"标识0:机构产品 1:用户自定义产品"
)
private
String
flag
;
@ApiModelProperty
(
value
=
"产品资料"
)
private
String
resjson
;
@ApiModelProperty
(
value
=
"宣传文案"
)
private
String
desjson
;
@ApiModelProperty
(
value
=
"产品缩略图"
)
private
String
proImgurl
;
@ApiModelProperty
(
value
=
"产品亮点"
)
private
String
proBright
;
@ApiModelProperty
(
value
=
"创建时间"
)
private
LocalDateTime
createTime
;
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
@ApiModelProperty
(
value
=
"修改时间"
)
private
LocalDateTime
updateTime
;
@ApiModelProperty
(
value
=
"修改人"
)
private
String
updateBy
;
@ApiModelProperty
(
value
=
"删除标识"
)
private
Integer
deleteTag
;
@ApiModelProperty
(
value
=
"机构Id"
)
private
String
orgId
;
@ApiModelProperty
(
value
=
"产品标签"
)
private
String
proTag
;
@ApiModelProperty
(
value
=
"名称开关"
)
private
String
titleSw
;
@ApiModelProperty
(
value
=
"列表名称"
)
private
String
proTitle
;
@ApiModelProperty
(
value
=
"风险揭示书配置"
)
private
String
proRiskConfig
;
@ApiModelProperty
(
value
=
"风险管控开关"
)
private
Integer
investorCertificationSwitch
;
@ApiModelProperty
(
value
=
"风险评级"
)
private
Integer
riskLevel
;
@ApiModelProperty
(
value
=
"审核人"
)
private
String
arReviewBy
;
@ApiModelProperty
(
value
=
"审核时间"
)
private
LocalDateTime
arReviewTime
;
@ApiModelProperty
(
value
=
"提交发布人"
)
private
String
arSubmitBy
;
@ApiModelProperty
(
value
=
"提交发布时间"
)
private
LocalDateTime
arSubmitTime
;
@ApiModelProperty
(
value
=
"上架人"
)
private
String
arReleaseBy
;
@ApiModelProperty
(
value
=
"上架时间"
)
private
LocalDateTime
arReleaseTime
;
@ApiModelProperty
(
value
=
"产品类型"
)
private
String
proType
;
@ApiModelProperty
(
value
=
"下架人"
)
private
String
arSoltBy
;
@ApiModelProperty
(
value
=
"下架时间"
)
private
LocalDateTime
arSoltTime
;
@ApiModelProperty
(
value
=
"预下架时间"
)
@TableField
(
"pro_soldout_Time"
)
private
LocalDateTime
proSoldoutTime
;
@ApiModelProperty
(
value
=
"募集开始时间"
)
private
LocalDateTime
raiseStart
;
@ApiModelProperty
(
value
=
"募集结束时间"
)
private
LocalDateTime
raiseEnd
;
@ApiModelProperty
(
value
=
"产品状态"
)
private
String
proStatus
;
@ApiModelProperty
(
value
=
"募集量"
)
private
String
raiseNum
;
public
String
getId
()
{
return
id
;
}
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
String
getAbbr
()
{
return
abbr
;
}
public
void
setAbbr
(
String
abbr
)
{
this
.
abbr
=
abbr
;
}
public
String
getBak
()
{
return
bak
;
}
public
void
setBak
(
String
bak
)
{
this
.
bak
=
bak
;
}
public
Integer
getStatus
()
{
return
status
;
}
public
void
setStatus
(
Integer
status
)
{
this
.
status
=
status
;
}
public
String
getFlag
()
{
return
flag
;
}
public
void
setFlag
(
String
flag
)
{
this
.
flag
=
flag
;
}
public
String
getResjson
()
{
return
resjson
;
}
public
void
setResjson
(
String
resjson
)
{
this
.
resjson
=
resjson
;
}
public
String
getDesjson
()
{
return
desjson
;
}
public
void
setDesjson
(
String
desjson
)
{
this
.
desjson
=
desjson
;
}
public
String
getProImgurl
()
{
return
proImgurl
;
}
public
void
setProImgurl
(
String
proImgurl
)
{
this
.
proImgurl
=
proImgurl
;
}
public
String
getProBright
()
{
return
proBright
;
}
public
void
setProBright
(
String
proBright
)
{
this
.
proBright
=
proBright
;
}
public
LocalDateTime
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
LocalDateTime
createTime
)
{
this
.
createTime
=
createTime
;
}
public
String
getCreateBy
()
{
return
createBy
;
}
public
void
setCreateBy
(
String
createBy
)
{
this
.
createBy
=
createBy
;
}
public
LocalDateTime
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
LocalDateTime
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
public
String
getUpdateBy
()
{
return
updateBy
;
}
public
void
setUpdateBy
(
String
updateBy
)
{
this
.
updateBy
=
updateBy
;
}
public
Integer
getDeleteTag
()
{
return
deleteTag
;
}
public
void
setDeleteTag
(
Integer
deleteTag
)
{
this
.
deleteTag
=
deleteTag
;
}
public
String
getOrgId
()
{
return
orgId
;
}
public
void
setOrgId
(
String
orgId
)
{
this
.
orgId
=
orgId
;
}
public
String
getProTag
()
{
return
proTag
;
}
public
void
setProTag
(
String
proTag
)
{
this
.
proTag
=
proTag
;
}
public
String
getTitleSw
()
{
return
titleSw
;
}
public
void
setTitleSw
(
String
titleSw
)
{
this
.
titleSw
=
titleSw
;
}
public
String
getProTitle
()
{
return
proTitle
;
}
public
void
setProTitle
(
String
proTitle
)
{
this
.
proTitle
=
proTitle
;
}
public
String
getProRiskConfig
()
{
return
proRiskConfig
;
}
public
void
setProRiskConfig
(
String
proRiskConfig
)
{
this
.
proRiskConfig
=
proRiskConfig
;
}
public
Integer
getInvestorCertificationSwitch
()
{
return
investorCertificationSwitch
;
}
public
void
setInvestorCertificationSwitch
(
Integer
investorCertificationSwitch
)
{
this
.
investorCertificationSwitch
=
investorCertificationSwitch
;
}
public
Integer
getRiskLevel
()
{
return
riskLevel
;
}
public
void
setRiskLevel
(
Integer
riskLevel
)
{
this
.
riskLevel
=
riskLevel
;
}
public
String
getArReviewBy
()
{
return
arReviewBy
;
}
public
void
setArReviewBy
(
String
arReviewBy
)
{
this
.
arReviewBy
=
arReviewBy
;
}
public
LocalDateTime
getArReviewTime
()
{
return
arReviewTime
;
}
public
void
setArReviewTime
(
LocalDateTime
arReviewTime
)
{
this
.
arReviewTime
=
arReviewTime
;
}
public
String
getArSubmitBy
()
{
return
arSubmitBy
;
}
public
void
setArSubmitBy
(
String
arSubmitBy
)
{
this
.
arSubmitBy
=
arSubmitBy
;
}
public
LocalDateTime
getArSubmitTime
()
{
return
arSubmitTime
;
}
public
void
setArSubmitTime
(
LocalDateTime
arSubmitTime
)
{
this
.
arSubmitTime
=
arSubmitTime
;
}
public
String
getArReleaseBy
()
{
return
arReleaseBy
;
}
public
void
setArReleaseBy
(
String
arReleaseBy
)
{
this
.
arReleaseBy
=
arReleaseBy
;
}
public
LocalDateTime
getArReleaseTime
()
{
return
arReleaseTime
;
}
public
void
setArReleaseTime
(
LocalDateTime
arReleaseTime
)
{
this
.
arReleaseTime
=
arReleaseTime
;
}
public
String
getProType
()
{
return
proType
;
}
public
void
setProType
(
String
proType
)
{
this
.
proType
=
proType
;
}
public
String
getArSoltBy
()
{
return
arSoltBy
;
}
public
void
setArSoltBy
(
String
arSoltBy
)
{
this
.
arSoltBy
=
arSoltBy
;
}
public
LocalDateTime
getArSoltTime
()
{
return
arSoltTime
;
}
public
void
setArSoltTime
(
LocalDateTime
arSoltTime
)
{
this
.
arSoltTime
=
arSoltTime
;
}
public
LocalDateTime
getProSoldoutTime
()
{
return
proSoldoutTime
;
}
public
void
setProSoldoutTime
(
LocalDateTime
proSoldoutTime
)
{
this
.
proSoldoutTime
=
proSoldoutTime
;
}
public
LocalDateTime
getRaiseStart
()
{
return
raiseStart
;
}
public
void
setRaiseStart
(
LocalDateTime
raiseStart
)
{
this
.
raiseStart
=
raiseStart
;
}
public
LocalDateTime
getRaiseEnd
()
{
return
raiseEnd
;
}
public
void
setRaiseEnd
(
LocalDateTime
raiseEnd
)
{
this
.
raiseEnd
=
raiseEnd
;
}
public
String
getProStatus
()
{
return
proStatus
;
}
public
void
setProStatus
(
String
proStatus
)
{
this
.
proStatus
=
proStatus
;
}
public
String
getRaiseNum
()
{
return
raiseNum
;
}
public
void
setRaiseNum
(
String
raiseNum
)
{
this
.
raiseNum
=
raiseNum
;
}
@Override
public
String
toString
()
{
return
"FinProResEntity{"
+
"id="
+
id
+
", name="
+
name
+
", abbr="
+
abbr
+
", bak="
+
bak
+
", status="
+
status
+
", flag="
+
flag
+
", resjson="
+
resjson
+
", desjson="
+
desjson
+
", proImgurl="
+
proImgurl
+
", proBright="
+
proBright
+
", createTime="
+
createTime
+
", createBy="
+
createBy
+
", updateTime="
+
updateTime
+
", updateBy="
+
updateBy
+
", deleteTag="
+
deleteTag
+
", orgId="
+
orgId
+
", proTag="
+
proTag
+
", titleSw="
+
titleSw
+
", proTitle="
+
proTitle
+
", proRiskConfig="
+
proRiskConfig
+
", investorCertificationSwitch="
+
investorCertificationSwitch
+
", riskLevel="
+
riskLevel
+
", arReviewBy="
+
arReviewBy
+
", arReviewTime="
+
arReviewTime
+
", arSubmitBy="
+
arSubmitBy
+
", arSubmitTime="
+
arSubmitTime
+
", arReleaseBy="
+
arReleaseBy
+
", arReleaseTime="
+
arReleaseTime
+
", proType="
+
proType
+
", arSoltBy="
+
arSoltBy
+
", arSoltTime="
+
arSoltTime
+
", proSoldoutTime="
+
proSoldoutTime
+
", raiseStart="
+
raiseStart
+
", raiseEnd="
+
raiseEnd
+
", proStatus="
+
proStatus
+
", raiseNum="
+
raiseNum
+
"}"
;
}
}
community-service/src/main/java/com/tanpu/community/dao/entity/zhibo/ZhiboThemeEntity.java
0 → 100644
View file @
02259a59
package
com
.
tanpu
.
community
.
dao
.
entity
.
zhibo
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
java.time.LocalDateTime
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
java.io.Serializable
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
/**
* <p>
* 直播间信息表
* </p>
*
* @author xudong
* @since 2021-06-23
*/
@TableName
(
"zhibo_theme"
)
@ApiModel
(
value
=
"ZhiboThemeEntity对象"
,
description
=
"直播间信息表"
)
public
class
ZhiboThemeEntity
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"唯一主键"
)
private
String
id
;
@ApiModelProperty
(
value
=
"主题名称"
)
private
String
ztName
;
@ApiModelProperty
(
value
=
"开播时间"
)
private
LocalDateTime
ztStarttime
;
@ApiModelProperty
(
value
=
"结束时间"
)
private
LocalDateTime
ztEndtime
;
@ApiModelProperty
(
value
=
"描述"
)
private
String
ztDesc
;
@ApiModelProperty
(
value
=
"(废弃)"
)
private
String
ztRoomnum
;
@ApiModelProperty
(
value
=
"创建时间"
)
private
LocalDateTime
createTime
;
@ApiModelProperty
(
value
=
"创建人"
)
private
String
createBy
;
@ApiModelProperty
(
value
=
"修改时间"
)
private
LocalDateTime
updateTime
;
@ApiModelProperty
(
value
=
"修改人"
)
private
String
updateBy
;
@ApiModelProperty
(
value
=
"删除标识 0:正常,1: 删除 2:草稿"
)
private
String
deletetag
;
@ApiModelProperty
(
value
=
"直播间状态 1未开始,2直播中,3已结束"
)
private
String
ztStatus
;
@ApiModelProperty
(
value
=
"列表缩略图"
)
private
String
ztBackimg
;
@ApiModelProperty
(
value
=
"分享模式"
)
private
Integer
sharePattern
;
@ApiModelProperty
(
value
=
"详情背景图"
)
private
String
ztImg
;
@ApiModelProperty
(
value
=
"最新大图"
)
private
String
bigImg
;
@ApiModelProperty
(
value
=
"是否含直播"
)
private
String
ztIszhibo
;
@ApiModelProperty
(
value
=
"关联产品"
)
private
String
ztProid
;
@ApiModelProperty
(
value
=
"培训人"
)
private
String
ztUname
;
@ApiModelProperty
(
value
=
"参与人开放标识"
)
private
String
ztFlag
;
@ApiModelProperty
(
value
=
"机构ID"
)
private
String
orgId
;
@ApiModelProperty
(
value
=
"密码"
)
private
String
ztPassword
;
@ApiModelProperty
(
value
=
"直播标签"
)
private
String
ztLabel
;
@ApiModelProperty
(
value
=
"参与人"
)
private
String
ztUserids
;
@ApiModelProperty
(
value
=
"是否禁言 0:否 1:是"
)
private
String
ztMute
;
@ApiModelProperty
(
value
=
"直播类型 1探普之夜,2探普八点半"
)
private
String
ztType
;
private
Integer
ztAppointmentNums
;
private
String
ztInfo
;
private
String
ztQrcode
;
private
String
ztFuli
;
@ApiModelProperty
(
value
=
"直播基数"
)
private
Integer
ztCardinal
;
@ApiModelProperty
(
value
=
"是否可分享"
)
private
String
ztIsshare
;
@ApiModelProperty
(
value
=
"是否收集用户信息,1收集,0不收集"
)
private
String
ztIscollectUserinfo
;
@ApiModelProperty
(
value
=
"是否开启手机号验证"
)
private
String
ztIsverificationPhone
;
private
String
ztExamid
;
@ApiModelProperty
(
value
=
"母直播间id"
)
private
String
parentId
;
@ApiModelProperty
(
value
=
"直播间类型 1母直播间,2子直播间"
)
private
Integer
roomType
;
@ApiModelProperty
(
value
=
"视屏类型 1视频,2音频"
)
private
Integer
videoType
;
@ApiModelProperty
(
value
=
"直播时长 显示 单位小时"
)
private
Double
durationSecondShow
;
@ApiModelProperty
(
value
=
"实际开始时间"
)
private
LocalDateTime
realStartTime
;
@ApiModelProperty
(
value
=
"真实结束时间"
)
private
LocalDateTime
realEndTime
;
@ApiModelProperty
(
value
=
"直播实际时长"
)
private
Integer
realDurationSecond
;
@ApiModelProperty
(
value
=
"是否可预约 1:需要预约 0:不需要预约"
)
private
Integer
reservation
;
@ApiModelProperty
(
value
=
"可转播设置 1:可转播 0:不可转播"
)
private
Integer
canBroadcast
;
@ApiModelProperty
(
value
=
"转播积分"
)
private
Integer
broadcastScore
;
@ApiModelProperty
(
value
=
"转播数量"
)
private
Integer
broadcastNum
;
@ApiModelProperty
(
value
=
"探普云参与权限0:所有人,1仅注册用户,2仅探普会员可进入,3需要密码,4仅基础营人员可进入"
)
private
Integer
participationRigth
;
@ApiModelProperty
(
value
=
"回放设置 0:不录制 1:录制"
)
private
Integer
replay
;
@ApiModelProperty
(
value
=
"开场白"
)
private
String
openingRemarks
;
@ApiModelProperty
(
value
=
"直播间头衔"
)
private
String
userTitle
;
@ApiModelProperty
(
value
=
"访客问候语"
)
private
String
guestGreetings
;
@ApiModelProperty
(
value
=
"是否给访客发送名片(0不发送 1发送) (-针对理财师)"
)
private
String
guestCard
;
@ApiModelProperty
(
value
=
"是否给访客发送微店(0不发送 1发送) (-针对理财师)"
)
private
String
guestWeShop
;
@ApiModelProperty
(
value
=
"一级好友问候语"
)
private
String
friendGreetings
;
@ApiModelProperty
(
value
=
"是否给好友发送微店(0不发送 1发送) (-针对理财师)"
)
private
String
friendCard
;
@ApiModelProperty
(
value
=
"是否给好友发送微店(0不发送 1发送) (-针对理财师)"
)
private
String
friendWeShop
;
@ApiModelProperty
(
value
=
"推荐到微店首页 1:可推荐 0:不可推荐"
)
private
Integer
recommendHomePage
;
@ApiModelProperty
(
value
=
"推荐到首页的时间"
)
private
LocalDateTime
recommendTime
;
@ApiModelProperty
(
value
=
"参与人数"
)
private
Integer
participantsNum
;
@ApiModelProperty
(
value
=
"在线人数"
)
private
Integer
onlineNum
;
@ApiModelProperty
(
value
=
"预约人数"
)
private
Integer
reservationNum
;
@ApiModelProperty
(
value
=
"已填信息表人数"
)
private
Integer
informationSheetNum
;
@ApiModelProperty
(
value
=
"回放人数"
)
private
Integer
replayNum
;
@ApiModelProperty
(
value
=
"短信模板id"
)
private
String
smsTemplateId
;
@ApiModelProperty
(
value
=
"主讲人描述,用于直播间主讲人描述"
)
private
String
managerName
;
@ApiModelProperty
(
value
=
"推荐到探普学堂首页 1:推荐 0:不推荐"
)
private
Integer
recommendHomeTanpu
;
@ApiModelProperty
(
value
=
"推荐首页(探普学堂)推荐时间"
)
private
LocalDateTime
recommendTimeTanpu
;
@ApiModelProperty
(
value
=
"参数人次 统计pv"
)
private
Integer
participantsPv
;
@ApiModelProperty
(
value
=
"子直播间参与人次累加"
)
private
Integer
participantsChildPv
;
@ApiModelProperty
(
value
=
"是否隐私直播间 0否 1是"
)
@TableField
(
"isPrivacy"
)
private
Integer
isprivacy
;
@ApiModelProperty
(
value
=
"群组状态 1:已创建 2:已销毁"
)
private
Integer
iscreateGroupSuccess
;
@ApiModelProperty
(
value
=
"在线人数峰值"
)
private
Integer
maxOnlineNum
;
@ApiModelProperty
(
value
=
"标签"
)
private
String
tags
;
@ApiModelProperty
(
value
=
"说明"
)
private
String
explain
;
@ApiModelProperty
(
value
=
"讲师id"
)
private
String
managerId
;
@ApiModelProperty
(
value
=
"0:不使用 1:使用讲师图"
)
private
Integer
bgStatus
;
@ApiModelProperty
(
value
=
"背景图地址"
)
private
String
bgImg
;
@ApiModelProperty
(
value
=
"0:没有试看 1:有试看"
)
private
Integer
seeStatus
;
@ApiModelProperty
(
value
=
"试看时长 单位 m"
)
private
Integer
seeLength
;
@ApiModelProperty
(
value
=
"方图"
)
private
String
squareImg
;
public
String
getId
()
{
return
id
;
}
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
public
String
getZtName
()
{
return
ztName
;
}
public
void
setZtName
(
String
ztName
)
{
this
.
ztName
=
ztName
;
}
public
LocalDateTime
getZtStarttime
()
{
return
ztStarttime
;
}
public
void
setZtStarttime
(
LocalDateTime
ztStarttime
)
{
this
.
ztStarttime
=
ztStarttime
;
}
public
LocalDateTime
getZtEndtime
()
{
return
ztEndtime
;
}
public
void
setZtEndtime
(
LocalDateTime
ztEndtime
)
{
this
.
ztEndtime
=
ztEndtime
;
}
public
String
getZtDesc
()
{
return
ztDesc
;
}
public
void
setZtDesc
(
String
ztDesc
)
{
this
.
ztDesc
=
ztDesc
;
}
public
String
getZtRoomnum
()
{
return
ztRoomnum
;
}
public
void
setZtRoomnum
(
String
ztRoomnum
)
{
this
.
ztRoomnum
=
ztRoomnum
;
}
public
LocalDateTime
getCreateTime
()
{
return
createTime
;
}
public
void
setCreateTime
(
LocalDateTime
createTime
)
{
this
.
createTime
=
createTime
;
}
public
String
getCreateBy
()
{
return
createBy
;
}
public
void
setCreateBy
(
String
createBy
)
{
this
.
createBy
=
createBy
;
}
public
LocalDateTime
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
LocalDateTime
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
public
String
getUpdateBy
()
{
return
updateBy
;
}
public
void
setUpdateBy
(
String
updateBy
)
{
this
.
updateBy
=
updateBy
;
}
public
String
getDeletetag
()
{
return
deletetag
;
}
public
void
setDeletetag
(
String
deletetag
)
{
this
.
deletetag
=
deletetag
;
}
public
String
getZtStatus
()
{
return
ztStatus
;
}
public
void
setZtStatus
(
String
ztStatus
)
{
this
.
ztStatus
=
ztStatus
;
}
public
String
getZtBackimg
()
{
return
ztBackimg
;
}
public
void
setZtBackimg
(
String
ztBackimg
)
{
this
.
ztBackimg
=
ztBackimg
;
}
public
Integer
getSharePattern
()
{
return
sharePattern
;
}
public
void
setSharePattern
(
Integer
sharePattern
)
{
this
.
sharePattern
=
sharePattern
;
}
public
String
getZtImg
()
{
return
ztImg
;
}
public
void
setZtImg
(
String
ztImg
)
{
this
.
ztImg
=
ztImg
;
}
public
String
getBigImg
()
{
return
bigImg
;
}
public
void
setBigImg
(
String
bigImg
)
{
this
.
bigImg
=
bigImg
;
}
public
String
getZtIszhibo
()
{
return
ztIszhibo
;
}
public
void
setZtIszhibo
(
String
ztIszhibo
)
{
this
.
ztIszhibo
=
ztIszhibo
;
}
public
String
getZtProid
()
{
return
ztProid
;
}
public
void
setZtProid
(
String
ztProid
)
{
this
.
ztProid
=
ztProid
;
}
public
String
getZtUname
()
{
return
ztUname
;
}
public
void
setZtUname
(
String
ztUname
)
{
this
.
ztUname
=
ztUname
;
}
public
String
getZtFlag
()
{
return
ztFlag
;
}
public
void
setZtFlag
(
String
ztFlag
)
{
this
.
ztFlag
=
ztFlag
;
}
public
String
getOrgId
()
{
return
orgId
;
}
public
void
setOrgId
(
String
orgId
)
{
this
.
orgId
=
orgId
;
}
public
String
getZtPassword
()
{
return
ztPassword
;
}
public
void
setZtPassword
(
String
ztPassword
)
{
this
.
ztPassword
=
ztPassword
;
}
public
String
getZtLabel
()
{
return
ztLabel
;
}
public
void
setZtLabel
(
String
ztLabel
)
{
this
.
ztLabel
=
ztLabel
;
}
public
String
getZtUserids
()
{
return
ztUserids
;
}
public
void
setZtUserids
(
String
ztUserids
)
{
this
.
ztUserids
=
ztUserids
;
}
public
String
getZtMute
()
{
return
ztMute
;
}
public
void
setZtMute
(
String
ztMute
)
{
this
.
ztMute
=
ztMute
;
}
public
String
getZtType
()
{
return
ztType
;
}
public
void
setZtType
(
String
ztType
)
{
this
.
ztType
=
ztType
;
}
public
Integer
getZtAppointmentNums
()
{
return
ztAppointmentNums
;
}
public
void
setZtAppointmentNums
(
Integer
ztAppointmentNums
)
{
this
.
ztAppointmentNums
=
ztAppointmentNums
;
}
public
String
getZtInfo
()
{
return
ztInfo
;
}
public
void
setZtInfo
(
String
ztInfo
)
{
this
.
ztInfo
=
ztInfo
;
}
public
String
getZtQrcode
()
{
return
ztQrcode
;
}
public
void
setZtQrcode
(
String
ztQrcode
)
{
this
.
ztQrcode
=
ztQrcode
;
}
public
String
getZtFuli
()
{
return
ztFuli
;
}
public
void
setZtFuli
(
String
ztFuli
)
{
this
.
ztFuli
=
ztFuli
;
}
public
Integer
getZtCardinal
()
{
return
ztCardinal
;
}
public
void
setZtCardinal
(
Integer
ztCardinal
)
{
this
.
ztCardinal
=
ztCardinal
;
}
public
String
getZtIsshare
()
{
return
ztIsshare
;
}
public
void
setZtIsshare
(
String
ztIsshare
)
{
this
.
ztIsshare
=
ztIsshare
;
}
public
String
getZtIscollectUserinfo
()
{
return
ztIscollectUserinfo
;
}
public
void
setZtIscollectUserinfo
(
String
ztIscollectUserinfo
)
{
this
.
ztIscollectUserinfo
=
ztIscollectUserinfo
;
}
public
String
getZtIsverificationPhone
()
{
return
ztIsverificationPhone
;
}
public
void
setZtIsverificationPhone
(
String
ztIsverificationPhone
)
{
this
.
ztIsverificationPhone
=
ztIsverificationPhone
;
}
public
String
getZtExamid
()
{
return
ztExamid
;
}
public
void
setZtExamid
(
String
ztExamid
)
{
this
.
ztExamid
=
ztExamid
;
}
public
String
getParentId
()
{
return
parentId
;
}
public
void
setParentId
(
String
parentId
)
{
this
.
parentId
=
parentId
;
}
public
Integer
getRoomType
()
{
return
roomType
;
}
public
void
setRoomType
(
Integer
roomType
)
{
this
.
roomType
=
roomType
;
}
public
Integer
getVideoType
()
{
return
videoType
;
}
public
void
setVideoType
(
Integer
videoType
)
{
this
.
videoType
=
videoType
;
}
public
Double
getDurationSecondShow
()
{
return
durationSecondShow
;
}
public
void
setDurationSecondShow
(
Double
durationSecondShow
)
{
this
.
durationSecondShow
=
durationSecondShow
;
}
public
LocalDateTime
getRealStartTime
()
{
return
realStartTime
;
}
public
void
setRealStartTime
(
LocalDateTime
realStartTime
)
{
this
.
realStartTime
=
realStartTime
;
}
public
LocalDateTime
getRealEndTime
()
{
return
realEndTime
;
}
public
void
setRealEndTime
(
LocalDateTime
realEndTime
)
{
this
.
realEndTime
=
realEndTime
;
}
public
Integer
getRealDurationSecond
()
{
return
realDurationSecond
;
}
public
void
setRealDurationSecond
(
Integer
realDurationSecond
)
{
this
.
realDurationSecond
=
realDurationSecond
;
}
public
Integer
getReservation
()
{
return
reservation
;
}
public
void
setReservation
(
Integer
reservation
)
{
this
.
reservation
=
reservation
;
}
public
Integer
getCanBroadcast
()
{
return
canBroadcast
;
}
public
void
setCanBroadcast
(
Integer
canBroadcast
)
{
this
.
canBroadcast
=
canBroadcast
;
}
public
Integer
getBroadcastScore
()
{
return
broadcastScore
;
}
public
void
setBroadcastScore
(
Integer
broadcastScore
)
{
this
.
broadcastScore
=
broadcastScore
;
}
public
Integer
getBroadcastNum
()
{
return
broadcastNum
;
}
public
void
setBroadcastNum
(
Integer
broadcastNum
)
{
this
.
broadcastNum
=
broadcastNum
;
}
public
Integer
getParticipationRigth
()
{
return
participationRigth
;
}
public
void
setParticipationRigth
(
Integer
participationRigth
)
{
this
.
participationRigth
=
participationRigth
;
}
public
Integer
getReplay
()
{
return
replay
;
}
public
void
setReplay
(
Integer
replay
)
{
this
.
replay
=
replay
;
}
public
String
getOpeningRemarks
()
{
return
openingRemarks
;
}
public
void
setOpeningRemarks
(
String
openingRemarks
)
{
this
.
openingRemarks
=
openingRemarks
;
}
public
String
getUserTitle
()
{
return
userTitle
;
}
public
void
setUserTitle
(
String
userTitle
)
{
this
.
userTitle
=
userTitle
;
}
public
String
getGuestGreetings
()
{
return
guestGreetings
;
}
public
void
setGuestGreetings
(
String
guestGreetings
)
{
this
.
guestGreetings
=
guestGreetings
;
}
public
String
getGuestCard
()
{
return
guestCard
;
}
public
void
setGuestCard
(
String
guestCard
)
{
this
.
guestCard
=
guestCard
;
}
public
String
getGuestWeShop
()
{
return
guestWeShop
;
}
public
void
setGuestWeShop
(
String
guestWeShop
)
{
this
.
guestWeShop
=
guestWeShop
;
}
public
String
getFriendGreetings
()
{
return
friendGreetings
;
}
public
void
setFriendGreetings
(
String
friendGreetings
)
{
this
.
friendGreetings
=
friendGreetings
;
}
public
String
getFriendCard
()
{
return
friendCard
;
}
public
void
setFriendCard
(
String
friendCard
)
{
this
.
friendCard
=
friendCard
;
}
public
String
getFriendWeShop
()
{
return
friendWeShop
;
}
public
void
setFriendWeShop
(
String
friendWeShop
)
{
this
.
friendWeShop
=
friendWeShop
;
}
public
Integer
getRecommendHomePage
()
{
return
recommendHomePage
;
}
public
void
setRecommendHomePage
(
Integer
recommendHomePage
)
{
this
.
recommendHomePage
=
recommendHomePage
;
}
public
LocalDateTime
getRecommendTime
()
{
return
recommendTime
;
}
public
void
setRecommendTime
(
LocalDateTime
recommendTime
)
{
this
.
recommendTime
=
recommendTime
;
}
public
Integer
getParticipantsNum
()
{
return
participantsNum
;
}
public
void
setParticipantsNum
(
Integer
participantsNum
)
{
this
.
participantsNum
=
participantsNum
;
}
public
Integer
getOnlineNum
()
{
return
onlineNum
;
}
public
void
setOnlineNum
(
Integer
onlineNum
)
{
this
.
onlineNum
=
onlineNum
;
}
public
Integer
getReservationNum
()
{
return
reservationNum
;
}
public
void
setReservationNum
(
Integer
reservationNum
)
{
this
.
reservationNum
=
reservationNum
;
}
public
Integer
getInformationSheetNum
()
{
return
informationSheetNum
;
}
public
void
setInformationSheetNum
(
Integer
informationSheetNum
)
{
this
.
informationSheetNum
=
informationSheetNum
;
}
public
Integer
getReplayNum
()
{
return
replayNum
;
}
public
void
setReplayNum
(
Integer
replayNum
)
{
this
.
replayNum
=
replayNum
;
}
public
String
getSmsTemplateId
()
{
return
smsTemplateId
;
}
public
void
setSmsTemplateId
(
String
smsTemplateId
)
{
this
.
smsTemplateId
=
smsTemplateId
;
}
public
String
getManagerName
()
{
return
managerName
;
}
public
void
setManagerName
(
String
managerName
)
{
this
.
managerName
=
managerName
;
}
public
Integer
getRecommendHomeTanpu
()
{
return
recommendHomeTanpu
;
}
public
void
setRecommendHomeTanpu
(
Integer
recommendHomeTanpu
)
{
this
.
recommendHomeTanpu
=
recommendHomeTanpu
;
}
public
LocalDateTime
getRecommendTimeTanpu
()
{
return
recommendTimeTanpu
;
}
public
void
setRecommendTimeTanpu
(
LocalDateTime
recommendTimeTanpu
)
{
this
.
recommendTimeTanpu
=
recommendTimeTanpu
;
}
public
Integer
getParticipantsPv
()
{
return
participantsPv
;
}
public
void
setParticipantsPv
(
Integer
participantsPv
)
{
this
.
participantsPv
=
participantsPv
;
}
public
Integer
getParticipantsChildPv
()
{
return
participantsChildPv
;
}
public
void
setParticipantsChildPv
(
Integer
participantsChildPv
)
{
this
.
participantsChildPv
=
participantsChildPv
;
}
public
Integer
getIsprivacy
()
{
return
isprivacy
;
}
public
void
setIsprivacy
(
Integer
isprivacy
)
{
this
.
isprivacy
=
isprivacy
;
}
public
Integer
getIscreateGroupSuccess
()
{
return
iscreateGroupSuccess
;
}
public
void
setIscreateGroupSuccess
(
Integer
iscreateGroupSuccess
)
{
this
.
iscreateGroupSuccess
=
iscreateGroupSuccess
;
}
public
Integer
getMaxOnlineNum
()
{
return
maxOnlineNum
;
}
public
void
setMaxOnlineNum
(
Integer
maxOnlineNum
)
{
this
.
maxOnlineNum
=
maxOnlineNum
;
}
public
String
getTags
()
{
return
tags
;
}
public
void
setTags
(
String
tags
)
{
this
.
tags
=
tags
;
}
public
String
getExplain
()
{
return
explain
;
}
public
void
setExplain
(
String
explain
)
{
this
.
explain
=
explain
;
}
public
String
getManagerId
()
{
return
managerId
;
}
public
void
setManagerId
(
String
managerId
)
{
this
.
managerId
=
managerId
;
}
public
Integer
getBgStatus
()
{
return
bgStatus
;
}
public
void
setBgStatus
(
Integer
bgStatus
)
{
this
.
bgStatus
=
bgStatus
;
}
public
String
getBgImg
()
{
return
bgImg
;
}
public
void
setBgImg
(
String
bgImg
)
{
this
.
bgImg
=
bgImg
;
}
public
Integer
getSeeStatus
()
{
return
seeStatus
;
}
public
void
setSeeStatus
(
Integer
seeStatus
)
{
this
.
seeStatus
=
seeStatus
;
}
public
Integer
getSeeLength
()
{
return
seeLength
;
}
public
void
setSeeLength
(
Integer
seeLength
)
{
this
.
seeLength
=
seeLength
;
}
public
String
getSquareImg
()
{
return
squareImg
;
}
public
void
setSquareImg
(
String
squareImg
)
{
this
.
squareImg
=
squareImg
;
}
@Override
public
String
toString
()
{
return
"ZhiboThemeEntity{"
+
"id="
+
id
+
", ztName="
+
ztName
+
", ztStarttime="
+
ztStarttime
+
", ztEndtime="
+
ztEndtime
+
", ztDesc="
+
ztDesc
+
", ztRoomnum="
+
ztRoomnum
+
", createTime="
+
createTime
+
", createBy="
+
createBy
+
", updateTime="
+
updateTime
+
", updateBy="
+
updateBy
+
", deletetag="
+
deletetag
+
", ztStatus="
+
ztStatus
+
", ztBackimg="
+
ztBackimg
+
", sharePattern="
+
sharePattern
+
", ztImg="
+
ztImg
+
", bigImg="
+
bigImg
+
", ztIszhibo="
+
ztIszhibo
+
", ztProid="
+
ztProid
+
", ztUname="
+
ztUname
+
", ztFlag="
+
ztFlag
+
", orgId="
+
orgId
+
", ztPassword="
+
ztPassword
+
", ztLabel="
+
ztLabel
+
", ztUserids="
+
ztUserids
+
", ztMute="
+
ztMute
+
", ztType="
+
ztType
+
", ztAppointmentNums="
+
ztAppointmentNums
+
", ztInfo="
+
ztInfo
+
", ztQrcode="
+
ztQrcode
+
", ztFuli="
+
ztFuli
+
", ztCardinal="
+
ztCardinal
+
", ztIsshare="
+
ztIsshare
+
", ztIscollectUserinfo="
+
ztIscollectUserinfo
+
", ztIsverificationPhone="
+
ztIsverificationPhone
+
", ztExamid="
+
ztExamid
+
", parentId="
+
parentId
+
", roomType="
+
roomType
+
", videoType="
+
videoType
+
", durationSecondShow="
+
durationSecondShow
+
", realStartTime="
+
realStartTime
+
", realEndTime="
+
realEndTime
+
", realDurationSecond="
+
realDurationSecond
+
", reservation="
+
reservation
+
", canBroadcast="
+
canBroadcast
+
", broadcastScore="
+
broadcastScore
+
", broadcastNum="
+
broadcastNum
+
", participationRigth="
+
participationRigth
+
", replay="
+
replay
+
", openingRemarks="
+
openingRemarks
+
", userTitle="
+
userTitle
+
", guestGreetings="
+
guestGreetings
+
", guestCard="
+
guestCard
+
", guestWeShop="
+
guestWeShop
+
", friendGreetings="
+
friendGreetings
+
", friendCard="
+
friendCard
+
", friendWeShop="
+
friendWeShop
+
", recommendHomePage="
+
recommendHomePage
+
", recommendTime="
+
recommendTime
+
", participantsNum="
+
participantsNum
+
", onlineNum="
+
onlineNum
+
", reservationNum="
+
reservationNum
+
", informationSheetNum="
+
informationSheetNum
+
", replayNum="
+
replayNum
+
", smsTemplateId="
+
smsTemplateId
+
", managerName="
+
managerName
+
", recommendHomeTanpu="
+
recommendHomeTanpu
+
", recommendTimeTanpu="
+
recommendTimeTanpu
+
", participantsPv="
+
participantsPv
+
", participantsChildPv="
+
participantsChildPv
+
", isprivacy="
+
isprivacy
+
", iscreateGroupSuccess="
+
iscreateGroupSuccess
+
", maxOnlineNum="
+
maxOnlineNum
+
", tags="
+
tags
+
", explain="
+
explain
+
", managerId="
+
managerId
+
", bgStatus="
+
bgStatus
+
", bgImg="
+
bgImg
+
", seeStatus="
+
seeStatus
+
", seeLength="
+
seeLength
+
", squareImg="
+
squareImg
+
"}"
;
}
}
community-service/src/main/java/com/tanpu/community/dao/mapper/user/CurriculumResMapper.java
0 → 100644
View file @
02259a59
package
com
.
tanpu
.
community
.
dao
.
mapper
.
user
;
import
com.tanpu.community.dao.entity.user.CurriculumResEntity
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 课程资源 Mapper 接口
* </p>
*
* @author xudong
* @since 2021-06-23
*/
public
interface
CurriculumResMapper
extends
BaseMapper
<
CurriculumResEntity
>
{
}
community-service/src/main/java/com/tanpu/community/dao/mapper/user/FinProResMapper.java
0 → 100644
View file @
02259a59
package
com
.
tanpu
.
community
.
dao
.
mapper
.
user
;
import
com.tanpu.community.dao.entity.user.FinProResEntity
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* Mapper 接口
* </p>
*
* @author xudong
* @since 2021-06-23
*/
public
interface
FinProResMapper
extends
BaseMapper
<
FinProResEntity
>
{
}
community-service/src/main/java/com/tanpu/community/dao/mapper/zhibo/ZhiboThemeMapper.java
0 → 100644
View file @
02259a59
package
com
.
tanpu
.
community
.
dao
.
mapper
.
zhibo
;
import
com.tanpu.community.dao.entity.zhibo.ZhiboThemeEntity
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
/**
* <p>
* 直播间信息表 Mapper 接口
* </p>
*
* @author xudong
* @since 2021-06-23
*/
public
interface
ZhiboThemeMapper
extends
BaseMapper
<
ZhiboThemeEntity
>
{
}
community-service/src/main/java/com/tanpu/community/manager/ThemeManager.java
View file @
02259a59
...
...
@@ -4,12 +4,15 @@ import com.tanpu.community.api.beans.ThemeDTO;
import
com.tanpu.community.api.constants.BlockTypeEnum
;
import
com.tanpu.community.api.constants.CollectionTypeEnum
;
import
com.tanpu.community.api.constants.CommentTypeEnum
;
import
com.tanpu.community.util.ConvertUtil
;
import
com.tanpu.community.dao.entity.community.BlackListEntity
;
import
com.tanpu.community.dao.entity.community.CommentEntity
;
import
com.tanpu.community.dao.entity.community.FansRelEntity
;
import
com.tanpu.community.dao.entity.community.ThemeEntity
;
import
com.tanpu.community.dao.entity.user.CurriculumResEntity
;
import
com.tanpu.community.dao.entity.user.FinProResEntity
;
import
com.tanpu.community.dao.entity.zhibo.ZhiboThemeEntity
;
import
com.tanpu.community.service.*
;
import
com.tanpu.community.util.ConvertUtil
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
...
...
@@ -37,16 +40,47 @@ public class ThemeManager {
@Autowired
private
BlackListService
blackListService
;
@Autowired
private
FinProResService
finProResService
;
@Autowired
private
RedisService
redisService
;
@Autowired
private
ZhiboService
zhiboService
;
@Autowired
private
CurriculumResService
curriculumResService
;
// 返回推荐主题文章
public
List
<
ThemeDTO
>
selectHotThemes
()
{
// TODO:根据算法计算推荐主题
List
<
ThemeEntity
>
themeEntities
=
themeService
.
selectAll
();
List
<
ThemeDTO
>
themeDTOS
=
ConvertUtil
.
themeEntitiesToDTOs
(
themeEntities
);
for
(
ThemeDTO
themeDTO
:
themeDTOS
)
{
switch
(
themeDTO
.
getAttachType
())
{
//附件类型 1:产品 2:直播 3:短视频 4:课程
//TODO ENTITY 转 DTO
case
1
:
FinProResEntity
finProResEntity
=
finProResService
.
selectById
(
themeDTO
.
getAttachment
());
themeDTO
.
setAttachmentInfo
(
finProResEntity
);
break
;
case
2
:
ZhiboThemeEntity
zhiboThemeEntity
=
zhiboService
.
selectByid
(
themeDTO
.
getAttachment
());
themeDTO
.
setAttachmentInfo
(
zhiboThemeEntity
);
break
;
case
3
:
CurriculumResEntity
curriculumResEntity
=
curriculumResService
.
selectById
(
themeDTO
.
getAttachment
());
themeDTO
.
setAttachmentInfo
(
curriculumResEntity
);
break
;
case
4
:
//todo 课程详情
break
;
default
:
break
;
}
themeDTO
.
setUpToNowTime
(
calUpToNowTime
(
themeDTO
.
getCreateTime
()));
//TODO 添加用户名、头像、认证
}
...
...
community-service/src/main/java/com/tanpu/community/service/CurriculumResService.java
0 → 100644
View file @
02259a59
package
com
.
tanpu
.
community
.
service
;
import
com.tanpu.community.dao.entity.user.CurriculumResEntity
;
import
com.tanpu.community.dao.mapper.user.CurriculumResMapper
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
/**
* 短视频详情
*/
@Service
public
class
CurriculumResService
{
@Resource
private
CurriculumResMapper
curriculumResMapper
;
public
CurriculumResEntity
selectById
(
String
id
)
{
return
curriculumResMapper
.
selectById
(
id
);
}
}
community-service/src/main/java/com/tanpu/community/service/FinProResService.java
0 → 100644
View file @
02259a59
package
com
.
tanpu
.
community
.
service
;
import
com.tanpu.community.dao.entity.user.FinProResEntity
;
import
com.tanpu.community.dao.mapper.user.FinProResMapper
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
/**
* 产品详情
*/
@Service
public
class
FinProResService
{
@Resource
private
FinProResMapper
finProResMapper
;
public
FinProResEntity
selectById
(
String
id
){
return
finProResMapper
.
selectById
(
id
);
}
}
community-service/src/main/java/com/tanpu/community/service/ZhiboService.java
0 → 100644
View file @
02259a59
package
com
.
tanpu
.
community
.
service
;
import
com.tanpu.community.dao.entity.zhibo.ZhiboThemeEntity
;
import
com.tanpu.community.dao.mapper.zhibo.ZhiboThemeMapper
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
/**
* 直播详情
*/
@Service
public
class
ZhiboService
{
@Resource
private
ZhiboThemeMapper
zhiboThemeMapper
;
public
ZhiboThemeEntity
selectByid
(
String
id
)
{
return
zhiboThemeMapper
.
selectById
(
id
);
}
}
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