| | |
| | | /** |
| | | * MES 检验结果 Service 接口 |
| | | * |
| | | * @author 芋道源码 |
| | | * @author 超级管理员 |
| | | */ |
| | | public interface MesQcIndicatorResultService { |
| | | |
| | |
| | | List<MesQcIndicatorResultDetailDO> getIndicatorResultDetailListByResultId(Long resultId); |
| | | |
| | | /** |
| | | * 获取指定质检单下的检验结果列表 |
| | | * |
| | | * @param qcId 质检单 ID |
| | | * @param qcType 质检类型 |
| | | * @return 结果列表 |
| | | */ |
| | | List<MesQcIndicatorResultDO> getIndicatorResultListByQcIdAndType(Long qcId, Integer qcType); |
| | | |
| | | /** |
| | | * 获取指定质检单下的检验结果数量 |
| | | * |
| | | * @param qcId 质检单 ID |
| | |
| | | Long getIndicatorResultCountByQcIdAndType(Long qcId, Integer qcType); |
| | | |
| | | /** |
| | | * 根据质检单ID列表和类型批量获取检验结果 |
| | | * |
| | | * @param qcIds 质检单 ID 列表 |
| | | * @param qcType 质检类型 |
| | | * @return 检验结果列表 |
| | | */ |
| | | List<MesQcIndicatorResultDO> getIndicatorResultListByQcIdsAndType(List<Long> qcIds, Integer qcType); |
| | | |
| | | /** |
| | | * 根据结果ID列表批量获取检验结果明细 |
| | | * |
| | | * @param resultIds 结果ID列表 |
| | | * @return 检验结果明细列表 |
| | | */ |
| | | List<MesQcIndicatorResultDetailDO> getIndicatorResultDetailListByResultIds(List<Long> resultIds); |
| | | |
| | | /** |
| | | * 校验指定质检单下至少存在一条检验结果 |
| | | * |
| | | * @param qcId 质检单 ID |