src/main/java/com/hx/common/service/impl/CommonDaoImpl.java
@@ -29,6 +29,11 @@ return sqlSessionFactory.openSession().insert(getStatement(mapperClass,"insert"),entity); } @Override public <T extends Serializable> int insertById(Class<?> mapperClass, T entity) { return sqlSessionFactory.openSession().insert(getStatement(mapperClass,"insertById"),entity); } /**获取条数 * @return*/ @Override