1
zhengqifeng
2025-12-30 2eea48595c784d1d6d58d526f1da12427dfa0a25
1
已删除6个文件
已修改1个文件
127 ■■■■■ 文件已修改
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/FormulaService.cs 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEA_BoxingInfoService/BoxingDetailService.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEA_BoxingInfoService/BoxingService.cs 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEA_BoxingInfoService/WIDESEAWCS_BoxingInfoService.csproj 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEA_IBoxingInfoService/IBoxingDetailService.cs 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEA_IBoxingInfoService/IBoxingService.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEA_IBoxingInfoService/WIDESEAWCS_IBoxingInfoService.csproj 13 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEAWCS_BasicInfoService/FormulaService.cs
@@ -1,8 +1,10 @@
锘縰sing System;
锘縰sing SqlSugar.Extensions;
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_Model.Models;
@@ -16,5 +18,43 @@
        }
        public IRepository<Dt_Formula> Repository => BaseDal;
        public override WebResponseContent AddData(SaveModel saveModel)
        {
            return base.AddData(saveModel);
        }
        public override WebResponseContent UpdateData(SaveModel saveModel)
        {
            Dt_Formula dt_Formula=new Dt_Formula()
            {
                Id = saveModel.MainData["id"].ObjToInt(),
                ProductCode = saveModel.MainData["productCode"].ToString(),
                ProductName = saveModel.MainData["productName"].ToString(),
                ProductLength = float.Parse(saveModel.MainData["productLength"].ToString()),
                ProductWidth = float.Parse(saveModel.MainData["productWidth"].ToString()),
                ProductHeight = float.Parse(saveModel.MainData["productHeight"].ToString()),
                ScrewDownsetDistance = float.Parse(saveModel.MainData["screwDownsetDistance"].ToString()),
                ScrewTorqueOutput = float.Parse(saveModel.MainData["screwTorqueOutput"].ToString()),
                DintAutoScrewOn = saveModel.MainData["dintAutoScrewOn"].ObjToInt(),
                XDirectionDistance1 = float.Parse(saveModel.MainData["xDirectionDistance1"].ToString()),
                YDirectionHeight1 = float.Parse(saveModel.MainData["yDirectionHeight1"].ToString()),
                XDirectionDistance2 = float.Parse(saveModel.MainData["xDirectionDistance2"].ToString()),
                YDirectionHeight2 = float.Parse(saveModel.MainData["yDirectionHeight2"].ToString()),
                XDirectionDistance3 = float.Parse(saveModel.MainData["xDirectionDistance3"].ToString()),
                YDirectionHeight3 = float.Parse(saveModel.MainData["yDirectionHeight3"].ToString())
                //ScrewTorque = float.Parse(saveModel.MainData["ScrewTorque"].ToString()),
                //UpdateBy = saveModel.UpdateBy,
                //UpdateTime = DateTime.Now
            };
            return UpdateData(dt_Formula);
            //return base.UpdateData(saveModel);
        }
        public override WebResponseContent UpdateData(Dt_Formula entity)
        {
            return base.UpdateData(entity);
        }
    }
}
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEA_BoxingInfoService/BoxingDetailService.cs
文件已删除
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEA_BoxingInfoService/BoxingService.cs
文件已删除
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEA_BoxingInfoService/WIDESEAWCS_BoxingInfoService.csproj
文件已删除
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEA_IBoxingInfoService/IBoxingDetailService.cs
文件已删除
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEA_IBoxingInfoService/IBoxingService.cs
文件已删除
代码管理/WIDESEAWCS_Server/WIDESEAWCS_Server/WIDESEA_IBoxingInfoService/WIDESEAWCS_IBoxingInfoService.csproj
文件已删除