|
@@ -40,7 +40,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectZxNoticeList" parameterType="ZxNotice" resultMap="ZxNoticeResult">
|
|
|
- <where>
|
|
|
select * from ( select a.zx_notice_id, a.notice_title, a.notice_type, a.notice_content, a.status, a.issuer,
|
|
|
a.issuer_dept, a.issuer_dept_id, a.issuer_time, a.create_by, a.create_time, a.update_by, a.update_time,
|
|
|
a.remark,
|
|
@@ -57,8 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="issuerDept != null and issuerDept != ''">and a.issuer_dept =#{issuerDept}</if>
|
|
|
<if test="issuerDeptId != null ">and a.issuer_dept_id= #{issuerDeptId}</if>
|
|
|
<if test="issuerTime != null ">and a.issuer_time =#{issuerTime}</if>
|
|
|
-
|
|
|
- </where>
|
|
|
+ </where>
|
|
|
) s
|
|
|
<where>
|
|
|
<if test="type != null and type != ''">and s.type =#{type}</if>
|