修复通知公告longblob类型乱码问题

This commit is contained in:
RuoYi 2020-09-10 18:23:12 +08:00
parent 70ab18052c
commit 9c0ed9c424
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</resultMap>
<sql id="selectNoticeVo">
select notice_id, notice_title, notice_type, notice_content, status, create_by, create_time, update_by, update_time, remark
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
from sys_notice
</sql>