|
@@ -2561,7 +2561,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="getSubOrderCountDTO" resultType="com.ydtech.modules.order.entity.dto.SubOrderCountDTO">
|
|
<select id="getSubOrderCountDTO" resultType="com.ydtech.modules.order.entity.dto.SubOrderCountDTO">
|
|
|
- select orderno, orderstatus, count(*) as count
|
|
|
|
|
|
|
+ select orderno, orderstatus, count(*)as count
|
|
|
from (select orderno, company_id, orderstatus
|
|
from (select orderno, company_id, orderstatus
|
|
|
from ins_area_company
|
|
from ins_area_company
|
|
|
where orderno in
|
|
where orderno in
|
|
@@ -2570,7 +2570,7 @@
|
|
|
</foreach>
|
|
</foreach>
|
|
|
and del_flag = '1'
|
|
and del_flag = '1'
|
|
|
group by orderno, company_id, orderstatus) as iac
|
|
group by orderno, company_id, orderstatus) as iac
|
|
|
- group by orderstatus
|
|
|
|
|
|
|
+ group by orderno, orderstatus
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="getAllRejectOrders" resultType="com.ydtech.modules.order.entity.InsAreaCompany">
|
|
<select id="getAllRejectOrders" resultType="com.ydtech.modules.order.entity.InsAreaCompany">
|