Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
scrm
/
platform-merchants
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 a54cff26
authored
Dec 08, 2025
by
林永健
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(merchant-staff): 修复状态过滤条件导致查询异常
- 删除了查询条件中将状态设为null的代码
1 parent
02fe9d61
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
1 deletions
platform-merchants-container/src/main/java/cn/com/glsx/merchants/service/MerchantStaffService.java
platform-merchants-container/src/test/java/cn/com/glsx/merchants/service/StaffServiceTest.java
platform-merchants-container/src/main/java/cn/com/glsx/merchants/service/MerchantStaffService.java
View file @
a54cff2
...
@@ -1512,7 +1512,6 @@ public class MerchantStaffService {
...
@@ -1512,7 +1512,6 @@ public class MerchantStaffService {
condition
.
setSortOrder
(
sortOrder
);
condition
.
setSortOrder
(
sortOrder
);
condition
.
setSortField
(
toSnake
(
condition
.
getSortField
()));
condition
.
setSortField
(
toSnake
(
condition
.
getSortField
()));
}
}
condition
.
setStatus
(
null
);
PageHelper
.
startPage
(
request
.
getPageNum
(),
request
.
getPageSize
());
PageHelper
.
startPage
(
request
.
getPageNum
(),
request
.
getPageSize
());
List
<
BeiSenEmployeeListResonseDTO
>
responseList
=
beisenEmployeeInfoMapper
.
selectByConditions
(
condition
);
List
<
BeiSenEmployeeListResonseDTO
>
responseList
=
beisenEmployeeInfoMapper
.
selectByConditions
(
condition
);
if
(
CollectionUtils
.
isEmpty
(
responseList
))
{
if
(
CollectionUtils
.
isEmpty
(
responseList
))
{
...
...
platform-merchants-container/src/test/java/cn/com/glsx/merchants/service/StaffServiceTest.java
View file @
a54cff2
...
@@ -313,6 +313,7 @@ public class StaffServiceTest {
...
@@ -313,6 +313,7 @@ public class StaffServiceTest {
cond
.
setOIdJobPostIds
(
Lists
.
newArrayList
(
"787142"
));
cond
.
setOIdJobPostIds
(
Lists
.
newArrayList
(
"787142"
));
cond
.
setSortField
(
"entryDate"
);
cond
.
setSortField
(
"entryDate"
);
cond
.
setSortOrder
(
"desc"
);
cond
.
setSortOrder
(
"desc"
);
cond
.
setStatus
(
0
);
request
.
setCondition
(
cond
);
request
.
setCondition
(
cond
);
RpcPagination
<
BeiSenEmployeeListResonseDTO
>
response
=
merchantStaffService
.
getBeisenUserWithConditions
(
request
);
RpcPagination
<
BeiSenEmployeeListResonseDTO
>
response
=
merchantStaffService
.
getBeisenUserWithConditions
(
request
);
System
.
out
.
println
(
response
);
System
.
out
.
println
(
response
);
...
...
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