Commit 69d50f54 by liulianglang

字段判断

parent faa8e5d8
...@@ -5,10 +5,10 @@ import lombok.Data; ...@@ -5,10 +5,10 @@ import lombok.Data;
@Data @Data
public class ZtryBksj { public class ZtryBksj {
private String imgFace; private String imgFace; //照片
private String faceDBId; //700046010603000104 private String faceDBId; //700046010603000104
private String name; private String name; //姓名
private String certNo; private String certNo; //证件号码
private String operate; private String operate;
private int page; private int page;
......
...@@ -51,7 +51,15 @@ public class ztgjServiceImpl implements ztgjService { ...@@ -51,7 +51,15 @@ public class ztgjServiceImpl implements ztgjService {
int end = easyUIPage.getEnd(); int end = easyUIPage.getEnd();
ztryyjxx.setPage(begin); ztryyjxx.setPage(begin);
ztryyjxx.setLimit(end); ztryyjxx.setLimit(end);
rtMap.put("rows",ztgj.getBkzpList(ztryyjxx)); List<ZtryBksj> list=ztgj.getBkzpList(ztryyjxx);
for(ZtryBksj xx:list){
if(xx.getImgFace().contains("base64,")) {
}else {
xx.setImgFace("data:image/jpg;base64,"+xx.getImgFace());
}
}
rtMap.put("rows",list);
rtMap.put("total",ztgj.getBkzpListCount(ztryyjxx)); rtMap.put("total",ztgj.getBkzpListCount(ztryyjxx));
return rtMap; return rtMap;
......
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