Commit a1a74728 by yangliang

人员反馈页面人员信息显示由常口接口改为查询系统人员表,人像比对照片由二代证照片换为正面照片

parent 8d52008d
......@@ -26,6 +26,8 @@ import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.ResponseBody;
import sun.misc.BASE64Encoder;
import javax.servlet.http.HttpServletRequest;
import java.io.BufferedReader;
import java.io.InputStream;
......@@ -96,6 +98,10 @@ public class RyfkController {
}
if(rycjInfoByrybh==null){
rycjInfoByrybh = new AutoTbStRy();
}else{
String zpBase64 = new BASE64Encoder().encode(rycjInfoByrybh.getDzwjnr()).replace("\r\n", "");// 转为字符串
rycjInfoByrybh.setZmzpStr64(zpBase64);
}
model.addAttribute("ryjbxx",ryjbxx); //常口
model.addAttribute("rycjjbxx",rycjInfoByrybh);
......
......@@ -252,7 +252,7 @@ public class AutoTbStRy implements Serializable {
private String taryxq2;//同案人员详情2
private String tary3;//同案人员3
private String taryxq3;//同案人员详情3
private byte[] dzwjnr = null;
private String sbcs;//设备厂商
......@@ -2099,4 +2099,12 @@ public class AutoTbStRy implements Serializable {
public void setTaryxq3(String taryxq3) {
this.taryxq3 = taryxq3;
}
public byte[] getDzwjnr() {
return dzwjnr;
}
public void setDzwjnr(byte[] dzwjnr) {
this.dzwjnr = dzwjnr;
}
}
\ No newline at end of file
......@@ -122,6 +122,7 @@
<result column="RXBDJG" property="rxbdjg" jdbcType="VARCHAR"/>
<result column="ZJLEFTXXBH" property="zjleftxxbh" jdbcType="VARCHAR"/>
<result column="ZJRIGHTXXBH" property="zjrightxxbh" jdbcType="VARCHAR"/>
<result column="DZWJNR" property="dzwjnr" jdbcType="VARCHAR"/>
</resultMap>
<sql id="queryWhere">
......@@ -292,11 +293,11 @@
</select>
<select id="getRycjInfoByrybh" resultMap="baseMap" parameterType="java.lang.String">
select * from TB_RY_RYCJ where (SCBZ='0' or SCBZ is null) and RYBH = #{rybh , jdbcType=VARCHAR }
select t.*,(select ryzp_dzwjnr from tb_rycj_zp s where s.asjxgrybh=t.rybh and zpbw='2') dzwjnr from TB_RY_RYCJ t where (SCBZ='0' or SCBZ is null) and RYBH = #{rybh , jdbcType=VARCHAR }
</select>
<select id="getRycjInfoByzjhm" resultMap="baseMap" parameterType="java.lang.String">
select t.*,a.rwbh,a.fssj from TB_RY_RYCJ t,AFIS_QUALITY_CK a where t.rybh = a.r_rybh(+) and (t.SCBZ='0' or t.SCBZ is null) and (t.ZJHM = #{zjhm , jdbcType=VARCHAR } OR t.GMSFHM = #{zjhm , jdbcType=VARCHAR })
select t.*,(select ryzp_dzwjnr from tb_rycj_zp s where s.asjxgrybh=t.rybh and zpbw='2') dzwjnr,a.rwbh,a.fssj from TB_RY_RYCJ t,AFIS_QUALITY_CK a where t.rybh = a.r_rybh(+) and (t.SCBZ='0' or t.SCBZ is null) and (t.ZJHM = #{zjhm , jdbcType=VARCHAR } OR t.GMSFHM = #{zjhm , jdbcType=VARCHAR })
</select>
<select id="getRyxxBySzzwbh" resultMap="baseMap" parameterType="map">
......
......@@ -68,9 +68,9 @@
<td width="10%"></td><td width="23%"></td><td width="10%"></td><td width="23%"></td><td width="10%"></td><td width="23%"></td>
</tr>
<tr>
<td rowspan="4" colspan="2" class="ac"><img id="ckzp" src="data:image/jpg;base64,"+${ryjbxx.edzzpStr64} style="height:120px;" /></td>
<td rowspan="4" colspan="2" class="ac"><img id="ckzp" src="data:image/jpg;base64,"+${rycjjbxx.zmzpStr64} style="height:120px;" /></td>
<!--<td rowspan="4" colspan="2" class="ac"><img id="ckzp" src="/static/img/zwimg/R46010856000020200750011.jpg" style="height:120px;" /></td>-->
<input type="hidden" id="ckzpStr" name="ckzpStr" th:value="${ryjbxx.edzzpStr64}"/>
<input type="hidden" id="ckzpStr" name="ckzpStr" th:value="${rycjjbxx.zmzpStr64}"/>
<input type="hidden" id="xxdjryXm" th:value="${user.trueName}"/>
<input type="hidden" id="xxdjryGmsfhm" th:value="${user.identitycard}"/>
<input type="hidden" id="xxdjdwGajgjgdm" th:value="${user.unitcode}"/>
......@@ -80,37 +80,37 @@
<td class="ar">人员编号:</td>
<td style="width:15%;" id="rybhtext" th:text="${rycjjbxx.rybh}"></td>
<td class="ar">证件号码:</td>
<td style="width:15%;" id="zjhmtext" th:text="${ryjbxx.zjhm}"></td>
<td style="width:15%;" id="zjhmtext" th:text="${rycjjbxx.zjhm}"></td>
</tr>
<tr>
<td class="ar">姓名:</td>
<td style="width:15%;" id="xmtext" th:text="${ryjbxx.xm}"></td>
<td style="width:15%;" id="xmtext" th:text="${rycjjbxx.xm}"></td>
<td class="ar">曾用名:</td>
<td style="width:15%;" id="cymtext" th:text="${ryjbxx.cym}"></td>
<td style="width:15%;" id="cymtext" th:text="${rycjjbxx.cym}"></td>
</tr>
<tr>
<td class="ar">性别:</td>
<td style="width:15%;" id="xbtext" th:text="${ryjbxx.xbdm}"></td>
<input type="hidden" id="xbdmStr" name="xbdmStr" th:value="${ryjbxx.xbdm}"/>
<td style="width:15%;" id="xbtext" th:text="${rycjjbxx.xbdm}"></td>
<input type="hidden" id="xbdmStr" name="xbdmStr" th:value="${rycjjbxx.xbdm}"/>
<td class="ar">出生日期:</td>
<td style="width:15%;" id="csrqtext" th:text="${ryjbxx.csrqQsrqStr}"></td>
<td style="width:15%;" id="csrqtext" th:text="${rycjjbxx.csrqQsrqStr}"></td>
</tr>
<tr>
<td class="ar">民族:</td>
<td style="width:15%;" id="mztext" th:text="${ryjbxx.mzdm}"></td>
<input type="hidden" id="mzdmStr" name="mzdmStr" th:value="${ryjbxx.mzdm}"/>
<td style="width:15%;" id="mztext" th:text="${rycjjbxx.mzdm}"></td>
<input type="hidden" id="mzdmStr" name="mzdmStr" th:value="${rycjjbxx.mzdm}"/>
<td class="ar">学历:</td>
<td style="width:15%;" id="xltext" th:text="${ryjbxx.xldm}"></td>
<input type="hidden" id="xldmStr" name="xldmStr" th:value="${ryjbxx.xldm}"/>
<td style="width:15%;" id="xltext" th:text="${rycjjbxx.xldm}"></td>
<input type="hidden" id="xldmStr" name="xldmStr" th:value="${rycjjbxx.xldm}"/>
</tr>
<tr>
<td class="ar">户籍地:</td>
<td style="width:15%;" id="hjdtext" th:text="${ryjbxx.hjdzDzmc}"></td>
<input type="hidden" id="jgssxdmStr" name="jgssxdmStr" th:value="${ryjbxx.jgssxdm}"/>
<td style="width:15%;" id="hjdtext" th:text="${rycjjbxx.hjdzDzmc}"></td>
<input type="hidden" id="jgssxdmStr" name="jgssxdmStr" th:value="${rycjjbxx.hjdzXzqhdm}"/>
<td class="ar">现住址:</td>
<td style="width:15%;" id="xzztext" th:text="${ryjbxx.xzzDzmc}"></td>
<td style="width:15%;" id="xzztext" th:text="${rycjjbxx.xzzDzmc}"></td>
<td class="ar">服务处所:</td>
<td style="width:15%;" id="fwcstext" th:text="${ryjbxx.fwcs}"></td>
<td style="width:15%;" id="fwcstext" th:text="${rycjjbxx.fwcs}"></td>
</tr>
</table>
......
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