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
9355c568
Commit
9355c568
authored
Apr 17, 2019
by
liuyongshuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加调用案件侦办审批页面的接口
parent
43ab058b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
0 deletions
+68
-0
src/main/java/com/founder/interservice/abutment/controller/AbutmentController.java
+68
-0
No files found.
src/main/java/com/founder/interservice/abutment/controller/AbutmentController.java
View file @
9355c568
...
...
@@ -473,6 +473,74 @@ public class AbutmentController {
}
/**
* 案件侦办跳转新德汇审批页面
* @param asjbh
* @param sfzh
* @param jh
* @param xxly
* @param response
*/
@RequestMapping
(
value
=
"/toAjzbSpJsp"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
public
void
toSpJsp2
(
String
asjbh
,
String
sfzh
,
String
jh
,
String
xxly
,
HttpServletResponse
response
){
String
xm
=
null
,
lxdh
=
null
,
dldwmc
=
null
,
dldwdm
=
null
,
sqbt
=
null
;
try
{
JSONObject
jsonObject
=
new
JSONObject
();
if
(
sfzh
!=
null
||
jh
!=
null
){
User
user
=
getUserInfo
(
sfzh
,
jh
);
System
.
out
.
println
(
"USER =========="
+
user
.
toString
());
xm
=
user
.
getTrue_name
();
lxdh
=
user
.
getPhone_no
();
dldwdm
=
user
.
getJz_dwdm
();
dldwmc
=
user
.
getJz_dwmc
();
}
if
(
xxly
.
equals
(
"ajzb"
)){
System
.
out
.
println
(
"sfzh ======="
+
sfzh
+
"jh ======="
+
jh
);
jsonObject
.
put
(
"sqly"
,
"信息布控"
);
sqbt
=
"案件侦办申请:案事件编号为"
+
asjbh
+
";侦办对象为:"
+
asjbh
+
";申请人是:"
+
xm
+
",警号为:"
+
jh
+
",身份证号为:"
+
sfzh
;
System
.
out
.
println
(
"sqbt======"
+
sqbt
);
xxly
=
"案件侦办"
;
}
LinkedHashMap
<
String
,
Object
>
params
=
new
LinkedHashMap
<>();
params
.
put
(
"sysname"
,
"HCZZ-SQSP"
);
//参数
jsonObject
.
put
(
"ajbh"
,
asjbh
);
jsonObject
.
put
(
"sfzh"
,
sfzh
);
jsonObject
.
put
(
"sqdx"
,
asjbh
);
//审批对象为案件,则审批对象暂时定为asjbh
jsonObject
.
put
(
"sqbt"
,
sqbt
);
jsonObject
.
put
(
"level"
,
"2"
);
params
.
put
(
"sysparam"
,
jsonObject
.
toJSONString
());
//参数
String
url
=
UnifiedServiceUtil
.
sendRequest
(
bizCode
,
cjServiceId
,
params
);
if
(!
StringUtil
.
ckeckEmpty
(
url
)){
//添加审批日志
SpLog
spLog
=
new
SpLog
();
spLog
.
setXxzjbh
(
KeyUtil
.
getUniqueKey
(
"SPL"
));
spLog
.
setAsjbh
(
asjbh
);
spLog
.
setCqrSfzh
(
sfzh
);
spLog
.
setCqrXm
(
xm
);
spLog
.
setCqrJh
(
jh
);
spLog
.
setCqrLxdh
(
lxdh
);
spLog
.
setDldwdm
(
dldwdm
);
spLog
.
setDldwmc
(
dldwmc
);
spLog
.
setCqrIp
(
""
);
spLog
.
setSpbsh
(
asjbh
);
//审批对象为案件,则审批对象暂时定为asjbh
spLog
.
setBshlxdm
(
"ajzb"
);
//审批对象为案件,则申请对象类型代码暂时定为ajzb
spLog
.
setBshlxmc
(
"案件侦办"
);
//审批对象为案件,则申请对象类型名称暂时定为案件侦办
spLog
.
setSpTitle
(
sqbt
);
spLog
.
setSpzt
(
"2"
);
//正在审批
spLog
.
setXxly
(
xxly
);
spLogService
.
saveSpLog
(
spLog
);
//跳转
response
.
sendRedirect
(
url
);
}
}
catch
(
Exception
e
){
e
.
printStackTrace
();
throw
new
InterServiceException
(
55
,
"发生未知错误!"
);
}
}
/**
* 调用新德汇接口获取审批结果
* @param asjbh
* @param sfzh
...
...
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