liujie
2026-06-25 4e8da8055692c845345f48e891850b6a685977be
admin-server/src/main/java/com/estate/expert/admin/domain/standard/problem/ProblemRepository.java
@@ -12,7 +12,9 @@
    @Query("select p from Problem p where p.hierarchyId = :hierarchyId " +
            "and p.hierarchyPath in :hierarchyPaths " +
            "and (:keyword is null or :keyword = '' or p.description like %:keyword% ) " +
            "and (:keyword is null or :keyword = '' " +
            "or p.description like %:keyword% " +
            "or function('json_search', p.specificTerms, 'one', concat(concat('%', :keyword), '%')) is not null) " +
            "and p.deleted = false")
    Page<Problem> findProblems(@Param("hierarchyId") Integer hierarchyId,
                               @Param("hierarchyPaths") List<String> hierarchyPaths,