中扬CRM客户关系管理系统
#
LSH
2023-11-02 b3ca67f50de0dd141c29283533dd553aaec26154
src/main/resources/mapper/PlanMapper.xml
@@ -68,7 +68,7 @@
                AND ( (CHARINDEX(','+#{deptId}+',', ','+sd.path+',') > 0 OR sd.id = #{deptId})
                or
                (
                    user_id = #{userId}
                    mp.user_id = #{userId}
                    or
                    mp.id in
                    (
@@ -84,9 +84,9 @@
                and
                (
                    <if test="userId != null and userId != ''">
                        user_id = #{userId}
                        mp.user_id = #{userId}
                        or
                        director = #{userId}
                        mp.director = #{userId}
                        or
                    </if>
                    mp.id in