Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
chnmuseum-party
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liqin
chnmuseum-party
Commits
bfce054e
Commit
bfce054e
authored
Apr 08, 2021
by
wzp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
e812104a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
TAppDirPicController.java
.../chnmuseum/party/web/controller/TAppDirPicController.java
+2
-1
TAppRunPicController.java
.../chnmuseum/party/web/controller/TAppRunPicController.java
+3
-2
TAppVersionController.java
...chnmuseum/party/web/controller/TAppVersionController.java
+1
-1
No files found.
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/TAppDirPicController.java
View file @
bfce054e
...
...
@@ -159,7 +159,7 @@ public class TAppDirPicController extends BaseController {
})
public
Map
<
String
,
Object
>
getTAppDirPicList
(
Integer
isCurrent
)
{
List
<
TAppDirPic
>
tAppDirPicList
=
tAppDirPicService
.
list
(
Wrappers
.<
TAppDirPic
>
lambdaQuery
().
eq
(
isCurrent
!=
null
,
TAppDirPic:
:
getIsCurrent
,
isCurrent
));
List
<
TAppDirPic
>
tAppDirPicList
=
tAppDirPicService
.
list
(
Wrappers
.<
TAppDirPic
>
lambdaQuery
().
eq
(
isCurrent
!=
null
,
TAppDirPic:
:
getIsCurrent
,
isCurrent
)
.
orderByDesc
(
TAppDirPic:
:
getCreateTime
)
);
return
getResult
(
tAppDirPicList
);
}
...
...
@@ -177,6 +177,7 @@ public class TAppDirPicController extends BaseController {
if
(
StringUtils
.
isNotBlank
(
isCurrent
))
{
queryWrapper
.
eq
(
TAppDirPic:
:
getIsCurrent
,
isCurrent
);
}
queryWrapper
.
orderByDesc
(
TAppDirPic:
:
getCreateTime
);
Page
<
TAppDirPic
>
page
=
this
.
tAppDirPicService
.
page
(
getPage
(),
queryWrapper
);
for
(
TAppDirPic
tAppDirPic
:
page
.
getRecords
())
{
...
...
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/TAppRunPicController.java
View file @
bfce054e
package
cn
.
wisenergy
.
chnmuseum
.
party
.
web
.
controller
;
import
cn.wisenergy.chnmuseum.party.model.TAppDirPic
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper
;
...
...
@@ -159,7 +160,7 @@ public class TAppRunPicController extends BaseController {
@ApiImplicitParam
(
name
=
"isCurrent"
,
value
=
"是否为当前界面 0:否 1:是"
,
paramType
=
"query"
,
dataType
=
"int"
)
})
public
Map
<
String
,
Object
>
getTAppRunPicList
(
Integer
isCurrent
)
{
List
<
TAppRunPic
>
tAppRunPicList
=
tAppRunPicService
.
list
(
Wrappers
.<
TAppRunPic
>
lambdaQuery
().
eq
(
isCurrent
!=
null
,
TAppRunPic:
:
getIsCurrent
,
isCurrent
));
List
<
TAppRunPic
>
tAppRunPicList
=
tAppRunPicService
.
list
(
Wrappers
.<
TAppRunPic
>
lambdaQuery
().
eq
(
isCurrent
!=
null
,
TAppRunPic:
:
getIsCurrent
,
isCurrent
)
.
orderByDesc
(
TAppRunPic:
:
getCreateTime
)
);
return
getResult
(
tAppRunPicList
);
}
...
...
@@ -179,7 +180,7 @@ public class TAppRunPicController extends BaseController {
if
(
StringUtils
.
isNotBlank
(
isCurrent
))
{
queryWrapper
.
like
(
TAppRunPic:
:
getIsCurrent
,
isCurrent
);
}
queryWrapper
.
orderByDesc
(
TAppRunPic:
:
getCreateTime
);
Page
<
TAppRunPic
>
page
=
this
.
tAppRunPicService
.
page
(
getPage
(),
queryWrapper
);
for
(
TAppRunPic
tAppRunPic
:
page
.
getRecords
())
{
...
...
src/main/java/cn/wisenergy/chnmuseum/party/web/controller/TAppVersionController.java
View file @
bfce054e
...
...
@@ -134,7 +134,7 @@ public class TAppVersionController extends BaseController {
})
public
Map
<
String
,
Object
>
getTAppVersionList
(
String
isCurrent
)
{
QueryWrapper
qw
=
new
QueryWrapper
();
qw
.
eq
(
StringUtils
.
isNotEmpty
(
isCurrent
),
"is_current"
,
isCurrent
);
qw
.
eq
(
StringUtils
.
isNotEmpty
(
isCurrent
),
"is_current"
,
isCurrent
)
.
orderByDesc
(
"update_time"
)
;
List
<
TAppVersion
>
tAppVersionList
=
tAppVersionService
.
list
(
qw
);
return
getResult
(
tAppVersionList
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment