浏览代码

移除部分过时类

miemie 4 年之前
父节点
当前提交
2285fa0255

+ 1 - 0
mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/injector/methods/AlwaysUpdateSomeColumnById.java

@@ -46,6 +46,7 @@ import java.util.function.Predicate;
  */
 @NoArgsConstructor
 @AllArgsConstructor
+@SuppressWarnings("serial")
 public class AlwaysUpdateSomeColumnById extends AbstractMethod {
 
     /**

+ 2 - 0
mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/injector/methods/InsertBatchSomeColumn.java

@@ -60,8 +60,10 @@ import java.util.function.Predicate;
  * @author miemie
  * @since 2018-11-29
  */
+
 @NoArgsConstructor
 @AllArgsConstructor
+@SuppressWarnings("serial")
 public class InsertBatchSomeColumn extends AbstractMethod {
 
     /**

+ 1 - 0
mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/injector/methods/LogicDeleteByIdWithFill.java

@@ -41,6 +41,7 @@ import static java.util.stream.Collectors.toList;
  * @author miemie
  * @since 2018-11-09
  */
+@SuppressWarnings("serial")
 public class LogicDeleteByIdWithFill extends AbstractMethod {
 
     @Override

+ 1 - 0
mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/injector/methods/Upsert.java

@@ -31,6 +31,7 @@ import org.apache.ibatis.mapping.SqlSource;
  * @author fly
  * @since 2018-04-06
  */
+@SuppressWarnings("serial")
 public class Upsert extends AbstractMethod {
 
     @Override

+ 0 - 35
mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/injector/methods/additional/AlwaysUpdateSomeColumnById.java

@@ -1,35 +0,0 @@
-/*
- * Copyright (c) 2011-2021, baomidou (jobob@qq.com).
- *
- * 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
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * 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.extension.injector.methods.additional;
-
-import com.baomidou.mybatisplus.core.metadata.TableFieldInfo;
-import lombok.NoArgsConstructor;
-
-import java.util.function.Predicate;
-
-/**
- * @author hubin
- * @since 2019-04-12
- * @deprecated
- */
-@Deprecated
-@NoArgsConstructor
-public class AlwaysUpdateSomeColumnById extends com.baomidou.mybatisplus.extension.injector.methods.AlwaysUpdateSomeColumnById {
-
-    public AlwaysUpdateSomeColumnById(Predicate<TableFieldInfo> predicate) {
-        super(predicate);
-    }
-}

+ 0 - 33
mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/injector/methods/additional/InsertBatchSomeColumn.java

@@ -1,33 +0,0 @@
-/*
- * Copyright (c) 2011-2021, baomidou (jobob@qq.com).
- *
- * 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
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * 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.extension.injector.methods.additional;
-
-import com.baomidou.mybatisplus.core.metadata.TableFieldInfo;
-
-import java.util.function.Predicate;
-
-/**
- * @author miemie
- * @since 2018-11-29
- * @deprecated
- */
-@Deprecated
-public class InsertBatchSomeColumn extends com.baomidou.mybatisplus.extension.injector.methods.InsertBatchSomeColumn {
-
-    public InsertBatchSomeColumn(Predicate<TableFieldInfo> predicate) {
-        super(predicate);
-    }
-}

+ 0 - 25
mybatis-plus-extension/src/main/java/com/baomidou/mybatisplus/extension/injector/methods/additional/LogicDeleteByIdWithFill.java

@@ -1,25 +0,0 @@
-/*
- * Copyright (c) 2011-2021, baomidou (jobob@qq.com).
- *
- * 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
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
- *
- * 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.extension.injector.methods.additional;
-
-/**
- * @author miemie
- * @since 2018-11-09
- * @deprecated
- */
-@Deprecated
-public class LogicDeleteByIdWithFill extends com.baomidou.mybatisplus.extension.injector.methods.LogicDeleteByIdWithFill {
-}