|
|
@@ -29,14 +29,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
29
|
29
|
<sql id="selectWorkOrderMyTaskVo">
|
|
30
|
30
|
select t.task_id, order_id, order_no, status,
|
|
31
|
31
|
expected_complete_time, attachments, remark, create_time, current_node, station_id,
|
|
32
|
|
- accept_orders_user, button,ticket_type,parallel_node from work_order_task t
|
|
|
32
|
+ 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
|
37
|
select t.task_id, order_id, order_no, status,
|
|
38
|
38
|
expected_complete_time, attachments, remark, create_time, current_node, station_id,
|
|
39
|
|
- accept_orders_user, button,ticket_type,parallel_node from work_order_task t
|
|
|
39
|
+ 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
|
|
41
|
41
|
</sql>
|
|
42
|
42
|
|
|
|
@@ -44,7 +44,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
44
|
44
|
<sql id="selectWorkOrderCcTaskVo">
|
|
45
|
45
|
select t.task_id, order_id, order_no, status,
|
|
46
|
46
|
expected_complete_time, attachments, remark, create_time, current_node, station_id,
|
|
47
|
|
- accept_orders_user, button,ticket_type,parallel_node from work_order_task t
|
|
|
47
|
+ button,ticket_type,parallel_node from work_order_task t
|
|
48
|
48
|
inner join work_task_cc_user u on t.task_id=u.task_id
|
|
49
|
49
|
</sql>
|
|
50
|
50
|
|
|
|
@@ -110,7 +110,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
110
|
110
|
|
|
111
|
111
|
|
|
112
|
112
|
<select id="selectWorkOrderMyTaskList" parameterType="WorkOrderTask" resultMap="WorkOrderTaskResult">
|
|
113
|
|
- <include refid="selectWorkOrderTaskVo"/>
|
|
|
113
|
+ <include refid="selectWorkOrderMyTaskVo"/>
|
|
114
|
114
|
<where>
|
|
115
|
115
|
<if test="orderId != null "> and order_id = #{orderId}</if>
|
|
116
|
116
|
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if>
|
|
|
@@ -135,7 +135,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
135
|
135
|
</select>
|
|
136
|
136
|
|
|
137
|
137
|
<select id="selectWorkOrderMyOverTaskList" parameterType="WorkOrderTask" resultMap="WorkOrderTaskResult">
|
|
138
|
|
- <include refid="selectWorkOrderMyOverTaskVo"/>
|
|
|
138
|
+ <include refid="selectWorkOrderMyTaskVo"/>
|
|
139
|
139
|
<where>
|
|
140
|
140
|
<if test="orderId != null "> and order_id = #{orderId}</if>
|
|
141
|
141
|
<if test="orderNo != null and orderNo != ''"> and order_no = #{orderNo}</if>
|