package com.ruoyi.satisfaction.domain.row;
|
|
import lombok.Data;
|
|
/**
|
* 选项分值只读视图(只取 scriptid 与 score 两列)。
|
* <p>
|
* 用途:满意度明细统计里算每个问题的**最高分 / 最低分**。
|
* 原实现对应
|
* {@code IvrLibaTemplateTargetoptionMapper.selectIvrLibaTargetoptionScores} 与
|
* {@code SvyLibTemplateTargetoptionMapper.selectSvyLibTargetoptionScores},
|
* 两者列与语义完全一致(分别来自 {@code ivr_liba_template_targetoption} 与
|
* {@code svy_lib_template_targetoption}),所以共用一个类。
|
* <p>
|
* ⚠️ {@code score} 用 {@code String} 承载:历史数据里存在
|
* {@code 0}、{@code 0000000001} 这类脏值,原实现也是按字符串解析,
|
* <b>不能</b>改成数字类型,否则解析行为会变。
|
* <p>
|
* ⚠️ 这是<b>只读</b>视图。
|
*/
|
@Data
|
public class SatisfactionOptionScoreRow {
|
|
/**
|
* 对应列 {@code scriptid}:问题 id(关联 {@code *_lib_template_script})
|
*/
|
private Long scriptid;
|
|
/**
|
* 对应列 {@code score}:选项分值(字符串,保留脏值原样)
|
*/
|
private String score;
|
}
|