Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
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
8e59f8bf
Commit
8e59f8bf
authored
May 12, 2021
by
jiawei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
审核驳回原因填写过长,后台没有返回提示信息
parent
2bec894c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
AuditController.java
...va/cn/chnmuseum/party/web/controller/AuditController.java
+8
-0
No files found.
src/main/java/cn/chnmuseum/party/web/controller/AuditController.java
View file @
8e59f8bf
...
...
@@ -48,6 +48,8 @@ public class AuditController extends BaseController {
@Resource
private
AuditService
auditService
;
private
final
static
int
REMARK_LEN
=
64
;
@Resource
private
TUserService
userService
;
...
...
@@ -326,6 +328,12 @@ public class AuditController extends BaseController {
@ApiOperation
(
value
=
"审核管理===根据id修改审核信息"
,
notes
=
"审核管理===根据id修改审核信息"
)
@MethodLog
(
operModule
=
OperModule
.
CHECKVIDEO
,
operType
=
OperType
.
AUDIT
)
public
Map
<
String
,
Object
>
updateAuditAllById
(
@RequestBody
@Validated
AuditStatusParam
auditStatusParam
)
{
//校验备注过长报错问题
if
(
auditStatusParam
.
getRemarks
()
!=
null
)
{
if
(
auditStatusParam
.
getRemarks
().
length
()
>
REMARK_LEN
)
{
return
getFailResult
(
"备注消息过长"
);
}
}
String
id
=
auditStatusParam
.
getId
();
Audit
audit
=
auditService
.
getById
(
id
);
if
(
audit
==
null
)
{
...
...
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