newFrame
anthonywj 3 years ago
parent 64c3962c0d
commit 30d65edbcb

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.api.admin.dao.monitor.SysLogininforMapper">
<mapper namespace="com.glxp.api.dao.monitor.SysLogininforMapper">
<resultMap type="com.glxp.api.admin.entity.monitor.SysLogininfor" id="SysLogininforResult">
<resultMap type="com.glxp.api.entity.monitor.SysLogininfor" id="SysLogininforResult">
<id property="infoId" column="info_id"/>
<result property="userName" column="user_name"/>
<result property="status" column="status"/>
@ -16,7 +16,7 @@
<result property="loginTime" column="login_time"/>
</resultMap>
<select id="selectLogininforList" parameterType="com.glxp.api.admin.req.monitor.SysLogininforRequest"
<select id="selectLogininforList" parameterType="com.glxp.api.req.monitor.SysLogininforRequest"
resultMap="SysLogininforResult">
select *
@ -50,7 +50,7 @@
</select>
<insert id="insert" keyProperty="infoId" useGeneratedKeys="true"
parameterType="com.glxp.api.admin.entity.monitor.SysLogininfor">
parameterType="com.glxp.api.entity.monitor.SysLogininfor">
INSERT INTO sys_logininfor( `user_name`, `status`, ipaddr, `login_location`, browser, `os`, msg
, login_time)
values (#{userName},

@ -2,9 +2,9 @@
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.api.admin.dao.monitor.SysOperLogMapper">
<mapper namespace="com.glxp.api.dao.monitor.SysOperLogMapper">
<resultMap type="com.glxp.api.admin.entity.monitor.SysOperLog" id="SysOperLogResult">
<resultMap type="com.glxp.api.entity.monitor.SysOperLog" id="SysOperLogResult">
<id property="operId" column="oper_id"/>
<result property="title" column="title"/>
<result property="businessType" column="business_type"/>
@ -25,7 +25,7 @@
</resultMap>
<select id="selectList" parameterType="com.glxp.api.admin.req.monitor.SysOperLogRequest"
<select id="selectList" parameterType="com.glxp.api.req.monitor.SysOperLogRequest"
resultMap="SysOperLogResult">
select sys_oper_log.*,auth_user.employeeName operUserName
@ -79,7 +79,7 @@
</select>
<insert id="insert" keyProperty="operIp" useGeneratedKeys="true"
parameterType="com.glxp.api.admin.entity.monitor.SysOperLog">
parameterType="com.glxp.api.entity.monitor.SysOperLog">
INSERT INTO sys_oper_log(`oper_id`, `title`, business_type, `method`, `request_method`, operator_type
, oper_name, dept_name, oper_url, oper_ip, oper_location, oper_param, json_result, status,
error_msg, oper_time)

Loading…
Cancel
Save