Commit c88261f7 by caojingji

修改查询人员照片时字节数组转换错误

parent a73a05e5
......@@ -600,9 +600,7 @@ public class RegionalAnalysisController {
private String clzp(RegionalTaskResultDetail tsaf) {
String zp = null;
if(tsaf.getRyzp() != null){
// 对字节数组Base64编码 处理图片
BASE64Encoder encoder = new BASE64Encoder();
zp = encoder.encode(tsaf.getRyzp());// 返回Base64编码过的字节数组字符串
zp = new String(tsaf.getRyzp());// 返回Base64编码过的字节数组字符串
}
return zp;
}
......
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.atg.com/taglibs/json" prefix="json" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!doctype html>
<html>
<head>
......@@ -15,6 +16,8 @@
<!--内容-->
<div id="content_box0" class="content_box">
<form id="sendParamForm" action="/sendRegionalAnalysisTask" method="post">
<input type="hidden" id="yhCate" name="yhCate" value="00"/>
<input type="hidden" id="projectName" name="projectName" value="智慧侦查脑图"/>
<!--查询条件-->
<div class="condition">
<h6 class="cx_t">查询条件</h6>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment