|  | @@ -84,7 +84,7 @@ public class AppRuleServiceImpl extends ServiceImplBase<AppRuleMapper, AppRule>
 | 
	
		
			
				|  |  |          BeanUtils.copyProperties(appRuleEditDto, appRule);
 | 
	
		
			
				|  |  |          Integer nums = appRuleMapper.checkRuleNameRepeat(appRule.getId(), appRule.getName());
 | 
	
		
			
				|  |  |          if (nums > 0) {
 | 
	
		
			
				|  |  | -            throw new RuntimeException("履职内容库名称重复");
 | 
	
		
			
				|  |  | +            throw new RuntimeException("履职手册名称重复");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          if (appRule.getId() == null) {
 | 
	
	
		
			
				|  | @@ -108,7 +108,7 @@ public class AppRuleServiceImpl extends ServiceImplBase<AppRuleMapper, AppRule>
 | 
	
		
			
				|  |  |                  .eq(AppRuleItem::getDeleted,0);
 | 
	
		
			
				|  |  |          Long itemCount= appRuleItemService.count(wrapper);
 | 
	
		
			
				|  |  |          if(itemCount>0){
 | 
	
		
			
				|  |  | -            throw new ServiceException("履职内容库存在履职项,请先删除履职项");
 | 
	
		
			
				|  |  | +            throw new ServiceException("履职手册存在履职项,请先删除履职项");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |          appRuleMapper.deleteById(id);
 |