Commit 429b85f1 by caohongzhe

ReportController:修改发送消息方法。

reportDetaol:添加dealResult=4为“举报属实”。
reportTrack:修改举报属性个状态可见“是否完成”。
parent 21c3d5f9
......@@ -303,12 +303,18 @@ public class ReportController extends BaseController {
}
//更新举报状态
reportEntity.setReportStatus("1");
if (reportEntity.getDealResult().equals("1") || reportEntity.getDealResult().equals("2")){
reportEntity.setReportStatus("2");
}
if (reportEntity.getDealResult().equals("3")){
reportEntity.setReportStatus("1");
}
// if (reportEntity.getDealResult().equals("1") && reportEntity.getDealResult().equals("2")){
// reportEntity.setReportStatus("2");
// }
// if (reportEntity.getDealResult().equals("2") && reportEntity.getDealResult().equals("2")){
// 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)) {
reportEntity.setReportStatus("2");
}
......@@ -330,7 +336,7 @@ public class ReportController extends BaseController {
reportService.addRecord(reportEntity,"1");
}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);
}
}else if (StringUtils.isNotBlank(transferUser) && StringUtils.isNotBlank(reportEntity.getDealResult())){
......@@ -544,5 +550,4 @@ public class ReportController extends BaseController {
out.write(result);
out.close();
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment