lidongyang 5 роки тому
батько
коміт
a8b19b311a

+ 4 - 4
src/main/resources/sqlmaps/OfflineConferenceMapper.xml

@@ -480,7 +480,7 @@
   <select id="queryOpenList" parameterType="com.lightinit.hsdataportal.model.OfflineConferenceSearchModel" resultType="com.lightinit.hsdataportal.model.OfflineConferenceListModel">
    SELECT oc.id,r.resource_name,oc.requirement,oc.usages,oc.contact,oc.phone,oc.order_state
     FROM offline_conference oc
-    JOIN publish_setting ps
+    left JOIN publish_setting ps
     ON ps.id = oc.publish_setting_id
     LEFT JOIN publish_info pi
     ON  pi.id = ps.publish_info_id
@@ -488,9 +488,9 @@
     ON r.id = pi.resource_id
     WHERE oc.user_id = #{userId}
     ORDER BY oc.id DESC
-    <if test="page != null">
-      LIMIT #{page.beginIndex},#{page.pageSize}
-    </if>
+<!--    <if test="page != null">-->
+<!--      LIMIT #{page.beginIndex},#{page.pageSize}-->
+<!--    </if>-->
   </select>
   <select id="queryOpenCount" parameterType="com.lightinit.hsdataportal.model.OfflineConferenceSearchModel" resultType="java.lang.Long">
     SELECT count(*)