中扬CRM客户关系管理系统
#
LSH
2023-11-02 108e2fc9543ce11e7069c4b4fc10d2f05006333b
src/main/resources/mapper/PlanMapper.xml
@@ -83,8 +83,12 @@
            <otherwise>
                and
                (
                    user_id = #{userId}
                    or
                    <if test="userId != null and userId != ''">
                        user_id = #{userId}
                        or
                        director = #{userId}
                        or
                    </if>
                    mp.id in
                    (
                        select
@@ -106,6 +110,9 @@
            or mp.planner like concat('%',#{condition},'%')
            )
        </if>
        <if test="director != null and director != ''">
            or mp.director = #{director}
        </if>
        ORDER BY mp.create_time DESC
    </select>