Explorar o código

注释掉重写的findOne方法。修复发起项目报错问题。

dongbw %!s(int64=8) %!d(string=hai) anos
pai
achega
028cecb085

+ 3 - 3
donate-console/src/main/java/com/uas/console/donate/dao/OrgDao.java

@@ -32,9 +32,9 @@ public interface OrgDao extends JpaRepository<Org,Long>,JpaSpecificationExecutor
     @Query("from Org o where type=:type and majorArea=:majorArea and status=:status and publish=2 order By createTime desc" )
     List<Org> findByTypeAndMajorArea(@Param("type") Integer type,@Param("majorArea")Integer majorArea,@Param("status")Integer status);
 
-    //根据UUID取出唯一的机构信息
-    @Query("from Org  o where  uuid=:uuid")
-    Org findOne(@Param("uuid") Long uuid);
+//    //根据UUID取出唯一的机构信息
+//    @Query("from Org  o where  uuid=:uuid")
+//    Org findOne(@Param("uuid") Long uuid);
 
     Page<Org> findAll(Pageable pageable);