zoukankan      html  css  js  c++  java
  • CLOUD物料列表查询的一份跟踪

    SELECT * FROM (SELECT t0.FNUMBER fnumber, t0_L.FNAME fname, t0_L.FSPECIFICATION fspecification, t0.FDOCUMENTSTATUS fdocumentstatus, t0.FFORBIDSTATUS fforbidstatus, t1.FERPCLSID ferpclsid, t1.FBASEUNITID fbaseunitid_id, t0.FUSEORGID fuseorgid, t0.FUSEORGID fuseorgid_id, t0.FMATERIALGROUP fmaterialgroup, t0.FMATERIALID fmaterialid, t0.FMASTERID fmasterid, ROW_NUMBER() OVER( ORDER BY t0.FNUMBER ASC) fidentityid FROM T_BD_MATERIAL t0 LEFT OUTER JOIN t_BD_MaterialBase t1 ON t0.FMATERIALID = t1.FMATERIALID LEFT OUTER JOIN T_BD_MATERIAL_L t0_L ON (t0.FMATERIALID = t0_L.FMATERIALID AND t0_L.FLocaleId = 2052) WHERE ((t0.FFORBIDSTATUS = 'A' AND t0.FUSEORGID = 1) AND (t0.FUSEORGID IN (1, 0) AND EXISTS (SELECT 1 FROM T_BD_MATERIALGROUP TGRP01 WHERE (t0.FMATERIALGROUP = TGRP01.FID AND TGRP01.FID = 100053))))) tlist WHERE ((fidentityid >= 1) AND (fidentityid <= 200)) OPTION ( MAXDOP 0)

  • 相关阅读:
    SpringMVC扩展
    反射机制
    python day9
    python day8
    python day7
    python day6
    python day4
    python day3
    python day2
    python day1
  • 原文地址:https://www.cnblogs.com/RogerLu/p/10093863.html
Copyright © 2011-2022 走看看