|
@@ -2,12 +2,12 @@
|
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
<mapper namespace="com.qmth.sop.business.mapper.SysNoticeMapper">
|
|
|
|
|
|
- <select id="query" resultType="com.qmth.sop.business.entity.SysNotice">
|
|
|
+ <select id="query" resultType="com.qmth.sop.business.bean.result.SysNoticeResult">
|
|
|
select a.*,su.real_name as createName from sys_notice a
|
|
|
left join sys_user su on su.id = a.create_id
|
|
|
<where>
|
|
|
<if test="query != null and query != ''">
|
|
|
- and a.name like concat('%', #{query} , '%')
|
|
|
+ and a.content like concat('%', #{query} , '%')
|
|
|
</if>
|
|
|
<if test="status != null and status != ''">
|
|
|
and a.status = #{status}
|