Browse Source

议题详情去掉权限、居民热议列表添加排序字段

master
sunyuchao 5 years ago
parent
commit
950b379910
  1. 4
      epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/govissue/IssueDao.xml
  2. 2
      epmet-module/gov-issue/gov-issue-server/src/main/java/com/epmet/controller/IssueManageController.java

4
epmet-module/data-aggregator/data-aggregator-server/src/main/resources/mapper/govissue/IssueDao.xml

@ -57,7 +57,7 @@
i.grid_id = #{gridId}
</foreach>
ORDER BY
count DESC
count DESC, i.created_time DESC
LIMIT
#{pageNo}, #{pageSize}
</select>
@ -93,7 +93,7 @@
AND i.org_id_path like concat('%', #{agencyId}, '%')
AND i.issue_status = 'closed'
ORDER BY
count DESC
count DESC, i.closed_time DESC
LIMIT #{pageNo}, #{pageSize}
</select>

2
epmet-module/gov-issue/gov-issue-server/src/main/java/com/epmet/controller/IssueManageController.java

@ -146,7 +146,7 @@ public class IssueManageController {
* @author wangc
* @date 2020.05.15 00:19
**/
@RequirePermission(requirePermission = RequirePermissionEnum.WORK_GRASSROOTS_ISSUE_DETAIL)
//@RequirePermission(requirePermission = RequirePermissionEnum.WORK_GRASSROOTS_ISSUE_DETAIL)
@PostMapping(value = "votingissuedetail")
public Result<GovIssueDetailResultDTO> votingissuedetail(@RequestBody IssueDetailFormDTO issueDetail){
ValidatorUtils.validateEntity(issueDetail);

Loading…
Cancel
Save