Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Springboot Plus
Commits
dab16bb3
Commit
dab16bb3
authored
Aug 27, 2021
by
andnnl
Browse files
包导入
parent
f01f85a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
admin-core/src/main/resources/codeTemplate/java/controller.java
View file @
dab16bb3
...
...
@@ -164,7 +164,7 @@ public class ${entity.name}Controller{
*/
String
excelTemplate
=
"excelTemplates/${target.urlBase}/${entity.code}/你的excel模板文件名字.xls"
;
// PageQuery<${entity.name}> page = condtion.getPageQuery();
PageRequest
<
$
{
entity
.
name
>
page
=
condition
.
getPageRequest
();
//
PageRequest<${entity.name
}
> page=condition.getPageRequest();
condition
.
setPage
(
1
);
condition
.
setLimit
(
Integer
.
MAX_VALUE
);
//取出全部符合条件的
...
...
admin-core/src/main/resources/codeTemplate/java/service.java
View file @
dab16bb3
...
...
@@ -3,7 +3,7 @@ package ${package};
import
${
basePackage
}.
dao
.
$
{
entity
.
name
}
Dao
;
import
${
basePackage
}.
entity
.
$
{
entity
.
name
};
import
${
basePackage
}.
web
.
query
.
$
{
entity
.
name
}
Query
;
import
com.ibeetl.admin.core.service.CoreBaseService
;
...
...
@@ -13,6 +13,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
java.util.List
;
import
java.util.Map
;
import
org.beetl.sql.core.page.PageRequest
;
import
org.beetl.sql.core.page.PageResult
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment