id, ip, userid, username, module, operation, method, status, url, style, param, body,
result, waste, createtime
delete from log
where id = #{id,jdbcType=VARCHAR}
insert into log (id, ip, userid,
username, module, operation,
method, status, url, style,
param, body, result,
waste, createtime)
values (#{id,jdbcType=VARCHAR}, #{ip,jdbcType=VARCHAR}, #{userid,jdbcType=VARCHAR},
#{username,jdbcType=VARCHAR}, #{module,jdbcType=VARCHAR}, #{operation,jdbcType=VARCHAR},
#{method,jdbcType=VARCHAR}, #{status,jdbcType=CHAR}, #{url,jdbcType=VARCHAR}, #{style,jdbcType=VARCHAR},
#{param,jdbcType=VARCHAR}, #{body,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR},
#{waste,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP})
insert into log
id,
ip,
userid,
username,
module,
operation,
method,
status,
url,
style,
param,
body,
result,
waste,
createtime,
#{id,jdbcType=VARCHAR},
#{ip,jdbcType=VARCHAR},
#{userid,jdbcType=VARCHAR},
#{username,jdbcType=VARCHAR},
#{module,jdbcType=VARCHAR},
#{operation,jdbcType=VARCHAR},
#{method,jdbcType=VARCHAR},
#{status,jdbcType=CHAR},
#{url,jdbcType=VARCHAR},
#{style,jdbcType=VARCHAR},
#{param,jdbcType=VARCHAR},
#{body,jdbcType=VARCHAR},
#{result,jdbcType=VARCHAR},
#{waste,jdbcType=VARCHAR},
#{createtime,jdbcType=TIMESTAMP},
update log
ip = #{ip,jdbcType=VARCHAR},
userid = #{userid,jdbcType=VARCHAR},
username = #{username,jdbcType=VARCHAR},
module = #{module,jdbcType=VARCHAR},
operation = #{operation,jdbcType=VARCHAR},
method = #{method,jdbcType=VARCHAR},
status = #{status,jdbcType=CHAR},
url = #{url,jdbcType=VARCHAR},
style = #{style,jdbcType=VARCHAR},
param = #{param,jdbcType=VARCHAR},
body = #{body,jdbcType=VARCHAR},
result = #{result,jdbcType=VARCHAR},
waste = #{waste,jdbcType=VARCHAR},
createtime = #{createtime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=VARCHAR}
update log
set ip = #{ip,jdbcType=VARCHAR},
userid = #{userid,jdbcType=VARCHAR},
username = #{username,jdbcType=VARCHAR},
module = #{module,jdbcType=VARCHAR},
operation = #{operation,jdbcType=VARCHAR},
method = #{method,jdbcType=VARCHAR},
status = #{status,jdbcType=CHAR},
url = #{url,jdbcType=VARCHAR},
style = #{style,jdbcType=VARCHAR},
param = #{param,jdbcType=VARCHAR},
body = #{body,jdbcType=VARCHAR},
result = #{result,jdbcType=VARCHAR},
waste = #{waste,jdbcType=VARCHAR},
createtime = #{createtime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=VARCHAR}