From dcecb039035f4b2e82e31c39b74db9402444c536 Mon Sep 17 00:00:00 2001 From: wangxinhui <wangxinhui@hnkhzn.com> Date: 星期二, 08 四月 2025 21:35:39 +0800 Subject: [PATCH] 代码更新,优化等内容 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/CustomerInfoService.cs | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/CustomerInfoService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/CustomerInfoService.cs" index ec33215..010ca83 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/CustomerInfoService.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/CustomerInfoService.cs" @@ -6,6 +6,7 @@ using WIDESEA_BasicRepository; using WIDESEA_Core; using WIDESEA_Core.BaseServices; +using WIDESEA_Core.Helper; using WIDESEA_DTO.Basic; using WIDESEA_DTO.ERP; using WIDESEA_IBasicRepository; @@ -33,7 +34,7 @@ Code = model.Code, Name = model.ShortName, NickName = model.Name, - State = model.State, + State = model.State.ObjToInt(), }; BaseDal.AddData(customer); //} @@ -65,5 +66,10 @@ return WebResponseContent.Instance.Error(ex.Message); } } + public override WebResponseContent UpdateData(SaveModel saveModel) + { + saveModel.MainData.Add("state",1); + return base.UpdateData(saveModel); + } } } -- Gitblit v1.9.3