Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-miniappserver
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e9b9b6e4
authored
Jul 22, 2022
by
向延琳
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改返回
1 parent
0874449f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
src/main/java/cn/com/glsx/app/modules/mapper/DevicePowerMapper.java
src/main/java/cn/com/glsx/app/modules/service/DashboardService.java
src/main/java/cn/com/glsx/app/modules/mapper/DevicePowerMapper.java
View file @
e9b9b6e
...
@@ -3,6 +3,7 @@ package cn.com.glsx.app.modules.mapper;
...
@@ -3,6 +3,7 @@ package cn.com.glsx.app.modules.mapper;
import
cn.com.glsx.app.modules.entity.DevicePower
;
import
cn.com.glsx.app.modules.entity.DevicePower
;
import
cn.com.glsx.app.modules.model.domain.DevicePowerDO
;
import
cn.com.glsx.app.modules.model.domain.DevicePowerDO
;
import
cn.com.glsx.app.modules.model.DevicePowerQueryBO
;
import
cn.com.glsx.app.modules.model.DevicePowerQueryBO
;
import
com.github.pagehelper.Page
;
import
com.glsx.plat.common.annotation.DataPerm
;
import
com.glsx.plat.common.annotation.DataPerm
;
import
com.glsx.plat.common.annotation.DataPermShare
;
import
com.glsx.plat.common.annotation.DataPermShare
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
import
com.glsx.plat.mybatis.mapper.CommonBaseMapper
;
...
@@ -32,6 +33,6 @@ public interface DevicePowerMapper extends CommonBaseMapper<DevicePower> {
...
@@ -32,6 +33,6 @@ public interface DevicePowerMapper extends CommonBaseMapper<DevicePower> {
*/
*/
@DataPerm
(
permTable
=
"tv"
,
showSql
=
true
)
@DataPerm
(
permTable
=
"tv"
,
showSql
=
true
)
@DataPermShare
(
linkTable
=
"t_vehicle"
,
showSql
=
true
)
@DataPermShare
(
linkTable
=
"t_vehicle"
,
showSql
=
true
)
List
<
DevicePowerDO
>
listBindDevicePowerByCondition
(
DevicePowerQueryBO
query
);
Page
<
DevicePowerDO
>
listBindDevicePowerByCondition
(
DevicePowerQueryBO
query
);
}
}
\ No newline at end of file
\ No newline at end of file
src/main/java/cn/com/glsx/app/modules/service/DashboardService.java
View file @
e9b9b6e
...
@@ -321,6 +321,6 @@ public class DashboardService extends AbstractCommonService {
...
@@ -321,6 +321,6 @@ public class DashboardService extends AbstractCommonService {
pageData
.
setList
(
resultList
);
pageData
.
setList
(
resultList
);
pageData
.
setTotal
(
pageInfo
.
getTotal
());
pageData
.
setTotal
(
pageInfo
.
getTotal
());
pageData
.
setPages
(
pageInfo
.
getPages
());
pageData
.
setPages
(
pageInfo
.
getPages
());
return
new
PageInfo
<>(
resultList
)
;
return
pageData
;
}
}
}
}
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment