From fdc247b8a0dfabe97c8d0fe1e0bee0b4c06c6915 Mon Sep 17 00:00:00 2001 From: Zhang-Hong-Lin <a3219986988@163.com> Date: 星期五, 07 三月 2025 21:20:21 +0800 Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/ZhuZhouYouRuiKe/YangJiPingKu --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/dt_stationinfoService.cs | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/dt_stationinfoService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/dt_stationinfoService.cs" index f22a1af..ca148c1 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/dt_stationinfoService.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_SystemServices/dt_stationinfoService.cs" @@ -1,11 +1,14 @@ 锘縰sing AutoMapper; +using OfficeOpenXml.FormulaParsing.Excel.Functions.RefAndLookup; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using WIDESEAWCS_Core; using WIDESEAWCS_Core.BaseRepository; using WIDESEAWCS_Core.BaseServices; +using WIDESEAWCS_Core.Helper; using WIDESEAWCS_ISystemServices; using WIDESEAWCS_Model.Models; @@ -22,5 +25,17 @@ { _mapper = mapper; } + + public override WebResponseContent UpdateData(SaveModel saveModel) + { + int id = saveModel.MainData["id"].ObjToInt(); + int Row = saveModel.MainData["row"].ObjToInt(); + int Column = saveModel.MainData["column"].ObjToInt(); + dt_stationInfo locationInfo = BaseDal.QueryFirst(x => x.Id == id); + locationInfo.Row = Row; + locationInfo.Column = Column; + return UpdateData(locationInfo); + //return base.UpdateData(saveModel); + } } } -- Gitblit v1.9.3