| | |
| | | { |
| | | return base.GetPageData(options); |
| | | } |
| | | |
| | | public override WebResponseContent UpdateData(SaveModel saveModel) |
| | | { |
| | | int id = saveModel.MainData["id"].ObjToInt(); |
| | | int locationStatus = saveModel.MainData["locationStatus"].ObjToInt(); |
| | | int enableStatus = saveModel.MainData["enableStatus"].ObjToInt(); |
| | | Dt_LocationInfo locationInfo = BaseDal.QueryFirst(x => x.Id == id); |
| | | locationInfo.LocationStatus = locationStatus; |
| | | locationInfo.EnableStatus = enableStatus; |
| | | return UpdateData(locationInfo); |
| | | //return base.UpdateData(saveModel); |
| | | } |
| | | public WebResponseContent GetLocationLayer() |
| | | { |
| | | WebResponseContent content = new WebResponseContent(); |