接口 GenericUpdateDao<T>

  • 所有已知实现类:
    GenericUpdateDAOImpl

    public interface GenericUpdateDao<T>
    更新接口
    版本:
    2021年10月19日
    作者:
    王鸿雁
    • 方法详细资料

      • createEntity

        int createEntity​(Object entity)
      • createEntityList

        int createEntityList​(List<T> entityList)
      • deleteEntity

        int deleteEntity​(Class<T> clazz,
                         String entityId)
      • deleteEntityWithCompanyId

        int deleteEntityWithCompanyId​(Class<T> clazz,
                                      String id,
                                      String companyId)
      • updateEntity

        int updateEntity​(BaseDO entiry)
      • updateEntityWithCompanyId

        int updateEntityWithCompanyId​(BaseDO entiry,
                                      String companyId)
      • updateNotNull

        int updateNotNull​(T data,
                          Long ver)
      • updateSkipNullBatchAppend

        int updateSkipNullBatchAppend​(String companyId,
                                      T data,
                                      Long ver,
                                      int batchSize)
      • updateSkipNullBatchExecute

        int updateSkipNullBatchExecute​(Class<T> clazz)
      • deleteLogicalWithCompanyId

        int deleteLogicalWithCompanyId​(Class<T> clazz,
                                       String id,
                                       String companyId)
      • updateSkipNullBatchExecute

        int updateSkipNullBatchExecute​(List<UpdateObject> updateList)