update customer_foot_bar
set ORDER_INDEX = #{orderIndex},UPDATED_BY=#{userId},UPDATED_TIME=NOW()
where ID = #{id}
and DEL_FLAG='0'
update customer_foot_bar
set DISPLAY=#{display},UPDATED_BY=#{userId},UPDATED_TIME=NOW()
where ID = #{id}
and DEL_FLAG='0'
delete
from customer_foot_bar
where ID = #{id}
delete
from customer_foot_bar
where app_type = #{appType}
and BAR_KEY = #{barKey}
and id=#{id}
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'
UPDATE customer_foot_bar
set DEL_FLAG='1',UPDATED_BY = #{userId}, UPDATED_TIME = NOW()
where id=#{id}