public Get_OutIsExecute CanExecute(string data) { Get_OutIsExecute json = new Get_OutIsExecute(); try { Get_InIsExecute input = Newtonsoft.Json.JsonConvert.DeserializeObject<Get_InIsExecute>(data); DBStep db = new DBStep(); IsExecute isExecute = new IsExecute(); json.result = "0"; json.resultStr = "返回成功"; json.data = db.getIsExecute(input.strWorkShopGUID, input.strTrainPlanGUID, input.strTrainmanGUID, input.strStepName, input.nWorkTypeID); } catch (Exception ex) { json.result = "1"; json.resultStr = "提交失败:" + ex.Message; } return json; }