chenjiahe
2023-02-07 1b181507f2564bfd327cc3a8e5d75a8620c3d09d
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