| | |
| | | |
| | | #endregion éåæ¹æ³ |
| | | |
| | | |
| | | #region |
| | | public WebResponseContent UpWheelsFlow(SaveModel saveModel) |
| | | { |
| | | WebResponseContent webResponse = new WebResponseContent(); |
| | | try |
| | | { |
| | | string CZTM = saveModel.MainData["CZTM"].ToString(); |
| | | string TargetAddress = saveModel.MainData["TargetAddress"].ToString(); |
| | | List<Dt_Task> taskt = BaseDal.QueryData(x => x.task_CZInfo == CZTM).ToList(); |
| | | if (taskt.Count() == 0) |
| | | return webResponse.Error($"æªæ¾å°å¯¹åºè½¦è½´ï¼{CZTM}ç车轮åºåºä¿¡æ¯"); |
| | | foreach (var item in taskt) |
| | | { |
| | | item.Towhereabouts = TargetAddress; |
| | | } |
| | | BaseDal.UpdateData(taskt); |
| | | return webResponse.OK("ä¿®æ¹æåï¼"); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | // 妿åçå¼å¸¸ï¼åè°ç¨content.Erroræ¹æ³ï¼è®°å½é误信æ¯ï¼å¹¶è¾åºéè¯¯ä¿¡æ¯ |
| | | webResponse.Error(ex.Message); |
| | | return webResponse; |
| | | } |
| | | } |
| | | #endregion |
| | | |
| | | |
| | | |