| 
					
				 | 
			
			
				@@ -42,6 +42,7 @@ public class EvaluationGradeServiceImpl extends ServiceImpl<EvaluationGradeMappe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 自定义分页查询,含关联实体对像 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public IPage<EvaluationGradeEntity> findPage(IPage<EvaluationGradeEntity> page, EvaluationGradeEntity evaluationGradeEntity) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         LoginUser currentUser = UserUtil.getCurrentUser(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -55,10 +56,12 @@ public class EvaluationGradeServiceImpl extends ServiceImpl<EvaluationGradeMappe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         Page<EvaluationGradeEntity> iPage = evaluationGradeMapper.findPage(page, evaluationGradeEntity); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (EvaluationGradeEntity item : iPage.getRecords()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             item.setCompanyOrgName(orgInfoUtil.getOrgName(item.getCompanyOrgId())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (item.getType() != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (item.getType() != null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 item.setTypeName(dictUtil.getDictName("SC_EVALUATION_GRADE_TYPE", item.getType().intValue())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (item.getEvaluationGrade() != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (item.getEvaluationGrade() != null) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 item.setEvaluationGradeName(dictUtil.getDictName("SC_EVALUATION_GRADE", item.getEvaluationGrade().intValue())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return iPage; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -66,6 +69,7 @@ public class EvaluationGradeServiceImpl extends ServiceImpl<EvaluationGradeMappe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 查列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public List<EvaluationGradeEntity> findList(EvaluationGradeEntity evaluationGradeEntity) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         LoginUser currentUser = UserUtil.getCurrentUser(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if(currentUser!=null) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -81,6 +85,7 @@ public class EvaluationGradeServiceImpl extends ServiceImpl<EvaluationGradeMappe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 批量删除 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @Transactional(rollbackFor = Exception.class) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public boolean delEvaluationGradeByIds(Long[] ids) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return this.removeByIds(Arrays.asList(ids)); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -89,6 +94,7 @@ public class EvaluationGradeServiceImpl extends ServiceImpl<EvaluationGradeMappe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 单个删除 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public boolean delEvaluationGradeById(Long id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return this.removeById(id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -96,6 +102,7 @@ public class EvaluationGradeServiceImpl extends ServiceImpl<EvaluationGradeMappe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 保存 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public boolean addEvaluationGrade(EvaluationGradeEntity evaluationGrade) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (this.save(evaluationGrade)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return true; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -114,6 +121,7 @@ public class EvaluationGradeServiceImpl extends ServiceImpl<EvaluationGradeMappe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 修改根居ID 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public boolean updateEvaluationGradeById(EvaluationGradeEntity evaluationGrade) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (this.updateById(evaluationGrade)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return true; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -124,6 +132,7 @@ public class EvaluationGradeServiceImpl extends ServiceImpl<EvaluationGradeMappe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      * 根居ID获取对象 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				      */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @Override 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public EvaluationGradeEntity findEvaluationGradeById(Long id) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return evaluationGradeMapper.findEvaluationGradeById(id); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 |