| 
					
				 | 
			
			
				@@ -20,10 +20,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<result property="createTime" column="create_time" />
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<result property="updateBy"   column="update_by"   />
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		<result property="updateTime" column="update_time" />
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		<result property="jiBie" column="ji_bie" />
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	</resultMap>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	<sql id="selectDeptVo">
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        select d.dept_id, d.parent_id, d.ancestors, d.dept_name, d.order_num, d.leader, d.phone, d.email, d.status, d.del_flag, d.create_by, d.create_time 
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        select d.dept_id, d.parent_id, d.ancestors, d.dept_name, d.order_num, d.leader, d.phone, d.email, d.status, d.del_flag, d.create_by, d.create_time ,d.ji_bie
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         from sys_dept d
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </sql>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -97,6 +98,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  			<if test="email != null and email != ''">email,</if>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  			<if test="status != null">status,</if>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  			<if test="createBy != null and createBy != ''">create_by,</if>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 			<if test="jiBie != null">ji_bie,</if>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  			create_time
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  		)values(
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  			<if test="deptId != null and deptId != 0">#{deptId},</if>
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -109,6 +111,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  			<if test="email != null and email != ''">#{email},</if>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  			<if test="status != null">#{status},</if>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  			<if test="createBy != null and createBy != ''">#{createBy},</if>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 			<if test="jiBie != null">#{jiBie},</if>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  			sysdate()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  		)
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	</insert>
 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -125,6 +128,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  			<if test="email != null">email = #{email},</if>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  			<if test="status != null and status != ''">status = #{status},</if>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  			<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			<if test="jiBie != null">ji_bie = #{jiBie},</if>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  			update_time = sysdate()
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  		</set>
 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  		where dept_id = #{deptId}
 
			 |