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
64c09567
Commit
64c09567
authored
Jan 29, 2018
by
java-lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改。。
parent
b32f885f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
5 deletions
+15
-5
ReportNoticeEntity.java
src/main/java/com/ejweb/modules/workbench/entity/ReportNoticeEntity.java
+10
-0
ReportNoticeDao.xml
src/main/resources/mappings/modules/workbench/ReportNoticeDao.xml
+2
-2
reportForm.jsp
src/main/webapp/WEB-INF/views/modules/report/reportForm.jsp
+2
-2
notice.jsp
src/main/webapp/WEB-INF/views/modules/workbench/notice.jsp
+1
-1
No files found.
src/main/java/com/ejweb/modules/workbench/entity/ReportNoticeEntity.java
View file @
64c09567
...
...
@@ -18,6 +18,8 @@ public class ReportNoticeEntity extends DataEntity<ReportNoticeEntity> {
private
String
status
;
private
String
sendFromName
;
public
String
getReportId
()
{
return
reportId
;
}
...
...
@@ -65,4 +67,12 @@ public class ReportNoticeEntity extends DataEntity<ReportNoticeEntity> {
public
void
setStatus
(
String
status
)
{
this
.
status
=
status
;
}
public
String
getSendFromName
()
{
return
sendFromName
;
}
public
void
setSendFromName
(
String
sendFromName
)
{
this
.
sendFromName
=
sendFromName
;
}
}
src/main/resources/mappings/modules/workbench/ReportNoticeDao.xml
View file @
64c09567
...
...
@@ -4,10 +4,10 @@
<select
id=
"findList"
parameterType=
"ReportNoticeEntity"
resultType=
"ReportNoticeEntity"
>
SELECT
c.*, CU.
"NAME
"
c.*, CU.
name AS "sendFromName
"
FROM
CT_BBTC_REPORT_NOTICE c
LEFT JOIN CT_BBTC_SYS_USER cu ON c.send_
to
_id = cu.id
LEFT JOIN CT_BBTC_SYS_USER cu ON c.send_
from
_id = cu.id
WHERE c.send_to_id = #{sendToId}
ORDER BY
c.send_time DESC
...
...
src/main/webapp/WEB-INF/views/modules/report/reportForm.jsp
View file @
64c09567
...
...
@@ -140,7 +140,7 @@
<div
class=
"control-group"
>
<label
class=
"control-label"
>
被举报项目/被举报部门:
</label>
<div
class=
"controls"
>
<form:input
path=
"
supplementTitle
"
htmlEscape=
"false"
maxlength=
"50"
class=
"input-xlarge required"
<form:input
path=
"
reportProject
"
htmlEscape=
"false"
maxlength=
"50"
class=
"input-xlarge required"
placeholder=
"最多输入50个字符"
/>
<span
class=
"help-inline"
><font
color=
"red"
>
*
</font>
</span>
</div>
...
...
@@ -148,7 +148,7 @@
<div
class=
"control-group"
>
<label
class=
"control-label"
>
标题:
</label>
<div
class=
"controls"
>
<form:input
path=
"
reportProject
"
htmlEscape=
"false"
maxlength=
"50"
class=
"input-xlarge required"
/>
<form:input
path=
"
supplementTitle
"
htmlEscape=
"false"
maxlength=
"50"
class=
"input-xlarge required"
/>
<span
class=
"help-inline"
><font
color=
"red"
>
*
</font>
</span>
</div>
</div>
...
...
src/main/webapp/WEB-INF/views/modules/workbench/notice.jsp
View file @
64c09567
...
...
@@ -71,7 +71,7 @@
<td></td>
<td><a
href=
"${ctx}/notice/view?id=${notice.id}&reportId=${notice.reportId}"
><span
<
c:if
test=
"${notice.status eq '1'}"
>
style="color: #6f4086"
</c:if>
>${notice.title}。
</span></a></td>
<td>
${notice.sendTime}
</td>
<td>
${notice.sendFrom
Id
}
</td>
<td>
${notice.sendFrom
Name
}
</td>
<td>
<c:if
test=
"${notice.status eq '0'}"
>
未读
</c:if>
<c:if
test=
"${notice.status eq '1'}"
>
已读
</c: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