Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/commit/b4cac4c8732a488597624cd9f5c2d24c8e3bb2e9
You should set ROOT_URL correctly, otherwise the web may not work correctly.
3 changed files with
8 additions and
8 deletions
@ -37,8 +37,8 @@
AND q.content LIKE concat('%',#{content},'%')
</if>
</trim>
GROUP BY q.id ORDER BY q.update_time DESC
GROUP BY q.id,q.qu_type,q.levels,q.image,q.content,q.create_time,
q.update_time,q.remark,q.analysis ORDER BY q.update_time DESC
</select>
@ -21,9 +21,9 @@
<select id= "selectRepoList" parameterType= "com.ruoyi.system.domain.repo.ElRepo" resultType= "com.ruoyi.system.domain.repo.vo.RepoVO" >
SELECT id, code, title, remark, create_time, update_time,
(SELECT COUNT(0) FROM el_qu_repo WHERE repo_id=repo.id AND qu_type=1) AS radio_count,
(SELECT COUNT(0) FROM el_qu_repo WHERE repo_id=repo.id AND qu_type=2) AS multi_count,
(SELECT COUNT(0) FROM el_qu_repo WHERE repo_id=repo.id AND qu_type=3) AS judge_count
(SELECT COUNT(0) FROM el_qu_repo WHERE repo_id=repo.id AND qu_type=' 1' ) AS radio_count,
(SELECT COUNT(0) FROM el_qu_repo WHERE repo_id=repo.id AND qu_type=' 2' ) AS multi_count,
(SELECT COUNT(0) FROM el_qu_repo WHERE repo_id=repo.id AND qu_type=' 3' ) AS judge_count
FROM el_repo repo
<trim prefix= "where" prefixOverrides= "and|or" >
<if test= "title!=null and title!=''" >
@ -57,13 +57,13 @@
exam_id as examId,
(SELECT e.title from el_exam e where u.exam_id=e.id) as title,
COUNT (1) AS total,
SUM (CASE WHEN passed = 1 THEN 1 ELSE 0 END) AS tg,
SUM (CASE WHEN passed = 0 THEN 1 ELSE 0 END) AS wtg
SUM (CASE WHEN passed = ' 1' THEN 1 ELSE 0 END) AS tg,
SUM (CASE WHEN passed = ' 0' THEN 1 ELSE 0 END) AS wtg
FROM
el_user_exam u
GROUP BY
exam_id
ORDER BY u.create_time desc LIMIT 10
LIMIT 10
</select>