Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
manager
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
reyun
manager
Commits
a2922dc7
Commit
a2922dc7
authored
Jan 26, 2018
by
manxiaoqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同
parent
880a5618
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
workspace.xml
.idea/workspace.xml
+0
-0
ContractRepository.java
src/main/java/common/repository/ContractRepository.java
+1
-1
No files found.
.idea/workspace.xml
View file @
a2922dc7
This diff is collapsed.
Click to expand it.
src/main/java/common/repository/ContractRepository.java
View file @
a2922dc7
...
...
@@ -18,7 +18,7 @@ public interface ContractRepository extends JpaRepository<Contract, Long> {
@Query
(
value
=
"select count(*) from contract where email = ?1"
,
nativeQuery
=
true
)
BigInteger
countNumByEmail
(
String
email
);
@Query
(
value
=
"select * from contract where ds >= ?1 and ds <= ?2 and platf
ro
m = ?3 order by ds desc"
,
nativeQuery
=
true
)
@Query
(
value
=
"select * from contract where ds >= ?1 and ds <= ?2 and platf
or
m = ?3 order by ds desc"
,
nativeQuery
=
true
)
List
<
Contract
>
findByDs
(
String
startDate
,
String
endDate
,
String
platfrom
);
@Query
(
value
=
"select * from contract where contract_code = ?1"
,
nativeQuery
=
true
)
...
...
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