入库出库
This commit is contained in:
@ -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, "采购执行不能重复!"));
|
||||||
"采购执行"));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user