id, name, pid, src_url, target_url, url_param, default_privilege, order_num, comment, status, is_valid,
update_time, update_user_id
and ID = #{id}
and name like CONCAT("%",#{name},"%")
and pid = #{pid,jdbcType=VARCHAR}
and src_url = #{srcUrl,jdbcType=VARCHAR}
and target_url = #{targetUrl,jdbcType=VARCHAR}
and url_param = #{urlParam,jdbcType=VARCHAR}
and order_num = #{orderNum,jdbcType=BIGINT}
and comment = #{comment,jdbcType=VARCHAR}
and status = #{status,jdbcType=TINYINT}
and is_valid = #{isValid,jdbcType=TINYINT}
and update_time = #{updateTime,jdbcType=TIMESTAMP}
and update_user_id = #{updateUserId,jdbcType=VARCHAR}
order by ${sorting}
limit #{offset}, #{limit}
delete from
t_sys_function_item
where ID = #{id}
insert into t_sys_function_item (id, name, pid,
src_url, target_url, url_param,
default_privilege, order_num, comment,
status, is_valid, update_time,
update_user_id
)
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{pid,jdbcType=VARCHAR},
#{srcUrl,jdbcType=VARCHAR}, #{targetUrl,jdbcType=VARCHAR}, #{urlParam,jdbcType=VARCHAR},
#{defaultPrivilege,jdbcType=BIGINT},#{orderNum,jdbcType=BIGINT}, #{comment,jdbcType=VARCHAR},
#{status,jdbcType=TINYINT},#{isValid,jdbcType=TINYINT}, #{updateTime,jdbcType=TIMESTAMP},
#{updateUserId,jdbcType=VARCHAR}
)
update t_sys_function_item
name = #{name,jdbcType=VARCHAR},
pid = #{pid,jdbcType=VARCHAR},
src_url = #{srcUrl,jdbcType=VARCHAR},
target_url = #{targetUrl,jdbcType=VARCHAR},
url_param = #{urlParam,jdbcType=VARCHAR},
default_privilege = #{defaultPrivilege,jdbcType=BIGINT},
order_num = #{orderNum,jdbcType=BIGINT},
comment = #{comment,jdbcType=VARCHAR},
status = #{status,jdbcType=TINYINT},
is_valid = #{isValid,jdbcType=TINYINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
update_user_id = #{updateUserId,jdbcType=VARCHAR},
where id = #{id,jdbcType=VARCHAR}
delete from
t_sys_function_item
where
'${id}'