Done ticket GEPAFINBE-205 Handled the old and new vatCheck company json through versioning.

This commit is contained in:
piyushkag
2025-04-04 19:05:23 +05:30
parent b18357878b
commit cca4fe1100
12 changed files with 319 additions and 205 deletions

View File

@@ -0,0 +1,11 @@
package net.gepafin.tendermanagement.repositories;
import net.gepafin.tendermanagement.entities.GlobalConfigEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
public interface GlobalConfigRepository extends JpaRepository<GlobalConfigEntity, Long> {
@Query("SELECT gc.content FROM GlobalConfigEntity gc WHERE gc.type = :vatCheckApiVersion AND gc.isDeleted = false")
String findContentByTypeAndIsDeletedFalse(String vatCheckApiVersion);
}