Browse Source

修改通知相关接口bug

dev
yujintao 6 years ago
parent
commit
af24e6b3d4
  1. 2
      esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/feign/NewsFeignClient.java
  2. 2
      esua-epdc/epdc-module/epdc-news/epdc-news-server/src/main/resources/mapper/NoticeDao.xml

2
esua-epdc/epdc-module/epdc-api/epdc-api-server/src/main/java/com/elink/esua/epdc/feign/NewsFeignClient.java

@ -41,6 +41,6 @@ public interface NewsFeignClient {
* @author yujintao
* @date 2019/9/6 14:55
*/
@GetMapping("getDetail/{noticeId}")
@GetMapping("news/epdc-app/notice/getDetail/{noticeId}")
Result<EpdcNoticeDetailResultDTO> getNoticeDetail(@PathVariable String noticeId);
}

2
esua-epdc/epdc-module/epdc-news/epdc-news-server/src/main/resources/mapper/NoticeDao.xml

@ -29,7 +29,7 @@
n.NOTICE_CONTENT AS noticeContent,
n.READING_AMOUNT AS readingAmount,
n.RELEASE_TIME AS noticeTime,
IFNULL( IFNULL( en.GRID, en.COMMUNITY ), en.STREET ) AS deptName
IFNULL( IFNULL( n.GRID, n.COMMUNITY ), n.STREET ) AS deptName
FROM
epdc_notice n
WHERE

Loading…
Cancel
Save