|
|
@@ -1045,17 +1045,19 @@ from
|
|
|
d.status,
|
|
|
d.deleted_sign as deletedSign,
|
|
|
e.nickname as buyerName,
|
|
|
- f.name as taskReceiverName
|
|
|
+ f.name as taskReceiverName,
|
|
|
+ ifnull(g.sign_total_amount,0) as signTotalAmount
|
|
|
from
|
|
|
(select *
|
|
|
from contract_task_log
|
|
|
- where task_receiver=#{taskReceiver,jdbcType=VARCHAR}) x left join contract_task a on
|
|
|
+ where task_receiver='1') x left join contract_task a on
|
|
|
x.contract_task_id=a.id left join business_project b on
|
|
|
a.commodity_id = b.id left join business_varieties c on
|
|
|
b.cid = c.id left join contract d on
|
|
|
a.contract_id = d.id left join user e on
|
|
|
d.uid = e.id left join admin f on
|
|
|
- a.task_receiver = f.id
|
|
|
+ a.task_receiver = f.id left join t_order g on
|
|
|
+ d.order_no=g.order_no
|
|
|
where 1=1
|
|
|
<if test="taskReceiverId != null and taskReceiverId != ''">
|
|
|
and a.task_receiver = #{taskReceiverId,jdbcType=VARCHAR}
|
|
|
@@ -1099,13 +1101,14 @@ from
|
|
|
from
|
|
|
(select *
|
|
|
from contract_task_log
|
|
|
- where task_receiver=#{taskReceiver,jdbcType=VARCHAR}) x left join contract_task a on
|
|
|
+ where task_receiver='1') x left join contract_task a on
|
|
|
x.contract_task_id=a.id left join business_project b on
|
|
|
a.commodity_id = b.id left join business_varieties c on
|
|
|
b.cid = c.id left join contract d on
|
|
|
a.contract_id = d.id left join user e on
|
|
|
d.uid = e.id left join admin f on
|
|
|
- a.task_receiver = f.id
|
|
|
+ a.task_receiver = f.id left join t_order g on
|
|
|
+ d.order_no=g.order_no
|
|
|
where 1=1
|
|
|
<if test="taskReceiverId != null and taskReceiverId != ''">
|
|
|
and a.task_receiver = #{taskReceiverId,jdbcType=VARCHAR}
|