mirror of
https://gitee.com/wkeyuan/DWSurvey.git
synced 2024-11-30 02:58:55 +08:00
修改bug
This commit is contained in:
parent
478078622b
commit
cde00923ad
@ -443,7 +443,7 @@ public class SurveyDirectoryManagerImpl extends BaseServiceImpl<SurveyDirectory,
|
||||
|
||||
if(entity!=null){
|
||||
Integer surveyState = entity.getSurveyState();
|
||||
if(surveyState!=null && !"".equals(surveyState)){
|
||||
if(surveyState!=null){
|
||||
criterions.add(Restrictions.eq("surveyState", surveyState));
|
||||
}
|
||||
String surveyName = entity.getSurveyName();
|
||||
|
@ -55,7 +55,7 @@ public class UserManagerImpl extends BaseServiceImpl<User, String> implements Us
|
||||
List<Criterion> criterions=new ArrayList<Criterion>();
|
||||
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)){
|
||||
|
Loading…
Reference in New Issue
Block a user