private void vldExist(Long id, WebErrors errors) { if (errors.hasErrors()) { return; } ProductTag entity = productTagMng.findById(id); errors.ifNotExist(entity, ProductTag.class, id); }
private boolean vldPsqyExist(Long id, WebErrors errors) { Psqy entity = psqyMng.findById(id); return errors.ifNotExist(entity, Psqy.class, id); }
private boolean vldExist(String id, WebErrors errors) { Fws entity = fwsMng.findById(id); return errors.ifNotExist(entity, Fws.class, id); }