chen_yjin 6 napja
szülő
commit
78fd8e8607

+ 24 - 0
JLHHJSvr/Com/CreatPrdPf.cs

@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using JLHHJSvr.Com.Model;
+using LJLib.Net.SPI.Com;
+
+namespace JLHHJSvr.Com
+{
+    public sealed class CreatPrdPfRequest : ILJRequest<CreatPrdPfResponse>
+    {
+        public override string GetApiName()
+        {
+            return "CreatPrdPf";
+        }
+        public string token { get; set; }
+        public int mattressid { get; set; }
+    }
+
+    public sealed class CreatPrdPfResponse : LJResponse
+    {
+        public u_mattress mattress { get; set; }
+    }
+}

+ 2 - 2
JLHHJSvr/Excutor/CreatPrdPfExcutor.cs

@@ -11,11 +11,11 @@ using Newtonsoft.Json.Linq;
 
 namespace JLHHJSvr.Excutor
 {
-    internal sealed class CreatPrdPfExcutor : ExcutorBase<CreatMtrldefRequest, CreatMtrldefResponse>
+    internal sealed class CreatPrdPfExcutor : ExcutorBase<CreatPrdPfRequest, CreatPrdPfResponse>
     {
         Dictionary<string, object> replacements = new Dictionary<string, object>();
 
-        protected override void ExcuteInternal(CreatMtrldefRequest request, object state, CreatMtrldefResponse rslt)
+        protected override void ExcuteInternal(CreatPrdPfRequest request, object state, CreatPrdPfResponse rslt)
         {
             var tokendata = BllHelper.GetToken(request.token);
             if (tokendata == null)

+ 1 - 1
JLHHJSvr/GlobalVar/GlobalVar.cs

@@ -216,7 +216,7 @@ namespace JLHHJSvr
                 excutorManager.AddMap("CreatMtrldef", typeof(CreatMtrldefRequest), new CreatMtrldefExcutor());// 生成L1物料
                 excutorManager.AddMap("UpdateMtrlPrice", typeof(UpdateMtrlPriceRequest), new UpdateMtrlPriceExcutor());// 更新L1计划价
                 excutorManager.AddMap("DelMtrlPf", typeof(CreatMtrldefRequest), new DelMtrlPfExcutor());// 删除L1清单
-                excutorManager.AddMap("CreatPrdPf", typeof(CreatMtrldefRequest), new CreatPrdPfExcutor());// 生成L1清单
+                excutorManager.AddMap("CreatPrdPf", typeof(CreatPrdPfRequest), new CreatPrdPfExcutor());// 生成L1清单
 
                 excutorManager.AddMap("GetERPMtrldefList", typeof(GetERPMtrldefListRequest), new GetERPMtrldefListExcutor());// 获取ERP物料资料
                 excutorManager.AddMap("GetERPConfigureList", typeof(GetERPConfigureListRequest), new GetERPConfigureListExcutor());// 获取ERP配置资料

+ 1 - 0
JLHHJSvr/JLHHJSvr.csproj

@@ -99,6 +99,7 @@
     <Compile Include="Com\CommonDynamicSelect.cs" />
     <Compile Include="Com\CopyMattressAudited.cs" />
     <Compile Include="Com\CopyMtrlDef.cs" />
+    <Compile Include="Com\CreatPrdPf.cs" />
     <Compile Include="Com\DeleteMattressExtraType.cs" />
     <Compile Include="Com\DeleteMattressExtra.cs" />
     <Compile Include="Com\Model\replacement_bednet.cs" />