Interface IdKeyMapper


public interface IdKeyMapper
  • Field Details

  • Method Details

    • getHistoryTypeNames

      static Set<String> getHistoryTypeNames()
      Returns the names of all history-related entity types as strings.
    • getHistoryTypes

      static Set<IdKeyMapper.TYPE> getHistoryTypes()
      Returns all history-related entity types as enum values.
    • checkExistsByC7IdAndType

      boolean checkExistsByC7IdAndType(@Param("type") IdKeyMapper.TYPE type, @Param("c7Id") String c7Id)
    • checkHasC8KeyByC7IdAndType

      boolean checkHasC8KeyByC7IdAndType(@Param("type") IdKeyMapper.TYPE type, @Param("c7Id") String c7Id)
    • findLatestCreateTimeByType

      Date findLatestCreateTimeByType(IdKeyMapper.TYPE type)
    • findC8KeyByC7IdAndType

      Long findC8KeyByC7IdAndType(@Param("c7Id") String id, @Param("type") IdKeyMapper.TYPE type)
    • insert

      void insert(IdKeyDbModel idKeyDbModel)
    • findSkippedByType

      List<IdKeyDbModel> findSkippedByType(@Param("type") IdKeyMapper.TYPE type, @Param("offset") int offset, @Param("limit") int limit)
    • findMigratedByType

      List<IdKeyDbModel> findMigratedByType(@Param("type") IdKeyMapper.TYPE type, @Param("offset") int offset, @Param("limit") int limit)
    • countSkippedByType

      long countSkippedByType(@Param("type") IdKeyMapper.TYPE type)
    • countSkipped

      long countSkipped()
    • findAllC7Ids

      List<String> findAllC7Ids()
    • updateC8KeyByC7IdAndType

      void updateC8KeyByC7IdAndType(IdKeyDbModel idKeyDbModel)
    • updateSkipReason

      void updateSkipReason(IdKeyDbModel idKeyDbModel)
    • deleteByC7Id

      void deleteByC7Id(String c7Id)