|
|
|
@ -3,8 +3,9 @@ |
|
|
|
|
|
|
|
<mapper namespace="com.heai.modules.board.dao.BoardMapper"> |
|
|
|
<select id="getWeekShipmentBoardData" resultType="com.heai.modules.board.entity.ViewKanbanCODelNotifyData"> |
|
|
|
select PartSpec,NotifyQty,QtyPerBox,WeightperBag,BagsperBox,BoxType,WeightperBox,PlanShipDate,Site,FinishedFlag,Operation_SZ,remark, |
|
|
|
Operation_HK,abbreviateName FROM view_KANBAN_CODelNotify |
|
|
|
<!-- select PartSpec,NotifyQty,QtyPerBox,WeightperBag,BagsperBox,BoxType,WeightperBox,PlanShipDate,Site,FinishedFlag,Operation_SZ,remark,--> |
|
|
|
<!-- Operation_HK,abbreviateName FROM view_KANBAN_CODelNotify--> |
|
|
|
select abbreviateName,CustomerPONo,DelNotifyNo,PlanShipDate,PartSpec,NotifyQty,forwarderName,EnteredDate,Remark from view_KANBAN_CODelNotify_new |
|
|
|
<where> |
|
|
|
<if test="startDate != null "> |
|
|
|
AND PlanShipDate >= #{startDate} |
|
|
|
@ -159,7 +160,7 @@ |
|
|
|
LEFT JOIN PartSubPropertiesValue p2 on p2.site=a.site and p2.PartNo=a.PartNo and p2.PropertiesItemNo='GROSS WEIGHT' |
|
|
|
LEFT JOIN ShopOrder SO1 on a.site=so1.site and a.OrderNo=SO1.OrderNo |
|
|
|
LEFT JOIN ShopOrder SO2 on a.site=so2.site and SO1.E_OriginalOrderNo=SO2.OrderNo |
|
|
|
LEFT JOIN PartSubPropertiesValue p3 on p3.site=a.site and p3.PartNo=a.PartNo and p3.PropertiesItemNo='HARDNESS' |
|
|
|
LEFT JOIN PartSubPropertiesValue p3 on p3.site=a.site and p3.PartNo=a.PartNo and p3.PropertiesItemNo='DUROA' |
|
|
|
LEFT JOIN PartSubPropertiesValue p4 on p4.site=a.site and p4.PartNo=a.PartNo and p4.PropertiesItemNo='COLOR' |
|
|
|
where a.ClosedFlag='N' and a.scheduleType='日计划派工单' |
|
|
|
order By a.S_ScheduledDate,a.seqNo |
|
|
|
|