xdd 4 dagar sedan
förälder
incheckning
3bbde11f7a
1 ändrade filer med 0 tillägg och 4 borttagningar
  1. 0 4
      fs-service/src/main/java/com/fs/todo/mapper/FsTodoItemsMapper.java

+ 0 - 4
fs-service/src/main/java/com/fs/todo/mapper/FsTodoItemsMapper.java

@@ -38,25 +38,21 @@ public interface FsTodoItemsMapper {
     /**
      * 查询所有待办事项
      */
-    @Select("SELECT * FROM fs_todo_items ORDER BY create_time DESC")
     List<FsTodoItems> selectAll();
 
     /**
      * 根据状态查询待办事项
      */
-    @Select("SELECT * FROM fs_todo_items WHERE status = #{status} ORDER BY create_time DESC")
     List<FsTodoItems> selectByStatus(@Param("status") Integer status);
 
     /**
      * 根据创建者ID查询待办事项
      */
-    @Select("SELECT * FROM fs_todo_items WHERE creator_id = #{creatorId} ORDER BY create_time DESC")
     List<FsTodoItems> selectByCreatorId(@Param("creatorId") Long creatorId);
 
     /**
      * 根据负责人ID查询待办事项
      */
-    @Select("SELECT * FROM fs_todo_items WHERE assignee_id = #{assigneeId} ORDER BY create_time DESC")
     List<FsTodoItems> selectByAssigneeId(@Param("assigneeId") Long assigneeId);
 
     /**