package com.friends.dao; import java.sql.Connection; import java.sql.PreparedStatement; import com.friends.DBUtil.DBUtil; /** * friend_Pic깊鑒앴뇹잿 * @author xrhou * */ public class FriendPicDAO { private Connection conn = null; public void picAdd(String picName, long userid) { conn = DBUtil.getConnection(); String sql = "insert into friend_pic(picname,userid) values(?,?)"; try { PreparedStatement pstmt = conn.prepareStatement(sql); pstmt.setString(1, picName); pstmt.setLong(2, userid); pstmt.executeUpdate(); } catch (Exception e) { e.printStackTrace(); } finally { DBUtil.close(conn); } } }

568885778 LV12
2024年12月30日
SQ2930501923 LV14
2022年10月13日
2691533321 LV23
2022年4月12日
wanglinddad LV55
2022年3月25日
ღ᭄ꦿ剑起苍瀾 LV5
2021年12月16日
www236421 LV1
2021年5月24日
微笑刺客 LV21
2020年11月23日
kelvin007008 LV8
2020年11月19日
马力奥 LV2
2020年10月29日
js0314 LV1
2020年6月14日