|
60 | 60 | </delete> |
61 | 61 | <insert id="insert" parameterType="com.rui.pro1.modules.sys.entity.SysLog"> |
62 | 62 | insert into sys_log (id, title, type, |
63 | | - ip, method, uri, agent, |
| 63 | + ip, method, uri,parameters, agent, |
64 | 64 | create_by_id, create_time, remake, |
65 | 65 | end_time, result) |
66 | 66 | values (#{id,jdbcType=INTEGER}, #{title,jdbcType=VARCHAR}, #{type,jdbcType=CHAR}, |
67 | | - #{ip,jdbcType=VARCHAR}, #{method,jdbcType=VARCHAR}, #{uri,jdbcType=VARCHAR}, #{agent,jdbcType=VARCHAR}, |
| 67 | + #{ip,jdbcType=VARCHAR}, #{method,jdbcType=VARCHAR}, #{uri,jdbcType=VARCHAR},#{parameters,jdbcType=VARCHAR}, #{agent,jdbcType=VARCHAR}, |
68 | 68 | #{createById,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{remake,jdbcType=VARCHAR}, |
69 | 69 | #{endTime,jdbcType=TIMESTAMP}, #{result,jdbcType=VARCHAR}) |
70 | 70 | </insert> |
|
89 | 89 | <if test="uri != null"> |
90 | 90 | uri, |
91 | 91 | </if> |
| 92 | + <if test="uri != null"> |
| 93 | + parameters, |
| 94 | + </if> |
92 | 95 | <if test="agent != null"> |
93 | 96 | agent, |
94 | 97 | </if> |
|
127 | 130 | <if test="uri != null"> |
128 | 131 | #{uri,jdbcType=VARCHAR}, |
129 | 132 | </if> |
| 133 | + <if test="parameters != null"> |
| 134 | + #{parameters,jdbcType=VARCHAR}, |
| 135 | + </if> |
130 | 136 | <if test="agent != null"> |
131 | 137 | #{agent,jdbcType=VARCHAR}, |
132 | 138 | </if> |
|
0 commit comments