|
@@ -1313,7 +1313,7 @@ public class FinanceServiceImpl extends ServiceImpl<FinanceMapper, Finance> impl
|
|
|
if(wxCorpInfo!=null&&wxCorpInfo.getSaasSyncContact()==1){
|
|
|
membRowData.add("$userName="+(us.getCorpwxUserid()==null?"":us.getCorpwxUserid())+"$");
|
|
|
}else if(dingding!=null&&dingding.getContactNeedTranslate()==1){
|
|
|
- membRowData.add("$userName="+npu.getName()+"$");
|
|
|
+ membRowData.add("$userName="+us.getDingdingUserid()+"$");
|
|
|
}else {
|
|
|
membRowData.add(npu.getName());
|
|
|
}
|
|
@@ -1321,7 +1321,13 @@ public class FinanceServiceImpl extends ServiceImpl<FinanceMapper, Finance> impl
|
|
|
//增加部门
|
|
|
Optional<Department> first = allDepartments.stream().filter(dp -> dp.getDepartmentId().equals(us.getDepartmentId())).findFirst();
|
|
|
if (first.isPresent()) {
|
|
|
- membRowData.add(first.get().getDepartmentName());
|
|
|
+ if(wxCorpInfo!=null&&wxCorpInfo.getSaasSyncContact()==1){
|
|
|
+ membRowData.add("$departmentName="+(first.get().getCorpwxDeptid()==null?"":first.get().getCorpwxDeptid())+"$");
|
|
|
+ }else if(dingding!=null&&dingding.getContactNeedTranslate()==1){
|
|
|
+ membRowData.add("$departmentName="+(first.get().getDdDeptid()==null?"":first.get().getDdDeptid())+"$");
|
|
|
+ }else {
|
|
|
+ membRowData.add(first.get().getDepartmentName());
|
|
|
+ }
|
|
|
} else {
|
|
|
membRowData.add("");
|
|
|
}
|