購物車

六十六頭牛

六十六頭牛
無現貨(訂購需時約15-40個工作天)
六十六頭牛
$73.00
$83.00
Reward Points: 83
  • 庫存: 無現貨(訂購需時約15-40個工作天)
  • 門市實時庫存僅供參考,如需購買現貨,歡迎預先按此Whatsapp與我們預留或查詢。
  • ISBN:9789861615509
  • 頁數:34
  • 語言:繁體中文
  • 出版年份:2017
  • 出版日期:2017-02-01
  • 出版社: 信誼



select count(*) as total from ( select distinct m.ordno from chain c(nolock),m_keroro m(nolock) where c.packno=m.ordno and m.shipterm=^02^ and m.state in (^f04^,^s55^) and c.arrive2day>^0^ and dateadd(day,7,(convert(char(8),c.arrive2day)))>=convert(varchar,getdate(),112) and m.custno=^rebeccalong^ union select distinct m.ordno from chain c(nolock),m_keroro m(nolock) where c.packno=m.ordno and m.shipterm=^12^ and m.state in (^f04^,^s55^) and c.arrive2day>^0^ and dateadd(day,3,(convert(char(8),c.arrive2day)))>=convert(varchar,getdate(),112) and m.custno=^rebeccalong^ union select distinct m.ordno from statehist c(nolock),m_keroro m(nolock) left outer join tblship_statehist t(nolock) on m.ordno=t.ordno where c.ordno=m.ordno and m.ordnom.oldordno and c.state=m.state and m.shipterm not in (^02^,^12^) and convert(char(10),c.cdate,121)>=case when m.outno711=^trans^ or m.outno711 like ^n%^ then convert(char(10),getdate()-2,121) else convert(char(10),c.cdate,121) end and m.state in (^f03^,^s50^,^s55^,^i50^)

發表評論

請先 登入註冊