user, jsp -> html , test
parent
44d6854c4b
commit
9ab182e476
|
@ -48,7 +48,7 @@ public class UserRowMapper implements RowMapper<User> {
|
||||||
user.lastLoginTime(rs.getTimestamp("last_login_time"));
|
user.lastLoginTime(rs.getTimestamp("last_login_time"));
|
||||||
//v3.0.0 added
|
//v3.0.0 added
|
||||||
user.address(rs.getString("address"));
|
user.address(rs.getString("address"));
|
||||||
user.address(rs.getString("nickname"));
|
user.nickname(rs.getString("nickname"));
|
||||||
user.enabled(rs.getBoolean("enabled"));
|
user.enabled(rs.getBoolean("enabled"));
|
||||||
user.updatedAt(rs.getLong("updated_at"));
|
user.updatedAt(rs.getLong("updated_at"));
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
<h2>Add User</h2>
|
<h2>Add User</h2>
|
||||||
|
|
||||||
<form th:object="${formDto}" class="form-horizontal" th:method="post">
|
<form th:object="${formDto}" th:action="@{plus}" class="form-horizontal" th:method="post">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="col-sm-2 control-label">Username<em class="text-danger">*</em></label>
|
<label class="col-sm-2 control-label">Username<em class="text-danger">*</em></label>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue