Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gk
Project
Project
Details
Activity
Releases
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
micro_app
gk
Commits
cc844702
Commit
cc844702
authored
Jan 13, 2023
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
绑定接口异常
parent
bb366064
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
CmptService.java
...a/com/dlbridge/jadp/plugins/cmpt/service/CmptService.java
+3
-1
RoadsGpsCheckpointController.java
...e/jadp/plugins/cmpt/web/RoadsGpsCheckpointController.java
+3
-1
No files found.
src/main/java/com/dlbridge/jadp/plugins/cmpt/service/CmptService.java
View file @
cc844702
...
@@ -106,7 +106,9 @@ public class CmptService {
...
@@ -106,7 +106,9 @@ public class CmptService {
Map
<
String
,
String
>
enrollUser
=
remoteService
.
getEnrollUsersByUserMapId
(
userMapId
);
Map
<
String
,
String
>
enrollUser
=
remoteService
.
getEnrollUsersByUserMapId
(
userMapId
);
phone
=
enrollUser
.
get
(
"mobileNum"
);
phone
=
enrollUser
.
get
(
"mobileNum"
);
name
=
enrollUser
.
get
(
"name"
);
name
=
enrollUser
.
get
(
"name"
);
teamId
=
enrollUser
.
get
(
"teamId"
);
if
(
enrollUser
.
containsKey
(
teamId
)
&&
StringUtils
.
isNotBlank
(
enrollUser
.
get
(
"teamId"
))){
teamId
=
enrollUser
.
get
(
"teamId"
);
}
}
}
// 根据手机号和姓名查计时名单
// 根据手机号和姓名查计时名单
EnrollInfo
info
=
getUserInfoByPhone
(
phone
,
cmptId
,
name
);
EnrollInfo
info
=
getUserInfoByPhone
(
phone
,
cmptId
,
name
);
...
...
src/main/java/com/dlbridge/jadp/plugins/cmpt/web/RoadsGpsCheckpointController.java
View file @
cc844702
...
@@ -77,7 +77,9 @@ public class RoadsGpsCheckpointController {
...
@@ -77,7 +77,9 @@ public class RoadsGpsCheckpointController {
List
<
RoadsGpsCheckpointMap
>
roadsGpsCheckpointMapList
=
new
ArrayList
<>();
List
<
RoadsGpsCheckpointMap
>
roadsGpsCheckpointMapList
=
new
ArrayList
<>();
JSONObject
object
=
JSONObject
.
parseObject
(
points
);
JSONObject
object
=
JSONObject
.
parseObject
(
points
);
JSONArray
result
=
object
.
getJSONArray
(
"placeMark"
);
JSONArray
result
=
object
.
getJSONArray
(
"placeMark"
);
if
(
result
==
null
||
result
.
isEmpty
())
return
Result
.
fail
().
setMsg
(
"未设置轨迹"
);
if
(
result
==
null
||
result
.
isEmpty
())
{
return
Result
.
fail
().
setMsg
(
"未设置轨迹"
);
}
for
(
int
i
=
0
;
i
<
result
.
size
();
i
++)
{
for
(
int
i
=
0
;
i
<
result
.
size
();
i
++)
{
RoadsGpsCheckpointMap
roadsGpsCheckpointMap
=
new
RoadsGpsCheckpointMap
();
RoadsGpsCheckpointMap
roadsGpsCheckpointMap
=
new
RoadsGpsCheckpointMap
();
JSONObject
o
=
(
JSONObject
)
result
.
get
(
i
);
JSONObject
o
=
(
JSONObject
)
result
.
get
(
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