You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

494 lines
9.7 KiB

5 months ago
select
ooo.shixun_id,
ooo.shixun_name,
ooo.visits,
ooo.created_at,
ooo.updated_at,
ooo.status,
ooo.publish_time,
ooo.`language`,
ooo.modify_time,
ooo.reset_time,
ooo.trainee,
ooo.myshixuns_count,
ooo.challenges_count,
ooo.averge_star,
ooo.task_pass,
group_concat(
ooo.disciplines_id separator '[SEP]'
) disciplines_id,
GROUP_CONCAT(
ooo.disciplines_name SEPARATOR '[SEP]'
) disciplines_name,
GROUP_CONCAT(ooo.subject_id SEPARATOR '[SEP]') subject_id,
GROUP_CONCAT(
ooo.subject_name SEPARATOR '[SEP]'
) subject_name
from
(SELECT
t.id shixun_id,
t.name shixun_name,
t.visits,
t.created_at,
t.updated_at,
t.status,
t.publish_time,
t.`language`,
t.modify_time,
t.reset_time,
t.trainee,
t.myshixuns_count,
t.challenges_count,
t.averge_star,
t.task_pass,
o5.id disciplines_id,
o5.name disciplines_name,
o4.id subject_id,
o4.name subject_name
FROM
shixuns t
LEFT JOIN subject_shixun_infos o3
ON t.id = o3.shixun_id
LEFT JOIN subjects o4
ON o3.subject_id = o4.id
LEFT JOIN sub_disciplines o6
ON o4.repertoire_id = o6.id
LEFT JOIN disciplines o5
ON o6.discipline_id = o5.id
WHERE t.hidden != 1
AND t.status = 2
AND t.name NOT IN (
'测试',
'测试测试',
'测试实训',
'测试一下!',
'测试课实训',
'测试一下',
'测试1',
'测试2',
'测试场试车',
'测试学习',
'测试题目',
'测试用项目',
'测试题目',
'测试 2个实训项目',
'测试01',
'测试02',
'测试04',
'测试05',
'测试11',
'测试22',
'测试77',
'测试88',
'测试999',
'测试cyy',
'测试22222222',
'测试99999',
'测试x',
'测试一轮',
'测试一:事务',
'测试三',
'测试二',
'测试刷新成绩',
'测试实训--txt',
'测试实训项目',
'测试实训题',
'测试实践课程20210329',
'测试实践项目被引用后,改名字——改名字啦~',
'测试用',
'测试有无',
'测试项目',
'测试作业',
'测试二 python编程',
'测试基础',
'测试测试测试测试测试测试测试测试',
'测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试测试',
'测试用',
'测试项目',
'测试项目1',
'测试重复做实训作业',
'测试项目名称',
'测试项目复制功能',
'测试题',
'测试题一',
'测试题三',
'测试题二',
'测试专用',
'测试程序',
'测试长名称测试长名称-测试长名称-测试长名称-测试长名称-测试长名称-测试长名称-测试长名称测试长名称测试长名称测试长名',
'测试在云上实验室新建的实训,在主站上是否显示?',
'测试2-计数器的应用SystemVerilog',
'测试上传',
'测试模版问题',
'测试输入',
'测试lab',
'测试实验',
'test',
'Test',
'实训项目',
'java',
'cesss',
'cnn',
'helloworld',
'spark.ml',
'c+++++++',
'asd',
'fewa',
'aaaa',
'hallo',
'ji',
'QQ、',
'aa',
'xx',
'ddd',
'd',
'q',
'HHC',
'jjj',
'aaa',
'xs',
'shixun_test',
'ccc',
'html',
'qzks',
'dddd',
'py',
'js',
'PY',
'vvv',
'impala',
'shixun',
'dd',
'safaf',
'list',
'ceshi',
'TypeSet_TEST',
'jupyter-jzx',
'Sss',
'xcd',
'jpt',
'qq',
'cxunlin'
'gre',
'casL',
'where',
'test_script',
'jupyter',
'git',
'hello',
'asda',
'ttt',
'c',
'dsf',
'Penalty',
'Hello,world.',
'aaaaaaaaaaaaaaaa',
'nmap',
'unitytest',
'dwd',
'syC#',
'rcore_tutorial',
'android-vnc-jzx',
'jioaben',
'testprint',
'print_test',
'Output',
'xutest',
'lmtest',
'testtest',
'name',
'teast',
'hello-flat',
'abc',
'lmTest',
'hj',
's',
'ttest',
'shishi',
'JavaLmTest',
'jupyter-gpu-jzx',
'lj',
'ddddddddddddddddddddddddd',
'FengWo',
'ProbePhishing',
'/../../../../../../../../../../../../boot.ini',
'/../../../../../../../../../../../../winnt/win.ini',
'/../../../../../../../../../../../../windows/win.ini',
'&&id',
'id',
'\..\..\..\..\..\..\..\..\..\..\..\..\boot.ini',
'\..\..\..\..\..\..\..\..\..\..\..\..\winnt\win.ini',
'\..\..\..\..\..\..\..\..\..\..\..\..\windows\win.ini',
'\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\boot.ini',
'\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\winnt\\win.ini',
'\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\..\\windows\\win.ini',
'nan',
'"',
'\"',
't',
'eeee',
'classify',
'web',
'B',
'Q-DMS-Weathe',
'djangorest',
'restdemo',
'globe',
'HTML',
'Control',
'image',
'eterhrh',
'rehsrjssj',
'string',
'Hello',
'sfsfdsf',
'fd',
'jsp',
'AW',
'e',
'kk',
'Android',
'android',
'hi',
'kfka',
'CA',
'sss',
'xho',
'DAS',
'SQL',
'alu',
'LX',
'sad',
'AAA',
'tmp',
'asp.net',
'JavaTest',
'llll',
'a+b',
'ffffff',
'sdfsdfsd',
'asdf',
'efgf',
'```',
'MyBatis'
'bochs',
'xunizuo',
'test-wps',
'sql',
'FNN',
'sxzDs',
'mmm',
'Ctest',
'C',
'Ctestasdf',
'dynet',
'a',
'qwweq',
'hello,world',
'ARM',
'fff',
'zxz',
'cpp.first',
'myspringchen',
'w',
'tes',
'dsag',
'tyjturteu',
'ACO',
'python-hello',
'testmake',
'bash',
'python-test',
'ss',
'wusuowei',
'ASDAASD',
'Lableme',
'A',
'EduCoder',
'test-VSCode',
'test-c',
'hhhtest',
'newOCR',
'ssssssss',
'sssss',
'aaaaaa',
'demo',
'dssdf',
'eee',
'ww',
'admin',
'flume',
'DD',
'testvi',
'qqq',
'testjava',
'qw',
'qimokaoshi',
'QQ',
'linux',
'testju',
'fdsf',
'CNN',
'xxx',
'GAng',
'gan',
'wqq',
'hu',
'dfds',
'Y',
'gghh',
'verilog',
'XXX',
'sdf',
'Pig',
'Ashman',
'Hello,World!',
'ffffda',
'hikhik',
'asdad',
'keke',
'sdsdf',
'cxd',
'ide',
'user',
'aaaaa',
'ruby',
'l',
'umi',
'testczd',
'ds',
'zsw',
'ces',
'JavaWeb',
'ECharts',
'grad-cam',
'hash',
'TestDir',
'sfsfsdf',
'DM',
'sdfsf',
'test-jupyterlab',
'led',
'svm',
'qqqq',
'test-jupyter-lab',
'c++',
'pygame',
'fh',
'dsajkfdaslk',
'sfdsfsa',
'vnc',
'oop',
'',
'.',
'Webview',
'tangzonghao',
'DeepDream',
'qwer',
'testlab',
'JasonProject',
'mat',
'rpc',
'kjkkhk',
'dsgdasgdasg',
'gui-test',
'kali',
'Eightpuzzle',
'jjh',
'dada',
'dadda',
'wwerer',
'AOP',
'IoC',
'SOFABoot',
'ts',
'sdsd',
'asfsaf',
'lnux',
'WebA',
'Python-hk',
'apache',
'sdafsaafa',
'RDD',
'wefsf',
'ff',
'KinD',
'New',
'dense',
'AAAs',
'ttst',
'ccxz',
'realm',
'xunhuanq',
'RISC-V',
'tas',
'zzgs-SQLServer',
'aeqwfd',
'wetyjg',
'jljl',
'asfda',
'MatthewXY',
'Nie',
'BPF',
're',
'ThreeJs',
'my',
'ThreeJsTest',
'gpu',
'ui',
'asdasd',
'aaaaaaa',
'sadasds',
'Noriko',
'qwe',
'nt',
'qz',
'iwqyeuwggyjiwjijiw',
'qewqe',
'animal',
'testcuda'
'Complex',
'plotly',
'asgiah'
'feature',
'ssnn',
'GSiuxvusabxasxiUASHsyd',
'duwei',
'chedaolab',
'aide',
'saxsxd',
'asasd',
'sax',
'testfork',
'testlq',
'JUPYTERNOT',
'ISE',
'dad'
'ocr',
'ocrr',
'ocrrr',
'ocrrrr',
'ocrrrrr',
'ocrrrrrrr',
'ghjgj',
'gfhf',
'dadawda',
'ao-lab',
'wwtest',
'testList'
)
AND t.name IS NOT NULL) ooo
group by ooo.shixun_id,
ooo.shixun_name,
ooo.visits,
ooo.created_at,
ooo.updated_at,
ooo.publish_time,
ooo.`language`,
ooo.modify_time,
ooo.reset_time,
ooo.trainee,
ooo.myshixuns_count,
ooo.challenges_count,
ooo.averge_star,
ooo.task_pass ;