Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
c9342a2e
Commit
c9342a2e
authored
Mar 12, 2019
by
Junling Bu
Browse files
chore[litemall-db]: 查询商品时不基于是否在售字段
parent
5cd86f69
Changes
1
Hide whitespace changes
Inline
Side-by-side
litemall-db/src/main/java/org/linlinjava/litemall/db/service/LitemallGoodsService.java
View file @
c9342a2e
...
...
@@ -154,7 +154,7 @@ public class LitemallGoodsService {
*/
public
LitemallGoods
findById
(
Integer
id
)
{
LitemallGoodsExample
example
=
new
LitemallGoodsExample
();
example
.
or
().
andIdEqualTo
(
id
).
andIsOnSaleEqualTo
(
true
).
andDeletedEqualTo
(
false
);
example
.
or
().
andIdEqualTo
(
id
).
andDeletedEqualTo
(
false
);
return
goodsMapper
.
selectOneByExampleWithBLOBs
(
example
);
}
...
...
Write
Preview
Supports
Markdown
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