StringsqlCount="select count(1) from enters where (type <> 1 or (type = 1 and is_certification = 'yes')) and created_at"+(StringUtils.isBlank(incrDt)?"<":">=")+"curdate()";
StringsqlCount="select count(1) from (\n"+
" select row_number() over (partition by user_id,type,idcode,name order by updated_at desc) rn,e.* from enters e where e.is_certification = 'yes' and e.deleted_at is null and created_at"+(StringUtils.isBlank(incrDt)?"<":">=")+"curdate()\n"+
*[Configure the Spring AOT Plugin](https://docs.spring.io/spring-native/docs/0.9.2-SNAPSHOT/reference/htmlsingle/#spring-aot-maven)
## Spring Native
This project has been configured to let you generate a lightweight container running a native executable.
Docker should be installed and configured on your machine prior to creating the image, see [the Getting Started section of the reference guide](https://docs.spring.io/spring-native/docs/0.9.2-SNAPSHOT/reference/htmlsingle/#getting-started-buildpacks).
To create the image, run the following goal:
```
$ ./mvnw spring-boot:build-image
```
Then, you can run the app like any other container:
```
$ docker run --rm liquidnet-service-ticket-impl:0.0.1-SNAPSHOT