Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
H
hzsomms
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
ZTGK
hzsomms
Commits
9d238f70
Commit
9d238f70
authored
Jul 15, 2023
by
shizhilong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
初始化测点,维护测点 --shizhilong
parent
78239ed7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
MovementRecordsMasterController.java
...CheckData/controller/MovementRecordsMasterController.java
+7
-0
No files found.
jeecg-module-system/src/main/java/org/jeecg/modules/checkData/equipmentCheckData/controller/MovementRecordsMasterController.java
View file @
9d238f70
...
...
@@ -295,6 +295,8 @@ public class MovementRecordsMasterController extends JeecgController<MovementRec
List
<
MovementCourseInfo
>
resultList
=
new
ArrayList
<>();
//初始化里程排序
int
sort
=
0
;
//初始化测点
int
measurePoint
=
0
;
//初始化轨号排序
int
infoSort
=
0
;
for
(
int
i
=
0
;
i
<
column
;
i
++)
{
...
...
@@ -398,6 +400,7 @@ public class MovementRecordsMasterController extends JeecgController<MovementRec
}
if
(
ObjectUtil
.
isNotEmpty
(
courseId
))
{
infoSort
++;
measurePoint
++;
MovementCourseInfo
movementCourseInfo
=
new
MovementCourseInfo
();
movementCourseInfo
.
setId
(
IdWorker
.
get32UUID
());
movementCourseInfo
.
setDelFlag
(
"0"
);
...
...
@@ -408,6 +411,7 @@ public class MovementRecordsMasterController extends JeecgController<MovementRec
movementCourseInfo
.
setCreateBy
(
realname
);
movementCourseInfo
.
setUpdateBy
(
realname
);
movementCourseInfo
.
setInfoSort
(
infoSort
);
movementCourseInfo
.
setMeasurePoint
(
measurePoint
);
//获取轨号
List
<
Object
>
trackCodeList
=
rowRecords
.
get
(
6
);
String
trackCode
=
trackCodeList
.
get
(
i
).
toString
().
trim
();
...
...
@@ -469,6 +473,9 @@ public class MovementRecordsMasterController extends JeecgController<MovementRec
movementCourseInfo
.
setRectification
(
rectification
);
}
resultList
.
add
(
movementCourseInfo
);
if
(
measurePoint
%
8
==
0
){
measurePoint
=
0
;
}
}
if
((
skipColumnNum
+
2
)
%
28
==
0
)
{
i
=
i
+
4
;
...
...
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