|
@@ -1467,10 +1467,18 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
|
|
|
}
|
|
|
HSSFRow row = sheet.createRow(rowNum);
|
|
|
row.createCell(0).setCellValue(rowNum);
|
|
|
- row.createCell(1).setCellValue(item.getName());
|
|
|
+ if(wxCorpInfo!=null&&wxCorpInfo.getSaasSyncContact()==1){
|
|
|
+ row.createCell(1).setCellValue("$userName="+item.getCorpwxUserid()+"$");
|
|
|
+ }else {
|
|
|
+ row.createCell(1).setCellValue(item.getName());
|
|
|
+ }
|
|
|
row.createCell(2).setCellValue(item.getRoleName());
|
|
|
row.createCell(3).setCellValue(item.getPhone());
|
|
|
- row.createCell(4).setCellValue(item.getDepartmentName());
|
|
|
+ if(wxCorpInfo!=null&&wxCorpInfo.getSaasSyncContact()==1){
|
|
|
+ row.createCell(4).setCellValue("departmentName="+item.getCorpwxDeptid()+"$");
|
|
|
+ }else {
|
|
|
+ row.createCell(4).setCellValue(item.getDepartmentName());
|
|
|
+ }
|
|
|
row.createCell(5).setCellValue(item.getMonthCost()==null? 0 : item.getMonthCost().intValue());
|
|
|
row.createCell(6).setCellValue(item.getCost() == null?0.0 : item.getCost().doubleValue());
|
|
|
List<UserCert> certList = userCertList.stream().distinct().filter(uc -> uc.getUserId().equals(item.getId())).collect(Collectors.toList());
|