陈昶聿
5 天以前 987e38327f849e1b13d8541246dde08d877db0e8
ruoyi-system/src/main/resources/mapper/system/SysPostMapper.xml
@@ -36,7 +36,9 @@
    <select id="selectPostList" parameterType="com.ruoyi.system.domain.SysPost" resultMap="SysPostResult">
        <include refid="selectPostVo"/>
        WHERE 1=1
            <if test="orgid != null and orgid != ''">
                and orgid = #{orgid}
            </if>
            <if test="postCode != null and postCode != ''">
                AND post_code like concat('%', #{postCode}, '%')
            </if>