Commit 490d473c authored by cq990612's avatar cq990612

优化代码结构

parent 80169f81
......@@ -441,7 +441,7 @@ public class WorkTimeOrderServiceImpl implements WorkTimeOrderService {
WorkUser user = workUserService.getById(userId);
if (0 != user.getLevel()) {
QueryWrapper<WorkTimeOrder> wrapper = new QueryWrapper<>();
wrapper.eq("dept_id", user.getDeptId());
//wrapper.eq("dept_id", user.getDeptId());
wrapper.in("status", COMPLETED, RE_SUBMIT);
wrapper.eq(type != null, "type", type);
wrapper.eq(projectId != null, "project_id", projectId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment