|
@@ -212,4 +212,11 @@
|
212
|
212
|
<select id="getUsertypeById" resultType="java.lang.Integer">
|
213
|
213
|
select usertype from t_user where userid=#{userid}
|
214
|
214
|
</select>
|
|
215
|
+ <!--添加登录日志-->
|
|
216
|
+ <insert id="saveUserLog">
|
|
217
|
+ INSERT INTO t_user_log (userid, username, loginname, loginstate, logtime
|
|
218
|
+ , logip, logaddress, ultype, versionnum, logtxt, schoolid) VALUES
|
|
219
|
+ (#{log.userid},#{log.username},#{log.loginname},#{log.loginstate},#{log.logtime}
|
|
220
|
+ ,#{log.logip},#{log.logaddress},#{log.ultype},#{log.versionnum},#{log.logtxt},#{log.schoolid});
|
|
221
|
+ </insert>
|
215
|
222
|
</mapper>
|