|
|
@ -166,10 +166,12 @@ public class CaseController { |
|
|
|
//盒已入库/已装盒 不可删 |
|
|
|
for(String id : caseId){ |
|
|
|
ArchivesCase archivesCase = caseService.findById(id); |
|
|
|
if(null != archivesCase && StringUtils.isEmpty(archivesCase.getFolderLocation()) && archivesCase.getDepositNum() == 0){ |
|
|
|
doDel.add(archivesCase); |
|
|
|
}else{ |
|
|
|
noDel.add(archivesCase); |
|
|
|
if(null != archivesCase){ |
|
|
|
if(StringUtils.isEmpty(archivesCase.getFolderLocation()) && archivesCase.getDepositNum() == 0){ |
|
|
|
doDel.add(archivesCase); |
|
|
|
}else{ |
|
|
|
noDel.add(archivesCase); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
if(doDel.size()!=0){ |
|
|
|