|
|
|
@ -155,4 +155,11 @@ RecordVersion,OutWorkOrderFlag,ProjectID,OrderType,AuthRuleID) |
|
|
|
where a.NotifyNo=#{notifyNo} and a.site=#{site} |
|
|
|
order by a.ItemNo |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="searchSumNotifyMaterialList" resultType="SOIssueNotifyOrderMaterialListData"> |
|
|
|
select a.ComponentPartNo,sum(a.QtyToIssue) QtyToIssue,sum(isnull(a.QtyToIssue_Original,0)) QtyToIssue_Original |
|
|
|
dbo.Get_PartDesc(a.site,a.ComponentPartNo) partDesc |
|
|
|
from SOIssueNotifyOrderMaterialList a |
|
|
|
group by a.ComponentPartNo |
|
|
|
</select> |
|
|
|
</mapper> |