plf 4 роки тому
батько
коміт
97a8c5b0a2
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      src/main/resources/mapper/SinglePageMapper.xml

+ 1 - 1
src/main/resources/mapper/SinglePageMapper.xml

@@ -84,7 +84,7 @@
     </insert>
 
     <select id="findMobileContent" resultType="string">
-        SELECT content FROM cm_page_freedom FROM pageId = #{id} AND type = 2
+        SELECT content FROM cm_page_freedom WHERE pageId = #{id} AND type = 2
     </select>
 
 </mapper>