|
@@ -6,10 +6,10 @@
|
|
|
<result column="task_no" property="taskNo" jdbcType="VARCHAR" />
|
|
|
<result column="task_desc" property="taskDesc" jdbcType="VARCHAR" />
|
|
|
<result column="order_user_id" property="orderUserId" jdbcType="VARCHAR" />
|
|
|
- <result column="send_time" property="sendTime" jdbcType="DATE" />
|
|
|
+ <result column="send_time" property="sendTime" jdbcType="TIMESTAMP" />
|
|
|
<result column="send_by" property="sendBy" jdbcType="VARCHAR" />
|
|
|
- <result column="plan_finish_date" property="planFinishDate" jdbcType="DATE" />
|
|
|
- <result column="finish_date" property="finishDate" jdbcType="DATE" />
|
|
|
+ <result column="plan_finish_date" property="planFinishDate" jdbcType="TIMESTAMP" />
|
|
|
+ <result column="finish_date" property="finishDate" jdbcType="TIMESTAMP" />
|
|
|
<result column="date_limit" property="dateLimit" jdbcType="VARCHAR" />
|
|
|
<result column="urgency" property="urgency" jdbcType="VARCHAR" />
|
|
|
<result column="address" property="address" jdbcType="VARCHAR" />
|
|
@@ -29,10 +29,9 @@
|
|
|
<result column="current_users" property="currentUsers" jdbcType="VARCHAR" />
|
|
|
<result column="current_task_name" property="currentTaskName" jdbcType="VARCHAR" />
|
|
|
<result column="create_by" property="createBy" jdbcType="VARCHAR" />
|
|
|
- <result column="date_create" property="dateCreate" jdbcType="DATE" />
|
|
|
+ <result column="date_create" property="dateCreate" jdbcType="TIMESTAMP" />
|
|
|
<result column="update_by" property="updateBy" jdbcType="VARCHAR" />
|
|
|
- <result column="date_update" property="dateUpdate" jdbcType="DATE" />
|
|
|
- <result column="reject_reason" property="rejectReason" jdbcType="VARCHAR" />
|
|
|
+ <result column="date_update" property="dateUpdate" jdbcType="TIMESTAMP" />
|
|
|
<result column="geo" property="geo" jdbcType="VARCHAR" />
|
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List" >
|
|
@@ -40,7 +39,7 @@
|
|
|
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, reject_reason, geo
|
|
|
+ create_by, date_create, update_by, date_update, geo
|
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.Integer" >
|
|
|
select
|
|
@@ -63,18 +62,18 @@
|
|
|
process_instance_id, process_def_id, current_task_id,
|
|
|
current_users, current_task_name, create_by,
|
|
|
date_create, update_by, date_update,
|
|
|
- reject_reason, geo)
|
|
|
+ geo)
|
|
|
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},
|
|
|
+ #{orderUserId,jdbcType=VARCHAR}, #{sendTime,jdbcType=TIMESTAMP}, #{sendBy,jdbcType=VARCHAR},
|
|
|
+ #{planFinishDate,jdbcType=TIMESTAMP}, #{finishDate,jdbcType=TIMESTAMP}, #{dateLimit,jdbcType=VARCHAR},
|
|
|
#{urgency,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{contactUser,jdbcType=VARCHAR},
|
|
|
#{contactPhone,jdbcType=VARCHAR}, #{orderTime,jdbcType=VARCHAR}, #{companyOrgId,jdbcType=VARCHAR},
|
|
|
#{departmentOrgId,jdbcType=VARCHAR}, #{orderStatus,jdbcType=INTEGER}, #{eventType,jdbcType=INTEGER},
|
|
|
#{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},
|
|
|
- #{rejectReason,jdbcType=VARCHAR}, #{geo,jdbcType=VARCHAR})
|
|
|
+ #{dateCreate,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{dateUpdate,jdbcType=TIMESTAMP},
|
|
|
+ #{geo,jdbcType=VARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="com.huaxu.order.entity.WorkOrderManage" keyProperty="id" useGeneratedKeys="true">
|
|
|
insert into sc_work_order_manage
|
|
@@ -169,9 +168,6 @@
|
|
|
<if test="dateUpdate != null" >
|
|
|
date_update,
|
|
|
</if>
|
|
|
- <if test="rejectReason != null" >
|
|
|
- reject_reason,
|
|
|
- </if>
|
|
|
<if test="geo != null" >
|
|
|
geo,
|
|
|
</if>
|
|
@@ -190,16 +186,16 @@
|
|
|
#{orderUserId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="sendTime != null" >
|
|
|
- #{sendTime,jdbcType=DATE},
|
|
|
+ #{sendTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="sendBy != null" >
|
|
|
#{sendBy,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="planFinishDate != null" >
|
|
|
- #{planFinishDate,jdbcType=DATE},
|
|
|
+ #{planFinishDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="finishDate != null" >
|
|
|
- #{finishDate,jdbcType=DATE},
|
|
|
+ #{finishDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="dateLimit != null" >
|
|
|
#{dateLimit,jdbcType=VARCHAR},
|
|
@@ -259,16 +255,13 @@
|
|
|
#{createBy,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="dateCreate != null" >
|
|
|
- #{dateCreate,jdbcType=DATE},
|
|
|
+ #{dateCreate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="updateBy != null" >
|
|
|
#{updateBy,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="dateUpdate != null" >
|
|
|
- #{dateUpdate,jdbcType=DATE},
|
|
|
- </if>
|
|
|
- <if test="rejectReason != null" >
|
|
|
- #{rejectReason,jdbcType=VARCHAR},
|
|
|
+ #{dateUpdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="geo != null" >
|
|
|
#{geo,jdbcType=VARCHAR},
|
|
@@ -288,16 +281,16 @@
|
|
|
order_user_id = #{orderUserId,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="sendTime != null" >
|
|
|
- send_time = #{sendTime,jdbcType=DATE},
|
|
|
+ send_time = #{sendTime,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="sendBy != null" >
|
|
|
send_by = #{sendBy,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="planFinishDate != null" >
|
|
|
- plan_finish_date = #{planFinishDate,jdbcType=DATE},
|
|
|
+ plan_finish_date = #{planFinishDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="finishDate != null" >
|
|
|
- finish_date = #{finishDate,jdbcType=DATE},
|
|
|
+ finish_date = #{finishDate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="dateLimit != null" >
|
|
|
date_limit = #{dateLimit,jdbcType=VARCHAR},
|
|
@@ -357,16 +350,13 @@
|
|
|
create_by = #{createBy,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="dateCreate != null" >
|
|
|
- date_create = #{dateCreate,jdbcType=DATE},
|
|
|
+ date_create = #{dateCreate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="updateBy != null" >
|
|
|
update_by = #{updateBy,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
<if test="dateUpdate != null" >
|
|
|
- date_update = #{dateUpdate,jdbcType=DATE},
|
|
|
- </if>
|
|
|
- <if test="rejectReason != null" >
|
|
|
- reject_reason = #{rejectReason,jdbcType=VARCHAR},
|
|
|
+ date_update = #{dateUpdate,jdbcType=TIMESTAMP},
|
|
|
</if>
|
|
|
<if test="geo != null" >
|
|
|
geo = #{geo,jdbcType=VARCHAR},
|
|
@@ -379,10 +369,10 @@
|
|
|
set task_no = #{taskNo,jdbcType=VARCHAR},
|
|
|
task_desc = #{taskDesc,jdbcType=VARCHAR},
|
|
|
order_user_id = #{orderUserId,jdbcType=VARCHAR},
|
|
|
- send_time = #{sendTime,jdbcType=DATE},
|
|
|
+ send_time = #{sendTime,jdbcType=TIMESTAMP},
|
|
|
send_by = #{sendBy,jdbcType=VARCHAR},
|
|
|
- plan_finish_date = #{planFinishDate,jdbcType=DATE},
|
|
|
- finish_date = #{finishDate,jdbcType=DATE},
|
|
|
+ plan_finish_date = #{planFinishDate,jdbcType=TIMESTAMP},
|
|
|
+ finish_date = #{finishDate,jdbcType=TIMESTAMP},
|
|
|
date_limit = #{dateLimit,jdbcType=VARCHAR},
|
|
|
urgency = #{urgency,jdbcType=VARCHAR},
|
|
|
address = #{address,jdbcType=VARCHAR},
|
|
@@ -402,10 +392,9 @@
|
|
|
current_users = #{currentUsers,jdbcType=VARCHAR},
|
|
|
current_task_name = #{currentTaskName,jdbcType=VARCHAR},
|
|
|
create_by = #{createBy,jdbcType=VARCHAR},
|
|
|
- date_create = #{dateCreate,jdbcType=DATE},
|
|
|
+ date_create = #{dateCreate,jdbcType=TIMESTAMP},
|
|
|
update_by = #{updateBy,jdbcType=VARCHAR},
|
|
|
- date_update = #{dateUpdate,jdbcType=DATE},
|
|
|
- reject_reason = #{rejectReason,jdbcType=VARCHAR},
|
|
|
+ date_update = #{dateUpdate,jdbcType=TIMESTAMP},
|
|
|
geo = #{geo,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|