Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
tianjin-cement
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
竹天卫
tianjin-cement
Commits
13a63fe4
Commit
13a63fe4
authored
Oct 26, 2020
by
mengbali153
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
非标产值申请
parent
f44e6cc3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
NonStandardApplyController.java
...ement/business/controller/NonStandardApplyController.java
+2
-2
INonStandardApplyService.java
.../sc/cement/business/service/INonStandardApplyService.java
+1
-1
NonStandardApplyServiceImpl.java
...nt/business/service/impl/NonStandardApplyServiceImpl.java
+2
-1
No files found.
cement-business/src/main/java/cn/wise/sc/cement/business/controller/NonStandardApplyController.java
View file @
13a63fe4
...
@@ -35,9 +35,9 @@ public class NonStandardApplyController {
...
@@ -35,9 +35,9 @@ public class NonStandardApplyController {
@ApiOperation
(
value
=
"非标产值申请分页"
)
@ApiOperation
(
value
=
"非标产值申请分页"
)
@GetMapping
(
"/getPage"
)
@GetMapping
(
"/getPage"
)
public
BaseResponse
getPage
(
PageQuery
pageQuery
,
String
name
)
{
public
BaseResponse
getPage
(
PageQuery
pageQuery
,
String
name
,
Integer
userId
)
{
try
{
try
{
return
iNonStandardApplyService
.
getPage
(
pageQuery
,
name
);
return
iNonStandardApplyService
.
getPage
(
pageQuery
,
name
,
userId
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
debug
(
"非标产值申请分页列表{}"
,
e
);
log
.
debug
(
"非标产值申请分页列表{}"
,
e
);
}
}
...
...
cement-business/src/main/java/cn/wise/sc/cement/business/service/INonStandardApplyService.java
View file @
13a63fe4
...
@@ -27,7 +27,7 @@ public interface INonStandardApplyService extends IService<NonStandardApply> {
...
@@ -27,7 +27,7 @@ public interface INonStandardApplyService extends IService<NonStandardApply> {
* @param pageQuery 非标产值信息分页
* @param pageQuery 非标产值信息分页
* @return IPage<NoneStandardApply>
* @return IPage<NoneStandardApply>
*/
*/
BaseResponse
<
IPage
<
NonStandardApplyVo
>>
getPage
(
PageQuery
pageQuery
,
String
name
);
BaseResponse
<
IPage
<
NonStandardApplyVo
>>
getPage
(
PageQuery
pageQuery
,
String
name
,
Integer
userId
);
/**
/**
* 获取所有非标产值申请信息
* 获取所有非标产值申请信息
...
...
cement-business/src/main/java/cn/wise/sc/cement/business/service/impl/NonStandardApplyServiceImpl.java
View file @
13a63fe4
...
@@ -43,9 +43,10 @@ public class NonStandardApplyServiceImpl extends ServiceImpl<NonStandardApplyMap
...
@@ -43,9 +43,10 @@ public class NonStandardApplyServiceImpl extends ServiceImpl<NonStandardApplyMap
private
NonStandardApplyMapper
nonStandardApplyMapper
;
private
NonStandardApplyMapper
nonStandardApplyMapper
;
@Override
@Override
public
BaseResponse
<
IPage
<
NonStandardApplyVo
>>
getPage
(
PageQuery
pageQuery
,
String
name
)
{
public
BaseResponse
<
IPage
<
NonStandardApplyVo
>>
getPage
(
PageQuery
pageQuery
,
String
name
,
Integer
userId
)
{
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"name"
,
name
);
params
.
put
(
"name"
,
name
);
params
.
put
(
"userId"
,
userId
);
Page
<
NonStandardApplyVo
>
page
=
new
Page
<>(
pageQuery
.
getPageNo
(),
pageQuery
.
getPageSize
());
Page
<
NonStandardApplyVo
>
page
=
new
Page
<>(
pageQuery
.
getPageNo
(),
pageQuery
.
getPageSize
());
IPage
<
NonStandardApplyVo
>
pages
=
nonStandardApplyMapper
.
getPage
(
page
,
params
);
IPage
<
NonStandardApplyVo
>
pages
=
nonStandardApplyMapper
.
getPage
(
page
,
params
);
return
BaseResponse
.
okData
(
pages
);
return
BaseResponse
.
okData
(
pages
);
...
...
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