| | |
| | | */ |
| | | <T extends Serializable> int insert(Class<?> mapperClass, T entity); |
| | | |
| | | /**新增,返回主键 |
| | | * @param mapperClass mapper类 |
| | | * @param entity 实体类 |
| | | * @return 条数 |
| | | */ |
| | | <T extends Serializable> int insertById(Class<?> mapperClass, T entity); |
| | | |
| | | /**查询条数 |
| | | * @param mapperClass mapper类 |
| | | * @param sqlSentence 查询参数类 |
| | |
| | | * @return 返回条数 |
| | | */ |
| | | <T extends Serializable> int deleteById(Class<?> mapperClass, Object object); |
| | | |
| | | |
| | | /**更新sql语句(全语句) |
| | | * @param sqlSentence 查询参数类 |
| | | * @return 返回条数 |
| | | */ |
| | | <T extends Serializable> int updateSentence(SqlSentence sqlSentence); |
| | | |
| | | /**查询条数语句(全语句) |
| | | * @param sqlSentence 查询参数类 |
| | | * @return 返回条数 |
| | | */ |
| | | <T extends Serializable> int selectCountSql(SqlSentence sqlSentence); |
| | | |
| | | } |