| 
					
				 | 
			
			
				@@ -32,13 +32,14 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="date_create" property="dateCreate" jdbcType="DATE" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="update_by" property="updateBy" jdbcType="VARCHAR" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <result column="date_update" property="dateUpdate" jdbcType="DATE" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <result column="reject_reason" property="rejectReason" jdbcType="VARCHAR" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </resultMap> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <sql id="Base_Column_List" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     id, task_no, task_desc, order_user_id, send_time, send_by, plan_finish_date, finish_date,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     date_limit, urgency, address, contact_user, contact_phone, order_time, company_org_id,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     department_org_id, order_status, event_type, order_type_id, order_pid, tenant_id,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     process_instance_id, process_def_id, current_task_id, current_users, current_task_name,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    create_by, date_create, update_by, date_update 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    create_by, date_create, update_by, date_update, reject_reason 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </sql> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     select  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -60,8 +61,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       order_type_id, order_pid, tenant_id,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       process_instance_id, process_def_id, current_task_id,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       current_users, current_task_name, create_by,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      date_create, update_by, date_update 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      date_create, update_by, date_update,  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      reject_reason) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     values (#{id,jdbcType=INTEGER}, #{taskNo,jdbcType=VARCHAR}, #{taskDesc,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{orderUserId,jdbcType=VARCHAR}, #{sendTime,jdbcType=DATE}, #{sendBy,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{planFinishDate,jdbcType=DATE}, #{finishDate,jdbcType=DATE}, #{dateLimit,jdbcType=VARCHAR},  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -71,8 +72,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{orderTypeId,jdbcType=INTEGER}, #{orderPid,jdbcType=VARCHAR}, #{tenantId,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{processInstanceId,jdbcType=VARCHAR}, #{processDefId,jdbcType=VARCHAR}, #{currentTaskId,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       #{currentUsers,jdbcType=VARCHAR}, #{currentTaskName,jdbcType=VARCHAR}, #{createBy,jdbcType=VARCHAR},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      #{dateCreate,jdbcType=DATE}, #{updateBy,jdbcType=VARCHAR}, #{dateUpdate,jdbcType=DATE} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{dateCreate,jdbcType=DATE}, #{updateBy,jdbcType=VARCHAR}, #{dateUpdate,jdbcType=DATE},  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      #{rejectReason,jdbcType=VARCHAR}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <insert id="insertSelective" parameterType="com.huaxu.order.entity.WorkOrderManage" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     insert into sc_work_order_manage 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -167,6 +168,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="dateUpdate != null" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         date_update, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="rejectReason != null" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        reject_reason, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <trim prefix="values (" suffix=")" suffixOverrides="," > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="id != null" > 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -259,6 +263,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="dateUpdate != null" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         #{dateUpdate,jdbcType=DATE}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="rejectReason != null" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        #{rejectReason,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </trim> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </insert> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   <update id="updateByPrimaryKeySelective" parameterType="com.huaxu.order.entity.WorkOrderManage" > 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -351,6 +358,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <if test="dateUpdate != null" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         date_update = #{dateUpdate,jdbcType=DATE}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <if test="rejectReason != null" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        reject_reason = #{rejectReason,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </if> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </set> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where id = #{id,jdbcType=INTEGER} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -384,7 +394,8 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       create_by = #{createBy,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       date_create = #{dateCreate,jdbcType=DATE}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       update_by = #{updateBy,jdbcType=VARCHAR}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      date_update = #{dateUpdate,jdbcType=DATE} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      date_update = #{dateUpdate,jdbcType=DATE}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      reject_reason = #{rejectReason,jdbcType=VARCHAR} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     where id = #{id,jdbcType=INTEGER} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </update> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </mapper> 
			 |