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
2f24142a
Commit
2f24142a
authored
Jun 30, 2021
by
gaodongdong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://172.16.10.76/moa/amos-boot-biz
into developer
parents
a6f26d4f
bb7e3bc8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
FireChemicalController.java
...oot/module/jcs/biz/controller/FireChemicalController.java
+3
-2
FireChemicalServiceImpl.java
.../module/jcs/biz/service/impl/FireChemicalServiceImpl.java
+2
-2
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/controller/FireChemicalController.java
View file @
2f24142a
...
@@ -85,7 +85,7 @@ public class FireChemicalController extends BaseController {
...
@@ -85,7 +85,7 @@ public class FireChemicalController extends BaseController {
*@param current 每页大小
*@param current 每页大小
* @return
* @return
*/
*/
@TycloudOperation
(
needAuth
=
true
,
ApiLevel
=
UserType
.
AGENCY
)
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@GetMapping
(
value
=
"/page"
)
@GetMapping
(
value
=
"/page"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"危化品分页查询"
,
notes
=
"危化品分页查询"
)
@ApiOperation
(
httpMethod
=
"GET"
,
value
=
"危化品分页查询"
,
notes
=
"危化品分页查询"
)
public
ResponseModel
<
Page
<
FireChemicalDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
,
String
casNo
,
String
formula
,
String
name
)
public
ResponseModel
<
Page
<
FireChemicalDto
>>
queryForPage
(
@RequestParam
(
value
=
"current"
)
int
current
,
@RequestParam
(
value
=
"size"
)
int
size
,
String
casNo
,
String
formula
,
String
name
)
...
@@ -93,7 +93,8 @@ public class FireChemicalController extends BaseController {
...
@@ -93,7 +93,8 @@ public class FireChemicalController extends BaseController {
Page
<
FireChemicalDto
>
page
=
new
Page
<
FireChemicalDto
>();
Page
<
FireChemicalDto
>
page
=
new
Page
<
FireChemicalDto
>();
page
.
setCurrent
(
current
);
page
.
setCurrent
(
current
);
page
.
setSize
(
size
);
page
.
setSize
(
size
);
return
ResponseHelper
.
buildResponse
(
fireChemicalServiceImpl
.
queryForFireChemicalPage
(
page
,
casNo
,
formula
,
name
));
boolean
isDelete
=
false
;
return
ResponseHelper
.
buildResponse
(
fireChemicalServiceImpl
.
queryForFireChemicalPage
(
page
,
casNo
,
formula
,
name
,
isDelete
));
}
}
/**
/**
*列表全部数据查询
*列表全部数据查询
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-jcs-biz/src/main/java/com/yeejoin/amos/boot/module/jcs/biz/service/impl/FireChemicalServiceImpl.java
View file @
2f24142a
...
@@ -27,8 +27,8 @@ public class FireChemicalServiceImpl extends BaseService<FireChemicalDto,FireChe
...
@@ -27,8 +27,8 @@ public class FireChemicalServiceImpl extends BaseService<FireChemicalDto,FireChe
/**
/**
* 分页查询
* 分页查询
*/
*/
public
Page
<
FireChemicalDto
>
queryForFireChemicalPage
(
Page
<
FireChemicalDto
>
page
,
@Condition
(
Operator
.
like
)
String
casNo
,
@Condition
(
Operator
.
like
)
String
formula
,
@Condition
(
Operator
.
like
)
String
name
)
{
public
Page
<
FireChemicalDto
>
queryForFireChemicalPage
(
Page
<
FireChemicalDto
>
page
,
@Condition
(
Operator
.
like
)
String
casNo
,
@Condition
(
Operator
.
like
)
String
formula
,
@Condition
(
Operator
.
like
)
String
name
,
boolean
isDelete
)
{
return
this
.
queryForPage
(
page
,
""
,
false
,
casNo
,
formula
,
name
);
return
this
.
queryForPage
(
page
,
""
,
false
,
casNo
,
formula
,
name
,
isDelete
);
}
}
/**
/**
...
...
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