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
429b85f1
Commit
429b85f1
authored
Jan 17, 2018
by
caohongzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ReportController:修改发送消息方法。
reportDetaol:添加dealResult=4为“举报属实”。 reportTrack:修改举报属性个状态可见“是否完成”。
parent
21c3d5f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
8 deletions
+13
-8
ReportController.java
src/main/java/com/ejweb/modules/report/web/ReportController.java
+13
-8
No files found.
src/main/java/com/ejweb/modules/report/web/ReportController.java
View file @
429b85f1
...
@@ -303,12 +303,18 @@ public class ReportController extends BaseController {
...
@@ -303,12 +303,18 @@ public class ReportController extends BaseController {
}
}
//更新举报状态
//更新举报状态
reportEntity
.
setReportStatus
(
"1"
);
reportEntity
.
setReportStatus
(
"1"
);
if
(
reportEntity
.
getDealResult
().
equals
(
"1"
)
||
reportEntity
.
getDealResult
().
equals
(
"2"
)){
// if (reportEntity.getDealResult().equals("1") && reportEntity.getDealResult().equals("2")){
reportEntity
.
setReportStatus
(
"2"
);
// reportEntity.setReportStatus("2");
}
// }
if
(
reportEntity
.
getDealResult
().
equals
(
"3"
)){
// if (reportEntity.getDealResult().equals("2") && reportEntity.getDealResult().equals("2")){
reportEntity
.
setReportStatus
(
"1"
);
// reportEntity.setReportStatus("2");
}
// }
// if (reportEntity.getDealResult().equals("3") && reportEntity.getDealResult().equals("2")){
// reportEntity.setReportStatus("2");
// }
// if (reportEntity.getDealResult().equals("4") && reportEntity.getDealResult().equals("2")){
// reportEntity.setReportStatus("2");
// }
if
(
"ifDone"
.
equals
(
ifDone
))
{
if
(
"ifDone"
.
equals
(
ifDone
))
{
reportEntity
.
setReportStatus
(
"2"
);
reportEntity
.
setReportStatus
(
"2"
);
}
}
...
@@ -330,7 +336,7 @@ public class ReportController extends BaseController {
...
@@ -330,7 +336,7 @@ public class ReportController extends BaseController {
reportService
.
addRecord
(
reportEntity
,
"1"
);
reportService
.
addRecord
(
reportEntity
,
"1"
);
}
else
if
(
StringUtils
.
isNotBlank
(
reportEntity
.
getDealResult
())
&&
StringUtils
.
isBlank
(
transferUser
)){
}
else
if
(
StringUtils
.
isNotBlank
(
reportEntity
.
getDealResult
())
&&
StringUtils
.
isBlank
(
transferUser
)){
//自行处理
//自行处理
if
(!
(
reportEntity
.
getDealResult
().
equals
(
"3"
)
&&
StringUtils
.
isBlank
(
ifDone
)
))
{
if
(!
StringUtils
.
isBlank
(
ifDone
))
{
reportService
.
addNotice
(
reportEntity
,
"answer"
,
ifDone
);
reportService
.
addNotice
(
reportEntity
,
"answer"
,
ifDone
);
}
}
}
else
if
(
StringUtils
.
isNotBlank
(
transferUser
)
&&
StringUtils
.
isNotBlank
(
reportEntity
.
getDealResult
())){
}
else
if
(
StringUtils
.
isNotBlank
(
transferUser
)
&&
StringUtils
.
isNotBlank
(
reportEntity
.
getDealResult
())){
...
@@ -544,5 +550,4 @@ public class ReportController extends BaseController {
...
@@ -544,5 +550,4 @@ public class ReportController extends BaseController {
out
.
write
(
result
);
out
.
write
(
result
);
out
.
close
();
out
.
close
();
}
}
}
}
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