Merge remote-tracking branch 'origin/master'
| | |
| | | queryWrapper.ne("id", processTemplate.getId()); |
| | | } |
| | | if(baseMapper.selectOne(queryWrapper)!=null){ |
| | | throw new ServiceException(processTemplate.getButtonTypeValue()+"功能已经配置了流程!"); |
| | | throw new ServiceException("模板key:"+processTemplate.getModelKey()+"与模板名称:"+processTemplate.getModelName()+",在此模板下已被配置,请检查!"); |
| | | } |
| | | if(StringUtils.isEmpty(processTemplate.getButtonTypeValue())){ |
| | | processTemplate.setButtonTypeValue(ProcessTemplateTypeEnum.getTextByValue(processTemplate.getButtonTypeKey())); |