类 SqlBeanServiceImpl<T,ID>

java.lang.Object
cn.vonce.sql.android.service.SqlBeanServiceImpl<T,ID>
类型参数:
T -
所有已实现的接口:
cn.vonce.sql.page.PagingService, cn.vonce.sql.service.DbManageService<T>, cn.vonce.sql.service.DeleteService<T,ID>, cn.vonce.sql.service.InsertService<T>, cn.vonce.sql.service.SelectService<T,ID>, cn.vonce.sql.service.SqlBeanService<T,ID>, cn.vonce.sql.service.UpdateService<T,ID>, Serializable
直接已知子类:
SqlBeanHelper

public class SqlBeanServiceImpl<T,ID> extends Object implements cn.vonce.sql.service.SqlBeanService<T,ID>, cn.vonce.sql.service.DbManageService<T>
通用的业务实现
版本:
1.0
作者:
Jovi
另请参阅:
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
     
  • 构造器概要

    构造器
    构造器
    说明
     
    SqlBeanServiceImpl(Class<?> clazz, DatabaseHelper databaseHelper)
     
  • 方法概要

    修饰符和类型
    方法
    说明
    int
    alter(cn.vonce.sql.bean.Alter alter)
     
    int
    alter(cn.vonce.sql.bean.Table table, List<cn.vonce.sql.bean.ColumnInfo> columnInfoList)
     
    int
    alter(List<cn.vonce.sql.bean.Alter> alterList)
     
     
    void
    backup(cn.vonce.sql.define.ConditionHandle<T> cond, String targetTableName, cn.vonce.sql.bean.Column... columns)
     
    <R> void
    backup(cn.vonce.sql.define.ConditionHandle<T> cond, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
     
    void
    backup(cn.vonce.sql.define.ConditionHandle<T> cond, String targetSchema, String targetTableName)
     
    void
    backup(cn.vonce.sql.define.ConditionHandle<T> cond, String targetSchema, String targetTableName, cn.vonce.sql.bean.Column... columns)
     
    <R> void
    backup(cn.vonce.sql.define.ConditionHandle<T> cond, String targetSchema, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
     
    void
    backup(cn.vonce.sql.helper.Wrapper wrapper, String targetTableName, cn.vonce.sql.bean.Column... columns)
     
    <R> void
    backup(cn.vonce.sql.helper.Wrapper wrapper, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
     
    void
    backup(cn.vonce.sql.helper.Wrapper wrapper, String targetSchema, String targetTableName)
     
    void
    backup(cn.vonce.sql.helper.Wrapper wrapper, String targetSchema, String targetTableName, cn.vonce.sql.bean.Column... columns)
     
    <R> void
    backup(cn.vonce.sql.helper.Wrapper wrapper, String targetSchema, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
     
    void
    backup(String targetTableName)
     
    void
    backup(String targetSchema, String targetTableName)
     
    protected void
    conditionHandle(cn.vonce.sql.bean.CommonCondition<?> condition, cn.vonce.sql.define.ConditionHandle<T> cond)
     
    protected cn.vonce.sql.helper.Wrapper
    conditionHandle(cn.vonce.sql.define.ConditionHandle<T> cond)
     
    int
    copy(cn.vonce.sql.define.ConditionHandle<T> cond, String targetTableName)
     
    int
    copy(cn.vonce.sql.define.ConditionHandle<T> cond, String targetTableName, cn.vonce.sql.bean.Column... columns)
     
    <R> int
    copy(cn.vonce.sql.define.ConditionHandle<T> cond, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
     
    int
    copy(cn.vonce.sql.define.ConditionHandle<T> cond, String targetSchema, String targetTableName)
     
    int
    copy(cn.vonce.sql.define.ConditionHandle<T> cond, String targetSchema, String targetTableName, cn.vonce.sql.bean.Column... columns)
     
    <R> int
    copy(cn.vonce.sql.define.ConditionHandle<T> cond, String targetSchema, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
     
    int
    copy(cn.vonce.sql.helper.Wrapper wrapper, String targetTableName)
     
    int
    copy(cn.vonce.sql.helper.Wrapper wrapper, String targetTableName, cn.vonce.sql.bean.Column... columns)
     
    <R> int
    copy(cn.vonce.sql.helper.Wrapper wrapper, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
     
    int
    copy(cn.vonce.sql.helper.Wrapper wrapper, String targetSchema, String targetTableName)
     
    int
    copy(cn.vonce.sql.helper.Wrapper wrapper, String targetSchema, String targetTableName, cn.vonce.sql.bean.Column[] columns)
     
    <R> int
    copy(cn.vonce.sql.helper.Wrapper wrapper, String targetSchema, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
     
    int
     
    int
    count(cn.vonce.sql.bean.Select select)
     
    int
    count(Class<?> clazz, cn.vonce.sql.bean.Select select)
     
    int
    countBy(cn.vonce.sql.define.ConditionHandle<T> cond)
     
    int
    countBy(cn.vonce.sql.helper.Wrapper where)
     
    int
    countBy(String where, Object... args)
     
    void
     
    int
    delete(cn.vonce.sql.bean.Delete delete)
     
    int
    delete(cn.vonce.sql.bean.Delete delete, boolean ignore)
     
    int
    deleteBy(cn.vonce.sql.define.ConditionHandle<T> cond)
     
    int
    deleteBy(cn.vonce.sql.helper.Wrapper where)
     
    int
    deleteBy(String where, Object... args)
     
    int
    deleteById(ID... id)
     
    void
     
    void
     
     
    List<cn.vonce.sql.bean.ColumnInfo>
     
    List<cn.vonce.sql.bean.ColumnInfo>
     
    List<cn.vonce.sql.bean.ColumnInfo>
    getColumnInfoList(String schema, String tableName)
     
    cn.vonce.sql.config.SqlBeanMeta
     
     
    List<cn.vonce.sql.bean.TableInfo>
     
    List<cn.vonce.sql.bean.TableInfo>
    getTableList(String tableName)
     
    List<cn.vonce.sql.bean.TableInfo>
    getTableList(String schema, String tableName)
     
    int
    insert(cn.vonce.sql.bean.Insert<T> insert)
     
    int
    insert(Collection<T> beanList)
     
    int
    insert(T... bean)
     
    int
    logicallyDeleteBy(cn.vonce.sql.define.ConditionHandle<T> cond)
     
    int
    logicallyDeleteBy(cn.vonce.sql.helper.Wrapper where)
     
    int
    logicallyDeleteBy(String where, Object... args)
     
    int
     
    cn.vonce.sql.page.ResultData<T>
    paging(cn.vonce.sql.bean.Select select, int pagenum, int pagesize)
     
    cn.vonce.sql.page.ResultData<T>
    paging(cn.vonce.sql.bean.Select select, cn.vonce.sql.page.PageHelper<T> pageHelper)
     
    <R> cn.vonce.sql.page.ResultData<R>
    paging(Class<R> tClazz, cn.vonce.sql.bean.Select select, int pagenum, int pagesize)
     
    <R> cn.vonce.sql.page.ResultData<R>
    paging(Class<R> tClazz, cn.vonce.sql.bean.Select select, cn.vonce.sql.page.PageHelper<R> pageHelper)
     
     
    select(cn.vonce.sql.bean.Paging paging)
     
    select(cn.vonce.sql.bean.Select select)
     
    <R> List<R>
    select(Class<R> returnType)
     
    <R> List<R>
    select(Class<R> returnType, cn.vonce.sql.bean.Paging paging)
     
    <R> List<R>
    select(Class<R> returnType, cn.vonce.sql.bean.Select select)
     
    selectBy(cn.vonce.sql.bean.Paging paging, cn.vonce.sql.define.ConditionHandle<T> cond)
     
    selectBy(cn.vonce.sql.bean.Paging paging, cn.vonce.sql.helper.Wrapper where)
     
    selectBy(cn.vonce.sql.bean.Paging paging, String where, Object... args)
     
    selectBy(cn.vonce.sql.define.ConditionHandle<T> cond)
     
    selectBy(cn.vonce.sql.helper.Wrapper where)
     
    <R> List<R>
    selectBy(Class<R> returnType, cn.vonce.sql.bean.Paging paging, cn.vonce.sql.define.ConditionHandle<T> cond)
     
    <R> List<R>
    selectBy(Class<R> returnType, cn.vonce.sql.bean.Paging paging, cn.vonce.sql.helper.Wrapper wrapper)
     
    <R> List<R>
    selectBy(Class<R> returnType, cn.vonce.sql.bean.Paging paging, String where, Object... args)
     
    <R> List<R>
    selectBy(Class<R> returnType, cn.vonce.sql.define.ConditionHandle<T> cond)
     
    <R> List<R>
    selectBy(Class<R> returnType, cn.vonce.sql.helper.Wrapper wrapper)
     
    <R> List<R>
    selectBy(Class<R> returnType, String where, Object... args)
     
    selectBy(String where, Object... args)
     
     
    <R> R
    selectById(Class<R> returnType, ID id)
     
    selectByIds(ID... ids)
     
    <R> List<R>
    selectByIds(Class<R> returnType, ID... ids)
     
    selectMap(cn.vonce.sql.bean.Select select)
     
    selectMapList(cn.vonce.sql.bean.Select select)
     
    selectOne(cn.vonce.sql.bean.Select select)
     
    <R> R
    selectOne(Class<R> returnType, cn.vonce.sql.bean.Select select)
     
    selectOneBy(cn.vonce.sql.define.ConditionHandle<T> cond)
     
    selectOneBy(cn.vonce.sql.helper.Wrapper wrapper)
     
    <R> R
    selectOneBy(Class<R> returnType, cn.vonce.sql.define.ConditionHandle<T> cond)
     
    <R> R
    selectOneBy(Class<R> returnType, cn.vonce.sql.helper.Wrapper wrapper)
     
    <R> R
    selectOneBy(Class<R> returnType, String where, Object... args)
     
    selectOneBy(String where, Object... args)
     
    int
    update(cn.vonce.sql.bean.Update<T> update)
     
    int
    update(cn.vonce.sql.bean.Update<T> update, boolean ignore)
     
    int
    updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.bean.Column[] filterColumns, String where, Object... args)
     
    int
    updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.define.ConditionHandle<T> cond)
     
    int
    updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.define.ConditionHandle<T> cond, cn.vonce.sql.bean.Column... filterColumns)
     
    <R> int
    updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.define.ConditionHandle<T> cond, cn.vonce.sql.define.ColumnFun<T,R>... filterColumns)
     
    int
    updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.helper.Wrapper wrapper)
     
    int
    updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.helper.Wrapper wrapper, cn.vonce.sql.bean.Column... filterColumns)
     
    <R> int
    updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.helper.Wrapper wrapper, cn.vonce.sql.define.ColumnFun<T,R>... filterColumns)
     
    int
    updateBy(T bean, boolean updateNotNull, boolean optimisticLock, String where, Object... args)
     
    int
    updateBy(T bean, cn.vonce.sql.define.ConditionHandle<T> cond)
     
    int
    updateBy(T bean, cn.vonce.sql.helper.Wrapper wrapper)
     
    int
    updateBy(T bean, String where, Object... args)
     
    int
    updateByBean(T bean, boolean updateNotNull, boolean optimisticLock, String where)
     
    int
    updateByBean(T bean, boolean updateNotNull, boolean optimisticLock, String where, cn.vonce.sql.bean.Column... filterColumns)
     
    <R> int
    updateByBean(T bean, boolean updateNotNull, boolean optimisticLock, String where, cn.vonce.sql.define.ColumnFun<T,R>[] filterColumns)
     
    int
    updateByBean(T bean, String where)
     
    int
     
    int
    updateByBeanId(T bean, boolean updateNotNull, boolean optimisticLock)
     
    int
    updateByBeanId(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.bean.Column... filterColumns)
     
    <R> int
    updateByBeanId(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.define.ColumnFun<T,R>... filterColumns)
     
    int
    updateById(T bean, ID id)
     
    int
    updateById(T bean, ID id, boolean updateNotNull, boolean optimisticLock)
     
    int
    updateById(T bean, ID id, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.bean.Column... filterColumns)
     
    <R> int
    updateById(T bean, ID id, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.define.ColumnFun<T,R>... filterColumns)
     

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • clazz

      public Class<?> clazz
  • 构造器详细资料

    • SqlBeanServiceImpl

      public SqlBeanServiceImpl()
    • SqlBeanServiceImpl

      public SqlBeanServiceImpl(Class<?> clazz, DatabaseHelper databaseHelper)
  • 方法详细资料

    • getSqlBeanMeta

      public cn.vonce.sql.config.SqlBeanMeta getSqlBeanMeta()
      指定者:
      getSqlBeanMeta 在接口中 cn.vonce.sql.service.SqlBeanService<T,ID>
    • getSQLiteTemplate

      public SQLiteTemplate getSQLiteTemplate()
    • getBeanClass

      public Class<?> getBeanClass()
      指定者:
      getBeanClass 在接口中 cn.vonce.sql.service.SqlBeanService<T,ID>
    • dropTable

      public void dropTable()
      指定者:
      dropTable 在接口中 cn.vonce.sql.service.DbManageService<T>
    • createTable

      public void createTable()
      指定者:
      createTable 在接口中 cn.vonce.sql.service.DbManageService<T>
    • dropAndCreateTable

      public void dropAndCreateTable()
      指定者:
      dropAndCreateTable 在接口中 cn.vonce.sql.service.DbManageService<T>
    • getTableList

      public List<cn.vonce.sql.bean.TableInfo> getTableList()
      指定者:
      getTableList 在接口中 cn.vonce.sql.service.DbManageService<T>
    • getTableList

      public List<cn.vonce.sql.bean.TableInfo> getTableList(String tableName)
      指定者:
      getTableList 在接口中 cn.vonce.sql.service.DbManageService<T>
    • getTableList

      public List<cn.vonce.sql.bean.TableInfo> getTableList(String schema, String tableName)
      指定者:
      getTableList 在接口中 cn.vonce.sql.service.DbManageService<T>
    • getColumnInfoList

      public List<cn.vonce.sql.bean.ColumnInfo> getColumnInfoList()
      指定者:
      getColumnInfoList 在接口中 cn.vonce.sql.service.DbManageService<T>
    • getColumnInfoList

      public List<cn.vonce.sql.bean.ColumnInfo> getColumnInfoList(String tableName)
      指定者:
      getColumnInfoList 在接口中 cn.vonce.sql.service.DbManageService<T>
    • getColumnInfoList

      public List<cn.vonce.sql.bean.ColumnInfo> getColumnInfoList(String schema, String tableName)
      指定者:
      getColumnInfoList 在接口中 cn.vonce.sql.service.DbManageService<T>
    • backup

      public String backup()
      指定者:
      backup 在接口中 cn.vonce.sql.service.DbManageService<T>
    • backup

      public void backup(String targetTableName)
      指定者:
      backup 在接口中 cn.vonce.sql.service.DbManageService<T>
    • backup

      public void backup(String targetSchema, String targetTableName)
      指定者:
      backup 在接口中 cn.vonce.sql.service.DbManageService<T>
    • backup

      public void backup(cn.vonce.sql.helper.Wrapper wrapper, String targetSchema, String targetTableName)
      指定者:
      backup 在接口中 cn.vonce.sql.service.DbManageService<T>
    • backup

      public void backup(cn.vonce.sql.define.ConditionHandle<T> cond, String targetSchema, String targetTableName)
      指定者:
      backup 在接口中 cn.vonce.sql.service.DbManageService<T>
    • backup

      public void backup(cn.vonce.sql.helper.Wrapper wrapper, String targetTableName, cn.vonce.sql.bean.Column... columns)
      指定者:
      backup 在接口中 cn.vonce.sql.service.DbManageService<T>
    • backup

      public void backup(cn.vonce.sql.define.ConditionHandle<T> cond, String targetTableName, cn.vonce.sql.bean.Column... columns)
      指定者:
      backup 在接口中 cn.vonce.sql.service.DbManageService<T>
    • backup

      public <R> void backup(cn.vonce.sql.helper.Wrapper wrapper, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
      指定者:
      backup 在接口中 cn.vonce.sql.service.DbManageService<T>
    • backup

      public <R> void backup(cn.vonce.sql.define.ConditionHandle<T> cond, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
      指定者:
      backup 在接口中 cn.vonce.sql.service.DbManageService<T>
    • backup

      public void backup(cn.vonce.sql.helper.Wrapper wrapper, String targetSchema, String targetTableName, cn.vonce.sql.bean.Column... columns)
      指定者:
      backup 在接口中 cn.vonce.sql.service.DbManageService<T>
    • backup

      public void backup(cn.vonce.sql.define.ConditionHandle<T> cond, String targetSchema, String targetTableName, cn.vonce.sql.bean.Column... columns)
      指定者:
      backup 在接口中 cn.vonce.sql.service.DbManageService<T>
    • backup

      public <R> void backup(cn.vonce.sql.helper.Wrapper wrapper, String targetSchema, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
      指定者:
      backup 在接口中 cn.vonce.sql.service.DbManageService<T>
    • backup

      public <R> void backup(cn.vonce.sql.define.ConditionHandle<T> cond, String targetSchema, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
      指定者:
      backup 在接口中 cn.vonce.sql.service.DbManageService<T>
    • copy

      public int copy(cn.vonce.sql.helper.Wrapper wrapper, String targetTableName)
      指定者:
      copy 在接口中 cn.vonce.sql.service.DbManageService<T>
    • copy

      public int copy(cn.vonce.sql.define.ConditionHandle<T> cond, String targetTableName)
      指定者:
      copy 在接口中 cn.vonce.sql.service.DbManageService<T>
    • copy

      public int copy(cn.vonce.sql.helper.Wrapper wrapper, String targetSchema, String targetTableName)
      指定者:
      copy 在接口中 cn.vonce.sql.service.DbManageService<T>
    • copy

      public int copy(cn.vonce.sql.define.ConditionHandle<T> cond, String targetSchema, String targetTableName)
      指定者:
      copy 在接口中 cn.vonce.sql.service.DbManageService<T>
    • copy

      public int copy(cn.vonce.sql.helper.Wrapper wrapper, String targetTableName, cn.vonce.sql.bean.Column... columns)
      指定者:
      copy 在接口中 cn.vonce.sql.service.DbManageService<T>
    • copy

      public int copy(cn.vonce.sql.define.ConditionHandle<T> cond, String targetTableName, cn.vonce.sql.bean.Column... columns)
      指定者:
      copy 在接口中 cn.vonce.sql.service.DbManageService<T>
    • copy

      public <R> int copy(cn.vonce.sql.helper.Wrapper wrapper, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
      指定者:
      copy 在接口中 cn.vonce.sql.service.DbManageService<T>
    • copy

      public <R> int copy(cn.vonce.sql.define.ConditionHandle<T> cond, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
      指定者:
      copy 在接口中 cn.vonce.sql.service.DbManageService<T>
    • copy

      public int copy(cn.vonce.sql.helper.Wrapper wrapper, String targetSchema, String targetTableName, cn.vonce.sql.bean.Column[] columns)
      指定者:
      copy 在接口中 cn.vonce.sql.service.DbManageService<T>
    • copy

      public int copy(cn.vonce.sql.define.ConditionHandle<T> cond, String targetSchema, String targetTableName, cn.vonce.sql.bean.Column... columns)
      指定者:
      copy 在接口中 cn.vonce.sql.service.DbManageService<T>
    • copy

      public <R> int copy(cn.vonce.sql.helper.Wrapper wrapper, String targetSchema, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
      指定者:
      copy 在接口中 cn.vonce.sql.service.DbManageService<T>
    • copy

      public <R> int copy(cn.vonce.sql.define.ConditionHandle<T> cond, String targetSchema, String targetTableName, cn.vonce.sql.define.ColumnFun<T,R>... columns)
      指定者:
      copy 在接口中 cn.vonce.sql.service.DbManageService<T>
    • alter

      public int alter(cn.vonce.sql.bean.Table table, List<cn.vonce.sql.bean.ColumnInfo> columnInfoList)
      指定者:
      alter 在接口中 cn.vonce.sql.service.DbManageService<T>
    • alter

      public int alter(cn.vonce.sql.bean.Alter alter)
      指定者:
      alter 在接口中 cn.vonce.sql.service.DbManageService<T>
    • alter

      public int alter(List<cn.vonce.sql.bean.Alter> alterList)
      指定者:
      alter 在接口中 cn.vonce.sql.service.DbManageService<T>
    • selectById

      public T selectById(ID id)
      指定者:
      selectById 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectById

      public <R> R selectById(Class<R> returnType, ID id)
      指定者:
      selectById 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectByIds

      public List<T> selectByIds(ID... ids)
      指定者:
      selectByIds 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectByIds

      public <R> List<R> selectByIds(Class<R> returnType, ID... ids)
      指定者:
      selectByIds 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectOne

      public T selectOne(cn.vonce.sql.bean.Select select)
      指定者:
      selectOne 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectOne

      public <R> R selectOne(Class<R> returnType, cn.vonce.sql.bean.Select select)
      指定者:
      selectOne 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectMap

      public Map<String,Object> selectMap(cn.vonce.sql.bean.Select select)
      指定者:
      selectMap 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectOneBy

      public T selectOneBy(String where, Object... args)
      指定者:
      selectOneBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectOneBy

      public <R> R selectOneBy(Class<R> returnType, String where, Object... args)
      指定者:
      selectOneBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectOneBy

      public T selectOneBy(cn.vonce.sql.helper.Wrapper wrapper)
      指定者:
      selectOneBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectOneBy

      public T selectOneBy(cn.vonce.sql.define.ConditionHandle<T> cond)
      指定者:
      selectOneBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectOneBy

      public <R> R selectOneBy(Class<R> returnType, cn.vonce.sql.helper.Wrapper wrapper)
      指定者:
      selectOneBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectOneBy

      public <R> R selectOneBy(Class<R> returnType, cn.vonce.sql.define.ConditionHandle<T> cond)
      指定者:
      selectOneBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectBy

      public <R> List<R> selectBy(Class<R> returnType, String where, Object... args)
      指定者:
      selectBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectBy

      public <R> List<R> selectBy(Class<R> returnType, cn.vonce.sql.helper.Wrapper wrapper)
      指定者:
      selectBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectBy

      public <R> List<R> selectBy(Class<R> returnType, cn.vonce.sql.define.ConditionHandle<T> cond)
      指定者:
      selectBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectBy

      public <R> List<R> selectBy(Class<R> returnType, cn.vonce.sql.bean.Paging paging, String where, Object... args)
      指定者:
      selectBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectBy

      public <R> List<R> selectBy(Class<R> returnType, cn.vonce.sql.bean.Paging paging, cn.vonce.sql.helper.Wrapper wrapper)
      指定者:
      selectBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectBy

      public <R> List<R> selectBy(Class<R> returnType, cn.vonce.sql.bean.Paging paging, cn.vonce.sql.define.ConditionHandle<T> cond)
      指定者:
      selectBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectBy

      public List<T> selectBy(String where, Object... args)
      指定者:
      selectBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectBy

      public List<T> selectBy(cn.vonce.sql.helper.Wrapper where)
      指定者:
      selectBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectBy

      public List<T> selectBy(cn.vonce.sql.define.ConditionHandle<T> cond)
      指定者:
      selectBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectBy

      public List<T> selectBy(cn.vonce.sql.bean.Paging paging, String where, Object... args)
      指定者:
      selectBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectBy

      public List<T> selectBy(cn.vonce.sql.bean.Paging paging, cn.vonce.sql.helper.Wrapper where)
      指定者:
      selectBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectBy

      public List<T> selectBy(cn.vonce.sql.bean.Paging paging, cn.vonce.sql.define.ConditionHandle<T> cond)
      指定者:
      selectBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • countBy

      public int countBy(String where, Object... args)
      指定者:
      countBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • countBy

      public int countBy(cn.vonce.sql.helper.Wrapper where)
      指定者:
      countBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • countBy

      public int countBy(cn.vonce.sql.define.ConditionHandle<T> cond)
      指定者:
      countBy 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • count

      public int count()
      指定者:
      count 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • select

      public List<T> select()
      指定者:
      select 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • select

      public List<T> select(cn.vonce.sql.bean.Paging paging)
      指定者:
      select 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • select

      public <R> List<R> select(Class<R> returnType)
      指定者:
      select 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • select

      public <R> List<R> select(Class<R> returnType, cn.vonce.sql.bean.Paging paging)
      指定者:
      select 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • selectMapList

      public List<Map<String,Object>> selectMapList(cn.vonce.sql.bean.Select select)
      指定者:
      selectMapList 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • select

      public <R> List<R> select(Class<R> returnType, cn.vonce.sql.bean.Select select)
      指定者:
      select 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • select

      public List<T> select(cn.vonce.sql.bean.Select select)
      指定者:
      select 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • count

      public int count(cn.vonce.sql.bean.Select select)
      指定者:
      count 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • count

      public int count(Class<?> clazz, cn.vonce.sql.bean.Select select)
      指定者:
      count 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • paging

      public cn.vonce.sql.page.ResultData<T> paging(cn.vonce.sql.bean.Select select, cn.vonce.sql.page.PageHelper<T> pageHelper)
      指定者:
      paging 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • paging

      public cn.vonce.sql.page.ResultData<T> paging(cn.vonce.sql.bean.Select select, int pagenum, int pagesize)
      指定者:
      paging 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • paging

      public <R> cn.vonce.sql.page.ResultData<R> paging(Class<R> tClazz, cn.vonce.sql.bean.Select select, cn.vonce.sql.page.PageHelper<R> pageHelper)
      指定者:
      paging 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • paging

      public <R> cn.vonce.sql.page.ResultData<R> paging(Class<R> tClazz, cn.vonce.sql.bean.Select select, int pagenum, int pagesize)
      指定者:
      paging 在接口中 cn.vonce.sql.service.SelectService<T,ID>
    • deleteById

      public int deleteById(ID... id)
      指定者:
      deleteById 在接口中 cn.vonce.sql.service.DeleteService<T,ID>
    • deleteBy

      public int deleteBy(String where, Object... args)
      指定者:
      deleteBy 在接口中 cn.vonce.sql.service.DeleteService<T,ID>
    • deleteBy

      public int deleteBy(cn.vonce.sql.helper.Wrapper where)
      指定者:
      deleteBy 在接口中 cn.vonce.sql.service.DeleteService<T,ID>
    • deleteBy

      public int deleteBy(cn.vonce.sql.define.ConditionHandle<T> cond)
      指定者:
      deleteBy 在接口中 cn.vonce.sql.service.DeleteService<T,ID>
    • delete

      public int delete(cn.vonce.sql.bean.Delete delete)
      指定者:
      delete 在接口中 cn.vonce.sql.service.DeleteService<T,ID>
    • delete

      public int delete(cn.vonce.sql.bean.Delete delete, boolean ignore)
      指定者:
      delete 在接口中 cn.vonce.sql.service.DeleteService<T,ID>
    • logicallyDeleteById

      public int logicallyDeleteById(ID... id)
      指定者:
      logicallyDeleteById 在接口中 cn.vonce.sql.service.DeleteService<T,ID>
    • logicallyDeleteBy

      public int logicallyDeleteBy(String where, Object... args)
      指定者:
      logicallyDeleteBy 在接口中 cn.vonce.sql.service.DeleteService<T,ID>
    • logicallyDeleteBy

      public int logicallyDeleteBy(cn.vonce.sql.helper.Wrapper where)
      指定者:
      logicallyDeleteBy 在接口中 cn.vonce.sql.service.DeleteService<T,ID>
    • logicallyDeleteBy

      public int logicallyDeleteBy(cn.vonce.sql.define.ConditionHandle<T> cond)
      指定者:
      logicallyDeleteBy 在接口中 cn.vonce.sql.service.DeleteService<T,ID>
    • update

      public int update(cn.vonce.sql.bean.Update<T> update)
      指定者:
      update 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • update

      public int update(cn.vonce.sql.bean.Update<T> update, boolean ignore)
      指定者:
      update 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateById

      public int updateById(T bean, ID id)
      指定者:
      updateById 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateById

      public int updateById(T bean, ID id, boolean updateNotNull, boolean optimisticLock)
      指定者:
      updateById 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateByBeanId

      public int updateByBeanId(T bean)
      指定者:
      updateByBeanId 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateById

      public int updateById(T bean, ID id, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.bean.Column... filterColumns)
      指定者:
      updateById 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateById

      public <R> int updateById(T bean, ID id, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.define.ColumnFun<T,R>... filterColumns)
      指定者:
      updateById 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateBy

      public int updateBy(T bean, String where, Object... args)
      指定者:
      updateBy 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateByBeanId

      public int updateByBeanId(T bean, boolean updateNotNull, boolean optimisticLock)
      指定者:
      updateByBeanId 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateByBeanId

      public int updateByBeanId(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.bean.Column... filterColumns)
      指定者:
      updateByBeanId 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateByBeanId

      public <R> int updateByBeanId(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.define.ColumnFun<T,R>... filterColumns)
      指定者:
      updateByBeanId 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateBy

      public int updateBy(T bean, boolean updateNotNull, boolean optimisticLock, String where, Object... args)
      指定者:
      updateBy 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateBy

      public int updateBy(T bean, cn.vonce.sql.helper.Wrapper wrapper)
      指定者:
      updateBy 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateBy

      public int updateBy(T bean, cn.vonce.sql.define.ConditionHandle<T> cond)
      指定者:
      updateBy 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateBy

      public int updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.helper.Wrapper wrapper)
      指定者:
      updateBy 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateBy

      public int updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.define.ConditionHandle<T> cond)
      指定者:
      updateBy 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateBy

      public int updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.bean.Column[] filterColumns, String where, Object... args)
      指定者:
      updateBy 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateBy

      public int updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.helper.Wrapper wrapper, cn.vonce.sql.bean.Column... filterColumns)
      指定者:
      updateBy 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateBy

      public int updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.define.ConditionHandle<T> cond, cn.vonce.sql.bean.Column... filterColumns)
      指定者:
      updateBy 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateBy

      public <R> int updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.helper.Wrapper wrapper, cn.vonce.sql.define.ColumnFun<T,R>... filterColumns)
      指定者:
      updateBy 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateBy

      public <R> int updateBy(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.define.ConditionHandle<T> cond, cn.vonce.sql.define.ColumnFun<T,R>... filterColumns)
      指定者:
      updateBy 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateByBean

      public int updateByBean(T bean, String where)
      指定者:
      updateByBean 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateByBean

      public int updateByBean(T bean, boolean updateNotNull, boolean optimisticLock, String where)
      指定者:
      updateByBean 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateByBean

      public int updateByBean(T bean, boolean updateNotNull, boolean optimisticLock, String where, cn.vonce.sql.bean.Column... filterColumns)
      指定者:
      updateByBean 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • updateByBean

      public <R> int updateByBean(T bean, boolean updateNotNull, boolean optimisticLock, String where, cn.vonce.sql.define.ColumnFun<T,R>[] filterColumns)
      指定者:
      updateByBean 在接口中 cn.vonce.sql.service.UpdateService<T,ID>
    • insert

      public int insert(T... bean)
      指定者:
      insert 在接口中 cn.vonce.sql.service.InsertService<T>
    • insert

      public int insert(Collection<T> beanList)
      指定者:
      insert 在接口中 cn.vonce.sql.service.InsertService<T>
    • insert

      public int insert(cn.vonce.sql.bean.Insert<T> insert)
      指定者:
      insert 在接口中 cn.vonce.sql.service.InsertService<T>
    • conditionHandle

      protected void conditionHandle(cn.vonce.sql.bean.CommonCondition<?> condition, cn.vonce.sql.define.ConditionHandle<T> cond)
    • conditionHandle

      protected cn.vonce.sql.helper.Wrapper conditionHandle(cn.vonce.sql.define.ConditionHandle<T> cond)