| | |
| | | {"key", DBUtility.ClsPub.isStrNull(material.key)}, |
| | | {"productName", DBUtility.ClsPub.isStrNull(material.productName)}, |
| | | {"partNum",DBUtility.ClsPub.isStrNull(material.partNum)}, |
| | | {"sepc", DBUtility.ClsPub.isStrNull(material.sepc)}, |
| | | {"Spec", DBUtility.ClsPub.isStrNull(material.sepc)}, |
| | | {"weight", DBUtility.ClsPub.isStrNull(material.weight)}, |
| | | {"headWeight", DBUtility.ClsPub.isStrNull(material.headWeight)}, |
| | | {"cycletime", DBUtility.ClsPub.isStrNull(material.cycleTime)}, |
| | |
| | | {"productName", DBUtility.ClsPub.isStrNull(material.productName)}, |
| | | {"partNum",DBUtility.ClsPub.isStrNull(material.partNum)}, |
| | | {"cycletime", DBUtility.ClsPub.isStrNull(material.cycleTime)}, |
| | | {"sepc", DBUtility.ClsPub.isStrNull(material.sepc)}, |
| | | {"Spec", DBUtility.ClsPub.isStrNull(material.sepc)}, |
| | | {"weight", DBUtility.ClsPub.isStrNull(material.weight)}, |
| | | {"headWeight", DBUtility.ClsPub.isStrNull(material.headWeight)}, |
| | | {"fightsPartnum", DBUtility.ClsPub.isStrNull(material.flightsPartnum)}, |
| | |
| | | inner join " + erpDatabaseName + @"T_BD_MATERIAL_L l with(nolock) on a.FMATERIALID=l.FMATERIALID |
| | | inner join " + erpDatabaseName + @"T_BD_MATERIALBASE b with(nolock) on a.FMATERIALID=b.FMATERIALID |
| | | inner join " + erpDatabaseName + @"T_BD_MATERIALSTOCK s with(nolock) on a.FMATERIALID=s.FMATERIALID |
| | | inner join " + erpDatabaseName + @"T_BD_MATERIALPRODUCE proc with(nolock) on a.FMATERIALID = proc.FMATERIALID |
| | | inner join " + erpDatabaseName + @"T_BD_MATERIALPRODUCE proce with(nolock) on a.FMATERIALID = proce.FMATERIALID |
| | | inner join " + erpDatabaseName + @"T_BD_Unit_L unit with(nolock) on isnull(s.FSTOREUNITID,0) = unit.FUNITID |
| | | Where l.FLOCALEID=2052 |
| | | and unit.FLOCALEID = 2052 |
| | | and a.FFORBIDSTATUS='A' |
| | | and a.FUSEORGID = 1 |
| | | and proc.FWORKSHOPID = 477069 --ç产车é´(477069ï¼æ³¨å¡è½¦é´) |
| | | and proce.FWORKSHOPID = 477069 --ç产车é´(477069ï¼æ³¨å¡è½¦é´) |
| | | and b.FErpClsID = 2 --ç©æå±æ§(2ï¼èªå¶) |
| | | and |
| | | ( |