入库出库
This commit is contained in:
@ -207,8 +207,7 @@ public class LngInventoryInController {
|
||||
.eq(LngInventoryIn::getOpsId, dto.getOpsId())
|
||||
.ne(!Objects.isNull(dto.getId()), LngInventoryIn::getId, dto.getId()));
|
||||
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