Explorar o código

添加 package-info 描述

jobob %!s(int64=8) %!d(string=hai) anos
pai
achega
d8522adf8b

+ 0 - 42
src/main/java/com/baomidou/mybatisplus/entity/CountOptimize.java

@@ -1,42 +0,0 @@
-package com.baomidou.mybatisplus.entity;
-
-/**
- * <p>
- * 优化Count SQL实体
- * </p>
- *
- * @author Caratacus
- * @Date 2016-11-13
- */
-public class CountOptimize {
-
-    /**
-     * 是否排序
-     */
-    private boolean orderBy = true;
-    /**
-     * 优化后计算Count的SQL
-     */
-    private String countSQL;
-
-    public static CountOptimize newInstance() {
-        return new CountOptimize();
-    }
-
-    public boolean isOrderBy() {
-        return orderBy;
-    }
-
-    public void setOrderBy(boolean orderBy) {
-        this.orderBy = orderBy;
-    }
-
-    public String getCountSQL() {
-        return countSQL;
-    }
-
-    public void setCountSQL(String countSQL) {
-        this.countSQL = countSQL;
-    }
-
-}

+ 4 - 0
src/main/java/com/baomidou/mybatisplus/plugins/pagination/optimize/package-info.java

@@ -0,0 +1,4 @@
+/**
+ * COUNT SQL 优化相关类
+ */
+package com.baomidou.mybatisplus.plugins.pagination.optimize;

+ 18 - 0
src/main/java/com/baomidou/mybatisplus/plugins/parser/AbstractSqlParser.java

@@ -1,3 +1,18 @@
+/**
+ * Copyright (c) 2011-2020, hubin (jobob@qq.com).
+ * <p>
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ * <p>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p>
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
 package com.baomidou.mybatisplus.plugins.parser;
 
 import org.apache.ibatis.logging.Log;
@@ -7,6 +22,9 @@ import org.apache.ibatis.logging.LogFactory;
  * <p>
  * 抽象 SQL 解析类
  * </p>
+ *
+ * @author hubin
+ * @Date 2017-06-20
  */
 public abstract class AbstractSqlParser {
 

+ 21 - 1
src/main/java/com/baomidou/mybatisplus/plugins/parser/SqlInfo.java

@@ -1,7 +1,27 @@
+/**
+ * Copyright (c) 2011-2020, hubin (jobob@qq.com).
+ * <p>
+ * Licensed under the Apache License, Version 2.0 (the "License"); you may not
+ * use this file except in compliance with the License. You may obtain a copy of
+ * the License at
+ * <p>
+ * http://www.apache.org/licenses/LICENSE-2.0
+ * <p>
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ * License for the specific language governing permissions and limitations under
+ * the License.
+ */
 package com.baomidou.mybatisplus.plugins.parser;
 
 /**
- * Created by jobob on 17/6/20.
+ * <p>
+ * Sql Info
+ * </p>
+ *
+ * @author hubin
+ * @Date 2017-06-20
  */
 public class SqlInfo {
 

+ 4 - 0
src/main/java/com/baomidou/mybatisplus/plugins/parser/package-info.java

@@ -0,0 +1,4 @@
+/**
+ * SQL 解析相关类
+ */
+package com.baomidou.mybatisplus.plugins.parser;