|
@@ -8,6 +8,7 @@ import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
+import com.diagbot.util.ListUtil;
|
|
|
import org.apache.commons.lang.time.DateFormatUtils;
|
|
|
import org.apache.poi.hssf.usermodel.HSSFDateUtil;
|
|
|
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
|
@@ -66,7 +67,7 @@ public class RetrievalFacade extends RetrievalServiceImpl {
|
|
|
*/
|
|
|
public List<GetRetrievalsByTagDTO> getRetrievalsByTag(GetRetrievalsByTagVO getRetrievalsByTagVO) {
|
|
|
List<GetRetrievalsByTagDTO> retList = baseMapper.getRetrievalsByTag(getRetrievalsByTagVO);
|
|
|
- if(retList.size()==0){
|
|
|
+ if(ListUtil.isEmpty(retList)){
|
|
|
throw new CommonException(CommonErrorCode.NOT_EXISTS);
|
|
|
}
|
|
|
return retList;
|