| | |
| | | <select id="selectNoticeList" parameterType="SysNotice" resultMap="SysNoticeResult"> |
| | | <include refid="selectNoticeVo"/> |
| | | WHERE 1=1 |
| | | |
| | | <if test="noticeTitle != null and noticeTitle != ''"> |
| | | AND notice_title like concat('%', #{noticeTitle}, '%') |
| | | </if> |
| | |
| | | <if test="orgid != null and orgid != ''"> |
| | | AND orgid = #{orgid} |
| | | </if> |
| | | |
| | | </select> |
| | | |
| | | <insert id="insertNotice" parameterType="SysNotice"> |
| | |
| | | <if test="createBy != null and createBy != ''">#{createBy},</if> |
| | | <if test="guid != null and guid != ''">#{guid},</if> |
| | | <if test="orgid != null and orgid != ''">#{orgid},</if> |
| | | sysdate() |
| | | ) |
| | | sysdate()) |
| | | </insert> |
| | | |
| | | <update id="updateNotice" parameterType="SysNotice"> |