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
960a3693
Commit
960a3693
authored
Nov 16, 2017
by
java-lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
小问题修改
parent
8c7c223d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
16 additions
and
10 deletions
+16
-10
WorkbenchService.java
src/main/java/com/ejweb/modules/workbench/service/WorkbenchService.java
+3
-3
ejweb.properties
src/main/resources/ejweb.properties
+7
-2
ReportDao.xml
src/main/resources/mappings/modules/report/ReportDao.xml
+2
-1
reportDeliver.jsp
src/main/webapp/WEB-INF/views/modules/report/reportDeliver.jsp
+1
-1
reportList.jsp
src/main/webapp/WEB-INF/views/modules/report/reportList.jsp
+1
-1
reportTrack.jsp
src/main/webapp/WEB-INF/views/modules/report/reportTrack.jsp
+0
-0
workbench.jsp
src/main/webapp/WEB-INF/views/modules/workbench/workbench.jsp
+2
-2
No files found.
src/main/java/com/ejweb/modules/workbench/service/WorkbenchService.java
View file @
960a3693
...
@@ -44,13 +44,13 @@ public class WorkbenchService extends CrudService<ReportDao, ReportEntity> {
...
@@ -44,13 +44,13 @@ public class WorkbenchService extends CrudService<ReportDao, ReportEntity> {
for
(
HashMap
res:
results
)
{
for
(
HashMap
res:
results
)
{
if
(
StringUtils
.
isNotBlank
((
String
)
res
.
get
(
"DEAL_RESULT"
))){
if
(
StringUtils
.
isNotBlank
((
String
)
res
.
get
(
"DEAL_RESULT"
))){
if
(
"1"
.
equals
((
String
)
res
.
get
(
"DEAL_RESULT"
))){
if
(
"1"
.
equals
((
String
)
res
.
get
(
"DEAL_RESULT"
))){
//
投
诉
//
移交客
诉
workbench
.
setComplainNum
(
Integer
.
valueOf
(
String
.
valueOf
(
res
.
get
(
"COUNT(DEAL_RESULT)"
))));
workbench
.
setComplainNum
(
Integer
.
valueOf
(
String
.
valueOf
(
res
.
get
(
"COUNT(DEAL_RESULT)"
))));
}
else
if
(
"2"
.
equals
((
String
)
res
.
get
(
"DEAL_RESULT"
))){
}
else
if
(
"2"
.
equals
((
String
)
res
.
get
(
"DEAL_RESULT"
))){
//无效
//
举报
无效
workbench
.
setInvalid
(
Integer
.
valueOf
(
String
.
valueOf
(
res
.
get
(
"COUNT(DEAL_RESULT)"
))));
workbench
.
setInvalid
(
Integer
.
valueOf
(
String
.
valueOf
(
res
.
get
(
"COUNT(DEAL_RESULT)"
))));
}
else
if
(
"3"
.
equals
((
String
)
res
.
get
(
"DEAL_RESULT"
))){
}
else
if
(
"3"
.
equals
((
String
)
res
.
get
(
"DEAL_RESULT"
))){
//
属实
//
举报受理
workbench
.
setVerified
(
Integer
.
valueOf
(
String
.
valueOf
(
res
.
get
(
"COUNT(DEAL_RESULT)"
))));
workbench
.
setVerified
(
Integer
.
valueOf
(
String
.
valueOf
(
res
.
get
(
"COUNT(DEAL_RESULT)"
))));
}
}
...
...
src/main/resources/ejweb.properties
View file @
960a3693
...
@@ -73,7 +73,8 @@ userfiles.prefix=static
...
@@ -73,7 +73,8 @@ userfiles.prefix=static
#projectPath=D\:\\workspace\\jeesite
#projectPath=D\:\\workspace\\jeesite
# The Upload File DIR, Must End With File Separator
# The Upload File DIR, Must End With File Separator
file.upload.dir
=
/mnt/sunac/
file.upload.dir
=
/home/static/report/
#file.upload.dir=/mnt/sunac/
## file.upload.dir=D:\\WorkSapce\\JEESpace\\ejweb-api-1.0\\files\\
## file.upload.dir=D:\\WorkSapce\\JEESpace\\ejweb-api-1.0\\files\\
#file.upload.dir=/D:/uploads/
#file.upload.dir=/D:/uploads/
# Max Upload File Size: (default 30M=30*1024*1024(B)=31457280 bytes)
# Max Upload File Size: (default 30M=30*1024*1024(B)=31457280 bytes)
...
@@ -95,7 +96,11 @@ file.image.thumb.width=640
...
@@ -95,7 +96,11 @@ file.image.thumb.width=640
file.image.thumb.height
=
640
file.image.thumb.height
=
640
# The Prefix Url
# The Prefix Url
#file.prefix.url=http://123.56.146.81:8808/
#file.prefix.url=http://123.56.146.81:8808/
file.prefix.url
=
http://192.168.7.210:8081/
#ڴ
#file.prefix.url=http://192.168.7.210:8081/
#ڴʽ
#file.prefix.url=http://192.168.2.62:8082/
file.prefix.url
=
http://221.239.118.251:8899/static/report/
# The Prefix separator
# The Prefix separator
file.upload.path.separator
=
/
file.upload.path.separator
=
/
...
...
src/main/resources/mappings/modules/report/ReportDao.xml
View file @
960a3693
...
@@ -423,7 +423,7 @@
...
@@ -423,7 +423,7 @@
<select
id=
"getReportResult"
parameterType=
"com.ejweb.modules.workbench.Bean.WorkbenchBean"
resultType=
"java.util.HashMap"
>
<select
id=
"getReportResult"
parameterType=
"com.ejweb.modules.workbench.Bean.WorkbenchBean"
resultType=
"java.util.HashMap"
>
select deal_result,COUNT(deal_result)
select deal_result,COUNT(deal_result)
FROM ct_bbtc_report
FROM ct_bbtc_report
WHERE
report_status='2'
WHERE
1 = 1
<if
test=
"isAdmin != null"
>
<if
test=
"isAdmin != null"
>
AND exchange_after_user = #{isAdmin}
AND exchange_after_user = #{isAdmin}
</if>
</if>
...
@@ -543,6 +543,7 @@
...
@@ -543,6 +543,7 @@
r.supplement_title AS "supplementTitle",
r.supplement_title AS "supplementTitle",
r.supplement_type AS "supplementType",
r.supplement_type AS "supplementType",
r.supplement_area AS "supplementArea",
r.supplement_area AS "supplementArea",
r.supplement_department AS "supplementDepartment",
r.supplement_informant AS "supplementInformant",
r.supplement_informant AS "supplementInformant",
r.deal_person_name AS "dealPersonName",
r.deal_person_name AS "dealPersonName",
r.deal_result AS "dealResult",
r.deal_result AS "dealResult",
...
...
src/main/webapp/WEB-INF/views/modules/report/reportDeliver.jsp
View file @
960a3693
...
@@ -172,7 +172,7 @@
...
@@ -172,7 +172,7 @@
<td>
${report.reportTime}
</td>
<td>
${report.reportTime}
</td>
<td>
<td>
<c:if
test=
"${report.reportStatus eq '0'}"
>
未处理
</c:if>
<c:if
test=
"${report.reportStatus eq '0'}"
>
未处理
</c:if>
<c:if
test=
"${report.reportStatus eq '1'}"
>
核查
中
</c:if>
<c:if
test=
"${report.reportStatus eq '1'}"
>
跟踪
中
</c:if>
<c:if
test=
"${report.reportStatus eq '2'}"
>
已处理
</c:if>
<c:if
test=
"${report.reportStatus eq '2'}"
>
已处理
</c:if>
</td>
</td>
<td>
<td>
...
...
src/main/webapp/WEB-INF/views/modules/report/reportList.jsp
View file @
960a3693
...
@@ -166,7 +166,7 @@
...
@@ -166,7 +166,7 @@
<c:if
test=
"${report.reportStatus eq '0'}"
>
未处理
</c:if>
<c:if
test=
"${report.reportStatus eq '0'}"
>
未处理
</c:if>
<c:if
test=
"${report.reportStatus eq '1'}"
>
跟踪中
</c:if>
<c:if
test=
"${report.reportStatus eq '1'}"
>
跟踪中
</c:if>
<c:if
test=
"${report.reportStatus eq '2'}"
>
已处理
</c:if>
<c:if
test=
"${report.reportStatus eq '2'}"
>
已处理
</c:if>
<
c:if
test=
"${report.reportStatus eq '3'}"
>
受理中
</c:if
>
<
%
--
<
c:if
test=
"${report.reportStatus eq '3'}"
>
受理中
</c:if>
--%
>
</td>
</td>
<td>
<td>
<c:if
test=
"${report.dealResult eq null}"
>
--
</c:if>
<c:if
test=
"${report.dealResult eq null}"
>
--
</c:if>
...
...
src/main/webapp/WEB-INF/views/modules/report/reportTrack.jsp
View file @
960a3693
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/views/modules/workbench/workbench.jsp
View file @
960a3693
...
@@ -206,7 +206,7 @@
...
@@ -206,7 +206,7 @@
},
},
subtitle
:
{
//副标题
subtitle
:
{
//副标题
align
:
'right'
,
align
:
'right'
,
text
:
'总数 : '
+
result
.
bench
.
repResultTotal
+
'<br/><br/>举报无效 : '
+
result
.
invalid
+
'<br/><br/>
举报投
诉 : '
+
result
.
complainNum
+
'<br/><br/>举报受理 : '
+
result
.
verified
,
text
:
'总数 : '
+
result
.
bench
.
repResultTotal
+
'<br/><br/>举报无效 : '
+
result
.
invalid
+
'<br/><br/>
移交客
诉 : '
+
result
.
complainNum
+
'<br/><br/>举报受理 : '
+
result
.
verified
,
useHTML
:
true
,
useHTML
:
true
,
verticalAlign
:
'top'
,
verticalAlign
:
'top'
,
x
:
-
5
,
x
:
-
5
,
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
name
:
'举报'
,
name
:
'举报'
,
data
:
[
data
:
[
[
'举报无效'
,
result
.
invalid
],
[
'举报无效'
,
result
.
invalid
],
[
'
举报投
诉'
,
result
.
complainNum
],
[
'
移交客
诉'
,
result
.
complainNum
],
[
'举报受理'
,
result
.
verified
],
[
'举报受理'
,
result
.
verified
],
]
]
}]
}]
...
...
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