select id, name, sign, url, sign_declaring_type, sign_name, req_protocol, req_scheme, req_server_name, req_server_port, req_remote_addr, req_remote_host, req_encoding, req_content_length, req_content_type, req_auth_type, req_method, req_path_info, req_path_trans, req_query_string, req_remote_user, req_session_id, req_uri, req_path, req_time, req_msg, resp_time, resp_msg, resp_status, resp_error_msg, system_version, area_code, ip_addr, mac_addr, location, req_pattern, req_source, remark from zdy_api_log
insert into zdy_api_log
name,
sign,
url,
sign_declaring_type,
sign_name,
req_protocol,
req_scheme,
req_server_name,
req_server_port,
req_remote_addr,
req_remote_host,
req_encoding,
req_content_length,
req_content_type,
req_auth_type,
req_method,
req_path_info,
req_path_trans,
req_query_string,
req_remote_user,
req_session_id,
req_uri,
req_path,
req_time,
req_msg,
resp_time,
resp_msg,
resp_status,
resp_error_msg,
system_version,
area_code,
ip_addr,
mac_addr,
location,
req_pattern,
req_source,
remark,
#{name},
#{sign},
#{url},
#{signDeclaringType},
#{signName},
#{reqProtocol},
#{reqScheme},
#{reqServerName},
#{reqServerPort},
#{reqRemoteAddr},
#{reqRemoteHost},
#{reqEncoding},
#{reqContentLength},
#{reqContentType},
#{reqAuthType},
#{reqMethod},
#{reqPathInfo},
#{reqPathTrans},
#{reqQueryString},
#{reqRemoteUser},
#{reqSessionId},
#{reqUri},
#{reqPath},
#{reqTime},
#{reqMsg},
#{respTime},
#{respMsg},
#{respStatus},
#{respErrorMsg},
#{systemVersion},
#{areaCode},
#{ipAddr},
#{macAddr},
#{location},
#{reqPattern},
#{reqSource},
#{remark},
update zdy_api_log
name = #{name},
sign = #{sign},
url = #{url},
sign_declaring_type = #{signDeclaringType},
sign_name = #{signName},
req_protocol = #{reqProtocol},
req_scheme = #{reqScheme},
req_server_name = #{reqServerName},
req_server_port = #{reqServerPort},
req_remote_addr = #{reqRemoteAddr},
req_remote_host = #{reqRemoteHost},
req_encoding = #{reqEncoding},
req_content_length = #{reqContentLength},
req_content_type = #{reqContentType},
req_auth_type = #{reqAuthType},
req_method = #{reqMethod},
req_path_info = #{reqPathInfo},
req_path_trans = #{reqPathTrans},
req_query_string = #{reqQueryString},
req_remote_user = #{reqRemoteUser},
req_session_id = #{reqSessionId},
req_uri = #{reqUri},
req_path = #{reqPath},
req_time = #{reqTime},
req_msg = #{reqMsg},
resp_time = #{respTime},
resp_msg = #{respMsg},
resp_status = #{respStatus},
resp_error_msg = #{respErrorMsg},
system_version = #{systemVersion},
area_code = #{areaCode},
ip_addr = #{ipAddr},
mac_addr = #{macAddr},
location = #{location},
req_pattern = #{reqPattern},
req_source = #{reqSource},
remark = #{remark},
where id = #{id}
delete from zdy_api_log where id = #{id}
delete from zdy_api_log where id in
#{id}