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

This commit is contained in:
RuoYi
2020-09-13 12:06:59 +08:00
committed by 疯狂的狮子li
parent e9618abb0e
commit 1ea7fbd106

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>