예제 #1
0
파일: User.java 프로젝트: liupd/jfinalbbs
 public int updateByEmail(String email, String newPass) {
   return Db.update(
       "update user u set u.password = ?, u.token = ? where u.email = ?",
       newPass,
       StrUtil.getUUID(),
       email);
 }