@Query(value="select * from contract_relation where main_contract = ?1 ",nativeQuery=true)
@Query(value="select a.* from contract_relation a left join contract b on a.relation_id = b.id where main_contract = ?1 and b.status <>'del' ",nativeQuery=true)
@Query(value="select count(*) from contract where my_body_code = ?1",nativeQuery=true)
BigIntegerfindcountContract(Stringplatform);
@Query(value="select new map( c.id as id, c.contractCode as contractCode ) from Contract c where c.platform in ?1 and c.contractCode is not null and c.contractCode <> 'null'")
@Query(value="select new map( c.id as id, c.contractCode as contractCode ) from Contract c where c.platform in ?1 and c.contractCode is not null and c.contractCode <> 'null' and c.status <>'del'")