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>