Commit 2e456162 by wangli

增加状态判断

1 parent aa979eae
......@@ -17,6 +17,7 @@ public class OrgTeam {
private String workdays;
private String memo;
private String workOn;
private Integer status;
private Timestamp createTime;
private Timestamp updateTime;
}
......@@ -208,6 +208,7 @@ public class ScheduleServiceImpl implements ScheduleService {
IPage<OrgTeam> pg = new Page<>(page, size);
LambdaQueryWrapper<OrgTeam> lqw = new LambdaQueryWrapper<>();
lqw.eq(OrgTeam::getStatus, 1);
lqw.in(levelType.equals("cluster"), OrgTeam::getClusterId, levelIds);
lqw.in(levelType.equals("branch"), OrgTeam::getBranchId, levelIds);
lqw.in(levelType.equals("group"), OrgTeam::getGroupId, levelIds);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!