赵士淞
2023-03-21 bbc8655a1f8d987ea12a32f72bde6c9d616a9dae
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/project/repository/ProjectRepository.java
@@ -48,6 +48,6 @@
     * @param liableUserId
     * @return
     */
    @Query(value = "SELECT id FROM project WHERE liable_user_id = ?1", nativeQuery = true)
    @Query(value = "SELECT id FROM project WHERE liable_user_id LIKE concat('%-',?1,'-%')", nativeQuery = true)
    List<Long> findIdByLiableUserId(Long liableUserId);
}