Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
d0c84abd
Commit
d0c84abd
authored
Nov 18, 2021
by
kongfm
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ES 放电梯数据
parent
82c47d75
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
ElevatorController.java
...os/boot/module/tzs/biz/controller/ElevatorController.java
+11
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/controller/ElevatorController.java
View file @
d0c84abd
...
@@ -393,8 +393,18 @@ public class ElevatorController extends BaseController {
...
@@ -393,8 +393,18 @@ public class ElevatorController extends BaseController {
public
void
init
(
Integer
num
)
{
public
void
init
(
Integer
num
)
{
IPage
<
Elevator
>
elevatorPage
=
new
Page
<>();
IPage
<
Elevator
>
elevatorPage
=
new
Page
<>();
Integer
count
=
elevatorService
.
count
();
Integer
count
=
elevatorService
.
count
();
Integer
times
=
0
;
if
(
ValidationUtil
.
isEmpty
(
num
)
&&
count
!=
0
)
{
times
=
count
/
500
;
int
last
=
count
%
500
;
if
(
last
>
0
)
{
times
++;
}
}
else
if
(
count
!=
0
)
{
times
=
num
;
}
for
(
int
i
=
0
;
i
<=
(
ValidationUtil
.
isEmpty
(
num
)
?
count
%
500
:
num
);
++
i
)
{
for
(
int
i
=
0
;
i
<=
times
;
i
++
)
{
elevatorPage
.
setCurrent
(
i
);
elevatorPage
.
setCurrent
(
i
);
elevatorPage
.
setSize
(
500
);
elevatorPage
.
setSize
(
500
);
elevatorPage
=
elevatorService
.
page
(
elevatorPage
);
elevatorPage
=
elevatorService
.
page
(
elevatorPage
);
...
...
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