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>