Skip to content

Commit 6dba328

Browse files
committed
2016-05-18
1 parent fdf680c commit 6dba328

24 files changed

+88
-21
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

WebRoot/WEB-INF/classes/com/bishe/photo/entity/PhotoAlbumMapper.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,9 @@
3535
update t_photoalbum set coverUrl = #{url,jdbcType=VARCHAR} where id= #{id,jdbcType=NUMERIC}
3636
</update>
3737

38+
<select id="findAllUserAlbum" parameterType="int" resultType="com.bishe.photo.entity.PhotoAlbum">
39+
select id,name,type,coverUrl,userId from t_photoalbum where userId != #{userId,jdbcType=NUMERIC} and type=1
40+
</select>
41+
42+
3843
</mapper>

WebRoot/WEB-INF/classes/com/bishe/photo/entity/UserMapper.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
from t_user where username= #{userName}
1515
</select>
1616

17-
17+
<update id="updatePassword" parameterType="com.bishe.photo.entity.User">
18+
update t_user set password = #{password} where id = #{id,jdbcType=NUMERIC}
19+
</update>
1820

1921
</mapper>
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy