Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sunac_report
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
java-sunac-report
sunac_report
Commits
594aaf7f
Commit
594aaf7f
authored
Sep 30, 2017
by
Java-李昕颖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工作台消息列表按权限查询
parent
23e9d3d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
ReportService.java
src/main/java/com/ejweb/modules/report/service/ReportService.java
+2
-0
ReportDao.xml
src/main/resources/mappings/modules/report/ReportDao.xml
+4
-1
No files found.
src/main/java/com/ejweb/modules/report/service/ReportService.java
View file @
594aaf7f
...
...
@@ -116,6 +116,8 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> {
reportEntity
.
setDealPersonName
(
user
.
getName
());
if
(
StringUtils
.
isNotBlank
(
reportEntity
.
getExchangeAfterUser
())){
reportEntity
.
setExchangeType
(
"1"
);
}
else
{
reportEntity
.
setExchangeAfterUser
(
user
.
getId
());
}
dao
.
addTrack
(
reportEntity
);
...
...
src/main/resources/mappings/modules/report/ReportDao.xml
View file @
594aaf7f
...
...
@@ -356,7 +356,7 @@
LEFT JOIN ct_bbtc_sys_user2role sur ON su.id = sur.user_id
LEFT JOIN ct_bbtc_sys_role sr ON sr.id = sur.role_id
WHERE
sr.name
`
= '系统管理员'
sr.name = '系统管理员'
</select>
<insert
id=
"addRecord"
>
...
...
@@ -472,6 +472,9 @@
r.update_date AS "updateDate"
FROM ct_bbtc_report r
WHERE r.report_status = #{processStatus}
<if
test=
"isAdmin != null"
>
AND r.exchange_after_user = #{isAdmin}
</if>
<if
test=
"startDate != null"
>
AND r.create_date >= #{startDate}
</if>
...
...
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