public InvokeResult ResponseWorkOrderInner(ResponseWorkOrderParam param) { InvokeResult result = new InvokeResult { Success = true }; try { Guid stationId = Guid.Parse(GetHttpHeader("StationId")); var spParam = param.ToSPParam(); spParam["StationId"] = stationId; spParam["ReceiveType"] = GlobalManager.DIKey_01004_Mobile; BuilderFactory.DefaultBulder().ExecuteSPNoneQuery("SP_Oca_ResponseServiceWorkOrder", spParam); if (spParam.ErrorCode != 0) { result.ErrorCode = spParam.ErrorCode; result.ErrorMessage = spParam.ErrorMessage; } } catch (Exception ex) { result.Success = false; result.ErrorMessage = ex.Message; } return(result); }
public InvokeResult ResponseWorkOrder(ResponseWorkOrderParam param) { return(base.ResponseWorkOrderInner(param)); }