|
|
|
@ -390,6 +390,9 @@ public class ModulexServiceImpl extends ServiceImpl<ModulexMapper, Modulex> impl |
|
|
|
|
if (j == 2) { |
|
|
|
|
for (int k = 0; k < physicalNumberOfCells; k++) { |
|
|
|
|
Cell cell = row.getCell(k); |
|
|
|
|
if(cell==null){ |
|
|
|
|
propertyNames.add(null); |
|
|
|
|
} |
|
|
|
|
String name = cell.getStringCellValue(); |
|
|
|
|
propertyNames.add(name); |
|
|
|
|
} |
|
|
|
@ -707,8 +710,14 @@ public class ModulexServiceImpl extends ServiceImpl<ModulexMapper, Modulex> impl |
|
|
|
|
webSocketUtils.sendMessage(loginUser.getId(), message); |
|
|
|
|
return Result.error("导入失败,责任人信息查询不到"); |
|
|
|
|
} |
|
|
|
|
String strip = org.apache.commons.lang.StringUtils.strip(list.toString(), "[]"); |
|
|
|
|
modulex.setManagerUsers(strip); |
|
|
|
|
// String strip = org.apache.commons.lang.StringUtils.strip(list.toString(), "[]");
|
|
|
|
|
String s = ""; |
|
|
|
|
for (int j = 0; j < list.size(); j++) { |
|
|
|
|
s = s + list.get(j); |
|
|
|
|
if (j < list.size() - 1) |
|
|
|
|
s = s + ","; |
|
|
|
|
} |
|
|
|
|
modulex.setManagerUsers(s); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
String workLevel = modulexTemplate.getWorkLevel(); |
|
|
|
|