Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-api-boot-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-api-boot-master
Commits
9e4fb7dd
Commit
9e4fb7dd
authored
Sep 13, 2024
by
zhangfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix-366: 礼品管理不可选已关闭的仓库
parent
49260a8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
WarehouseServiceImpl.java
...pository/service/warehouse/impl/WarehouseServiceImpl.java
+7
-4
No files found.
yudao-module-depository/yudao-module-depository-core/src/main/java/cn/iocoder/yudao/module/depository/service/warehouse/impl/WarehouseServiceImpl.java
View file @
9e4fb7dd
...
...
@@ -539,13 +539,16 @@ public class WarehouseServiceImpl implements WarehouseService {
@Override
public
List
<
WarehouseDO
>
getWarehouseListSimple
(
String
title
)
{
LambdaQueryWrapperX
<
WarehouseDO
>
queryWrapperX
=
new
LambdaQueryWrapperX
<
WarehouseDO
>()
.
eq
(
WarehouseDO:
:
getStatus
,
0
);
if
(
StringUtils
.
isBlank
(
title
))
{
return
warehouseMapper
.
selectList
();
return
warehouseMapper
.
selectList
(
queryWrapperX
);
}
// 模糊搜索中文名和英文名
return
warehouseMapper
.
selectList
(
new
LambdaQueryWrapperX
<
WarehouseDO
>()
.
like
(
WarehouseDO:
:
getTitleZh
,
title
)
queryWrapperX
.
like
(
WarehouseDO:
:
getTitleZh
,
title
)
.
or
()
.
like
(
WarehouseDO:
:
getTitleEn
,
title
));
.
like
(
WarehouseDO:
:
getTitleEn
,
title
);
return
warehouseMapper
.
selectList
(
queryWrapperX
);
}
}
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