| 
					
				 | 
			
			
				@@ -43,7 +43,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <select id="findList" resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementUserDTO"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         SELECT 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <include refid="reimbursementUserColumns"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        FROM zs_reimbursement_user_accountant_info a 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        FROM zs_reimbursement_user_info a 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <include refid="reimbursementUserJoinColumns"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             a.del_flag = 0 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -142,7 +142,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <update id="update"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        update zs_reimbursement_user_accountant_info 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        update zs_reimbursement_user_info 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         set 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             update_by = #{updateBy} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ,update_date = #{updateDate} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -163,7 +163,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <select id="queryById" resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementBusinessDTO"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         SELECT 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <include refid="reimbursementUserColumns"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            FROM zs_reimbursement_user_accountant_info a 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            FROM zs_reimbursement_user_info a 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <include refid="reimbursementUserJoinColumns"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             a.del_flag = 0 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -174,7 +174,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <select id="queryByUserIdAndYear" resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementUserDTO"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         SELECT 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <include refid="reimbursementUserColumns"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            FROM zs_reimbursement_user_accountant_info a 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            FROM zs_reimbursement_user_info a 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <include refid="reimbursementUserJoinColumns"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             a.del_flag = 0 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -184,7 +184,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </select> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <delete id="delete"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        delete from zs_reimbursement_user_accountant_info 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        delete from zs_reimbursement_user_info 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <where> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <if test="idList != null and idList.size>0"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 and id in 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -223,7 +223,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <select id="findListByBusinessCodeId" resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementBusinessDTO"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         SELECT 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <include refid="reimbursementBusinessColumns"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        ,(select name from sys_office where id = (select substring_index(substring_index(parent_ids,',',3 ),',',-1 ) from sys_office where id = su.office_id)) as 'userOfficeName' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ,(SELECT NAME FROM sys_office WHERE id = ( (case when (SELECT substring_index( substring_index( parent_ids, ',', 3 ), ',', - 1 ) FROM sys_office WHERE id = su.office_id ) = '' then (select id FROM sys_office WHERE id = su.office_id )  else (SELECT substring_index( substring_index( parent_ids, ',', 3 ), ',', - 1 ) FROM sys_office WHERE id = su.office_id ) end) )) AS 'userOfficeName' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         FROM zs_reimbursement_business_info a 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <include refid="reimbursementUserJoinColumns"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         left join sys_office so on so.id = su.office_id 
			 |