From 18d1f45193e34e00fc1b6f65b8596ddb29c5267d Mon Sep 17 00:00:00 2001 From: dengjunjie <dengjunjie@hnkhzn.com> Date: 星期二, 24 十二月 2024 15:32:43 +0800 Subject: [PATCH] Merge branch 'master' of http://115.159.85.185:8098/r/MeiRuiAn/HuaiAn --- 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/Task_HtyService.cs | 40 +--------------------------------------- 1 files changed, 1 insertions(+), 39 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/Task_HtyService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/Task_HtyService.cs" index cb9a605..4ef6d8e 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/Task_HtyService.cs" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_TaskInfoService/Task_HtyService.cs" @@ -35,45 +35,7 @@ public class Task_HtyService : ServiceBase<Dt_Task_Hty, ITask_HtyRepository>, ITask_HtyService { - - public Task_HtyService(ITask_HtyRepository BaseDal - ) : base(BaseDal) + public Task_HtyService(ITask_HtyRepository BaseDal) : base(BaseDal) { - - } - - /// <summary> - /// 娣诲姞鍘嗗彶浠诲姟 - /// </summary> - /// <param name="task">鍘嗗彶浠诲姟Model</param> - /// <returns>鎴愬姛/澶辫触</returns> - public bool InsertTask(Dt_Task_Hty task) - { - return BaseDal.InsertTask(task); - } - public WebResponseContent AddTaskHty(Dt_Task task) - { - WebResponseContent content = new WebResponseContent(); - Dt_Task_Hty task_Hty = new Dt_Task_Hty() - { - TaskNum = task.TaskNum, - PalletCode = task.PalletCode, - Roadway = task.Roadway, - TaskType = task.TaskType, - TaskStatus = task.TaskStatus, - SourceAddress = task.SourceAddress, - TargetAddress = task.TargetAddress, - CurrentAddress = task.CurrentAddress, - NextAddress = task.NextAddress, - Grade = task.Grade, - Dispatchertime = task.Dispatchertime, - Creater =task.Creater, - CreateDate = task.CreateDate, - ModifyDate = DateTime.Now, - Modifier = task.Modifier, - Remark = task.Remark - }; - BaseDal.AddData(task_Hty); - return content; } } \ No newline at end of file -- Gitblit v1.9.3