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
b561bcee
Commit
b561bcee
authored
Oct 12, 2019
by
chentian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决伴随照片不显示问题
parent
f34d1bf5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
src/main/java/com/founder/interservice/regionalanalysis/model/RegionalTaskResultDetail.java
+2
-0
src/main/java/com/founder/interservice/tracktraveltogether/controller/TrackTogetherContoller.java
+14
-2
src/main/resources/static/js/skgjbasjgzs.js
+2
-2
No files found.
src/main/java/com/founder/interservice/regionalanalysis/model/RegionalTaskResultDetail.java
View file @
b561bcee
...
...
@@ -62,6 +62,8 @@ public class RegionalTaskResultDetail extends PageBean{
private
String
gwdqs
;
//高危地区
@Transient
private
String
type
;
//区分区域碰撞或者时空绘制
@Transient
private
String
zp
;
...
...
src/main/java/com/founder/interservice/tracktraveltogether/controller/TrackTogetherContoller.java
View file @
b561bcee
...
...
@@ -460,9 +460,10 @@ public class TrackTogetherContoller {
if
(
tsaf
.
getCsdDzmc
()
==
null
||
""
.
equals
(
tsaf
.
getCsdDzmc
()))
{
tsaf
.
setCsdDzmc
(
"--"
);
}
if
(
tsaf
.
getRyzp
()
!=
null
){
/*
if(tsaf.getRyzp() != null){
tsaf.setRyzpStr(new String(tsaf.getRyzp()));
}
}*/
clzpnew
(
tsaf
);
}
}
}
catch
(
Exception
e
)
{
...
...
@@ -476,6 +477,17 @@ public class TrackTogetherContoller {
resultMap
.
put
(
"state"
,
state
);
return
resultMap
;
}
private
void
clzpnew
(
RegionalTaskResultDetail
tsaf
){
String
zp64bite
=
""
;
if
(!
""
.
equals
(
tsaf
.
getRyzp
())
&&
tsaf
.
getRyzp
()
!=
null
)
{
// 对字节数组Base64编码 处理图片
/*BASE64Encoder encoder = new BASE64Encoder();
zp64bite = encoder.encode(tsaf.getRyzp());*/
// 返回Base64编码过的字节数组字符串
zp64bite
=
new
String
(
tsaf
.
getRyzp
());
}
String
zp
=
"data:image/gif;base64,"
+
zp64bite
;
tsaf
.
setZp
(
zp
);
}
/**
* 时空伴随分类导航点击查询,查出分类导航count
* @return
...
...
src/main/resources/static/js/skgjbasjgzs.js
View file @
b561bcee
...
...
@@ -284,10 +284,10 @@ function doQueryqk(){
var
html
=
""
;
$
.
each
(
rows
,
function
(
k
,
v
)
{
//这里的函数参数是键值对的形式,k代表键名,v代表值
var
srcurl
=
""
;
if
(
rows
[
k
].
ryzpStr
==
"data:image/gif;base64,"
){
if
(
rows
[
k
].
zp
==
"data:image/gif;base64,"
){
srcurl
=
"/images/no_data.jpg"
}
else
{
srcurl
=
rows
[
k
].
ryzpStr
;
srcurl
=
rows
[
k
].
zp
;
}
//处理证件类型和证件号码
var
zjlx
=
getLx
(
rows
[
k
]);
...
...
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