| | |
| | | _trackloginfoService.AddTrackLog(wMSContainerFlow, content, "容卿µå¨è¯·æ±", "", ""); |
| | | } |
| | | } |
| | | public WebResponseContent UpStationType(UpStationTypeDTO stationTypeDTO) |
| | | { |
| | | try |
| | | { |
| | | Dt_StationManger stationManger = _stationMangerService.Repository.QueryFirst(x => x.StationCode == stationTypeDTO.stationCode) ?? throw new Exception($"æªæ¾å°ç«å°ç¼å·ã{stationTypeDTO.stationCode}ãä¿¡æ¯"); |
| | | stationManger.StationType = stationTypeDTO.stationType; |
| | | _stationMangerService.Repository.UpdateData(stationManger); |
| | | return WebResponseContent.Instance.OK(); |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | return WebResponseContent.Instance.Error(ex.Message); |
| | | } |
| | | } |
| | | /// <summary> |
| | | /// è´¨æ£ç»æåé¦ |
| | | /// </summary> |