Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
open-source
/
rpc-openplatform
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 b3712e3d
authored
Jan 04, 2021
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
将界面显示发货时间和条件查询字段由 activatTime 改为 createTime yangll
1 parent
0c770fb3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
rpc-openplatform-container/src/main/java/cn/com/glsx/openplatform/service/DeviceMgrServiceImpl.java
rpc-openplatform-container/src/main/resources/META-INF/orm/PlatformDeviceMapper.xml
rpc-openplatform-container/src/main/java/cn/com/glsx/openplatform/service/DeviceMgrServiceImpl.java
View file @
b3712e3
...
@@ -33,7 +33,6 @@ public class DeviceMgrServiceImpl implements DeviceMgrService {
...
@@ -33,7 +33,6 @@ public class DeviceMgrServiceImpl implements DeviceMgrService {
@Override
@Override
public
R
getDeviceMgrList
(
Page
page
,
DeviceVo
deviceVo
)
{
public
R
getDeviceMgrList
(
Page
page
,
DeviceVo
deviceVo
)
{
//PageHelper注入分页和要分页的查询之前不能有其它查询,不然分页到第一个查询上面
//PageHelper注入分页和要分页的查询之前不能有其它查询,不然分页到第一个查询上面
LOGGER
.
info
(
"测试代码是否生效"
);
PageHelper
.
startPage
(
page
.
getPageNumber
(),
page
.
getPageSize
(),
true
);
PageHelper
.
startPage
(
page
.
getPageNumber
(),
page
.
getPageSize
(),
true
);
List
<
PlatformDevice
>
deviceMgrList
=
deviceMapper
.
getDeviceMgrList
(
deviceVo
);
List
<
PlatformDevice
>
deviceMgrList
=
deviceMapper
.
getDeviceMgrList
(
deviceVo
);
return
R
.
ok
().
putPageData
((
com
.
github
.
pagehelper
.
Page
<
PlatformDevice
>)
deviceMgrList
);
return
R
.
ok
().
putPageData
((
com
.
github
.
pagehelper
.
Page
<
PlatformDevice
>)
deviceMgrList
);
...
...
rpc-openplatform-container/src/main/resources/META-INF/orm/PlatformDeviceMapper.xml
View file @
b3712e3
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
and a.create_time
<
= #{createEndTime,jdbcType=TIMESTAMP}
and a.create_time
<
= #{createEndTime,jdbcType=TIMESTAMP}
</if>
</if>
</where>
</where>
order by a.create_time
order by a.create_time
desc
</select>
</select>
<select
id=
"getDeviceTypeList"
resultType=
"java.lang.String"
>
<select
id=
"getDeviceTypeList"
resultType=
"java.lang.String"
>
...
...
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