| | |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | | * 问卷问题指标选项库Mapper接口 |
| | |
| | | public List<SvyLibTemplateTargetoption> selectSvyLibTemplateTargetoptionList(SvyLibTemplateTargetoption svyLibTemplateTargetoption); |
| | | |
| | | /** |
| | | * 满意度统计:一次取回多个问题的选项分值(只取 scriptid、score 两列) |
| | | * <p> |
| | | * 原实现是每个问题查一次整行,而调用方只用到 score 算最高/最低分。 |
| | | * scriptIds 传空时表示不加 scriptid 过滤(等价于原查询在 scriptid 为 null 时不拼该条件)。 |
| | | * |
| | | * @param scriptIds 问题id集合(对应 svy_lib_template_script.id),可为空 |
| | | * @return 每行含 scriptid、score |
| | | */ |
| | | public List<Map<String, Object>> selectSvyLibTargetoptionScores(@Param("scriptIds") List<Long> scriptIds); |
| | | |
| | | /** |
| | | * 新增问卷问题指标选项库 |
| | | * |
| | | * @param svyLibTemplateTargetoption 问卷问题指标选项库 |