|
@@ -142,8 +142,7 @@
|
|
|
where apo.DELETED='0'
|
|
|
and abo.PRODUCTIONORDERID =#{id}
|
|
|
GROUP BY abo.PRODUCTIONORDERID
|
|
|
- ),
|
|
|
- SCHEDULSTATUS='已发布'
|
|
|
+ )
|
|
|
</set>
|
|
|
<where>
|
|
|
ID = #{id} and DELETED='0'
|
|
@@ -175,8 +174,7 @@
|
|
|
LEFT JOIN aps_blank_order abo ON apo.BLANKID = abo.ID AND abo.DELETED='0'
|
|
|
where apo.DELETED='0'
|
|
|
and abo.PRODUCTIONORDERID =#{id}
|
|
|
- GROUP BY abo.PRODUCTIONORDERID),
|
|
|
- SCHEDULSTATUS='待发布'
|
|
|
+ GROUP BY abo.PRODUCTIONORDERID)
|
|
|
</set>
|
|
|
<where>
|
|
|
ID = #{id} and DELETED='0'
|