|
@@ -716,7 +716,7 @@ public class TaskServiceImpl extends ServiceImpl<TaskMapper, Task> implements Ta
|
|
|
}
|
|
|
|
|
|
XSSFCell researchCell = row.getCell(2);//研究中心
|
|
|
- if (researchCell != null || StringUtils.isNotEmpty(researchCell.getStringCellValue())) {
|
|
|
+ if (researchCell != null && StringUtils.isNotEmpty(researchCell.getStringCellValue())) {
|
|
|
Optional<ReportExtraDegree> first = customerInfoList.stream().filter(c -> c.getName().equals(researchCell.getStringCellValue().trim())).findFirst();
|
|
|
if (first.isPresent()) {
|
|
|
task.setCenterId(first.get().getId());
|