物料评审修复.sql 248 B

123456
  1. SELECT IsMatAnalysis,pn.MIStatus,* FROM SL_mk_Schema.ProductNumber (nolock)as pn
  2. LEFT JOIN SL_pe_Schema.MatAnalysis (nolock) as mat on mat.ProductNumberid=pn.ProductNumberid
  3. where pn.IsMatAnalysis=1 and mat.AnalysisStatus=10
  4. order by pn.createdon