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
ac7bd29d
Commit
ac7bd29d
authored
May 16, 2019
by
liuyongshuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正查询审批结果的工具类出现的bug
parent
bde34fdf
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
src/main/java/com/founder/interservice/abutment/controller/AbutmentController.java
+2
-2
src/main/java/com/founder/interservice/bkxx/service/impl/BkScheduleService.java
+7
-4
src/main/java/com/founder/interservice/util/XdhSpUtil.java
+1
-5
No files found.
src/main/java/com/founder/interservice/abutment/controller/AbutmentController.java
View file @
ac7bd29d
...
@@ -551,7 +551,7 @@ public class AbutmentController {
...
@@ -551,7 +551,7 @@ public class AbutmentController {
@RequestMapping
(
value
=
"/getSpResult2"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
@RequestMapping
(
value
=
"/getSpResult2"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
@ResponseBody
@ResponseBody
public
JSONObject
getSpResult2
(
String
asjbh
,
String
sfzh
,
String
bsh
,
String
sqly
){
public
JSONObject
getSpResult2
(
String
asjbh
,
String
sfzh
,
String
bsh
,
String
sqly
){
return
xdhSpUtil
.
getSpResultUtil
(
asjbh
,
sfzh
,
bsh
,
sqly
);
return
xdhSpUtil
.
getSpResultUtil
(
asjbh
,
sfzh
,
bsh
,
sqly
,
bizCode
,
cjServiceId
);
}
}
...
@@ -566,7 +566,7 @@ public class AbutmentController {
...
@@ -566,7 +566,7 @@ public class AbutmentController {
@RequestMapping
(
value
=
"/getSpResult"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
@RequestMapping
(
value
=
"/getSpResult"
,
method
=
{
RequestMethod
.
GET
,
RequestMethod
.
POST
})
@ResponseBody
@ResponseBody
public
JSONObject
getSpResult
(
String
asjbh
,
String
sfzh
,
String
bsh
){
public
JSONObject
getSpResult
(
String
asjbh
,
String
sfzh
,
String
bsh
){
return
xdhSpUtil
.
getSpResultUtil
(
asjbh
,
sfzh
,
bsh
,
"智慧侦查脑图"
);
return
xdhSpUtil
.
getSpResultUtil
(
asjbh
,
sfzh
,
bsh
,
"智慧侦查脑图"
,
bizCode
,
cjServiceId
);
}
}
/**
/**
...
...
src/main/java/com/founder/interservice/bkxx/service/impl/BkScheduleService.java
View file @
ac7bd29d
...
@@ -12,6 +12,7 @@ import com.founder.interservice.util.KeyUtil;
...
@@ -12,6 +12,7 @@ import com.founder.interservice.util.KeyUtil;
import
com.founder.interservice.util.XdhSpUtil
;
import
com.founder.interservice.util.XdhSpUtil
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.data.jpa.domain.Specification
;
import
org.springframework.data.jpa.domain.Specification
;
import
org.springframework.scheduling.annotation.Async
;
import
org.springframework.scheduling.annotation.Async
;
import
org.springframework.scheduling.annotation.Scheduled
;
import
org.springframework.scheduling.annotation.Scheduled
;
...
@@ -43,6 +44,11 @@ public class BkScheduleService {
...
@@ -43,6 +44,11 @@ public class BkScheduleService {
@Autowired
@Autowired
BkTaskResultRepository
bkTaskResultRepository
;
BkTaskResultRepository
bkTaskResultRepository
;
@Value
(
value
=
"${xdhbigdata.xdhserviceParam.bizCode}"
)
private
String
bizCode
;
@Value
(
value
=
"${xdhbigdata.xdhserviceParam.cjServiceId}"
)
private
String
cjServiceId
;
/**
/**
* 根据手机号码进行布控
* 根据手机号码进行布控
...
@@ -136,12 +142,9 @@ public class BkScheduleService {
...
@@ -136,12 +142,9 @@ public class BkScheduleService {
List
<
Bkxx
>
retuList
=
new
ArrayList
<>();
List
<
Bkxx
>
retuList
=
new
ArrayList
<>();
for
(
Bkxx
bkxx:
bkxxList
){
for
(
Bkxx
bkxx:
bkxxList
){
XdhSpUtil
xdhSpUtil
=
new
XdhSpUtil
();
XdhSpUtil
xdhSpUtil
=
new
XdhSpUtil
();
JSONObject
obj
=
xdhSpUtil
.
getSpResultUtil
(
bkxx
.
getAsjbh
(),
bkxx
.
getSqr_sfzh
(),
bkxx
.
getBkdxhm
(),
"智慧侦查脑图"
);
JSONObject
obj
=
xdhSpUtil
.
getSpResultUtil
(
bkxx
.
getAsjbh
(),
bkxx
.
getSqr_sfzh
(),
bkxx
.
getBkdxhm
(),
"智慧侦查脑图"
,
bizCode
,
cjServiceId
);
System
.
out
.
println
(
"spJson==========================================================="
+
obj
);
String
spzt
=
(
String
)
obj
.
get
(
"data"
);
String
spzt
=
(
String
)
obj
.
get
(
"data"
);
System
.
out
.
println
(
"spzt==========================================================="
+
spzt
);
if
(
"1"
.
equals
(
spzt
)){
if
(
"1"
.
equals
(
spzt
)){
System
.
out
.
println
(
"进入判断==========================================================="
);
//审批通过
//审批通过
retuList
.
add
(
bkxx
);
retuList
.
add
(
bkxx
);
}
}
...
...
src/main/java/com/founder/interservice/util/XdhSpUtil.java
View file @
ac7bd29d
...
@@ -10,11 +10,7 @@ import java.util.LinkedHashMap;
...
@@ -10,11 +10,7 @@ import java.util.LinkedHashMap;
* 新德汇审批工具类
* 新德汇审批工具类
*/
*/
public
class
XdhSpUtil
{
public
class
XdhSpUtil
{
@Value
(
value
=
"${xdhbigdata.xdhserviceParam.bizCode}"
)
public
JSONObject
getSpResultUtil
(
String
asjbh
,
String
sfzh
,
String
bsh
,
String
sqly
,
String
bizCode
,
String
cjServiceId
)
{
private
String
bizCode
;
@Value
(
value
=
"${xdhbigdata.xdhserviceParam.cjServiceId}"
)
private
String
cjServiceId
;
public
JSONObject
getSpResultUtil
(
String
asjbh
,
String
sfzh
,
String
bsh
,
String
sqly
)
{
JSONObject
resultObject
=
null
;
JSONObject
resultObject
=
null
;
try
{
try
{
LinkedHashMap
<
String
,
Object
>
params
=
new
LinkedHashMap
<>();
LinkedHashMap
<
String
,
Object
>
params
=
new
LinkedHashMap
<>();
...
...
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