From 3e778155459a2d5a2f0214f57ff83c3760ed8381 Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期一, 10 二月 2025 14:36:43 +0800 Subject: [PATCH] 添加WMSapi接口调用接口日志记录、添加WMSswagger访问接口账号密码、添加WMS到期时间6-30 --- 项目代码/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/Service/LocationStatusChangeRecordSetvice.cs | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/Service/LocationStatusChangeRecordSetvice.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/Service/LocationStatusChangeRecordSetvice.cs" index 2655e77..239edbe 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/Service/LocationStatusChangeRecordSetvice.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_RecordService/Service/LocationStatusChangeRecordSetvice.cs" @@ -25,12 +25,16 @@ LocationCode = locationInfo.LocationCode, LocationId = locationInfo.Id, TaskNum = taskNum, - OrderNo = orderNo ?? "" + OrderNo = orderNo ?? "", + Creater="System" }; BaseDal.AddData(locationStatusChangeRecord); } - + public List<Dt_LocationStatusChangeRecord> Get_LocationStatusChangeRecord(int id) + { + return BaseDal.QueryData(x => x.LocationId == id); + } public void AddLocationStatusChangeRecord(List<Dt_LocationInfo> locationInfos, int newStatus, int changeType, string? orderNo, List<int>? taskNums) { List< Dt_LocationStatusChangeRecord > records = new List<Dt_LocationStatusChangeRecord> (); -- Gitblit v1.9.3