| 123456789101112131415161718192021222324252627 |
- SET @screen_template_id := (
- SELECT wtid FROM website_template WHERE config = 'ffkjscreen01' ORDER BY wtid LIMIT 1
- );
- SET @screen_website_id := (
- SELECT websiteid FROM website WHERE id_code = 'local_ffkj_screen_site' ORDER BY websiteid LIMIT 1
- );
- SET @screen_website_id := COALESCE(
- @screen_website_id,
- (
- SELECT w.websiteid
- FROM website w
- JOIN website_template t ON t.wtid = w.wtid
- WHERE t.config = 'ffkjscreen02'
- AND (w.domains LIKE '%hxcs.feifan.net%' OR w.domains LIKE '%ffkj-screen-red.localhost%')
- ORDER BY w.websiteid
- LIMIT 1
- )
- );
- SET @study_description := '围绕招生咨询、专业选择、就业发展和校园服务,集中呈现报考指南、培养特色、成长支持等信息,帮助学生和家长更清晰地了解在华夏学习、生活与发展的路径。';
- UPDATE website_navigation
- SET `desc` = @study_description
- WHERE idcard = 'FFKJ_SCHOOL_STUDY'
- AND (
- (wnccode = 10010 AND wtid = @screen_template_id)
- OR (wnccode = 10000 AND websiteid = @screen_website_id)
- );
|