|
|
@@ -8,7 +8,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
8
|
8
|
<result property="taskId" column="task_id" />
|
|
9
|
9
|
<result property="orderId" column="order_id" />
|
|
10
|
10
|
<result property="orderNo" column="order_no" />
|
|
11
|
|
- <result property="acceptStatus" column="accept_status" />
|
|
|
11
|
+ <result property="status" column="status" />
|
|
12
|
12
|
<result property="expectedCompleteTime" column="expected_complete_time" />
|
|
13
|
13
|
<result property="attachments" column="attachments" />
|
|
14
|
14
|
<result property="remark" column="remark" />
|
|
|
@@ -21,20 +21,20 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
21
|
21
|
</resultMap>
|
|
22
|
22
|
|
|
23
|
23
|
<sql id="selectWorkOrderTaskVo">
|
|
24
|
|
- select task_id, order_id, order_no, accept_status, expected_complete_time,
|
|
|
24
|
+ select task_id, order_id, order_no, status, expected_complete_time,
|
|
25
|
25
|
attachments, remark, create_time, current_node, station_id,
|
|
26
|
26
|
button,ticket_type,parallel_node from work_order_task
|
|
27
|
27
|
</sql>
|
|
28
|
28
|
|
|
29
|
29
|
<sql id="selectWorkOrderMyTaskVo">
|
|
30
|
|
- select t.task_id, order_id, order_no, accept_status,
|
|
|
30
|
+ select t.task_id, order_id, order_no, status,
|
|
31
|
31
|
expected_complete_time, attachments, remark, create_time, current_node, station_id,
|
|
32
|
32
|
accept_orders_user, button,ticket_type,parallel_node from work_order_task t
|
|
33
|
33
|
inner join work_task_user u on t.task_id=u.task_id
|
|
34
|
34
|
</sql>
|
|
35
|
35
|
|
|
36
|
36
|
<sql id="selectWorkOrderMyOverTaskVo">
|
|
37
|
|
- select t.task_id, order_id, order_no, accept_status,
|
|
|
37
|
+ select t.task_id, order_id, order_no, status,
|
|
38
|
38
|
expected_complete_time, attachments, remark, create_time, current_node, station_id,
|
|
39
|
39
|
accept_orders_user, button,ticket_type,parallel_node from work_order_task t
|
|
40
|
40
|
inner join work_task_over_user u on t.task_id=u.task_id
|
|
|
@@ -45,7 +45,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
45
|
45
|
<where>
|
|
46
|
46
|
<if test="orderId != null "> and order_id = #{orderId}</if>
|
|
47
|
47
|
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if>
|
|
48
|
|
- <if test="acceptStatus != null "> and accept_status = #{acceptStatus}</if>
|
|
|
48
|
+ <if test="status != null "> and status = #{status}</if>
|
|
49
|
49
|
<if test="expectedCompleteTime != null "> and expected_complete_time = #{expectedCompleteTime}</if>
|
|
50
|
50
|
<if test="attachments != null and attachments != ''"> and attachments = #{attachments}</if>
|
|
51
|
51
|
<if test="currentNode != null "> and current_node = #{currentNode}</if>
|
|
|
@@ -79,7 +79,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
79
|
79
|
<where>
|
|
80
|
80
|
<if test="orderId != null "> and order_id = #{orderId}</if>
|
|
81
|
81
|
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if>
|
|
82
|
|
- <if test="acceptStatus != null "> and accept_status = #{acceptStatus}</if>
|
|
|
82
|
+ <if test="status != null "> and status = #{status}</if>
|
|
83
|
83
|
<if test="expectedCompleteTime != null "> and expected_complete_time = #{expectedCompleteTime}</if>
|
|
84
|
84
|
<if test="attachments != null and attachments != ''"> and attachments = #{attachments}</if>
|
|
85
|
85
|
<if test="currentNode != null "> and current_node = #{currentNode}</if>
|
|
|
@@ -103,7 +103,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
103
|
103
|
<where>
|
|
104
|
104
|
<if test="orderId != null "> and order_id = #{orderId}</if>
|
|
105
|
105
|
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if>
|
|
106
|
|
- <if test="acceptStatus != null "> and accept_status = #{acceptStatus}</if>
|
|
|
106
|
+ <if test="status != null "> and status = #{status}</if>
|
|
107
|
107
|
<if test="expectedCompleteTime != null "> and expected_complete_time = #{expectedCompleteTime}</if>
|
|
108
|
108
|
<if test="attachments != null and attachments != ''"> and attachments = #{attachments}</if>
|
|
109
|
109
|
<if test="currentNode != null "> and current_node = #{currentNode}</if>
|
|
|
@@ -127,7 +127,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
127
|
127
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
128
|
128
|
<if test="orderId != null">order_id,</if>
|
|
129
|
129
|
<if test="orderNo != null and orderNo != ''">order_no,</if>
|
|
130
|
|
- <if test="acceptStatus != null">accept_status,</if>
|
|
|
130
|
+ <if test="status != null">status,</if>
|
|
131
|
131
|
<if test="expectedCompleteTime != null">expected_complete_time,</if>
|
|
132
|
132
|
<if test="attachments != null">attachments,</if>
|
|
133
|
133
|
<if test="remark != null">remark,</if>
|
|
|
@@ -141,7 +141,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
141
|
141
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
142
|
142
|
<if test="orderId != null">#{orderId},</if>
|
|
143
|
143
|
<if test="orderNo != null and orderNo != ''">#{orderNo},</if>
|
|
144
|
|
- <if test="acceptStatus != null">#{acceptStatus},</if>
|
|
|
144
|
+ <if test="status != null">#{status},</if>
|
|
145
|
145
|
<if test="expectedCompleteTime != null">#{expectedCompleteTime},</if>
|
|
146
|
146
|
<if test="attachments != null">#{attachments},</if>
|
|
147
|
147
|
<if test="remark != null">#{remark},</if>
|
|
|
@@ -158,7 +158,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
158
|
158
|
<trim prefix="SET" suffixOverrides=",">
|
|
159
|
159
|
<if test="orderId != null">order_id = #{orderId},</if>
|
|
160
|
160
|
<if test="orderNo != null and orderNo != ''">order_no = #{orderNo},</if>
|
|
161
|
|
- <if test="acceptStatus != null">accept_status = #{acceptStatus},</if>
|
|
|
161
|
+ <if test="status != null">status = #{status},</if>
|
|
162
|
162
|
<if test="expectedCompleteTime != null">expected_complete_time = #{expectedCompleteTime},</if>
|
|
163
|
163
|
<if test="attachments != null">attachments = #{attachments},</if>
|
|
164
|
164
|
<if test="remark != null">remark = #{remark},</if>
|