| | |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | #region 设å¤é©¾é©¶è± æ ¹æ®é¨é¨æ¥è¯¢å¯¹åºçè®¾å¤ |
| | | |
| | | [Route("Sc_HEquipStateDistribution/Get_HEquipStateList")] |
| | | [HttpGet] |
| | | public object Get_HEquipStateList(string HDeptID, string user, int OrganizationID) |
| | | { |
| | | try |
| | | { |
| | | string sql1 = string.Format("exec h_p_sc_HDeptEquipList {0},{1}", HDeptID, OrganizationID); |
| | | |
| | | ds = oCN.RunProcReturn(sql1, "h_p_sc_HDeptEquipList"); |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucessï¼"; |
| | | objJsonResult.data = ds; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exceptionï¼" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |