示例#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
文件: FwsAct.java 项目: lizq888/sqo2o
 private boolean vldPsqyExist(Long id, WebErrors errors) {
   Psqy entity = psqyMng.findById(id);
   return errors.ifNotExist(entity, Psqy.class, id);
 }
示例#3
0
文件: FwsAct.java 项目: lizq888/sqo2o
 private boolean vldExist(String id, WebErrors errors) {
   Fws entity = fwsMng.findById(id);
   return errors.ifNotExist(entity, Fws.class, id);
 }