|
|
@@ -41,7 +41,7 @@
|
|
|
GROUP BY task_order_id
|
|
|
)
|
|
|
)
|
|
|
- left join system_client_unit c on c.id = t.use_unit_id and c.deleted = 0
|
|
|
+ left join system_client_unit c on c.CODE = t.UNIT_CODE and c.deleted = 0
|
|
|
WHERE t.deleted = 0 AND t.equip_main_type in (200,300)
|
|
|
AND t.task_status = 800
|
|
|
<if test="reqVO.paymentStatus != null">
|
|
|
@@ -108,7 +108,7 @@
|
|
|
GROUP BY task_order_id
|
|
|
)
|
|
|
)
|
|
|
- left join system_client_unit c on c.id = t.use_unit_id and c.deleted = 0
|
|
|
+ left join system_client_unit c on c.CODE = t.UNIT_CODE and c.deleted = 0
|
|
|
WHERE t.deleted = 0 AND t.equip_main_type in (200,300)
|
|
|
AND t.task_status = 800
|
|
|
<if test="reqVO.paymentStatus != null">
|