无关风月
2025-11-06 547209172a4decd10345190702bf4dcbda3f0d21
ruoyi-system/src/main/resources/mapper/system/TAssistedDiningMapper.xml
@@ -21,5 +21,16 @@
    <sql id="Base_Column_List">
        id, point_name, point_phone, point_cover, address, point_detail, create_time, update_time, create_by, update_by, disabled
    </sql>
    <select id="pageList" resultType="com.ruoyi.system.model.TAssistedDining">
        select t1.* from t_assisted_dining t1
        <if test="query.pointName != null and query.pointName != ''">
            and t1.point_name like concat('%',#{query.pointName},'%')
        </if>
        <if test="query.pointPhone != null and query.pointPhone != ''">
            and t1.point_phone like concat('%',#{query.pointPhone},'%')
        </if>
            AND t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()}
        order by t1.create_time desc
    </select>
</mapper>