Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dcs-doc-expand
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
INET-TWO
server
dcs-doc-expand
Commits
de24f3cd
Commit
de24f3cd
authored
Aug 16, 2024
by
wangyangyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编码自动生成报错修改
parent
bb00b9c7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
DocumentEvent.java
...src/main/java/com/yonde/dcs/core/event/DocumentEvent.java
+3
-0
No files found.
dcs-doc-expand-core/src/main/java/com/yonde/dcs/core/event/DocumentEvent.java
View file @
de24f3cd
...
@@ -101,6 +101,9 @@ public class DocumentEvent {
...
@@ -101,6 +101,9 @@ public class DocumentEvent {
}
else
if
(
ObjectUtils
.
isEmpty
(
documentVO
.
getMasterId
()))
{
}
else
if
(
ObjectUtils
.
isEmpty
(
documentVO
.
getMasterId
()))
{
//新建文档,校验编号是否存在
//新建文档,校验编号是否存在
String
number
=
documentVO
.
getNumber
();
String
number
=
documentVO
.
getNumber
();
if
(
StringUtils
.
isEmpty
(
number
)){
return
;
}
DxDocumentVO
dxDocumentVO
=
extDocUtil
.
searchDocByNumber
(
number
);
DxDocumentVO
dxDocumentVO
=
extDocUtil
.
searchDocByNumber
(
number
);
if
(!
ObjectUtils
.
isEmpty
(
dxDocumentVO
))
{
if
(!
ObjectUtils
.
isEmpty
(
dxDocumentVO
))
{
throw
new
DxBusinessException
(
"-1"
,
"文档编号已存在"
);
throw
new
DxBusinessException
(
"-1"
,
"文档编号已存在"
);
...
...
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