| | |
| | | import com.ruoyi.system.service.ISysUserService; |
| | | import com.smartor.mapper.SysUserDeptMapper; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.apache.commons.lang3.ArrayUtils; |
| | | import org.apache.commons.lang3.ObjectUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | user.setPageNum(null); |
| | | user.setPageSize(null); |
| | | List<SysUser> total = userService.getUserList(user); |
| | | rspData.put("total", total.size()); |
| | | |
| | | if (CollectionUtils.isNotEmpty(total)) rspData.put("total", total.size()); |
| | | else rspData.put("total", 0); |
| | | return rspData; |
| | | } |
| | | |