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
cf62224d
Commit
cf62224d
authored
Sep 18, 2017
by
mengxy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
消息中心
parent
6999b2bc
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
5 deletions
+7
-5
NoticeService.java
src/main/java/com/ejweb/modules/workbench/service/NoticeService.java
+1
-3
ReportNoticeMapper.xml
src/main/resources/mappings/modules/workbench/ReportNoticeMapper.xml
+2
-0
notice.jsp
src/main/webapp/WEB-INF/views/modules/workbench/notice.jsp
+1
-1
workbench.jsp
src/main/webapp/WEB-INF/views/modules/workbench/workbench.jsp
+3
-1
No files found.
src/main/java/com/ejweb/modules/workbench/service/NoticeService.java
View file @
cf62224d
...
@@ -25,14 +25,12 @@ public class NoticeService{
...
@@ -25,14 +25,12 @@ public class NoticeService{
*/
*/
public
Page
<
ReportNotice
>
selectBySendToId
(
Page
<
ReportNotice
>
page
,
ReportNotice
reportNotice
,
String
sendToId
)
throws
Exception
{
public
Page
<
ReportNotice
>
selectBySendToId
(
Page
<
ReportNotice
>
page
,
ReportNotice
reportNotice
,
String
sendToId
)
throws
Exception
{
List
<
ReportNotice
>
noticeList
=
noticeMapper
.
selectBySendToId
(
sendToId
);
List
<
ReportNotice
>
noticeList
=
noticeMapper
.
selectBySendToId
(
sendToId
);
long
l
=
0
;
for
(
ReportNotice
notice:
noticeList
){
for
(
ReportNotice
notice:
noticeList
){
User
user
=
UserUtils
.
get
(
notice
.
getSendFromId
());
User
user
=
UserUtils
.
get
(
notice
.
getSendFromId
());
notice
.
setSendFromId
(
user
.
getName
());
notice
.
setSendFromId
(
user
.
getName
());
l
++;
}
}
page
.
setList
(
noticeList
);
page
.
setList
(
noticeList
);
page
.
setCount
(
l
);
page
.
setCount
(
noticeList
.
size
()
);
return
page
;
return
page
;
}
}
public
void
updateByPrimaryKeySelective
(
ReportNotice
record
)
throws
Exception
{
public
void
updateByPrimaryKeySelective
(
ReportNotice
record
)
throws
Exception
{
...
...
src/main/resources/mappings/modules/workbench/ReportNoticeMapper.xml
View file @
cf62224d
...
@@ -156,5 +156,6 @@
...
@@ -156,5 +156,6 @@
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
FROM report_notice
FROM report_notice
WHERE send_to_id = #{sendToId,jdbcType=VARCHAR}
WHERE send_to_id = #{sendToId,jdbcType=VARCHAR}
order by create_date desc
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
src/main/webapp/WEB-INF/views/modules/workbench/notice.jsp
View file @
cf62224d
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
window
.
location
.
href
=
"${ctx}/notice/read?idArray="
+
idArray
;
window
.
location
.
href
=
"${ctx}/notice/read?idArray="
+
idArray
;
}
else
{
}
else
{
//弹窗
//弹窗
//alert("全部数据已为已读"
);
top
.
$
.
jBox
.
tip
(
"所有数据已读,请勿重复操作"
,
"系统提示"
,
null
,
null
);
}
}
}
}
},{
buttonsFocus
:
1
});
},{
buttonsFocus
:
1
});
...
...
src/main/webapp/WEB-INF/views/modules/workbench/workbench.jsp
View file @
cf62224d
...
@@ -247,7 +247,9 @@
...
@@ -247,7 +247,9 @@
<td
style=
"width: 10%"
>
融E
${workbench.sunacE}
</td>
<td
style=
"width: 10%"
>
融E
${workbench.sunacE}
</td>
</tr>
</tr>
<tr
height=
"60"
>
<tr
height=
"60"
>
<td
style=
"width: 10%"
><h4>
${workbench.total}
</h4>
举报事件
</td>
<td
style=
"width: 10%"
><h4>
${workbench.total}
</h4>
举报事件
</td>
<td>
融创OA系统
${workbench.oa}
</td>
<td>
融创OA系统
${workbench.oa}
</td>
<td>
线下扫码
${workbench.offline}
</td>
<td>
线下扫码
${workbench.offline}
</td>
<td>
电话
${workbench.phone}
</td>
<td>
电话
${workbench.phone}
</td>
...
...
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