|
|
@@ -25,6 +25,7 @@ import com.x.teamwork.core.entity.tools.filter.QueryFilter;
|
|
|
import com.x.teamwork.core.entity.tools.filter.term.EqualsTerm;
|
|
|
import com.x.teamwork.core.entity.tools.filter.term.IsFalseTerm;
|
|
|
import com.x.teamwork.core.entity.tools.filter.term.LikeTerm;
|
|
|
+import com.x.teamwork.core.entity.tools.filter.term.NotEqualsTerm;
|
|
|
|
|
|
import net.sf.ehcache.Element;
|
|
|
|
|
|
@@ -64,7 +65,7 @@ public class ActionViewUncompletedListNextWithFilter extends BaseAction {
|
|
|
if( Boolean.TRUE.equals( check ) ){
|
|
|
if( Boolean.TRUE.equals( check ) ){
|
|
|
wrapIn.setProject(projectId);
|
|
|
- wrapIn.setCompleted("false");
|
|
|
+ wrapIn.setWorkStatus("processing");
|
|
|
queryFilter = wrapIn.getQueryFilter();
|
|
|
}
|
|
|
}
|
|
|
@@ -131,7 +132,6 @@ public class ActionViewUncompletedListNextWithFilter extends BaseAction {
|
|
|
@FieldDescribe("工作等级:普通-normal | 紧急-urgent | 特急-extraurgent,单值,非必填")
|
|
|
private String priority = null;
|
|
|
|
|
|
- @FieldDescribe("用于搜索的工作状态:草稿- draft | 执行中- processing | 已完成- completed | 已归档- archived,单值,非必填")
|
|
|
private String workStatus = null;
|
|
|
|
|
|
private String completed = null;
|
|
|
@@ -280,7 +280,7 @@ public class ActionViewUncompletedListNextWithFilter extends BaseAction {
|
|
|
queryFilter.addEqualsTerm( new EqualsTerm( "executor", this.getExecutor() ) );
|
|
|
}
|
|
|
if( StringUtils.isNotEmpty( this.getCompleted() )) {
|
|
|
- if( "true".equalsIgnoreCase( this.getCompleted() )) {
|
|
|
+ if( "true".equalsIgnoreCase( this.getCompleted() )) {
|
|
|
queryFilter.addEqualsTerm( new EqualsTerm( "completed", true ) );
|
|
|
}else {
|
|
|
queryFilter.addEqualsTerm( new EqualsTerm( "completed", false ) );
|
|
|
@@ -294,7 +294,7 @@ public class ActionViewUncompletedListNextWithFilter extends BaseAction {
|
|
|
}
|
|
|
}
|
|
|
if( StringUtils.isNotEmpty( this.getOvertime() )) {
|
|
|
- if( "true".equalsIgnoreCase( this.getDeleted() )) {
|
|
|
+ if( "true".equalsIgnoreCase( this.getOvertime() )) {
|
|
|
queryFilter.addEqualsTerm( new EqualsTerm( "overtime", true ) );
|
|
|
}else {
|
|
|
queryFilter.addEqualsTerm( new EqualsTerm( "overtime", false ) );
|