Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zhengyuan-danger-chemistry-manage
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
耿迪迪
zhengyuan-danger-chemistry-manage
Commits
9ee17697
Commit
9ee17697
authored
Jan 15, 2023
by
zhangjianqian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
空判断,和超出判断
parent
b291edfb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
Bx06Controller.java
...java/com/zehong/web/controller/system/Bx06Controller.java
+6
-0
No files found.
danger-manage-admin/src/main/java/com/zehong/web/controller/system/Bx06Controller.java
View file @
9ee17697
...
...
@@ -18,6 +18,12 @@ public class Bx06Controller {
@PutMapping
(
"/send"
)
public
AjaxResult
send
(
Bx06Vo
bx06Vo
)
throws
Exception
{
if
(
bx06Vo
.
getContents
()==
null
||
bx06Vo
.
getContents
().
length
<
1
){
return
AjaxResult
.
error
(
"请至少发送一行数据"
);
}
if
(
bx06Vo
.
getContents
().
length
>
6
){
return
AjaxResult
.
error
(
"最多一次发送6行数据"
);
}
LedserviceImpl
.
SendProgram
(
bx06Vo
);
return
AjaxResult
.
success
();
}
...
...
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