@Query(value="select count(*) from contract where platform = ?1",nativeQuery=true)
BigIntegerfindcountContract(Stringplatform);
@Query(value="select new map( c.id as id, c.contractCode as contractCode ) from Contract c where c.platform = ?1")
MapcontractCodePlatform(Stringplatform);
@Query(value="select new map( c.id as id, c.contractCode as contractCode ) from Contract c where c.platform = ?1 and c.contractCode is not null and c.contractCode <> 'null'")
List<Map>contractCodePlatform(Stringplatform);
@Query(value="select * from contract where platform = ?1 and contract_code = ?2",nativeQuery=true)