發(fā)表日期:2018-09 文章編輯:小燈 瀏覽次數(shù):1531
首先在織夢(mèng)后臺(tái)建立新內(nèi)容模型 ,再用以下的MySQL 語(yǔ)句 將以前的欄目文章轉(zhuǎn)入新模型,
例如以前的欄目為文章模型,ID 為 222,新模型ID為 111 新模型附加表為dede_addon20
//轉(zhuǎn)移文章到新的 模型附加表為dede_addon20
INSERT INTO dede_addon20(aid,typeid,redirecturl,userip,body) SELECT aid,typeid,redirecturl,userip,body FROMdede_addonarticle wheredede_addonarticle.typeid =222
delete * fromdede_addonarticle where typeid =222
//更新跟平文章頻道有關(guān)的表
updatedede_arctiny set channel=111 where typeid=222
updatedede_archives set channel=111 where typeid=222
updatedede_arctype set channeltype =111 where id =222
日期:2018-09 瀏覽次數(shù):4422
日期:2018-09 瀏覽次數(shù):3064
日期:2018-09 瀏覽次數(shù):3899
日期:2018-09 瀏覽次數(shù):3829
日期:2018-09 瀏覽次數(shù):3392
日期:2018-09 瀏覽次數(shù):3781
日期:2018-09 瀏覽次數(shù):3229
日期:2018-09 瀏覽次數(shù):3493
日期:2018-09 瀏覽次數(shù):3239
日期:2018-09 瀏覽次數(shù):3270
日期:2018-09 瀏覽次數(shù):3003
日期:2018-09 瀏覽次數(shù):3554
日期:2018-09 瀏覽次數(shù):3531
日期:2018-09 瀏覽次數(shù):3104
日期:2018-09 瀏覽次數(shù):3027
日期:2018-09 瀏覽次數(shù):3797
日期:2018-08 瀏覽次數(shù):2995
日期:2018-08 瀏覽次數(shù):3158
日期:2018-08 瀏覽次數(shù):2974
日期:2018-08 瀏覽次數(shù):2978
日期:2018-08 瀏覽次數(shù):3021
日期:2018-08 瀏覽次數(shù):2785
日期:2018-08 瀏覽次數(shù):2906
日期:2018-08 瀏覽次數(shù):2851
日期:2018-08 瀏覽次數(shù):2868
日期:2018-08 瀏覽次數(shù):3032
日期:2018-08 瀏覽次數(shù):3092
日期:2018-08 瀏覽次數(shù):3414
日期:2018-08 瀏覽次數(shù):2939
日期:2018-08 瀏覽次數(shù):3251
Copyright ? 2013-2018 Tadeng NetWork Technology Co., LTD. All Rights Reserved.