|
@@ -864,7 +864,7 @@
|
|
|
group by
|
|
|
apope.ROOTTASKID
|
|
|
) a LEFT JOIN aps_delivery_offset ado ON a.ID = ado.ID AND ado.DELETED = 0
|
|
|
- where ado.ID is null or (a.`STATUS` = ado.`STATUS` and ado.`STATUS` not in ('已完工','全部取消'))
|
|
|
+ where ado.ID is null or (ado.`STATUS` not in ('已完工','全部取消'))
|
|
|
</select>
|
|
|
<select id="selectAllLatestEndDateByCarIds"
|
|
|
resultType="com.rongwei.bsentity.vo.ProductCardAndLatestScheduleEndDateVo">
|