Пример #1
0
 private void vldExist(Long id, WebErrors errors) {
   if (errors.hasErrors()) {
     return;
   }
   ProductTag entity = productTagMng.findById(id);
   errors.ifNotExist(entity, ProductTag.class, id);
 }
Пример #2
0
 private boolean vldPsqyExist(Long id, WebErrors errors) {
   Psqy entity = psqyMng.findById(id);
   return errors.ifNotExist(entity, Psqy.class, id);
 }
Пример #3
0
 private boolean vldExist(String id, WebErrors errors) {
   Fws entity = fwsMng.findById(id);
   return errors.ifNotExist(entity, Fws.class, id);
 }