@ -173,6 +173,14 @@
</select>
<select id="filterOrderDeptSupList" resultType="com.glxp.api.res.inout.IoOrderDetailDeptResultResponse">
SELECT
fromInvCode,
fromInvName,
fromCorpName,
SUM( amount ) AS amount,
SUM( count ) AS count
FROM
(
aw.code as fromInvCode,
aw.name as fromInvName,
@ -231,6 +239,11 @@
</if>
</where>
group by a1.fromInvCode,a1.fromCorp
) t1
GROUP BY
fromCorpName
<select id="selectStatDataByTime" resultType="com.glxp.api.res.inv.IoOrderDetailStatRsponse">