Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
custom-server
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
lizhonghong
custom-server
Commits
19bcc9c2
Commit
19bcc9c2
authored
Jul 10, 2026
by
Lizh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复processing参数验证逻辑,支持字符串类型的数据
parent
87ce3646
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
custom-server-app/src/main/java/com/jomalls/custom/app/dto/CustomProductInfoQuerySnakeDTO.java
+6
-0
No files found.
custom-server-app/src/main/java/com/jomalls/custom/app/dto/CustomProductInfoQuerySnakeDTO.java
View file @
19bcc9c2
...
@@ -184,6 +184,12 @@ public class CustomProductInfoQuerySnakeDTO extends PageRequest {
...
@@ -184,6 +184,12 @@ public class CustomProductInfoQuerySnakeDTO extends PageRequest {
this
.
processing
=
(
Boolean
)
value
?
1
:
0
;
this
.
processing
=
(
Boolean
)
value
?
1
:
0
;
}
else
if
(
value
instanceof
Number
)
{
}
else
if
(
value
instanceof
Number
)
{
this
.
processing
=
((
Number
)
value
).
intValue
();
this
.
processing
=
((
Number
)
value
).
intValue
();
}
else
if
(
value
instanceof
String
s
)
{
try
{
this
.
processing
=
Integer
.
parseInt
(
s
.
trim
());
}
catch
(
NumberFormatException
ignored
)
{
this
.
processing
=
null
;
}
}
else
{
}
else
{
this
.
processing
=
null
;
this
.
processing
=
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