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
9e144f34
Commit
9e144f34
authored
Jun 01, 2019
by
wangling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
20190531---wangling---修改布控保存参数名
parent
fe99df16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
src/main/java/com/founder/interservice/bkxx/controller/BkController.java
+10
-4
No files found.
src/main/java/com/founder/interservice/bkxx/controller/BkController.java
View file @
9e144f34
...
...
@@ -300,7 +300,7 @@ public class BkController {
//已存在,不能重复添加
result
=
"repeat"
;
}
else
{
params
.
put
(
"
sysnam
e"
,
"add_z_ajbk"
);
//参数--服务类型
params
.
put
(
"
typ
e"
,
"add_z_ajbk"
);
//参数--服务类型
//参数
JSONObject
jsonObject
=
new
JSONObject
();
//案事件编号
...
...
@@ -310,7 +310,9 @@ public class BkController {
//布控对象号码(必须)
jsonObject
.
put
(
"xyr_sfzh"
,
ajbk
.
getZjhm
());
//布控结束时间(必须)
jsonObject
.
put
(
"bkjssj"
,
ajbk
.
getQubksj
());
SimpleDateFormat
formatter
=
new
SimpleDateFormat
(
"yyyy/MM/dd HH:mm"
);
String
bkjssjString
=
formatter
.
format
(
ajbk
.
getBkjzsj
());
jsonObject
.
put
(
"bkjssj"
,
bkjssjString
);
//申请人姓名(必须)
jsonObject
.
put
(
"creater_xm"
,
ajbk
.
getCreateuser
());
//申请人联系电话
...
...
@@ -320,9 +322,13 @@ public class BkController {
params
.
put
(
"sysparam"
,
jsonObject
.
toJSONString
());
//参数
//返回数据格式为xml
String
urlStr
=
UnifiedServiceUtil
.
sendRequest
(
bizCode
,
getCjDataServiceId
,
params
);
System
.
out
.
println
(
"urlStr================"
+
urlStr
);
if
(!
StringUtil
.
ckeckEmpty
(
urlStr
)){
response
.
sendRedirect
(
urlStr
);
result
=
"success"
;
if
(
"success"
.
equals
(
urlStr
)){
result
=
"success"
;
}
else
{
result
=
"fail"
;
}
}
else
{
result
=
"fail"
;
}
...
...
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