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 * @author yujintao
* @date 2019/9/6 14:55 * @date 2019/9/6 14:55
*/ */
@GetMapping("getDetail/{noticeId}") @GetMapping("news/epdc-app/notice/getDetail/{noticeId}")
Result<EpdcNoticeDetailResultDTO> getNoticeDetail(@PathVariable String 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.NOTICE_CONTENT AS noticeContent,
n.READING_AMOUNT AS readingAmount, n.READING_AMOUNT AS readingAmount,
n.RELEASE_TIME AS noticeTime, 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 FROM
epdc_notice n epdc_notice n
WHERE WHERE

Loading…
Cancel
Save