Browse Source

no message

master
xia 2 years ago
parent
commit
3fa94adf61
  1. 10
      archives/src/main/java/com/storeroom/modules/archives/controller/CaseController.java

10
archives/src/main/java/com/storeroom/modules/archives/controller/CaseController.java

@ -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){

Loading…
Cancel
Save