企标流程质量评分 计算总分修改

This commit is contained in:
zhaokaiyao@91isoft.com
2022-01-07 14:15:41 +08:00
parent 2e6ca96447
commit b15cd814ca
2 changed files with 10 additions and 9 deletions
@@ -11,9 +11,8 @@
`index`.value_type as valueType,
eva.evaluation_type as evaluationType,
process_node as processNode,
avg(eva.score * `index`.weight) AS score,
min(eva.create_time) as createTiem,
max(eva.modify_time) as modifyTime
sum(eva.score * `index`.weight) AS score,
max(eva.create_time) as createTiem
FROM
quality_evaluation AS eva
LEFT JOIN ts_user `user` ON eva.user_id = `user`.USID
@@ -26,7 +25,7 @@
valueType,
evaluationType,
process_node
ORDER BY modifyTime DESC,process_node ASC
ORDER BY createTiem DESC,process_node ASC
</select>
@@ -36,6 +35,7 @@
resultType="com.adc.da.slrs.sarEnterpriseStandardEvaluation.entity.QualityEvaluation">
SELECT
DISTINCT
UNAME AS userName,
score,
reason,
@@ -48,7 +48,8 @@
`index`.one_index_title as oneIndexTitle,
`index`.two_index_title as twoIndexTitle,
`index`.three_index_title as threeIndexTitle,
`index`.weight as weight
`index`.weight as weight,
`index`.index_sort
FROM
quality_evaluation
LEFT JOIN ts_user `user` ON quality_evaluation.user_id = `user` .USID