中扬CRM客户关系管理系统
#
LSH
2023-11-02 108e2fc9543ce11e7069c4b4fc10d2f05006333b
src/main/resources/mapper/PlanMapper.xml
@@ -85,11 +85,10 @@
                (
                    <if test="userId != null and userId != ''">
                        user_id = #{userId}
                        or
                        director = #{userId}
                        or
                    </if>
                    <if test="userId == null or userId == ''">
                        user_id is not null
                    </if>
                    or
                    mp.id in
                    (
                        select
@@ -111,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>