中扬CRM客户关系管理系统
#
LSH
2023-11-01 f311718993dc0bcd193e03915076060815ee0036
src/main/resources/mapper/CstmrMapper.xml
@@ -103,7 +103,12 @@
            <otherwise>
                and
                (
                    <if test="userId != null and userId != ''">
                    user_id = #{userId}
                    </if>
                    <if test="userId == null or userId == ''">
                        user_id is not null
                    </if>
                    or
                    mc.id in
                    (
@@ -164,7 +169,12 @@
            <otherwise>
                and
                (
                <if test="userId != null and userId != ''">
                user_id = #{userId}
                </if>
                <if test="userId == null or userId == ''">
                    user_id is not null
                </if>
                or
                director = #{userId}
                or
@@ -262,6 +272,13 @@
            <otherwise>
                and
                (
                <if test="userId != null and userId != ''">
                    user_id = #{userId}
                </if>
                <if test="userId == null or userId == ''">
                    user_id is not null
                </if>
                or
                director = #{userId}
                or
                mc.id in
@@ -427,7 +444,12 @@
            <otherwise>
                and
                (
                <if test="userId != null and userId != ''">
                user_id = #{userId}
                </if>
                <if test="userId == null or userId == ''">
                    user_id is not null
                </if>
                or
                director = #{userId}
                or
@@ -533,7 +555,12 @@
            <otherwise>
                and
                (
                <if test="userId != null and userId != ''">
                user_id = #{userId}
                </if>
                <if test="userId == null or userId == ''">
                    user_id is not null
                </if>
                or
                director = #{userId}
                or
@@ -637,7 +664,12 @@
            <otherwise>
                and
                (
                <if test="userId != null and userId != ''">
                user_id = #{userId}
                </if>
                <if test="userId == null or userId == ''">
                    user_id is not null
                </if>
                or
                mc.id in
                (