Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
项目统一框架
amos-boot-biz
Commits
918c6b9c
Commit
918c6b9c
authored
Mar 15, 2023
by
zhangyingbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改管材资源列表查询接口
parent
557b2681
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
MaterialController.java
...os/boot/module/ugp/biz/controller/MaterialController.java
+9
-3
No files found.
amos-boot-system-ugp/amos-boot-module-ugp-biz/src/main/java/com/yeejoin/amos/boot/module/ugp/biz/controller/MaterialController.java
View file @
918c6b9c
...
...
@@ -23,6 +23,7 @@ import java.util.HashMap;
import
java.util.List
;
import
java.util.Map
;
import
org.typroject.tyboot.core.foundation.utils.ValidationUtil
;
import
org.typroject.tyboot.core.restful.utils.ResponseHelper
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -151,10 +152,15 @@ public class MaterialController extends BaseController {
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
,
needAuth
=
false
)
@GetMapping
(
value
=
"/pageOutList"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"材料信息表分页查询"
,
notes
=
"材料信息表分页查询"
)
public
ResponseModel
<
IPage
<
MaterialDto
>>
queryPage
(
int
current
,
int
size
,
MaterialDto
material
)
{
public
ResponseModel
<
IPage
<
MaterialDto
>>
queryPage
(
@RequestParam
(
required
=
false
)
Integer
current
,
@RequestParam
(
required
=
false
)
Integer
size
,
MaterialDto
material
)
{
IPage
<
Material
>
page
=
new
Page
<>();
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
if
(
ValidationUtil
.
isEmpty
(
current
)
&&
ValidationUtil
.
isEmpty
(
size
)){
page
.
setCurrent
(
1
);
page
.
setSize
(
Long
.
MAX_VALUE
);
}
else
{
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
}
return
ResponseHelper
.
buildResponse
(
materialServiceImpl
.
queryOutPage
(
page
,
material
));
}
...
...
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