|
@@ -12,6 +12,8 @@ import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* Created by owen on 2020/3/11 0011 16:16
|
|
@@ -35,6 +37,9 @@ public class UserServiceImpl extends ZtBaseServiceImpl<UserEntity, Long> impleme
|
|
|
@Override
|
|
|
public Result<UserEntity> search(PageDto param) {
|
|
|
startPage(param);
|
|
|
- return Result.success(new PageInfo<>(this.findAll()));
|
|
|
+
|
|
|
+ List<UserEntity> list = entityMapper.getList();
|
|
|
+
|
|
|
+ return Result.success(new PageInfo<>(list));
|
|
|
}
|
|
|
}
|