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