|
@ -15,7 +15,7 @@ |
|
|
<select id="getShiftProductionList" resultType="org.nl.wms.cockpit.service.dao.ShiftProductionVo"> |
|
|
<select id="getShiftProductionList" resultType="org.nl.wms.cockpit.service.dao.ShiftProductionVo"> |
|
|
SELECT |
|
|
SELECT |
|
|
w.point_name AS column_name, |
|
|
w.point_name AS column_name, |
|
|
SUM(IFNULL(w.qualified_qty, 0)) AS qualified_qty, |
|
|
SUM(IFNULL(w.qualified_qty, IFNULL(w.real_qty,0))) AS qualified_qty, |
|
|
SUM(IFNULL(w.unqualified_qty, 0)) AS unqualified_qty, |
|
|
SUM(IFNULL(w.unqualified_qty, 0)) AS unqualified_qty, |
|
|
SUM(IFNULL(w.plan_qty, 0) - IFNULL(w.qualified_qty, 0) - IFNULL(w.unqualified_qty, 0)) AS total_difference |
|
|
SUM(IFNULL(w.plan_qty, 0) - IFNULL(w.qualified_qty, 0) - IFNULL(w.unqualified_qty, 0)) AS total_difference |
|
|
FROM |
|
|
FROM |
|
|