Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_backend
Commits
ddd4bc70
Commit
ddd4bc70
authored
Jul 27, 2023
by
shiyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
过滤国外钱币
parent
d5a06276
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
ch-dao/src/main/java/com/wwdz/ch/db/dao/impl/ItemManagerImpl.java
...rc/main/java/com/wwdz/ch/db/dao/impl/ItemManagerImpl.java
+4
-0
No files found.
ch-dao/src/main/java/com/wwdz/ch/db/dao/impl/ItemManagerImpl.java
View file @
ddd4bc70
...
...
@@ -10,12 +10,15 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Repository
;
import
org.springframework.util.CollectionUtils
;
import
java.util.Arrays
;
import
java.util.Date
;
import
java.util.List
;
@Repository
public
class
ItemManagerImpl
implements
ItemManager
{
private
final
static
List
<
Integer
>
CHINESE_SOURCE_LIST
=
Arrays
.
asList
(
1
,
2
,
3
,
7
,
8
,
10
,
11
);
@Autowired
ItemMapper
itemMapper
;
...
...
@@ -28,6 +31,7 @@ public class ItemManagerImpl implements ItemManager {
}
criteria
.
andIsDeletedEqualTo
(
false
);
criteria
.
andIsSettedEqualTo
(
0
);
criteria
.
andSourceIn
(
CHINESE_SOURCE_LIST
);
return
itemMapper
.
selectOneByExampleWithBLOBs
(
example
);
}
...
...
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