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>