Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
L
lefull-lot-microservice
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
yangqi
lefull-lot-microservice
Commits
71b29d21
提交
71b29d21
authored
12月 19, 2022
作者:
yangqi
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
添加设备
上级
597761d3
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
6 行增加
和
5 行删除
+6
-5
LisaController.java
...t-api-web/src/main/java/cn/lefull/api/LisaController.java
+2
-2
EquipmentService.java
...rc/main/java/cn/lefull/service/lisa/EquipmentService.java
+1
-1
EquipmentServiceImpl.java
...ain/java/cn/lefull/service/lisa/EquipmentServiceImpl.java
+3
-2
没有找到文件。
lefull-lot-api-web/src/main/java/cn/lefull/api/LisaController.java
浏览文件 @
71b29d21
...
@@ -30,8 +30,8 @@ public class LisaController {
...
@@ -30,8 +30,8 @@ public class LisaController {
@NoAuth
@NoAuth
@GetMapping
(
"/getEquipmentList"
)
@GetMapping
(
"/getEquipmentList"
)
public
ApiResponse
<
Object
>
getEquipmentList
(
)
{
public
ApiResponse
<
Object
>
getEquipmentList
(
int
page
,
int
pageSize
)
throws
Exception
{
Pagination
<
EquipmentListVO
>
equipmentListVOPageInfo
=
equipmentService
.
getEquipmentList
(
1
,
20
);
Pagination
<
EquipmentListVO
>
equipmentListVOPageInfo
=
equipmentService
.
getEquipmentList
(
page
,
pageSize
);
return
new
ApiResponse
<>(
equipmentListVOPageInfo
);
return
new
ApiResponse
<>(
equipmentListVOPageInfo
);
}
}
}
}
lefull-lot-service/src/main/java/cn/lefull/service/lisa/EquipmentService.java
浏览文件 @
71b29d21
...
@@ -16,5 +16,5 @@ public interface EquipmentService {
...
@@ -16,5 +16,5 @@ public interface EquipmentService {
*/
*/
void
addEquipment
(
int
apartmentId
,
String
uuid
,
String
name
,
String
position
,
int
employeeId
)
throws
Exception
;
void
addEquipment
(
int
apartmentId
,
String
uuid
,
String
name
,
String
position
,
int
employeeId
)
throws
Exception
;
Pagination
<
EquipmentListVO
>
getEquipmentList
(
int
page
,
int
pageSize
);
Pagination
<
EquipmentListVO
>
getEquipmentList
(
int
page
,
int
pageSize
)
throws
Exception
;
}
}
lefull-lot-service/src/main/java/cn/lefull/service/lisa/EquipmentServiceImpl.java
浏览文件 @
71b29d21
...
@@ -46,8 +46,9 @@ public class EquipmentServiceImpl implements EquipmentService {
...
@@ -46,8 +46,9 @@ public class EquipmentServiceImpl implements EquipmentService {
}
}
@Override
@Override
public
Pagination
<
EquipmentListVO
>
getEquipmentList
(
int
page
,
int
pageSize
)
public
Pagination
<
EquipmentListVO
>
getEquipmentList
(
int
page
,
int
pageSize
)
throws
Exception
{
{
Utils
.
checkParamsNotEmpty
(
page
,
"page"
);
Utils
.
checkParamsNotEmpty
(
pageSize
,
"pageSize"
);
Page
<
Object
>
objects
=
PageHelper
.
startPage
(
page
,
pageSize
);
Page
<
Object
>
objects
=
PageHelper
.
startPage
(
page
,
pageSize
);
List
<
CameraEquipmentBO
>
equipmentList
=
equipmentMapper
.
getEquipmentList
();
List
<
CameraEquipmentBO
>
equipmentList
=
equipmentMapper
.
getEquipmentList
();
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论