Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
property-management
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
property-management
Commits
bb5fe95d
Commit
bb5fe95d
authored
Jul 18, 2020
by
zhangdaiscott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug[代码生成器] 树代码生成器模板,实体写死了
parent
1c63f74a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
jeecg-boot/jeecg-boot-module-system/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/controller/${entityName}Controller.javai
+2
-2
No files found.
jeecg-boot/jeecg-boot-module-system/src/main/resources/jeecg/code-template-online/default/tree/java/${bussiPackage}/${entityPackage}/controller/${entityName}Controller.javai
View file @
bb5fe95d
...
...
@@ -87,7 +87,7 @@ public class ${entityName}Controller extends JeecgController<${entityName}, I${e
/**
*
获取子数据
*
@
param
testTree
*
@
param
${
entityName
}
*
@
param
req
*
@
return
*/
...
...
@@ -97,7 +97,7 @@ public class ${entityName}Controller extends JeecgController<${entityName}, I${e
public
Result
<?>
queryPageList
(${
entityName
}
${
entityName
?
uncap_first
},
HttpServletRequest
req
)
{
QueryWrapper
<${
entityName
}>
queryWrapper
=
QueryGenerator
.
initQueryWrapper
(${
entityName
?
uncap_first
},
req
.
getParameterMap
());
List
<${
entityName
}>
list
=
${
entityName
?
uncap_first
}
Service
.
list
(
queryWrapper
);
IPage
<
LvTestTree
>
pageList
=
new
Page
<>(
1
,
10
,
list
.
size
());
IPage
<
${
entityName
}
>
pageList
=
new
Page
<>(
1
,
10
,
list
.
size
());
pageList
.
setRecords
(
list
);
return
Result
.
ok
(
pageList
);
}
...
...
Write
Preview
Markdown
is supported
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