update customer_foot_bar
set ORDER_INDEX = #{orderIndex}
where ID = #{id}
update customer_foot_bar
set DISPLAY=#{display}
where ID = #{id}
delete
from customer_foot_bar
where ID = #{id}
delete
from customer_foot_bar
where app_type = #{appType}
and BAR_KEY = #{barKey}
UPDATE customer_foot_bar
SET BAR_NAME = #{barName},
PAGE_TITLE = #{pageTitle},
ICON_PATH = #{iconPath},
SELECTED_ICON_PATH = #{selectedIconPath},
FLOAT_ICON_PATH = #{floatIconPath},
UPDATED_BY = #{userId},
UPDATED_TIME = NOW()
WHERE
CUSTOMER_ID = #{customerId}
AND app_type = #{appType}
AND BAR_KEY = #{barKey}
AND DEL_FLAG = '0'