All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.minlia.rocket.data.batis.abstraction.service.AbstractBatisService Maven / Gradle / Ivy

There is a newer version: 2.0.4.1.RELEASE
Show newest version
package com.minlia.rocket.data.batis.abstraction.service;

import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.minlia.rocket.abstraction.service.ConditionalService;
import com.minlia.rocket.data.batis.abstraction.AbstractMapper;
import com.minlia.rocket.data.body.AbstractQueryRequestBody;
import com.minlia.rocket.data.interfaces.IRawService;
import java.io.Serializable;

/**
 * @author will
 * @since 2.0.3
 */
public interface AbstractBatisService extends
    //with find service support
    ConditionalService, IRawService {

  public AbstractMapper getBatisDao();

  /**
   * 搜索条件应该由后台服务控制,所以都在实现类里面进行条件组装
   */
  public default EntityWrapper getFindAllSpecification(QUERY queryRequestBody) {
    return null;
  }

  public default EntityWrapper getExistsSpecification(
      QUERY queryRequestBody) {
    return null;
  }

  public default EntityWrapper getCountSpecification(
      QUERY queryRequestBody) {
    return null;
  }

  public default EntityWrapper getDeleteByConditionSpecification(
      QUERY queryRequestBody) {
    return null;
  }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy