Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tanpu-community
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
探普后端
tanpu-community
Commits
b185ad49
Commit
b185ad49
authored
3 years ago
by
张辰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug list in
parent
35797e5e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
Customer.java
...ain/java/com/tanpu/community/api/beans/resp/Customer.java
+4
-0
ThemeService.java
...c/main/java/com/tanpu/community/service/ThemeService.java
+5
-3
No files found.
community-api/src/main/java/com/tanpu/community/api/beans/resp/Customer.java
View file @
b185ad49
...
@@ -2,8 +2,10 @@ package com.tanpu.community.api.beans.resp;
...
@@ -2,8 +2,10 @@ package com.tanpu.community.api.beans.resp;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.AllArgsConstructor
;
import
lombok.Builder
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
import
java.math.BigDecimal
;
import
java.math.BigDecimal
;
...
@@ -14,6 +16,8 @@ import java.math.BigDecimal;
...
@@ -14,6 +16,8 @@ import java.math.BigDecimal;
**/
**/
@Data
@Data
@Builder
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
(
description
=
"客户信息"
)
@ApiModel
(
description
=
"客户信息"
)
public
class
Customer
{
public
class
Customer
{
...
...
This diff is collapsed.
Click to expand it.
community-service/src/main/java/com/tanpu/community/service/ThemeService.java
View file @
b185ad49
...
@@ -208,9 +208,11 @@ public class ThemeService {
...
@@ -208,9 +208,11 @@ public class ThemeService {
*/
*/
public
List
<
ThemeEntity
>
queryNewestByTopic
(
String
topidId
,
Integer
pageNo
,
Integer
pageSize
,
List
<
String
>
excludeIds
)
{
public
List
<
ThemeEntity
>
queryNewestByTopic
(
String
topidId
,
Integer
pageNo
,
Integer
pageSize
,
List
<
String
>
excludeIds
)
{
LambdaQueryWrapper
<
ThemeEntity
>
queryWrapper
=
new
LambdaQueryWrapper
<
ThemeEntity
>()
LambdaQueryWrapper
<
ThemeEntity
>
queryWrapper
=
new
LambdaQueryWrapper
<
ThemeEntity
>()
.
eq
(
ThemeEntity:
:
getTopicId
,
topidId
)
.
eq
(
ThemeEntity:
:
getTopicId
,
topidId
);
.
notIn
(
ThemeEntity:
:
getThemeId
,
excludeIds
)
if
(!
excludeIds
.
isEmpty
())
{
.
last
(
"limit "
+
pageNo
+
", "
+
pageSize
)
queryWrapper
.
notIn
(
ThemeEntity:
:
getThemeId
,
excludeIds
);
}
queryWrapper
.
last
(
"limit "
+
pageNo
+
", "
+
pageSize
)
.
orderByDesc
(
ThemeEntity:
:
getCreateTime
)
.
orderByDesc
(
ThemeEntity:
:
getCreateTime
)
.
eq
(
ThemeEntity:
:
getDeleteTag
,
DeleteTagEnum
.
NOT_DELETED
.
getCode
());
.
eq
(
ThemeEntity:
:
getDeleteTag
,
DeleteTagEnum
.
NOT_DELETED
.
getCode
());
return
themeMapper
.
selectList
(
queryWrapper
);
return
themeMapper
.
selectList
(
queryWrapper
);
...
...
This diff is collapsed.
Click to expand it.
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