| | |
| | | SUM ( CASE WHEN work_order_type = '1' AND classification = '1' THEN production_quantity ELSE 0 END ) AS pipingPredictionRequirement, |
| | | SUM ( CASE WHEN work_order_type = '1' AND classification = '0' THEN production_quantity ELSE 0 END ) AS gasPredictionRequirement |
| | | FROM |
| | | "aps_weld_seam" |
| | | aps_weld_seam |
| | | where 1=1 |
| | | <foreach item="item" index="index" collection="list" separator=","> |
| | | <foreach item="item" index="index" collection="list" separator=" "> |
| | | or ( produce_year=#{item.produceYear} and produce_month=#{item.produceMonth} and production_base=#{item.productionBase}) |
| | | </foreach> |
| | | GROUP BY |