From 217a65fe8eb2612b7d61e9ce5f450e76bfc318f6 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期一, 09 六月 2025 17:13:15 +0800 Subject: [PATCH] 添加数据库接口日志记录 --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Base/LocationInfoService.cs | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Base/LocationInfoService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Base/LocationInfoService.cs" index 299ee40..83360f0 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Base/LocationInfoService.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_BasicService/Base/LocationInfoService.cs" @@ -84,6 +84,7 @@ if (!result.Item1) return WebResponseContent.Instance.Error(result.Item2); int side = 1; + string SC = "SC01_"; List<Dt_LocationInfo> locationInfos = new List<Dt_LocationInfo>(); for (int i = 0; i < initializationLocationDTO.MaxRow; i++) { @@ -91,6 +92,8 @@ { for (int k = 0; k < initializationLocationDTO.MaxLayer; k++) { + if (j + 1 > 30) SC = "SC02_"; + else SC = "SC01_"; Dt_LocationInfo locationInfo = new Dt_LocationInfo() { AreaId = 10, @@ -99,7 +102,7 @@ Layer = k + 1, LocationStatus = LocationStatusEnum.Free.ObjToInt(), LocationType = LocationTypeEnum.Cube.ObjToInt(), - RoadwayNo ="SC01_" +initializationLocationDTO.Roadway, + RoadwayNo = SC + initializationLocationDTO.Roadway, Row = i + 1, }; -- Gitblit v1.9.3