Commit e60139a1 by 王力

Merge branch 'dev_dispatch_filter0711' into 'develop'

增加状态判断

See merge request !208
2 parents bcf20b7f 2e456162
......@@ -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!