| 
															
																@@ -43,7 +43,7 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     <select id="findList" resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementUserDTO"> 
															 | 
															
															 | 
															
																     <select id="findList" resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementUserDTO"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         SELECT 
															 | 
															
															 | 
															
																         SELECT 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             <include refid="reimbursementUserColumns"/> 
															 | 
															
															 | 
															
																             <include refid="reimbursementUserColumns"/> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        FROM zs_reimbursement_user_accountant_info a 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        FROM zs_reimbursement_user_info a 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <include refid="reimbursementUserJoinColumns"/> 
															 | 
															
															 | 
															
																         <include refid="reimbursementUserJoinColumns"/> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <where> 
															 | 
															
															 | 
															
																         <where> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             a.del_flag = 0 
															 | 
															
															 | 
															
																             a.del_flag = 0 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -142,7 +142,7 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     </insert> 
															 | 
															
															 | 
															
																     </insert> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																     <update id="update"> 
															 | 
															
															 | 
															
																     <update id="update"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        update zs_reimbursement_user_accountant_info 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        update zs_reimbursement_user_info 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         set 
															 | 
															
															 | 
															
																         set 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             update_by = #{updateBy} 
															 | 
															
															 | 
															
																             update_by = #{updateBy} 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             ,update_date = #{updateDate} 
															 | 
															
															 | 
															
																             ,update_date = #{updateDate} 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -163,7 +163,7 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     <select id="queryById" resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementBusinessDTO"> 
															 | 
															
															 | 
															
																     <select id="queryById" resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementBusinessDTO"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         SELECT 
															 | 
															
															 | 
															
																         SELECT 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <include refid="reimbursementUserColumns"/> 
															 | 
															
															 | 
															
																         <include refid="reimbursementUserColumns"/> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            FROM zs_reimbursement_user_accountant_info a 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            FROM zs_reimbursement_user_info a 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <include refid="reimbursementUserJoinColumns"/> 
															 | 
															
															 | 
															
																         <include refid="reimbursementUserJoinColumns"/> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <where> 
															 | 
															
															 | 
															
																         <where> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             a.del_flag = 0 
															 | 
															
															 | 
															
																             a.del_flag = 0 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -174,7 +174,7 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     <select id="queryByUserIdAndYear" resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementUserDTO"> 
															 | 
															
															 | 
															
																     <select id="queryByUserIdAndYear" resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementUserDTO"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         SELECT 
															 | 
															
															 | 
															
																         SELECT 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <include refid="reimbursementUserColumns"/> 
															 | 
															
															 | 
															
																         <include refid="reimbursementUserColumns"/> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-            FROM zs_reimbursement_user_accountant_info a 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+            FROM zs_reimbursement_user_info a 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <include refid="reimbursementUserJoinColumns"/> 
															 | 
															
															 | 
															
																         <include refid="reimbursementUserJoinColumns"/> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <where> 
															 | 
															
															 | 
															
																         <where> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             a.del_flag = 0 
															 | 
															
															 | 
															
																             a.del_flag = 0 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -184,7 +184,7 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     </select> 
															 | 
															
															 | 
															
																     </select> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																     <delete id="delete"> 
															 | 
															
															 | 
															
																     <delete id="delete"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-        delete from zs_reimbursement_user_accountant_info 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+        delete from zs_reimbursement_user_info 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <where> 
															 | 
															
															 | 
															
																         <where> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																             <if test="idList != null and idList.size>0"> 
															 | 
															
															 | 
															
																             <if test="idList != null and idList.size>0"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																                 and id in 
															 | 
															
															 | 
															
																                 and id in 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -223,7 +223,7 @@ 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     <select id="findListByBusinessCodeId" resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementBusinessDTO"> 
															 | 
															
															 | 
															
																     <select id="findListByBusinessCodeId" resultType="com.jeeplus.test.reimbursementAccountant.domain.dto.AccountantReimbursementBusinessDTO"> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         SELECT 
															 | 
															
															 | 
															
																         SELECT 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <include refid="reimbursementBusinessColumns"/> 
															 | 
															
															 | 
															
																         <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 
															 | 
															
															 | 
															
																         FROM zs_reimbursement_business_info a 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         <include refid="reimbursementUserJoinColumns"/> 
															 | 
															
															 | 
															
																         <include refid="reimbursementUserJoinColumns"/> 
															 | 
														
													
												
													
														
															| 
															 | 
															
																         left join sys_office so on so.id = su.office_id 
															 | 
															
															 | 
															
																         left join sys_office so on so.id = su.office_id 
															 |