| | |
| | | import org.sxkj.system.cache.SysCache; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | queryWrapper.like(GdOperationalRevenue::getNickName, nickName); |
| | | } |
| | | // 创建部门 |
| | | List<Long> deptList = SysCache.getDeptChildIds(Long.valueOf(AuthUtil.getDeptId())); |
| | | queryWrapper.in(GdOperationalRevenue::getCreateDept, deptList); |
| | | if (!AuthUtil.isAdministrator()) { |
| | | List<Long> deptList = SysCache.getDeptChildIds(Long.valueOf(AuthUtil.getDeptId())); |
| | | queryWrapper.in(GdOperationalRevenue::getCreateDept, deptList); |
| | | } |
| | | // 按创建时间倒序 |
| | | queryWrapper.orderByDesc(GdOperationalRevenue::getCreateTime); |
| | | |