|
@@ -14920,7 +14920,6 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
if(!StringUtils.isEmpty(titleStr)){
|
|
|
// 解码
|
|
|
String decodedString = URLDecoder.decode(titleStr, "UTF-8");
|
|
|
- System.out.println("Decoded String: " + decodedString);
|
|
|
strings = Arrays.asList(decodedString.split(","));
|
|
|
titleList.addAll(strings);
|
|
|
}
|
|
@@ -14937,10 +14936,27 @@ public class ProjectServiceImpl extends ServiceImpl<ProjectMapper, Project> impl
|
|
|
double researchTiao = getDoubleValue(map, "研发部工艺调试");
|
|
|
Double sum=design+research+researchDesign+researchDesignShou+researchTiao;
|
|
|
List<String> item=new ArrayList<>();
|
|
|
+ String deptName = String.valueOf(map.get("departmentName"));
|
|
|
if(wxCorpInfo!=null&&wxCorpInfo.getSaasSyncContact()==1){
|
|
|
- item.add("$departmentName="+String.valueOf(map.get("departmentName"))+"$");
|
|
|
+ if (!StringUtils.isEmpty(deptName)) {
|
|
|
+ //中间可能含有/,需要按照/分割,分别替换
|
|
|
+ if (deptName.contains("/")) {
|
|
|
+ String[] split = deptName.split("/");
|
|
|
+ StringBuilder sb = new StringBuilder();
|
|
|
+ for (int i=0;i<split.length; i++) {
|
|
|
+ String s = split[i];
|
|
|
+ sb.append("$departmentName=").append(s).append("$");
|
|
|
+ if (i != split.length - 1) {
|
|
|
+ sb.append("/");
|
|
|
+ }
|
|
|
+ }
|
|
|
+ item.add(sb.toString());
|
|
|
+ } else {
|
|
|
+ item.add("$departmentName="+deptName+"$");
|
|
|
+ }
|
|
|
+ }
|
|
|
}else {
|
|
|
- item.add(String.valueOf(map.get("departmentName")));
|
|
|
+ item.add(deptName);
|
|
|
}
|
|
|
item.add(String.valueOf(map.get("jobNumber")));
|
|
|
if(wxCorpInfo!=null&&wxCorpInfo.getSaasSyncContact()==1){
|