Skip to content

tongyangyeyue/spring-oxygen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

spring-oxygen

Spring Oxygen

Spring rapid development integration framework.

Github Build Maven Version Language grade: Java Coverage Status FOSSA Status

Wiki PRs Welcome Gitpod ready-to-code

Github Watch Github Star Github Fork

🐣 Intro

Spring Oxygen is rapid development integration framework for Spring. Important statement, enterprise-level development is recommended to be used with caution! For instructions on use, please check the Wiki carefully. Welcome to develop and maintain together, please follow the github development specification.

📦 Install

  • for Gradle
dependencies {
    implementation 'com.isxcode.oxygen:oxygen-spring-boot-starter:0.0.1'
}
  • for Maven
<dependency>
  <groupId>com.isxcode.oxygen</groupId>
  <artifactId>oxygen-spring-boot-starter</artifactId>
  <version>0.0.1</version>
</dependency>

🔨 Usage

import com.ispong.oxygen.flysql.pojo.enums.OrderType;
import org.springframework.stereotype.Repository;
import com.ispong.oxygen.flysql.core.Flysql;

import java.util.List;

@Repository
public class LeoDogsRepository {

    public List<LeoDogsEntity> customQuery() {

        return Flysql.select(LeoDogsEntity.class)
            .select("name", "age", "color")
            .eq("name", "alen")
            .between("age", 12, 20)
            .like("color", "red")
            .orderBy("userIndex", OrderType.DESC)
            .query();
    }
}

Thanks for free JetBrains Open Source license

jetbrains

About

🦄 Spring rapid development integration framework.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 97.6%
  • FreeMarker 2.4%