|
|
@ -113,6 +113,15 @@ |
|
|
|
tpr.submitTime DESC |
|
|
|
tpr.submitTime DESC |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--SELECT userName, |
|
|
|
|
|
|
|
count(*) AS experimentNumber, |
|
|
|
|
|
|
|
sum(timeSum) AS totalTime, |
|
|
|
|
|
|
|
avg(score) avgScore |
|
|
|
|
|
|
|
FROM tms_project_record pr |
|
|
|
|
|
|
|
LEFT JOIN hr_user_info u ON pr.userId = u.userId |
|
|
|
|
|
|
|
WHERE pr.userId = #{userid} |
|
|
|
|
|
|
|
and pr.isdel = #{isdel} |
|
|
|
|
|
|
|
and u.isdel = #{isdel}--> |
|
|
|
<!-- 个人实验预览--> |
|
|
|
<!-- 个人实验预览--> |
|
|
|
<select id="getByUserScore" resultType="com.msdw.tms.entity.vo.ProjectRecordVo"> |
|
|
|
<select id="getByUserScore" resultType="com.msdw.tms.entity.vo.ProjectRecordVo"> |
|
|
|
SELECT userName, |
|
|
|
SELECT userName, |
|
|
@ -122,8 +131,6 @@ |
|
|
|
FROM tms_project_record pr |
|
|
|
FROM tms_project_record pr |
|
|
|
LEFT JOIN hr_user_info u ON pr.userId = u.userId |
|
|
|
LEFT JOIN hr_user_info u ON pr.userId = u.userId |
|
|
|
WHERE pr.userId = #{userid} |
|
|
|
WHERE pr.userId = #{userid} |
|
|
|
and pr.isdel = #{isdel} |
|
|
|
|
|
|
|
and u.isdel = #{isdel} |
|
|
|
|
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<!-- 个人实验预览--> |
|
|
|
<!-- 个人实验预览--> |
|
|
|
<select id="queryScore" resultType="com.msdw.tms.entity.vo.ProjectRecordVo"> |
|
|
|
<select id="queryScore" resultType="com.msdw.tms.entity.vo.ProjectRecordVo"> |
|
|
|