Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
496a7947
Commit
496a7947
authored
Jun 29, 2022
by
284718418@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
OA 讯息添加文件传阅 模板排序
parent
dc9add1d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
166 additions
and
2 deletions
+166
-2
src/main/java/cn/timer/api/bean/qyxx/CmsContent.java
+3
-0
src/main/java/cn/timer/api/bean/qyxx/CmsContentModular.java
+3
-0
src/main/java/cn/timer/api/bean/qyxx/CmsContentRead.java
+74
-0
src/main/java/cn/timer/api/controller/qyxx/CmsController.java
+0
-0
src/main/java/cn/timer/api/dao/qyxx/CmsContentMapper.java
+2
-2
src/main/java/cn/timer/api/dao/qyxx/CmsContentReadMapper.java
+17
-0
src/main/java/cn/timer/api/dto/qyxx/CmsContentDto.java
+11
-0
src/main/java/cn/timer/api/dto/qyxx/CmsContentReadDto.java
+56
-0
No files found.
src/main/java/cn/timer/api/bean/qyxx/CmsContent.java
View file @
496a7947
...
...
@@ -146,4 +146,7 @@ public class CmsContent extends Model<CmsContent>{
@ApiModelProperty
(
value
=
"定时发布时间"
,
example
=
"101"
)
private
Long
fixedTime
;
// 定时发布时间
@ApiModelProperty
(
value
=
"是否公开:0否,1是"
,
example
=
"1"
)
private
Integer
openStatus
;
}
src/main/java/cn/timer/api/bean/qyxx/CmsContentModular.java
View file @
496a7947
...
...
@@ -54,4 +54,7 @@ public class CmsContentModular extends Model<CmsContentModular> {
@ApiModelProperty
(
value
=
"0- 开启 1-关闭"
,
example
=
"0"
)
private
Integer
isOpen
;
@ApiModelProperty
(
value
=
"排序:升序"
,
example
=
"0"
)
private
Integer
sort
;
}
src/main/java/cn/timer/api/bean/qyxx/CmsContentRead.java
0 → 100644
View file @
496a7947
package
cn
.
timer
.
api
.
bean
.
qyxx
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
javax.persistence.Entity
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
javax.persistence.Table
;
import
java.util.Date
;
/**
* 文件传阅表
*
* @author wuqingjun
* @email 284718418@qq.com
* @date 2022-06-23
*/
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table
(
name
=
"cms_content_read"
)
@ApiModel
(
"文件传阅表"
)
public
class
CmsContentRead
extends
Model
<
CmsContentRead
>{
private
static
final
long
serialVersionUID
=
-
5904257321968702198L
;
@Id
@GeneratedValue
@TableId
(
type
=
IdType
.
AUTO
)
@ApiModelProperty
(
value
=
"编号"
,
example
=
"1"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"企业讯息主表ID"
,
example
=
"101"
)
private
Integer
cmsContentId
;
@ApiModelProperty
(
value
=
"留言/意见反馈"
,
example
=
""
)
private
String
reviewContent
;
@ApiModelProperty
(
value
=
"留言/意见反馈时间"
,
example
=
""
)
private
Date
reviewTime
;
@ApiModelProperty
(
value
=
"组织机构代码"
,
example
=
"1"
)
private
Integer
orgCode
;
@ApiModelProperty
(
value
=
"用户ID"
,
example
=
"1"
)
private
Integer
userId
;
@ApiModelProperty
(
value
=
"用户姓名"
,
example
=
"张三"
)
private
String
userName
;
@ApiModelProperty
(
value
=
"阅读标记0.未读 1.已读"
,
example
=
"0"
)
private
Integer
readStatus
;
@ApiModelProperty
(
value
=
"逻辑删除标记0.未删除 1.删除"
,
example
=
"0"
)
private
Integer
deleteFlag
;
@ApiModelProperty
(
value
=
"创建时间"
,
example
=
""
)
private
Date
createTime
;
@ApiModelProperty
(
value
=
"更新时间"
,
example
=
""
)
private
Date
updateTime
;
}
src/main/java/cn/timer/api/controller/qyxx/CmsController.java
View file @
496a7947
This diff is collapsed.
Click to expand it.
src/main/java/cn/timer/api/dao/qyxx/CmsContentMapper.java
View file @
496a7947
package
cn
.
timer
.
api
.
dao
.
qyxx
;
import
com.github.yulichang.base.MPJBaseMapper
;
import
org.springframework.stereotype.Repository
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
cn.timer.api.bean.qyxx.CmsContent
;
...
...
@@ -12,6 +12,6 @@ import cn.timer.api.bean.qyxx.CmsContent;
* @author dsc 2019-12-10
*/
@Repository
public
interface
CmsContentMapper
extends
BaseMapper
<
CmsContent
>
{
public
interface
CmsContentMapper
extends
MPJ
BaseMapper
<
CmsContent
>
{
}
src/main/java/cn/timer/api/dao/qyxx/CmsContentReadMapper.java
0 → 100644
View file @
496a7947
package
cn
.
timer
.
api
.
dao
.
qyxx
;
import
cn.timer.api.bean.qyxx.CmsContentRead
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
org.springframework.stereotype.Repository
;
/**
* 文件传阅表
*
* @author wuqingjun
* @email 284718418@qq.com
* @date 2022-06-23
*/
@Repository
public
interface
CmsContentReadMapper
extends
BaseMapper
<
CmsContentRead
>
{
}
src/main/java/cn/timer/api/dto/qyxx/CmsContentDto.java
View file @
496a7947
package
cn
.
timer
.
api
.
dto
.
qyxx
;
import
java.io.Serializable
;
import
java.util.List
;
import
javax.persistence.GeneratedValue
;
import
javax.persistence.Id
;
import
cn.timer.api.bean.qyxx.CmsContentRead
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -137,4 +139,12 @@ public class CmsContentDto extends Page implements Serializable{
@ApiModelProperty
(
value
=
"定时发布时间"
,
example
=
"101"
)
private
Long
fixedTime
;
// 定时发布时间
@ApiModelProperty
(
value
=
"是否公开:0否,1是"
,
example
=
"1"
)
private
Integer
openStatus
;
/**
* 文件传阅人员
*/
@ApiModelProperty
(
value
=
"文件传阅人员"
)
private
List
<
CmsContentRead
>
cmsContentReads
;
}
\ No newline at end of file
src/main/java/cn/timer/api/dto/qyxx/CmsContentReadDto.java
0 → 100644
View file @
496a7947
package
cn
.
timer
.
api
.
dto
.
qyxx
;
import
cn.timer.api.utils.Page
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.io.Serializable
;
import
java.util.Date
;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public
class
CmsContentReadDto
extends
Page
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
@ApiModelProperty
(
value
=
"编号"
,
example
=
"1"
)
private
Integer
id
;
@ApiModelProperty
(
value
=
"企业讯息主表ID"
,
example
=
"101"
)
private
Integer
cmsContentId
;
@ApiModelProperty
(
value
=
"留言/意见反馈"
,
example
=
""
)
private
String
reviewContent
;
@ApiModelProperty
(
value
=
"留言/意见反馈时间"
,
example
=
""
)
private
Date
reviewTime
;
@ApiModelProperty
(
value
=
"组织机构代码"
,
example
=
"1"
)
private
Integer
orgCode
;
@ApiModelProperty
(
value
=
"用户ID"
,
example
=
"1"
)
private
Integer
userId
;
@ApiModelProperty
(
value
=
"用户姓名"
,
example
=
"张三"
)
private
String
userName
;
@ApiModelProperty
(
value
=
"阅读标记0.未读 1.已读"
,
example
=
"0"
)
private
Integer
readStatus
;
@ApiModelProperty
(
value
=
"逻辑删除标记0.未删除 1.删除"
,
example
=
"0"
)
private
Integer
deleteFlag
;
@ApiModelProperty
(
value
=
"创建时间"
,
example
=
""
)
private
Date
createTime
;
@ApiModelProperty
(
value
=
"更新时间"
,
example
=
""
)
private
Date
updateTime
;
}
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