| | |
| | | List<object> columnNameList3 = new List<object>(); |
| | | List<object> columnNameList4 = new List<object>(); |
| | | List<object> columnNameList5 = new List<object>(); |
| | | List<object> columnNameList6 = new List<object>(); |
| | | |
| | | string sql = "exec h_p_Sc_ICMOBillList_LookDown " + HInterID; |
| | | ds = oCN.RunProcReturn(sql, "h_p_Xs_SeOrderBill_lookdown"); |
| | |
| | | columnNameList5.Add(JsonConvert.DeserializeObject(ColmString));//获取到DataColumn列对象的列名 |
| | | } |
| | | |
| | | //添加 生产订单变更单 列名 |
| | | foreach (DataColumn col in ds.Tables[6].Columns) |
| | | { |
| | | Type dataType = col.DataType; |
| | | string ColmString = "{\"ColmCols\":\"" + col.ColumnName + "\",\"ColmType\":\"" + dataType.Name + "\"}"; |
| | | columnNameList6.Add(JsonConvert.DeserializeObject(ColmString));//获取到DataColumn列对象的列名 |
| | | } |
| | | |
| | | columnNameListSum.Add(columnNameList0); |
| | | columnNameListSum.Add(columnNameList1); |
| | | columnNameListSum.Add(columnNameList2); |
| | | columnNameListSum.Add(columnNameList3); |
| | | columnNameListSum.Add(columnNameList4); |
| | | columnNameListSum.Add(columnNameList5); |
| | | columnNameListSum.Add(columnNameList6); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |