|
|
@ -431,12 +431,12 @@
|
|
|
|
</delete>
|
|
|
|
</delete>
|
|
|
|
<!-- BaseMapper标准查询/修改/删除 -->
|
|
|
|
<!-- BaseMapper标准查询/修改/删除 -->
|
|
|
|
<select id="generatorWord" resultType="hashmap">
|
|
|
|
<select id="generatorWord" resultType="hashmap">
|
|
|
|
SELECT DISTINCT WC.WORK_CENTER WORK_CENTER,WO.VALUE WORK_ORDER,WO2.VALUE DWG_NO,ZSS.QTY QTY,ZSS.OPERATION OPERATION,
|
|
|
|
SELECT DISTINCT NVL(WC.WORK_CENTER,' ') WORK_CENTER,NVL(WO.VALUE,' ') WORK_ORDER,NVL(WO2.VALUE,' ') DWG_NO,NVL(ZSS.QTY,0) QTY,NVL(ZSS.OPERATION,' ') OPERATION,
|
|
|
|
ZSS.REASON REASON,ZSS."TYPE" "TYPE",
|
|
|
|
NVL(ZSS.REASON,' ') REASON,NVL(ZSS."TYPE",' ') "TYPE",
|
|
|
|
CASE WHEN I1.VALUE != NULL THEN I1.VALUE * I.QTY_MULTIPLIER
|
|
|
|
CASE WHEN I1.VALUE != NULL THEN NVL(I1.VALUE * I.QTY_MULTIPLIER,0)
|
|
|
|
WHEN I2.VALUE != NULL THEN I2.VALUE * I.QTY_MULTIPLIER
|
|
|
|
WHEN I2.VALUE != NULL THEN NVL(I2.VALUE * I.QTY_MULTIPLIER,0)
|
|
|
|
ELSE I.QTY_MULTIPLIER END WEIGHT,I.ITEM ITEM,S.SFC SFC,it.DESCRIPTION ITEM_DESCRIPTION,
|
|
|
|
ELSE NVL(I.QTY_MULTIPLIER,0) END WEIGHT,NVL(I.ITEM,' ') ITEM,NVL(S.SFC,' ') SFC,NVL(it.DESCRIPTION,' ') ITEM_DESCRIPTION,
|
|
|
|
SO.SHOP_ORDER SHOP_ORDER
|
|
|
|
NVL(SO.SHOP_ORDER,' ') SHOP_ORDER
|
|
|
|
FROM
|
|
|
|
FROM
|
|
|
|
SHOP_ORDER SO
|
|
|
|
SHOP_ORDER SO
|
|
|
|
LEFT JOIN WORK_CENTER WC ON SO.PLANNED_WORK_CENTER_BO = WC.HANDLE
|
|
|
|
LEFT JOIN WORK_CENTER WC ON SO.PLANNED_WORK_CENTER_BO = WC.HANDLE
|
|
|
|