diff --git a/src/main/java/com/key/dwsurvey/service/impl/SurveyDirectoryManagerImpl.java b/src/main/java/com/key/dwsurvey/service/impl/SurveyDirectoryManagerImpl.java index ade3788..f7a4769 100755 --- a/src/main/java/com/key/dwsurvey/service/impl/SurveyDirectoryManagerImpl.java +++ b/src/main/java/com/key/dwsurvey/service/impl/SurveyDirectoryManagerImpl.java @@ -443,7 +443,7 @@ public class SurveyDirectoryManagerImpl extends BaseServiceImpl implements Us List criterions=new ArrayList(); Integer status = entity.getStatus(); String loginName = entity.getLoginName(); - if(status!=null && !"".equals(status)){ + if(status!=null){ criterions.add(Restrictions.eq("status", status)); } if(loginName!=null && !"".equals(loginName)){