|
@@ -66,6 +66,7 @@ public class SiteUserController {
|
|
|
} else {
|
|
|
if (cipherType != null && cipherType == 1) {
|
|
|
data.setIdCard(stringUtils.desensitizeData(data.getIdCard(), "************", 3, 4));
|
|
|
+ data.setSocialSecurityCard(stringUtils.desensitizeData(data.socialSecurityCard, "****", 3, 3));
|
|
|
}
|
|
|
}
|
|
|
return RespGenerstor.success(data);
|
|
@@ -89,7 +90,7 @@ public class SiteUserController {
|
|
|
@RequestParam(required = false) String siteID) throws Exception{
|
|
|
PageInfo<SiteUserVo> result = userInfoService.getList(pageIndex, pageSize, siteUserIDList, siteUserName, siteID, null, null, null,null);
|
|
|
ExcelHelper.ExcelData data = excelHelper.new ExcelData();
|
|
|
- data.setTitles(Arrays.asList(new String[]{"序号", "工号", "人员名称", "角色", "性别", "联系电话", "年龄", "身份证号", "所属驿站"}));
|
|
|
+ data.setTitles(Arrays.asList(new String[]{"序号", "工号", "人员名称", "角色", "性别", "联系电话", "年龄", "所属驿站"}));
|
|
|
int i = 0;
|
|
|
List<List<Object>> rowsData= new ArrayList();
|
|
|
for (SiteUserVo item : result.getList()) {
|
|
@@ -102,7 +103,6 @@ public class SiteUserController {
|
|
|
row.add(item.genderName);
|
|
|
row.add(item.mobile);
|
|
|
row.add(item.age);
|
|
|
- row.add(item.idCard);
|
|
|
row.add(item.siteName);
|
|
|
rowsData.add(row);
|
|
|
}
|