评分历史 创建时间和修改时间

This commit is contained in:
zhaokaiyao@91isoft.com
2021-12-07 09:59:02 +08:00
parent 39ffe69442
commit de2e2977a9
@@ -8,8 +8,10 @@
SELECT SELECT
`user`.UNAME AS userName, `user`.UNAME AS userName,
eva.user_id, eva.user_id,
iex.index_type as valueType,
avg(eva.score * iex.weight) AS score, avg(eva.score * iex.weight) AS score,
iex.index_type as valueType min(eva.create_time) as createTiem,
max(eva.modify_time) as modifyTime
FROM FROM
quality_evaluation AS eva quality_evaluation AS eva
LEFT JOIN ts_user `user` ON eva.user_id = `user`.USID LEFT JOIN ts_user `user` ON eva.user_id = `user`.USID
@@ -18,7 +20,6 @@
userName, userName,
eva.user_id, eva.user_id,
index_type index_type
${ew.customSqlSegment} ${ew.customSqlSegment}
</select> </select>
</mapper> </mapper>