insert into tld_error (url,error_info,data_val,scrq,type,transmission_type) value (#{url},#{errorInfo},#{dataVal},now(),#{type},'1')
SELECT
id,
url,
error_info as errorInfo,
data_val as dataVal,
scrq,
type,
transmission_type as transmissionType
FROM
tld_error
and scrq =]]> #{startTime}
and scrq #{endTime}
and url like CONCAT(CONCAT('%', #{url}), '%')
and error_info like CONCAT(CONCAT('%', #{errorInfo}), '%')
and data_val like CONCAT(CONCAT('%', #{dataVal}), '%')
and type like CONCAT(CONCAT('%', #{type}), '%')
and transmission_type like CONCAT(CONCAT('%', #{transmissionType}), '%')
ORDER BY scrq DESC
SELECT
url,
error_info,
data_val,
scrq
FROM
tld_error
and scrq =]]> #{startTime}
and scrq #{endTime}
and url like CONCAT(CONCAT('%', #{url}), '%')
and error_info like CONCAT(CONCAT('%', #{errorInfo}), '%')
and data_val like CONCAT(CONCAT('%', #{dataVal}), '%')
ORDER BY scrq DESC
delete from tld_error where id = #{id}
update tld_error set transmission_type = '0' where id = #{id}