Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bigdatainterservice
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曹鹏
bigdatainterservice
Commits
99f3f892
Commit
99f3f892
authored
Mar 21, 2019
by
caojingji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整伴随任务发送模块功能的bug
parent
5c2bb50c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
12 deletions
+14
-12
src/main/java/com/founder/interservice/tracktraveltogether/service/impl/TrackTogetherServiceImpl.java
+0
-2
src/main/java/com/founder/interservice/util/HttpUtil.java
+6
-2
src/main/resources/static/js/bsrwInsert.js
+7
-7
src/main/webapp/WEB-INF/jsp/gjbs/Insert.jsp
+1
-1
No files found.
src/main/java/com/founder/interservice/tracktraveltogether/service/impl/TrackTogetherServiceImpl.java
View file @
99f3f892
...
...
@@ -74,9 +74,7 @@ public class TrackTogetherServiceImpl implements TrackTogetherService {
+
"&taskCaseId="
+
trackParam
.
getTaskCaseId
()
+
"&startTime="
+
trackParam
.
getStartTime
().
getTime
()
+
"&endTime="
+
trackParam
.
getEndTime
().
getTime
();
System
.
out
.
println
(
"url ================"
+
url
);
taskId
=
HttpUtil
.
getWaData
(
url
);
System
.
out
.
println
(
"taskId ==============="
+
taskId
);
}
return
taskId
;
}
catch
(
Exception
e
){
...
...
src/main/java/com/founder/interservice/util/HttpUtil.java
View file @
99f3f892
...
...
@@ -26,9 +26,13 @@ public class HttpUtil {
* @param url
* @return
*/
public
static
String
getWaData
(
String
url
){
public
static
String
getWaData
(
String
url
){
String
result
=
HttpUtil
.
doGet
(
url
);
System
.
out
.
println
(
"result =============== "
+
result
);
int
i
=
0
;
while
(
i
<
3
&&
(!
result
.
startsWith
(
"{"
)
||
StringUtil
.
ckeckEmpty
(
result
))){
result
=
HttpUtil
.
doGet
(
url
);
i
++;
}
return
result
;
}
...
...
src/main/resources/static/js/bsrwInsert.js
View file @
99f3f892
$
(
function
(){
$
(
"#
bkdxlx
"
).
combobox
({
$
(
"#
objectType
"
).
combobox
({
onChange
:
function
(
lx
,
o
)
{
var
validStr
=
""
;
if
(
lx
==
"3996"
){
//手机号码
...
...
@@ -11,7 +11,7 @@ $(function(){
validStr
=
[
'cphm'
];
}
if
(
validStr
!=
""
){
$
(
"#
bkdxhm
"
).
textbox
({
$
(
"#
objectValue
"
).
textbox
({
required
:
true
,
validType
:
validStr
});
...
...
@@ -22,7 +22,7 @@ $(function(){
});
function
doClear
(){
$
(
"#
bkdxlx
"
).
combobox
(
'setValue'
,
""
);
$
(
"#
objectType
"
).
combobox
(
'setValue'
,
""
);
//$("#bkdxhm").textbox('setValue',"");
$
(
"#objectValue"
).
textbox
(
'setValue'
,
""
);
$
(
"#taskName"
).
textbox
(
'setValue'
,
""
);
...
...
@@ -30,13 +30,13 @@ function doClear(){
$
(
"#datepicker2"
).
val
(
''
);
}
function
submit
()
{
var
bkdxlxmc
=
$
(
'#
bkdxlx
'
).
combobox
(
'getText'
);
//获取下拉框的文本
var
bkdxlxmc
=
$
(
'#
objectType
'
).
combobox
(
'getText'
);
//获取下拉框的文本
$
(
'#bkdxlxmc'
).
val
(
bkdxlxmc
);
var
bkdxlx
=
$
(
"#bkdxlx
"
).
combobox
(
'getValue'
);
$
(
"#
bkdxlx
"
).
combobox
({
var
objectType
=
$
(
"#objectType
"
).
combobox
(
'getValue'
);
$
(
"#
objectType
"
).
combobox
({
required
:
true
});
$
(
"#
bkdxlx"
).
combobox
(
'setValue'
,
bkdxlx
);
$
(
"#
objectType"
).
combobox
(
'setValue'
,
objectType
);
var
fsrjh
=
$
(
"#fsrjh"
).
val
();
var
fsrIdentity
=
$
(
"#fsrIdentity"
).
val
();
var
taskCaseId
=
$
(
"#taskCaseId"
).
val
();
...
...
src/main/webapp/WEB-INF/jsp/gjbs/Insert.jsp
View file @
99f3f892
...
...
@@ -53,7 +53,7 @@
<td class="ar" width="13.3%">标识号类型:</td>
<td width="20%">
<span class="textbox" style="border:none;">
<select name = "
bkdxlx" id="bkdxlx
" class="easyui-combobox" data-options="panelHeight:'auto'" style="height:26px;">
<select name = "
objectType" id="objectType
" class="easyui-combobox" data-options="panelHeight:'auto'" style="height:26px;">
<option value=""></option>
<option value="3996">手机号码</option>
<option value="4314"> IMSI</option>
...
...
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