T - @UseMybatis @Service public class MybatisSqlBeanServiceImpl<T,ID> extends BaseSqlBeanServiceImpl implements cn.vonce.sql.service.SqlBeanService<T,ID>, cn.vonce.sql.service.TableService
| 构造器和说明 |
|---|
MybatisSqlBeanServiceImpl() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
backup() |
void |
backup(String targetTableName) |
void |
backup(String targetTableName,
cn.vonce.sql.bean.Column[] columns,
cn.vonce.sql.helper.Wrapper wrapper) |
void |
backup(String targetSchema,
String targetTableName) |
void |
backup(String targetSchema,
String targetTableName,
cn.vonce.sql.bean.Column[] columns,
cn.vonce.sql.helper.Wrapper wrapper) |
int |
copy(String targetTableName,
cn.vonce.sql.bean.Column[] columns,
cn.vonce.sql.helper.Wrapper wrapper) |
int |
copy(String targetSchema,
String targetTableName,
cn.vonce.sql.bean.Column[] columns,
cn.vonce.sql.helper.Wrapper wrapper) |
int |
copy(String targetSchema,
String targetTableName,
cn.vonce.sql.helper.Wrapper wrapper) |
int |
copy(String targetTableName,
cn.vonce.sql.helper.Wrapper wrapper) |
int |
count(Class<?> clazz,
cn.vonce.sql.bean.Select select) |
int |
count(cn.vonce.sql.bean.Select select) |
int |
countAll() |
void |
createTable() |
int |
delete(cn.vonce.sql.bean.Delete delete) |
int |
delete(cn.vonce.sql.bean.Delete delete,
boolean ignore) |
int |
deleteByCondition(String where,
Object... args) |
int |
deleteByCondition(cn.vonce.sql.helper.Wrapper where) |
int |
deleteById(ID... id) |
void |
dropAndCreateTable() |
void |
dropTable() |
Class<?> |
getBeanClass() |
String |
getProductName() |
cn.vonce.sql.config.SqlBeanConfig |
getSqlBeanConfig() |
List<String> |
getTableList() |
int |
insert(List<T> beanList) |
int |
insert(T... bean) |
int |
inset(cn.vonce.sql.bean.Insert<T> insert) |
int |
logicallyDeleteByCondition(String where,
Object... args) |
int |
logicallyDeleteByCondition(cn.vonce.sql.helper.Wrapper where) |
int |
logicallyDeleteById(ID... id) |
<O> List<O> |
select(Class<O> returnType,
cn.vonce.sql.bean.Select select) |
List<T> |
select(cn.vonce.sql.bean.Select select) |
List<T> |
selectAll() |
<O> List<O> |
selectAll(Class<O> returnType) |
<O> List<O> |
selectAll(Class<O> returnType,
cn.vonce.sql.bean.Paging paging) |
List<T> |
selectAll(cn.vonce.sql.bean.Paging paging) |
<O> List<O> |
selectByCondition(Class<O> returnType,
cn.vonce.sql.bean.Paging paging,
String where,
Object... args) |
<O> List<O> |
selectByCondition(Class<O> returnType,
cn.vonce.sql.bean.Paging paging,
cn.vonce.sql.helper.Wrapper where) |
<O> List<O> |
selectByCondition(Class<O> returnType,
String where,
Object... args) |
<O> List<O> |
selectByCondition(Class<O> returnType,
cn.vonce.sql.helper.Wrapper where) |
List<T> |
selectByCondition(cn.vonce.sql.bean.Paging paging,
String where,
Object... args) |
List<T> |
selectByCondition(cn.vonce.sql.bean.Paging paging,
cn.vonce.sql.helper.Wrapper where) |
List<T> |
selectByCondition(String where,
Object... args) |
List<T> |
selectByCondition(cn.vonce.sql.helper.Wrapper where) |
<O> O |
selectById(Class<O> returnType,
ID id) |
T |
selectById(ID id) |
<O> List<O> |
selectByIds(Class<O> returnType,
ID... ids) |
List<T> |
selectByIds(ID... ids) |
int |
selectCountByCondition(String where,
Object... args) |
int |
selectCountByCondition(cn.vonce.sql.helper.Wrapper where) |
Map<String,Object> |
selectMap(cn.vonce.sql.bean.Select select) |
List<Map<String,Object>> |
selectMapList(cn.vonce.sql.bean.Select select) |
<O> O |
selectOne(Class<O> returnType,
cn.vonce.sql.bean.Select select) |
T |
selectOne(cn.vonce.sql.bean.Select select) |
<O> O |
selectOneByCondition(Class<O> returnType,
String where,
Object... args) |
<O> O |
selectOneByCondition(Class<O> returnType,
cn.vonce.sql.helper.Wrapper where) |
T |
selectOneByCondition(String where,
Object... args) |
T |
selectOneByCondition(cn.vonce.sql.helper.Wrapper where) |
int |
update(cn.vonce.sql.bean.Update<T> update) |
int |
update(cn.vonce.sql.bean.Update<T> update,
boolean ignore) |
int |
updateByBeanCondition(T bean,
boolean updateNotNull,
boolean optimisticLock,
String where) |
int |
updateByBeanCondition(T bean,
boolean updateNotNull,
boolean optimisticLock,
String[] filterFields,
String where) |
int |
updateByBeanId(T bean,
boolean updateNotNull,
boolean optimisticLock) |
int |
updateByBeanId(T bean,
boolean updateNotNull,
boolean optimisticLock,
String[] filterFields) |
int |
updateByCondition(T bean,
boolean updateNotNull,
boolean optimisticLock,
String[] filterFields,
String where,
Object... args) |
int |
updateByCondition(T bean,
boolean updateNotNull,
boolean optimisticLock,
String[] filterFields,
cn.vonce.sql.helper.Wrapper where) |
int |
updateByCondition(T bean,
boolean updateNotNull,
boolean optimisticLock,
String where,
Object... args) |
int |
updateByCondition(T bean,
boolean updateNotNull,
boolean optimisticLock,
cn.vonce.sql.helper.Wrapper where) |
int |
updateById(T bean,
ID id,
boolean updateNotNull,
boolean optimisticLock) |
int |
updateById(T bean,
ID id,
boolean updateNotNull,
boolean optimisticLock,
String[] filterFields) |
getSqlBeanDBpublic cn.vonce.sql.config.SqlBeanConfig getSqlBeanConfig()
getSqlBeanConfig 在类中 BaseSqlBeanServiceImplpublic String getProductName()
getProductName 在类中 BaseSqlBeanServiceImplpublic Class<?> getBeanClass()
getBeanClass 在接口中 cn.vonce.sql.service.TableService@DbSwitch(value=SLAVE) public <O> O selectOne(Class<O> returnType, cn.vonce.sql.bean.Select select)
@DbSwitch(value=SLAVE) public Map<String,Object> selectMap(cn.vonce.sql.bean.Select select)
@DbSwitch(value=SLAVE) public T selectOneByCondition(String where, Object... args)
@DbSwitch(value=SLAVE) public <O> O selectOneByCondition(Class<O> returnType, String where, Object... args)
@DbSwitch(value=SLAVE) public T selectOneByCondition(cn.vonce.sql.helper.Wrapper where)
@DbSwitch(value=SLAVE) public <O> O selectOneByCondition(Class<O> returnType, cn.vonce.sql.helper.Wrapper where)
@DbSwitch(value=SLAVE) public <O> List<O> selectByCondition(Class<O> returnType, String where, Object... args)
@DbSwitch(value=SLAVE) public <O> List<O> selectByCondition(Class<O> returnType, cn.vonce.sql.helper.Wrapper where)
@DbSwitch(value=SLAVE) public <O> List<O> selectByCondition(Class<O> returnType, cn.vonce.sql.bean.Paging paging, String where, Object... args)
@DbSwitch(value=SLAVE) public <O> List<O> selectByCondition(Class<O> returnType, cn.vonce.sql.bean.Paging paging, cn.vonce.sql.helper.Wrapper where)
@DbSwitch(value=SLAVE) public List<T> selectByCondition(String where, Object... args)
@DbSwitch(value=SLAVE) public List<T> selectByCondition(cn.vonce.sql.helper.Wrapper where)
@DbSwitch(value=SLAVE) public List<T> selectByCondition(cn.vonce.sql.bean.Paging paging, String where, Object... args)
@DbSwitch(value=SLAVE) public List<T> selectByCondition(cn.vonce.sql.bean.Paging paging, cn.vonce.sql.helper.Wrapper where)
@DbSwitch(value=SLAVE) public int selectCountByCondition(String where, Object... args)
@DbSwitch(value=SLAVE) public int selectCountByCondition(cn.vonce.sql.helper.Wrapper where)
@DbSwitch(value=SLAVE) public <O> List<O> selectAll(Class<O> returnType, cn.vonce.sql.bean.Paging paging)
@DbSwitch(value=SLAVE) public List<Map<String,Object>> selectMapList(cn.vonce.sql.bean.Select select)
@DbSwitch(value=SLAVE) public <O> List<O> select(Class<O> returnType, cn.vonce.sql.bean.Select select)
@DbSwitch(value=MASTER) public int deleteById(ID... id)
deleteById 在接口中 cn.vonce.sql.service.DeleteService<ID>@DbSwitch(value=MASTER) public int deleteByCondition(String where, Object... args)
deleteByCondition 在接口中 cn.vonce.sql.service.DeleteService<ID>@DbSwitch(value=MASTER) public int deleteByCondition(cn.vonce.sql.helper.Wrapper where)
deleteByCondition 在接口中 cn.vonce.sql.service.DeleteService<ID>@DbSwitch(value=MASTER) public int delete(cn.vonce.sql.bean.Delete delete)
delete 在接口中 cn.vonce.sql.service.DeleteService<ID>@DbSwitch(value=MASTER) public int delete(cn.vonce.sql.bean.Delete delete, boolean ignore)
delete 在接口中 cn.vonce.sql.service.DeleteService<ID>@DbSwitch(value=MASTER) public int logicallyDeleteById(ID... id)
logicallyDeleteById 在接口中 cn.vonce.sql.service.DeleteService<ID>@DbSwitch(value=MASTER) public int logicallyDeleteByCondition(String where, Object... args)
logicallyDeleteByCondition 在接口中 cn.vonce.sql.service.DeleteService<ID>@DbSwitch(value=MASTER) public int logicallyDeleteByCondition(cn.vonce.sql.helper.Wrapper where)
logicallyDeleteByCondition 在接口中 cn.vonce.sql.service.DeleteService<ID>@DbSwitch(value=MASTER) public int update(cn.vonce.sql.bean.Update<T> update, boolean ignore)
@DbSwitch(value=MASTER) public int updateById(T bean, ID id, boolean updateNotNull, boolean optimisticLock)
@DbSwitch(value=MASTER) public int updateById(T bean, ID id, boolean updateNotNull, boolean optimisticLock, String[] filterFields)
@DbSwitch(value=MASTER) public int updateByBeanId(T bean, boolean updateNotNull, boolean optimisticLock)
@DbSwitch(value=MASTER) public int updateByBeanId(T bean, boolean updateNotNull, boolean optimisticLock, String[] filterFields)
@DbSwitch(value=MASTER) public int updateByCondition(T bean, boolean updateNotNull, boolean optimisticLock, String where, Object... args)
@DbSwitch(value=MASTER) public int updateByCondition(T bean, boolean updateNotNull, boolean optimisticLock, cn.vonce.sql.helper.Wrapper where)
@DbSwitch(value=MASTER) public int updateByCondition(T bean, boolean updateNotNull, boolean optimisticLock, String[] filterFields, String where, Object... args)
@DbSwitch(value=MASTER) public int updateByCondition(T bean, boolean updateNotNull, boolean optimisticLock, String[] filterFields, cn.vonce.sql.helper.Wrapper where)
@DbSwitch(value=MASTER) public int updateByBeanCondition(T bean, boolean updateNotNull, boolean optimisticLock, String where)
@DbSwitch(value=MASTER) public int updateByBeanCondition(T bean, boolean updateNotNull, boolean optimisticLock, String[] filterFields, String where)
@DbSwitch(value=MASTER) public int insert(T... bean)
insert 在接口中 cn.vonce.sql.service.InsertService<T>@DbSwitch(value=MASTER) public int insert(List<T> beanList)
insert 在接口中 cn.vonce.sql.service.InsertService<T>@DbSwitch(value=MASTER) public int inset(cn.vonce.sql.bean.Insert<T> insert)
inset 在接口中 cn.vonce.sql.service.InsertService<T>@DbSwitch(value=MASTER) public String backup()
backup 在接口中 cn.vonce.sql.service.TableService@DbSwitch(value=MASTER) public void backup(String targetTableName)
backup 在接口中 cn.vonce.sql.service.TableService@DbSwitch(value=MASTER) public void backup(String targetSchema, String targetTableName)
backup 在接口中 cn.vonce.sql.service.TableService@DbSwitch(value=MASTER) public void backup(String targetTableName, cn.vonce.sql.bean.Column[] columns, cn.vonce.sql.helper.Wrapper wrapper)
backup 在接口中 cn.vonce.sql.service.TableService@DbSwitch(value=MASTER) public void backup(String targetSchema, String targetTableName, cn.vonce.sql.bean.Column[] columns, cn.vonce.sql.helper.Wrapper wrapper)
backup 在接口中 cn.vonce.sql.service.TableService@DbSwitch(value=MASTER) public int copy(String targetTableName, cn.vonce.sql.helper.Wrapper wrapper)
copy 在接口中 cn.vonce.sql.service.TableService@DbSwitch(value=MASTER) public int copy(String targetSchema, String targetTableName, cn.vonce.sql.helper.Wrapper wrapper)
copy 在接口中 cn.vonce.sql.service.TableService@DbSwitch(value=MASTER) public int copy(String targetTableName, cn.vonce.sql.bean.Column[] columns, cn.vonce.sql.helper.Wrapper wrapper)
copy 在接口中 cn.vonce.sql.service.TableService@DbSwitch(value=MASTER) public int copy(String targetSchema, String targetTableName, cn.vonce.sql.bean.Column[] columns, cn.vonce.sql.helper.Wrapper wrapper)
copy 在接口中 cn.vonce.sql.service.TableService@DbSwitch(value=MASTER) public void dropTable()
dropTable 在接口中 cn.vonce.sql.service.TableService@DbSwitch(value=MASTER) public void createTable()
createTable 在接口中 cn.vonce.sql.service.TableService@DbSwitch(value=MASTER) public void dropAndCreateTable()
dropAndCreateTable 在接口中 cn.vonce.sql.service.TableServiceCopyright © 2021. All rights reserved.