|
|
|
@ -465,7 +465,7 @@ public class WorkOrderServiceImpl extends BaseServiceImpl<WorkOrderMapper, WorkO |
|
|
|
if (count > 0) { |
|
|
|
if (count > 0) { |
|
|
|
wpr.setReason("工序不可外协"); |
|
|
|
wpr.setReason("工序不可外协"); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
oemCraftAbilityService.count(Wrappers.lambdaQuery(OemCraftAbilityEntity.class).eq(OemCraftAbilityEntity::getCraftAbilityId, wp.getCaId())); |
|
|
|
count = oemCraftAbilityService.count(Wrappers.lambdaQuery(OemCraftAbilityEntity.class).eq(OemCraftAbilityEntity::getCraftAbilityId, wp.getCaId())); |
|
|
|
if (count == 0) { |
|
|
|
if (count == 0) { |
|
|
|
wpr.setReason("无对应工艺能力厂商"); |
|
|
|
wpr.setReason("无对应工艺能力厂商"); |
|
|
|
} |
|
|
|
} |
|
|
|
|