plf %!s(int64=4) %!d(string=hai) anos
pai
achega
97a8c5b0a2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>