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
2ce40995
Commit
2ce40995
authored
Sep 30, 2017
by
Java-张振楠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改代码,以适配融创oracle数据库
parent
cd4e47b8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
ReportService.java
src/main/java/com/ejweb/modules/report/service/ReportService.java
+1
-1
ReportDao.xml
src/main/resources/mappings/modules/report/ReportDao.xml
+1
-1
reportForm.jsp
src/main/webapp/WEB-INF/views/modules/report/reportForm.jsp
+5
-1
reportList.jsp
src/main/webapp/WEB-INF/views/modules/report/reportList.jsp
+1
-1
No files found.
src/main/java/com/ejweb/modules/report/service/ReportService.java
View file @
2ce40995
...
...
@@ -340,7 +340,7 @@ public class ReportService extends CrudService<ReportDao, ReportEntity> {
if
(
reportStatus
.
equals
(
"0"
))
{
reportStatus
=
"未处理"
;
}
else
if
(
reportStatus
.
equals
(
"1"
))
{
reportStatus
=
"
处理
中"
;
reportStatus
=
"
核查
中"
;
}
else
if
(
reportStatus
.
equals
(
"2"
))
{
reportStatus
=
"已处理"
;
}
...
...
src/main/resources/mappings/modules/report/ReportDao.xml
View file @
2ce40995
...
...
@@ -72,7 +72,7 @@
AND r.report_time
>
= #{reportTimeFrom}
</if>
<if
test=
"reportTimeTo != null and reportTimeTo != ''"
>
AND r.report_time
<
= #{reportTimeTo}
AND r.report_time
<
= #{reportTimeTo}
|| ' 23:59:59'
</if>
<if
test=
"reportPersonName != null and reportPersonName != ''"
>
AND r.report_person_name LIKE
...
...
src/main/webapp/WEB-INF/views/modules/report/reportForm.jsp
View file @
2ce40995
...
...
@@ -9,6 +9,10 @@
$
(
document
).
ready
(
function
()
{
$
(
"#inputForm"
).
validate
({
submitHandler
:
function
(
form
)
{
messages
:
{
reportProject
:
{
maxlength
:
"最多输入{0}个字符"
}
reportContent
:
{
maxlength
:
"最多输入{0}个字符"
}
},
if
(
$
(
"#reportContent"
).
val
()
==
""
){
top
.
$
.
jBox
.
tip
(
'请填写内容'
,
'warning'
);
}
else
{
...
...
@@ -52,7 +56,7 @@
<div
class=
"control-group"
>
<label
class=
"control-label"
>
被举报项目:
</label>
<div
class=
"controls"
>
<form:input
path=
"reportProject"
htmlEscape=
"false"
maxlength=
"
20
0"
class=
"input-xlarge required"
/>
<form:input
path=
"reportProject"
htmlEscape=
"false"
maxlength=
"
5
0"
class=
"input-xlarge required"
/>
<span
class=
"help-inline"
><font
color=
"red"
>
*
</font>
</span>
</div>
</div>
...
...
src/main/webapp/WEB-INF/views/modules/report/reportList.jsp
View file @
2ce40995
...
...
@@ -69,7 +69,7 @@
<li
<
c:if
test=
"${flag eq null or flag eq ''}"
>
class="active"
</c:if>
>
<a
href=
"${ctx}/report/list"
>
核查中举报列表
</a></li>
<li
<
c:if
test=
"${flag eq '0'}"
>
class="active"
</c:if>
>
<a
href=
"${ctx}/report/list?flag=0"
>
未处理举报列表
</a></li>
<li
<
c:if
test=
"${flag eq '1'}"
>
class="active"
</c:if>
>
<a
href=
"${ctx}/report/list?flag=1"
>
举报列表
</a></li>
<li
style=
"float: right;"
><input
id=
"btnAdd"
class=
"btn btn-primary"
type=
"button"
value=
"
录入举报
"
/></li>
<li
style=
"float: right;"
><input
id=
"btnAdd"
class=
"btn btn-primary"
type=
"button"
value=
"
举报录入
"
/></li>
</ul>
<form:form
id=
"searchForm"
modelAttribute=
"report"
action=
"${ctx}/report/list"
method=
"post"
class=
"breadcrumb form-search"
>
<input
id=
"pageNo"
name=
"pageNo"
type=
"hidden"
value=
"${page.pageNo}"
/>
...
...
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