?
and materialno <> ?
and nvl(NETWEIGHT, 0) <> 0
and stlstate = ?
and inportunit in (?, ?)
and to_char(LGMTIME, 'yyyy-MM-dd') between ? and ?
order by LGMTIME desc
]]>
0
and stlstate = ?
and exportunit in (?, ?)
and to_char(LGMTIME, 'yyyy-MM-dd') between ? and ?
order by LGMTIME desc
]]>
?
and materialno <> ?
and workshopno=?
and nvl(NETWEIGHT,0)<> 0
and inportunit in (?, ?)
and to_char(LGMTIME, 'yyyy-MM-dd') between ? and ?
order by LGMTIME desc
]]>
0
and exportunit in (?, ?)
and to_char(LGMTIME, 'yyyy-MM-dd') between ? and ?
order by LGMTIME desc
]]>
0
and materialno in (?, ?)
and to_char(grosstime, 'yyyy-MM-dd hh24:mi:ss') between ? and ?
order by grosstime desc
]]>
'0000000000'
and to_char(t.jmdate, 'yyyymmdd') = ?
and substr(t.heatno, 3, 1) in (?,?,?)
group by t.materielcode) t1,
com_materiel t2
where t1.materielcode = t2.materielcode(+)
and t2.consumptiontype = '1'
]]>
'F01'
and substr(t.orderno,1,4)<>'XNLG'
and t.prodline = ?
and to_char(to_date(t.OUTBUDAT, 'yyyy-mm-dd HH24:mi:ss'), 'yyyymm') = ?
group by substr(t.sapbatchno, 1, 8), t.orderno
order by substr(t.sapbatchno, 1, 8)
]]>