DefaultMetaObjectHandler.java 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /**
  2. * Copyright (c) 2011-2014, hubin (jobob@qq.com).
  3. * <p>
  4. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  5. * use this file except in compliance with the License. You may obtain a copy of
  6. * the License at
  7. * <p>
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. * <p>
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  12. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  13. * License for the specific language governing permissions and limitations under
  14. * the License.
  15. */
  16. package com.baomidou.mybatisplus.entity;
  17. import org.apache.ibatis.reflection.MetaObject;
  18. import com.baomidou.mybatisplus.mapper.MetaObjectHandler;
  19. /**
  20. * <p>
  21. * 默认填充器关闭操作
  22. * </p>
  23. *
  24. * @author hubin
  25. * @since 2017-04-19
  26. */
  27. public class DefaultMetaObjectHandler extends MetaObjectHandler {
  28. @Override
  29. public void insertFill(MetaObject metaObject) {
  30. }
  31. @Override
  32. public void updateFill(MetaObject metaObject) {
  33. }
  34. @Override
  35. public boolean openInsertFill() {
  36. return false;
  37. }
  38. @Override
  39. public boolean openUpdateFill() {
  40. return false;
  41. }
  42. }