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
2cbd18b7
Commit
2cbd18b7
authored
Nov 14, 2024
by
wei
🎱
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后缀-
parent
c7c4a42d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ExtFilesServiceImpl.java
...t/dcs/document/core/service/impl/ExtFilesServiceImpl.java
+2
-2
No files found.
inet-doc-expand-core/src/main/java/com/inet/dcs/document/core/service/impl/ExtFilesServiceImpl.java
View file @
2cbd18b7
...
@@ -201,12 +201,12 @@ public class ExtFilesServiceImpl<V extends ExtFilesVO> implements ExtFilesServic
...
@@ -201,12 +201,12 @@ public class ExtFilesServiceImpl<V extends ExtFilesVO> implements ExtFilesServic
StringBuilder
caseNumberBuilder
=
new
StringBuilder
();
StringBuilder
caseNumberBuilder
=
new
StringBuilder
();
int
length
=
caseNumber
.
length
();
int
length
=
caseNumber
.
length
();
// 正常输入补位后不能超过3位数字
// 正常输入补位后不能超过3位数字
if
(!
caseNumber
.
contains
(
"
=
"
)
&&
length
>
3
)
{
if
(!
caseNumber
.
contains
(
"
-
"
)
&&
length
>
3
)
{
throw
new
DxBusinessException
(
"500"
,
"案卷序号:"
+
caseNumber
+
"不能超过3位数"
);
throw
new
DxBusinessException
(
"500"
,
"案卷序号:"
+
caseNumber
+
"不能超过3位数"
);
}
}
// 无后缀-输入,位数3补齐0
// 无后缀-输入,位数3补齐0
if
(!
caseNumber
.
contains
(
"
=
"
))
{
if
(!
caseNumber
.
contains
(
"
-
"
))
{
// 不满足位数
// 不满足位数
if
(
length
<
LENGTH
)
{
if
(
length
<
LENGTH
)
{
for
(
int
i
=
0
;
i
<
LENGTH
-
length
;
i
++)
{
for
(
int
i
=
0
;
i
<
LENGTH
-
length
;
i
++)
{
...
...
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