入库出库

This commit is contained in:
2026-03-26 10:29:20 +08:00
parent 824b030146
commit 8a8250755a

View File

@ -207,8 +207,7 @@ public class LngInventoryInController {
.eq(LngInventoryIn::getOpsId, dto.getOpsId()) .eq(LngInventoryIn::getOpsId, dto.getOpsId())
.ne(!Objects.isNull(dto.getId()), LngInventoryIn::getId, dto.getId())); .ne(!Objects.isNull(dto.getId()), LngInventoryIn::getId, dto.getId()));
if (nameCount > 0) { if (nameCount > 0) {
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DATA_FIELD_DUPLICATION, throw new BusinessException(BusinessCode.of(10500, "采购执行不能重复!"));
"采购执行"));
} }
} }