Commit 9c0ed9c4249aee77966d5b8c9cf7baf88b380061
1 parent
70ab1805
修复通知公告longblob类型乱码问题
Showing
1 changed file
with
1 additions
and
1 deletions
ruoyi-system/src/main/resources/mapper/system/SysNoticeMapper.xml
| ... | ... | @@ -18,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| 18 | 18 | </resultMap> |
| 19 | 19 | |
| 20 | 20 | <sql id="selectNoticeVo"> |
| 21 | - select notice_id, notice_title, notice_type, notice_content, status, create_by, create_time, update_by, update_time, remark | |
| 21 | + select notice_id, notice_title, notice_type, cast(notice_content as char) as notice_content, status, create_by, create_time, update_by, update_time, remark | |
| 22 | 22 | from sys_notice |
| 23 | 23 | </sql> |
| 24 | 24 | ... | ... |