#ZH
野心家
2025-05-28 8e19e67d1178e834a868f4a820d827ddf64c6e01
src/main/resources/mapper/DataResourceMapper.xml
@@ -15,17 +15,17 @@
    <select id="selectRootData" resultMap="BaseResultMap">
        select * from "SOURCE"."wcs_data_resource"
        where "resource_id" is null
        where "RESOURCE_ID" is null
    </select>
    <select id="selectByResourceId" resultMap="BaseResultMap">
        select * from "SOURCE"."wcs_data_resource"
        where "resource_id" = #{resourceId}
        where "RESOURCE_ID" = #{resourceId}
    </select>
    <select id="selectAll" resultMap="BaseResultMap">
        select * from "SOURCE"."wcs_data_resource"
        order by "name"
        order by "NAME"
    </select>
</mapper>