Commit cc3ee936 by wangxin

小E数字提示问题

parent 5c75076d
...@@ -73,9 +73,9 @@ ...@@ -73,9 +73,9 @@
</if> </if>
<if test="state == 1"> <if test="state == 1">
SELECT DISTINCT a.name AS NAME,a.start_time AS startTime, SELECT DISTINCT a.name AS NAME,a.start_time AS startTime,
a.end_time AS endTime,a.id AS id,null AS trainingProjectId,a.description as description a.end_time AS endTime,a.id AS id,null AS trainingProjectId,a.description as description,a.create_time
FROM exam a FROM exam a
LEFT JOIN (select exam_id, account_id, training_project_id LEFT JOIN (select exam_id, account_id
FROM tr_exam_answer FROM tr_exam_answer
WHERE account_id=#{accountId} WHERE account_id=#{accountId}
GROUP BY exam_id, account_id GROUP BY exam_id, account_id
...@@ -196,7 +196,7 @@ ...@@ -196,7 +196,7 @@
SELECT DISTINCT a.id SELECT DISTINCT a.id
FROM exam a FROM exam a
LEFT JOIN ( LEFT JOIN (
select exam_id, account_id, training_project_id select exam_id, account_id
FROM tr_exam_answer FROM tr_exam_answer
WHERE account_id=#{accountId} WHERE account_id=#{accountId}
...@@ -646,7 +646,7 @@ ...@@ -646,7 +646,7 @@
SELECT DISTINCT a.id SELECT DISTINCT a.id
FROM exam a FROM exam a
LEFT JOIN ( LEFT JOIN (
select exam_id, account_id,training_project_id select exam_id, account_id
FROM tr_exam_answer FROM tr_exam_answer
WHERE account_id=#{accountId} WHERE account_id=#{accountId}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment