Commit a2922dc7 by manxiaoqiang

合同

parent 880a5618
...@@ -18,7 +18,7 @@ public interface ContractRepository extends JpaRepository<Contract, Long> { ...@@ -18,7 +18,7 @@ public interface ContractRepository extends JpaRepository<Contract, Long> {
@Query(value="select count(*) from contract where email = ?1",nativeQuery=true) @Query(value="select count(*) from contract where email = ?1",nativeQuery=true)
BigInteger countNumByEmail(String email); BigInteger countNumByEmail(String email);
@Query(value="select * from contract where ds >= ?1 and ds <= ?2 and platfrom = ?3 order by ds desc",nativeQuery=true) @Query(value="select * from contract where ds >= ?1 and ds <= ?2 and platform = ?3 order by ds desc",nativeQuery=true)
List<Contract> findByDs(String startDate, String endDate, String platfrom); List<Contract> findByDs(String startDate, String endDate, String platfrom);
@Query(value="select * from contract where contract_code = ?1",nativeQuery=true) @Query(value="select * from contract where contract_code = ?1",nativeQuery=true)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment