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
41d2f4d4
Commit
41d2f4d4
authored
Nov 06, 2020
by
mengbali153
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
非标产值审批调整
parent
f87b3e8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
NonStandardApprovalMapper.xml
.../cement/business/mapper/xml/NonStandardApprovalMapper.xml
+1
-0
NonStandardApprovalServiceImpl.java
...business/service/impl/NonStandardApprovalServiceImpl.java
+1
-2
No files found.
cement-business/src/main/java/cn/wise/sc/cement/business/mapper/xml/NonStandardApprovalMapper.xml
View file @
41d2f4d4
...
...
@@ -24,6 +24,7 @@
from nonstandard_apply na
LEFT JOIN sys_user su ON su.id = na.user_id
<include
refid=
"where"
/>
<where>
na.`status` != 0
</where>
order by na.id asc
</select>
...
...
cement-business/src/main/java/cn/wise/sc/cement/business/service/impl/NonStandardApprovalServiceImpl.java
View file @
41d2f4d4
...
...
@@ -41,7 +41,6 @@ public class NonStandardApprovalServiceImpl extends ServiceImpl<NonStandardAppro
public
BaseResponse
<
IPage
<
NonStandardApprovalVo
>>
getPage
(
PageQuery
pageQuery
,
String
name
,
Integer
status
)
{
Map
<
String
,
Object
>
params
=
new
HashMap
<>();
params
.
put
(
"name"
,
name
);
params
.
put
(
"status"
,
status
);
Page
<
NonStandardApprovalVo
>
page
=
new
Page
<>(
pageQuery
.
getPageNo
(),
pageQuery
.
getPageSize
());
IPage
<
NonStandardApprovalVo
>
pages
=
nonStandardApprovalMapper
.
getPage
(
page
,
params
);
return
BaseResponse
.
okData
(
pages
);
...
...
@@ -50,7 +49,7 @@ public class NonStandardApprovalServiceImpl extends ServiceImpl<NonStandardAppro
@Override
public
BaseResponse
<
List
<
NonStandardApprovalVo
>>
getList
()
{
QueryWrapper
<
NonStandardApproval
>
qw
=
new
QueryWrapper
<>();
qw
.
gt
(
"status"
,
0
);
qw
.
ne
(
"status"
,
0
);
List
<
NonStandardApprovalVo
>
list
=
nonStandardApprovalMapper
.
getList
(
qw
);
return
BaseResponse
.
okData
(
list
);
}
...
...
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