| 
						
						
							
								
							
						
						
					 | 
					@ -61,15 +61,19 @@ | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					
 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					    <select id="selectCategoryList" resultType="com.epmet.dto.IssueProjectCategoryDictDTO"> | 
					 | 
					 | 
					    <select id="selectCategoryList" resultType="com.epmet.dto.IssueProjectCategoryDictDTO"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        SELECT | 
					 | 
					 | 
					        SELECT | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            * | 
					 | 
					 | 
					            a.*, | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					            b.CATEGORY_NAME as parentCategoryName | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        FROM | 
					 | 
					 | 
					        FROM | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            issue_project_category_dict | 
					 | 
					 | 
					            issue_project_category_dict a | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        LEFT JOIN issue_project_category_dict b ON a.PID = b.ID | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        AND b.del_flag = '0' | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					 | 
					 | 
					 | 
					        AND b.customer_id = #{customerId} | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        WHERE | 
					 | 
					 | 
					        WHERE | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					            del_flag = '0' | 
					 | 
					 | 
					            a.del_flag = '0' | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					        AND customer_id = #{customerId} | 
					 | 
					 | 
					        AND a.customer_id = #{customerId} | 
				
			
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        <if test="cstegoryIdList != null and cstegoryIdList.size() > 0"> | 
					 | 
					 | 
					        <if test="cstegoryIdList != null and cstegoryIdList.size() > 0"> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					            <foreach collection="cstegoryIdList" item="id" open="AND(  " separator=" OR " index="index" close=")"> | 
					 | 
					 | 
					            <foreach collection="cstegoryIdList" item="id" open="AND(  " separator=" OR " index="index" close=")"> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					                id = #{id} | 
					 | 
					 | 
					                a.id = #{id} | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					            </foreach> | 
					 | 
					 | 
					            </foreach> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        </if> | 
					 | 
					 | 
					        </if> | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        ORDER BY | 
					 | 
					 | 
					        ORDER BY | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |