|
@@ -124,14 +124,14 @@ public class CommunityReportController {
|
|
|
@ApiOperation("管理员查看界面")
|
|
|
@GetMapping("/adminReport")
|
|
|
//@Anonymous
|
|
|
- public AjaxResult adminReport(Long id) {
|
|
|
+ public AjaxResult adminReport(Long id,Long type) {
|
|
|
List<CommunityReportUserVo> communityReportUsers = null;
|
|
|
try {
|
|
|
int pageNum = Convert.toInt(ServletUtils.getParameter("pageNum"), 1);
|
|
|
int pageSize = Convert.toInt(ServletUtils.getParameter("pageSize"), 10);
|
|
|
int offset = (pageNum - 1) * pageSize;
|
|
|
int searchType = Convert.toInt(ServletUtils.getParameter("searchType"), 0);
|
|
|
- communityReportUsers = communityReportUserMapper.selectCommunityReportUser(offset, pageSize, searchType,id);
|
|
|
+ communityReportUsers = communityReportUserMapper.selectCommunityReportUser(offset, pageSize, searchType,id,type);
|
|
|
} catch (Exception e) {
|
|
|
System.out.println(e.getMessage());
|
|
|
throw new ProjectException();
|
|
@@ -154,7 +154,7 @@ public class CommunityReportController {
|
|
|
List<CommunityReportUserVo> communityReportUsers = null;
|
|
|
try {
|
|
|
//判断已经处罚过的数据 不进行处理
|
|
|
- communityReportUsers = communityReportUserMapper.selectCommunityReportUser(0, 100, 0,communityReportPunishVo.getId());
|
|
|
+ communityReportUsers = communityReportUserMapper.selectCommunityReportUser(0, 100, 0,communityReportPunishVo.getId(),null);
|
|
|
if (!communityReportUsers.isEmpty()) {
|
|
|
CommunityReportUserVo firstUser = communityReportUsers.get(0);
|
|
|
Long updateBy = firstUser.getUpdateBy();
|