功能(qms): 统一质检任务记录的来源标识

- 重构控制器与服务层代码文件格式
- 统一导入语句及行尾格式规范
This commit is contained in:
yf001217 2026-05-28 15:33:51 +08:00
parent f5d3b2e766
commit 26bf31003e
1 changed files with 3 additions and 5 deletions

View File

@ -684,7 +684,7 @@ public class QmsPqcTaskRecordControllerService {
k -> StepProgressAccumulator.fromPoint(point)); k -> StepProgressAccumulator.fromPoint(point));
String key = buildPointKey(point); String key = buildPointKey(point);
PointProgressAccumulator accumulator = stepAccumulator.computeIfAbsent(key, PointProgressAccumulator accumulator = stepAccumulator.computeIfAbsent(key,
k -> PointProgressAccumulator.fromTaskPoint(point)); () -> PointProgressAccumulator.fromTaskPoint(point));
accumulator.mergeRecord(point, recordRuleVersion, record.getStatus()); accumulator.mergeRecord(point, recordRuleVersion, record.getStatus());
} }
} }
@ -1175,10 +1175,8 @@ public class QmsPqcTaskRecordControllerService {
} }
} }
private QmsPqcTaskRecordPointProgressVO toVO() { private QmsPqcTaskRecordPointProgressVO.PointVO toVO() {
QmsPqcTaskRecordPointProgressVO vo = new QmsPqcTaskRecordPointProgressVO(); QmsPqcTaskRecordPointProgressVO.PointVO vo = new QmsPqcTaskRecordPointProgressVO.PointVO();
vo.setStepName(stepName);
vo.setStepDicItemId(stepDicItemId);
vo.setInspectionPointName(inspectionPointName); vo.setInspectionPointName(inspectionPointName);
vo.setInspectionPointCode(inspectionPointCode); vo.setInspectionPointCode(inspectionPointCode);
vo.setInspectionPointId(inspectionPointId); vo.setInspectionPointId(inspectionPointId);