Selaa lähdekoodia

核价后台:床网报价支持计算入参大小单类型

chen_yjin 1 viikko sitten
vanhempi
commit
8006237f98

+ 1 - 0
JLHHJSvr/Com/GetComputeBednet.cs

@@ -18,6 +18,7 @@ namespace JLHHJSvr.Com
         /// 半成品信息:主表
         /// </summary>
         public u_bednet bednet { get; set; }
+        public int dannum_type { get; set; }
         public List<u_bednetmx> bednetMx { get; set; }
         public List<u_bednetmx_spring> spring { get; set; }
     }

+ 4 - 0
JLHHJSvr/Excutor/GetComputeBednetExcutor.cs

@@ -65,6 +65,10 @@ namespace JLHHJSvr.Excutor
 
                 // 初始化属性
                 AutoInit.AutoInitS(cmd, request.bednet);
+                if (request.dannum_type > 0)
+                {
+                    request.bednet.dannum_type = request.dannum_type;
+                }
 
                 foreach(var mx in request.bednetMx)
                 {