pqc检测任务修改
This commit is contained in:
parent
ff61997c86
commit
87ff87ed29
|
|
@ -127,13 +127,12 @@ public class QmsPqcInspectionRuleControllerServiceImpl implements QmsPqcInspecti
|
|||
materialItems.add(vo);
|
||||
}
|
||||
|
||||
// 第2类和第3类:工序检查(按类型和星级分)
|
||||
// 包含:inspectionType = 1 或 2
|
||||
if (type == 1 || type == 2) {
|
||||
if (level == 1 || level == 2) {
|
||||
// 第2类和第3类:按星级分,自检看1/2星,QC看3星
|
||||
if (Objects.equals(level, 1) || Objects.equals(level, 2) || Objects.equals(level, 3)) {
|
||||
if (Objects.equals(level, 1) || Objects.equals(level, 2)) {
|
||||
// 星级1或2 → 自检复核类
|
||||
selfReviewItems.add(vo);
|
||||
} else if (level == 3) {
|
||||
} else if (Objects.equals(level, 3)) {
|
||||
// 星级3 → QC检测类
|
||||
qcItems.add(vo);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue