| | |
| | | HDeptID = ds.Tables[0].Rows[0]["HDeptID"].ToString(); |
| | | } |
| | | oItem.HDeptID = int.Parse(HDeptID); |
| | | ds = oCN.RunProcReturn("select * from Gy_Group with(nolock) where HName='" + oItem.HGroupName + "'", "Gy_Group"); |
| | | //çç»ä¸ºæäº¤äººççç» |
| | | //ds = oCN.RunProcReturn("select * from Gy_Group with(nolock) where HName='" + oItem.HGroupName + "'", "Gy_Group"); |
| | | //string HGroupID = "0"; |
| | | //if (ds.Tables[0].Rows.Count > 0) |
| | | //{ |
| | | // HGroupID = ds.Tables[0].Rows[0]["HItemID"].ToString(); |
| | | //} |
| | | //oItem.HGroupID = int.Parse(HGroupID); |
| | | string input = getProcessInstanceResponse.Body.Result.Title; |
| | | int index = input.IndexOf("æäº¤"); |
| | | string HGroupEmpName = ""; |
| | | if (index > 0) |
| | | { |
| | | HGroupEmpName = input.Substring(0, index).Trim();//æªåæäº¤äººåç§°å³çç»é¿åç§° |
| | | } |
| | | ds = oCN.RunProcReturn("select * from Gy_Employee with(nolock) where HName='" + HGroupEmpName + "'", "Gy_Employee"); |
| | | string HGroupID = "0"; |
| | | if (ds.Tables[0].Rows.Count > 0) |
| | | { |
| | | HGroupID = ds.Tables[0].Rows[0]["HItemID"].ToString(); |
| | | HGroupID = ds.Tables[0].Rows[0]["HGroupID"].ToString(); |
| | | } |
| | | oItem.HGroupID = int.Parse(HGroupID); |
| | | |
| | | |
| | | |
| | | //ååºååæç»å
容 |
| | | string tableFieldValue = getProcessInstanceResponse.Body.Result.FormComponentValues[11].Value; |
| | | List<Row> rows = Newtonsoft.Json.JsonConvert.DeserializeObject<List<Row>>(tableFieldValue); |