소스 검색

fix: 去除

xdd 4 일 전
부모
커밋
3bbde11f7a
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  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);
 
     /**