fwq
2023-09-01 569daa38882b9382a70ee47ac068bdce5a736eb3
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