| | |
| | | try |
| | | { |
| | | ds = oCN.RunProcReturn("select " + |
| | | "a.HItemID,a.HDeptID,b.HName HDeptName" + |
| | | "a.HItemID,ltrim(a.HMaterID)+'-'+ltrim(a.HProcID) 宸ュ簭宸ヤ环璧勬枡浠g爜,a.HDeptID,b.HName HDeptName" + |
| | | ",a.HMaterID HMaterIDCol,c.HNumber HMaterNumberCol,c.HName HMaterNameCol,c.HModel HMaterModelCol" + |
| | | ",a.HProcID HProcIDCol,d.HNumber HProcNumberCol,d.HName HProcNameCol" + |
| | | ",a.HSourceID HSourceIDCol,e.HNumber HSourceNumberCol,e.HName HSourceNameCol" + |
| | |
| | | " left join Gy_Department b on a.HDeptID = b.HItemID " + |
| | | " left join Gy_Material c on a.HMaterID = c.HItemID " + |
| | | " left join Gy_Process d on a.HProcID = d.HItemID " + |
| | | " left join Gy_Source e on a.HSourceID = e.HItemID where HItemID = " + HItemID, "Gy_ProcPrice"); |
| | | " left join Gy_Source e on a.HSourceID = e.HItemID where a.HItemID = " + HItemID, "Gy_ProcPrice"); |
| | | if (ds == null || ds.Tables[0].Rows.Count == 0) |
| | | { |
| | | objJsonResult.code = "0"; |