|
|
|
@ -39,6 +39,7 @@ |
|
|
|
#{destination} as destination, |
|
|
|
CONVERT(varchar(10), #{readyDate}, 120) AS readyDate, |
|
|
|
a.salesOrder as salesOrder, |
|
|
|
a.part_description as partDesc, |
|
|
|
CASE |
|
|
|
WHEN a.modifyFlag = 1 |
|
|
|
THEN '改单' + |
|
|
|
@ -72,10 +73,12 @@ |
|
|
|
t.destination, |
|
|
|
t.cmc_comment, |
|
|
|
t.readyDate, |
|
|
|
t.modifyFlagString |
|
|
|
t.modifyFlagString, |
|
|
|
t.partDesc |
|
|
|
FROM ( |
|
|
|
SELECT |
|
|
|
c.salesOrder AS salesOrder, |
|
|
|
c.part_description as partDesc, |
|
|
|
b.po_no AS customerPO, |
|
|
|
b.part_no, |
|
|
|
b.qty, |
|
|
|
|